/* Home page only — announcement bar at top of hero video block (Figma node 11069:5155) */

:root {
    /* Fallbacks until syncHomeAnnouncementStripBelowNav() runs (index.html) */
    --ttc-nav-bar-height: 4.25rem;
    --ttc-home-hero-pad-top: 7.5rem;
}

.home-announcement-strip {
    background-color: #005eb8;
    box-sizing: border-box;
    margin-top: 0;
    max-width: 100%;
    overflow-x: hidden;
    padding: 11px 24px;
    font-family: "Poppins", sans-serif;
}

.home-announcement-strip__inner {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.home-announcement-strip__lead {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 29px;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
}

.home-announcement-strip__logo {
    display: block;
    flex-shrink: 0;
    height: 28px;
    object-fit: contain;
    width: 106px;
}

.home-announcement-strip__text {
    -webkit-hyphens: auto;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    hyphens: auto;
    line-height: 22px;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    text-align: center;
    word-wrap: break-word;
}

.home-announcement-strip__cta {
    align-items: center;
    box-sizing: border-box;
    color: #ffffff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 400;
    gap: 4px;
    line-height: 22px;
    max-width: 100%;
    text-decoration: underline;
}

.home-announcement-strip__cta:hover,
.home-announcement-strip__cta:focus {
    color: #ffffff;
    text-decoration: underline;
}

.home-announcement-strip__cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.home-announcement-strip__arrow {
    display: block;
    flex-shrink: 0;
    height: 18px;
    width: 18px;
}

@media (max-width: 575px) {
    .home-announcement-strip {
        padding: 10px 16px;
    }

    .home-announcement-strip__text {
        font-size: 14px;
        line-height: 20px;
    }

    .home-announcement-strip__cta {
        font-size: 14px;
    }

    .home-announcement-strip__logo {
        height: 24px;
        width: 90px;
    }

    .home-announcement-strip__arrow {
        height: 16px;
        width: 16px;
    }
}

@media (max-width: 991px) {
    .home-announcement-strip {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/*
 * --below-fixed-nav: index only (body.page-home). Navbar is .fixed-top (z-index 1030);
 * strip is fixed immediately under it; hero gets padding for nav + strip height (JS-updated).
 */
body.page-home .home-announcement-strip--below-fixed-nav {
    left: 0;
    position: fixed;
    right: 0;
    top: var(--ttc-nav-bar-height);
    z-index: 1029;
}

/*
 * Hero video — keep it from causing horizontal scroll; top spacing for stacked fixed header.
 */
body.page-home .video-section {
    padding-top: var(--ttc-home-hero-pad-top);
}

.video-section {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

.video-section > div:last-child {
    max-width: 100%;
}

.video-section video#main-video {
    box-sizing: border-box;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}
