/* ==========================================================================
Thank-you — first screen
========================================================================== */
.thank-you-hero {
    position: relative;
    height: 47.7rem;
    overflow: hidden;
    background-color: var(--color-bg);
}

.thank-you-hero__image {
    position: absolute;
    inset: 0;
}

.thank-you-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(45 36 35 / 100%) 0%, rgb(45 36 35 / 0%) 31%), linear-gradient(160deg, rgb(45 36 35 / 0%) 0%, rgb(45 36 35 / 58%) 48%, rgb(45 36 35 / 74%) 76%, rgb(45 36 35 / 86%) 100%), linear-gradient(to left, rgb(45 36 35 / 0%) 38%, rgb(45 36 35 / 100%) 91%);
}

.thank-you-hero__content {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 5.9rem;
}

.thank-you-hero__title {
    max-width: 78rem;
    margin-inline: auto;
    font-family: var(--font-serif);
    font-size: 5.2rem;
    font-weight: 400;
    line-height: 0.96;
    text-align: center;
    color: var(--color-white);
}

@media (max-width: 639px) {
    .thank-you-hero {
        height: 34.7rem;
    }
    .thank-you-hero__content {
        padding-bottom: 3.4rem;
    }
    .thank-you-hero__title {
        max-width: 27.4rem;
        font-size: 2.6rem;
        line-height: 1.115;
    }
}
