.video-hero-thank-you,
.video-hero-thank-you * {
    box-sizing: border-box;
}

.video-hero-thank-you {
    background: #f7f5f0;
    width: 100%;
}

.video-hero-thank-you__hero {
    min-height: clamp(320px, 52vh, 520px);
}

.video-hero-thank-you__content {
    padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 4rem);
    width: 100%;
}

.video-hero-thank-you__panel {
    background: var(--idc-color-white);
    border: 1px solid rgba(17, 39, 57, 0.12);
    box-shadow: 0 18px 45px rgba(17, 39, 57, 0.08);
    color: rgba(17, 39, 57, 0.76);
    font-family: var(--idc-font-header);
    margin: 0 auto;
    max-width: 900px;
    padding: clamp(2rem, 6vw, 4.5rem);
    text-align: center;
}

.video-hero-thank-you__panel h2 {
    color: var(--idc-color-navy);
    font-family: var(--idc-font-header);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 720px;
    text-wrap: balance;
}

.video-hero-thank-you__panel p {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.75;
    margin: 1.4rem auto 0;
    max-width: 720px;
}

.video-hero-thank-you__panel a:not(.video-hero-thank-you__cta) {
    color: var(--idc-color-navy);
    text-decoration-color: var(--idc-color-bronze);
    text-underline-offset: 0.2em;
}

.video-hero-thank-you__panel a:not(.video-hero-thank-you__cta):hover,
.video-hero-thank-you__panel a:not(.video-hero-thank-you__cta):focus-visible {
    color: var(--idc-color-bronze);
}

.video-hero-thank-you__cta {
    margin-top: 2rem;
    min-height: 52px;
    padding: 1.15rem 2rem;
}

.video-hero-thank-you__cta:focus-visible {
    outline: 3px solid var(--idc-color-navy);
    outline-offset: 3px;
}

body.page-template-page-video-hero-thank-you,
body.page-template-page-video-hero-thank-you-php,
body.page-template-page-thank-you-main,
body.page-template-page-thank-you-main-php,
body.page-template-page-speak-with-us,
body.page-template-page-speak-with-us-php,
body.page-template-page-callback-confirmed,
body.page-template-page-callback-confirmed-php {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

body.page-template-page-video-hero-thank-you #page,
body.page-template-page-video-hero-thank-you .site-content,
body.page-template-page-video-hero-thank-you-php #page,
body.page-template-page-video-hero-thank-you-php .site-content,
body.page-template-page-thank-you-main #page,
body.page-template-page-thank-you-main .site-content,
body.page-template-page-thank-you-main-php #page,
body.page-template-page-thank-you-main-php .site-content,
body.page-template-page-speak-with-us #page,
body.page-template-page-speak-with-us .site-content,
body.page-template-page-speak-with-us-php #page,
body.page-template-page-speak-with-us-php .site-content,
body.page-template-page-callback-confirmed #page,
body.page-template-page-callback-confirmed .site-content,
body.page-template-page-callback-confirmed-php #page,
body.page-template-page-callback-confirmed-php .site-content {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    body.page-template-page-video-hero-thank-you,
    body.page-template-page-video-hero-thank-you-php,
    body.page-template-page-thank-you-main,
    body.page-template-page-thank-you-main-php,
    body.page-template-page-speak-with-us,
    body.page-template-page-speak-with-us-php,
    body.page-template-page-callback-confirmed,
    body.page-template-page-callback-confirmed-php {
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    .video-hero-thank-you__hero {
        min-height: 360px;
        padding-bottom: 5rem;
        padding-top: 5rem;
    }

    .video-hero-thank-you__content {
        padding-bottom: 4rem;
        padding-top: 4rem;
    }

    .video-hero-thank-you__cta {
        width: 100%;
    }
}
