/* Homepage hero overlay & CTA blocks */

.hero {
    position: relative;
    max-height: 700px;
    overflow: hidden;
}

.hero .hero-video video {
    width: 100%;
    max-height: 700px;
    height: 700px;
    object-fit: cover;
    display: block;
}

.hero .hero-video--embed {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 700px;
    max-height: 700px;
    overflow: hidden;
}

/* Fallback cover for browsers without container query units. */
.hero .hero-video--embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.35);
    border: 0;
    pointer-events: none;
}

/* Prefer container-relative sizing when cqw/cqh are supported. */
@supports (width: 1cqw) {
    .hero .hero-video--embed {
        container-type: size;
    }

    .hero .hero-video--embed iframe {
        width: max(100cqw, calc(100cqh * 16 / 9));
        height: max(100cqh, calc(100cqw * 9 / 16));
        min-width: 0;
        min-height: 0;
        transform: translate(-50%, -50%);
    }
}

.hero .hero-video-shield {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0057B9B2;
    z-index: 2;
    padding: 40px 15px;
}

.home-hero-content {
    max-width: 680px;
    margin: 0 auto;
}

.home-hero-content h1,
.home-hero-title {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0 auto;
    font-weight: 500;
    font-size: 100px;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--white);
}

.home-hero-title-top {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.home-hero-title-meeting,
.home-hero-title-moment {
    display: block;
}

.home-hero-title-the {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    margin-left: 25px;
    font-size: 52px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: lowercase;
    transform: rotate(90deg);
    white-space: nowrap;
}

.home-hero-title-moment {
    margin-top: 15px;
}

.home-hero-content hr {
    border: 0;
    border-top: 1px solid var(--white);
    margin: 20px 0;
}

.home-hero-text {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.home-hero-text p {
    color: var(--white);
    margin-bottom: 0;
}

.home-hero-text p:last-child {
    margin-bottom: 0;
}

.home-hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 50px;
    background-color: #C028B9;
    color: var(--white);
    border-radius: 40px;
    font-size: 24px;
    font-weight: 500;
    transition: 0.3s all ease;
}

.home-hero-btn:hover {
    background-color: white;
    color: black;
}

/* Conference section navigation */

.conference-navigation {
    position: sticky;
    top: var(--conference-nav-top, 0px);
    z-index: 8;
    background-color: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    padding: 10px 0;
}

.conference-navigation-dropdown {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
}

.conference-navigation-toggle {
    display: none;
    width: max-content;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border: 1px solid #C028B9;
    border-radius: 50px;
    background-color: #C028B9;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.conference-navigation-toggle::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 8px;
    margin-left: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 8px;
    transition: transform 0.2s ease;
}

.conference-navigation-dropdown.is-open .conference-navigation-toggle::after {
    transform: rotate(180deg);
}

.conference-navigation-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.conference-navigation-link {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background-color: transparent;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: 0.3s all ease;
}

.conference-navigation-link:hover {
    border-color: #C028B9;
    background-color: #C028B9;
    color: white;
}

.conference-navigation-link.is-active,
.conference-navigation-link.is-active:hover {
    background-color: #C028B9;
    border-color: #C028B9;
    color: #fff;
}

.conference-navigation-toggle:focus-visible,
.conference-navigation-link:focus-visible {
    outline: 3px solid #005FC5;
    outline-offset: 3px;
}

.conference-section:focus {
    outline: 3px solid #005FC5;
    outline-offset: 4px;
}

@supports selector(:focus-visible) {
    .conference-section:focus {
        outline: none;
    }

    .conference-section:focus-visible {
        outline: 3px solid #005FC5;
        outline-offset: 4px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 768px) {
    .home-hero-content h1,
    .home-hero-title {
        font-size: 50px;
    }

    .home-hero-title-the {
        font-size: 32px;
        margin-left: 10px;
    }

    .conference-navigation {
        border-top: 1px solid #eee;
    }

    .conference-navigation-toggle {
        display: flex;
    }

    .conference-navigation-list {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        right: auto;
        width: max-content;
        min-width: 100%;
        max-width: calc(100vw - 30px);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin: 0;
        padding: 12px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        box-sizing: border-box;
        transform: translateX(-50%);
    }

    .conference-navigation-dropdown.is-open .conference-navigation-list {
        display: flex;
    }

    .conference-navigation-list li {
        width: 100%;
    }

    .conference-navigation-link {
        display: block;
        width: 100%;
        padding: 12px 18px;
        font-size: 16px;
        text-align: center;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 375px) {
    .home-hero-title-moment {
        margin-right: 10px;
    }
}

/* Conference content sections (placeholders) */
.conference-section {
    display: none;
    padding: 0;
}

.conference-section.is-active,
.conference-section:not([hidden]) {
    display: block;
}

.conference-section[hidden] {
    display: none !important;
}