/**
 * GW Image Hero Widget Styles
 */

.gw-image-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 50vh;
}

.gw-image-hero__background {
    position: absolute;
    inset: 0;
}

.gw-image-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gw-image-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    opacity: 1;
}

.gw-image-hero__container {
    position: relative;
    z-index: 10;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.gw-image-hero__content {
    max-width: 36rem;
}

.gw-image-hero--center .gw-image-hero__content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gw-image-hero--right .gw-image-hero__content {
    margin-left: auto;
    text-align: right;
}

.gw-image-hero__subtitle {
    display: block;
    font-family: var(--gw-font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gw-image-hero__title {
    font-family: var(--gw-font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
    .gw-image-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .gw-image-hero__title {
        font-size: 3.75rem;
    }
}

.gw-image-hero__description {
    font-family: var(--gw-font-sans);
    font-size: 1.125rem;
    line-height: 1.625;
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

.gw-image-hero--center .gw-image-hero__description {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
