

/* ==========================================
   HEALTHDATACON VIDEO HERO
   ========================================== */

.hdc-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    background: #01050d;
    isolation: isolate;
}


/* Background video */

.hdc-hero-video {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* Slight darkening for readable text */

.hdc-hero-shade {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 5, 15, 0.12) 0%,
            rgba(0, 5, 15, 0.10) 45%,
            rgba(0, 5, 15, 0.42) 100%
        );
}


/* Center content */

.hdc-hero-content {
    position: relative;
    z-index: 2;

    width: min(1100px, 90%);

    height: 100%;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: #ffffff;

    padding: 40px 20px;
}


/* HealthDataCon branded wordmark */

.hdc-hero-brand-text {
    display: flex;
    align-items: baseline;
    justify-content: center;

    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 800;

    line-height: .92;
    letter-spacing: -.055em;

    white-space: nowrap;

    text-shadow: 0 2px 12px rgba(0,0,0,.20);
}

/* HEALTH */
.hdc-health {
    color: #ffffff;
}

/* DATA */
.hdc-data {
    color: #18c4cf;
    text-shadow: 0 0 22px rgba(24,196,207,.22);
}

/* CON */
.hdc-con {
    color: #f4b51b;
    text-shadow: 0 0 22px rgba(244,181,27,.18);
}


/* 2026 */

.hdc-hero-year {
    margin-top: 12px;

    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 800;

    line-height: .95;

    letter-spacing: .18em;
    padding-left: .18em;

    color: #ffffff;

    text-shadow: 0 2px 12px rgba(0,0,0,.22);
}


/* Tagline */

.hdc-hero h1 {
    margin: 34px 0 0;

    max-width: 1000px;

    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

    font-size: clamp(2.1rem, 4.2vw, 4.1rem);
    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -.025em;

    color: #ffffff;

    text-shadow: 0 2px 12px rgba(0,0,0,.22);
}


/* Date */

.hdc-hero-date {
    margin: 24px 0 0;

    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: .08em;

    color: rgba(255,255,255,.95);

    text-shadow: 0 2px 10px rgba(0,0,0,.22);
}


/* Buttons */

/* =====================================================
   HEALTHDATACON HERO CTA BUTTONS
   ===================================================== */

.hdc-hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 34px;
}

.hdc-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 205px;
    padding: 16px 30px;

    border-radius: 8px;

    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .025em;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* REGISTER — Primary CTA */

.hdc-button-primary {
    background: linear-gradient(90deg, #0ca6b8 0%, #18c4cf 100%);
    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.22);

    box-shadow:
        0 8px 24px rgba(0,0,0,.30),
        0 0 20px rgba(24,196,207,.12);
}

.hdc-button-primary:hover {
    transform: translateY(-2px);

    background: linear-gradient(90deg, #12b5c6 0%, #20ced8 100%);
    color: #ffffff !important;

    box-shadow:
        0 12px 30px rgba(0,0,0,.38),
        0 0 24px rgba(24,196,207,.20);
}


/* VIEW AGENDA — Secondary CTA */

.hdc-button-secondary {
    background: rgba(5,18,30,.48);

    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.58);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hdc-button-secondary:hover {
    transform: translateY(-2px);

    background: rgba(5,18,30,.76);

    color: #ffffff !important;

    border-color: #f4b51b;

    box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

/* Scroll indicator */

.hdc-scroll {
    position: absolute;

    z-index: 3;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    color: rgba(255,255,255,.8);

    font-size: 2rem;

    text-decoration: none;

    animation: hdc-scroll-motion 2s ease-in-out infinite;
}


@keyframes hdc-scroll-motion {

    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }

}


/* Mobile */

@media (max-width: 700px) {

    .hdc-hero {
        min-height: 550px;
    }

    .hdc-hero-video {
        object-position: center center;
    }

    .hdc-hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hdc-hero-buttons {
        width: 100%;
    }

    .hdc-button {
        min-width: 140px;
    }

}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .hdc-hero-video {
        display: none;
    }

    .hdc-scroll {
        animation: none;
    }

    .hdc-hero {
        background:
            #01050d
            url("/assets/images/hdc-earth-poster.webp")
            center center / cover
            no-repeat;
    }

}

/* =====================================================
   HEALTHDATACON TRANSPARENT NAVIGATION
   ===================================================== */

/* Float navigation on top of homepage video */
.home-template #gh-navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;

    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255,255,255,.12);

    color: #ffffff;
}

/* Give navigation a little more height */
.home-template #gh-navigation .gh-navigation-inner {
    min-height: 88px;
}

/* Navigation links */
.home-template #gh-navigation a,
.home-template #gh-navigation button {
    color: #ffffff !important;
}

/* Logo text, if Ghost is displaying site title instead of an image */
.home-template #gh-navigation .gh-navigation-logo {
    color: #ffffff !important;
}

/* Menu and search icons */
.home-template #gh-navigation svg {
    color: #ffffff;
    fill: currentColor;
}

/* Keep the navigation visually clean */
.home-template #gh-navigation::before,
.home-template #gh-navigation::after {
    background: transparent !important;
}

/* =====================================================
   HEALTHDATACON INTERIOR PAGE HERO
   ===================================================== */

.hdc-page {
    padding: 0;
}


/* Hero container */

.hdc-page-hero {
    position: relative;

    width: 100%;
    height: 48vh;
    min-height: 400px;
    max-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #01050d;
}


/* Background image */

.hdc-page-hero-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    z-index: 0;
}


/* Dark overlay */

.hdc-page-hero-shade {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(1,5,13,.18) 0%,
            rgba(1,5,13,.35) 60%,
            rgba(1,5,13,.60) 100%
        );
}


/* Page title area */

.hdc-page-hero-content {
    position: relative;

    z-index: 2;

    width: min(1100px, 88%);

    text-align: center;

    color: #ffffff;

    padding: 100px 20px 40px;
}


.hdc-page-title {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.4rem, 6vw, 5.2rem);

    font-weight: 600;

    line-height: 1;

    letter-spacing: -.02em;
}


.hdc-page-subtitle {
    max-width: 900px;

    margin: 20px auto 0;

    color: rgba(255,255,255,.92);

    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

   font-size: clamp(1.4rem, 2.4vw, 2.3rem);

    font-weight: 500;

    line-height: 1.4;

    letter-spacing: -.01em;

    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}


/* Give normal page content breathing room */

.hdc-page .gh-article {
    padding-top: 28px;
    padding-bottom: 80px;
}

.hdc-page .gh-content > :first-child {
    margin-top: 0 !important;
}


/* =====================================================
   FLOAT NAVIGATION OVER INTERIOR HERO
   ===================================================== */

.page-template #gh-navigation {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 100;

    background: transparent !important;

    box-shadow: none !important;

    border-bottom: 1px solid rgba(255,255,255,.12);

    color: #ffffff;
}


.page-template #gh-navigation .gh-navigation-inner {
    min-height: 88px;
}


.page-template #gh-navigation a,
.page-template #gh-navigation button {
    color: #ffffff !important;
}


.page-template #gh-navigation .gh-navigation-logo {
    color: #ffffff !important;
}


.page-template #gh-navigation svg {
    color: #ffffff;
    fill: currentColor;
}


/* Mobile */

@media (max-width: 700px) {

    .hdc-page-hero {
        height: 45vh;
        min-height: 360px;
    }

    .hdc-page-hero-content {
        padding-top: 90px;
    }

    .hdc-page-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

}

.gh-footer-copyright {
    display: none;
}

/* Remove white block behind Sign In / Subscribe */
.home-template #gh-navigation .gh-navigation-actions,
.page-template #gh-navigation .gh-navigation-actions {
    background: transparent !important;
}

  /* Clean up right-side member controls */
.home-template #gh-navigation .gh-navigation-members,
.page-template #gh-navigation .gh-navigation-members {
    gap: 14px;
}


/* Sign In */
.home-template #gh-navigation a[data-portal="signin"],
.page-template #gh-navigation a[data-portal="signin"] {
    color: rgba(255,255,255,.88) !important;
}


/* Subscribe button */
.home-template #gh-navigation .gh-navigation-members .gh-button,
.page-template #gh-navigation .gh-navigation-members .gh-button {
    background: rgba(3, 12, 25, .32) !important;

    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.55);

    border-radius: 999px;

    padding: 11px 22px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: none !important;
}


.home-template #gh-navigation .gh-navigation-members .gh-button:hover,
.page-template #gh-navigation .gh-navigation-members .gh-button:hover {
    background: rgba(255,255,255,.95) !important;

    color: #071426 !important;
}

/* HealthDataCon dropdown menu — dark background */
.gh-head-menu .nav-more,
.gh-head-menu .nav-more-toggle + .nav,
.gh-head-menu .nav-more-toggle ~ .nav,
.gh-dropdown,
.gh-dropdown-menu {
    background: rgba(5,18,30,.96) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.35) !important;
}

/* Dropdown links */
.gh-head-menu .nav-more a,
.gh-head-menu .nav-more li a,
.gh-dropdown a,
.gh-dropdown-menu a {
    color: #ffffff !important;
}

/* Hover state */
.gh-head-menu .nav-more a:hover,
.gh-head-menu .nav-more li a:hover,
.gh-dropdown a:hover,
.gh-dropdown-menu a:hover {
    color: #28b6c7 !important;
    background: rgba(5,18,30,.96) !important;
}

/* HealthDataCon hero buttons */

/* =====================================================
   HEALTHDATACON MOBILE NAVIGATION MENU
   ===================================================== */

@media (max-width: 767px) {

    /* When mobile menu opens, give it a real background */
    .home-template .is-open#gh-navigation,
    .page-template .is-open#gh-navigation {
        background: #01050d !important;
        color: #ffffff !important;
    }

    /* Keep all menu links clearly visible */
    .home-template .is-open#gh-navigation .gh-navigation-menu a,
    .page-template .is-open#gh-navigation .gh-navigation-menu a {
        color: #ffffff !important;
        font-size: 2.2rem;
        font-weight: 600;
    }

    /* Space menu items vertically */
    .home-template .is-open#gh-navigation .nav,
    .page-template .is-open#gh-navigation .nav {
        gap: 26px;
    }

    /* Keep Sign In / Get Updates area transparent */
    .home-template .is-open#gh-navigation .gh-navigation-actions,
    .page-template .is-open#gh-navigation .gh-navigation-actions {
        background: transparent !important;
    }

    /* Sign In */
    .home-template .is-open#gh-navigation a[data-portal="signin"],
    .page-template .is-open#gh-navigation a[data-portal="signin"] {
        color: rgba(255,255,255,.85) !important;
        font-size: 1.8rem;
    }

    /* Get Updates / Subscribe button */
    .home-template .is-open#gh-navigation .gh-navigation-members .gh-button,
    .page-template .is-open#gh-navigation .gh-navigation-members .gh-button {
        width: auto;
        min-width: 220px;

        padding: 15px 28px;

        background: rgba(24,196,207,.16) !important;
        color: #ffffff !important;

        border: 1px solid #18c4cf;
        border-radius: 999px;

        font-size: 1.8rem;
        font-weight: 700;
    }

    /* Make hamburger/X visible */
    .home-template .is-open#gh-navigation .gh-burger,
    .page-template .is-open#gh-navigation .gh-burger {
        color: #ffffff !important;
    }

    /* Keep logo white in open menu */
    .home-template .is-open#gh-navigation .gh-navigation-logo,
    .page-template .is-open#gh-navigation .gh-navigation-logo {
        color: #ffffff !important;
    }
}

/* =====================================================
   FIX MOBILE MENU VERTICAL POSITION
   ===================================================== */

@media (max-width: 767px) {

    /* Stop Source from stretching the menu across the screen */
    .home-template .is-open#gh-navigation .gh-navigation-inner,
    .page-template .is-open#gh-navigation .gh-navigation-inner {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;

        height: 100% !important;
        min-height: 100% !important;

        gap: 0 !important;
    }

    /* Keep logo/search/X at top */
    .home-template .is-open#gh-navigation .gh-navigation-brand,
    .page-template .is-open#gh-navigation .gh-navigation-brand {
        flex: 0 0 64px !important;
        height: 64px !important;
        width: 100%;
    }

    /* Put menu immediately below header */
    .home-template .is-open#gh-navigation .gh-navigation-menu,
    .page-template .is-open#gh-navigation .gh-navigation-menu {
        position: static !important;

        display: flex !important;
        flex: 0 0 auto !important;

        width: 100% !important;

        margin: 24px 0 0 !important;
        padding: 0 !important;

        justify-content: flex-start !important;
        align-items: center !important;
    }

    /* Vertical menu list */
    .home-template .is-open#gh-navigation .gh-navigation-menu .nav,
    .page-template .is-open#gh-navigation .gh-navigation-menu .nav {
        display: flex !important;
        flex-direction: column !important;

        width: 100%;

        gap: 20px !important;

        margin: 0 !important;
        padding: 0 !important;

        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* Menu link appearance */
    .home-template .is-open#gh-navigation .gh-navigation-menu .nav a,
    .page-template .is-open#gh-navigation .gh-navigation-menu .nav a {
        color: #ffffff !important;

        font-size: 2rem !important;
        font-weight: 600 !important;

        line-height: 1.25;
    }

    /* Put Sign In / Get Updates beneath menu instead of forcing it to bottom */
    .home-template .is-open#gh-navigation .gh-navigation-actions,
    .page-template .is-open#gh-navigation .gh-navigation-actions {
        position: static !important;

        flex: 0 0 auto !important;

        width: 100%;

        margin-top: 32px !important;
        padding: 0 0 32px !important;

        background: transparent !important;
    }

}
  


#hdc-sound-toggle {
    position: fixed;
   left: 22px;
    right: auto;
    bottom: 22px;
    z-index: 99999;
    padding: 11px 17px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 999px;
    background: rgba(4,18,37,.82);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#hdc-sound-toggle:hover {
    background: rgba(4,18,37,.96);
}
