/* ============================================================
   HOME PAGE  —  gws-2025
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --h-blue:       #0065A4;
    --h-dark:       #000229;
    --h-sky:        #00B1EE;
    --h-sky2:       #22AFE5;
    --h-pale:       #E6F7FD;
    --h-mid:        #E6F7FD;
    --h-orange:     #DD9B4F;
    --h-red:        #E8462A;
    --h-teal:       #157987;
    --h-navy:       #0B1033;
    --h-white:      #ffffff;
    --h-max:        1232px;
    --h-px:         104px;
    --h-font:       'Be Vietnam Pro', sans-serif;
}

.home-main {
    overflow-x: hidden;
    margin-top: 0 !important; /* hero goes full-bleed behind fixed header */
}

/* ---------- Shared buttons ---------- */
.home-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0065A4;
    color: #fff;
    font-family: var(--h-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    padding: 12px 16px;
    height: 44px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}
.home-btn-primary:hover { background: #004f80; color: var(--h-white); }

.home-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--h-dark);
    color: var(--h-white);
    font-family: var(--h-font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.home-btn-dark:hover { opacity: 0.8; color: var(--h-white); }

/* ---------- Shared section header ---------- */
.home-section-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}
.home-section-title {
    font-family: var(--h-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--h-sky);
    margin: 0;
}
.home-section-title--teal { color: var(--h-sky2); }
.home-section-line {
    align-self: stretch;
    height: 2px;
    background: var(--h-sky);
    border: none;
    margin: 0;
}
.home-section-line--teal { background: var(--h-sky2); }

/* ---------- Media helpers ---------- */
.home-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.home-media-placeholder,
.home-video-placeholder {
    width: 100%;
    aspect-ratio: 622 / 372;
    background: #d0d8e4;
    border-radius: 12px;
}
.home-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}
.home-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   HERO
   position:relative is the containing block for all absolute children.
   ============================================================ */
.home-hero {
    position: relative;
    /* 136px hidden behind fixed header + 548px visible = 684px total */
    height: 684px;
    background: var(--h-dark);
}
/* Hero background image — <img> allows object-position control on mobile */
.home-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 2, 41, 0.15) 0%,
        rgba(0, 2, 41, 0.08) 50%,
        rgba(0, 2, 41, 0.40) 100%
    );
}

/* 136px fixed header + 95px visible gap above title = 231px from hero top */
.home-hero-content {
    position: absolute;
    top: 231px;
    left: 104px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 75px;
    z-index: 2;
}

/* Text group — Figma: flex column, gap:35px between title and meta */
.home-hero-text-group {
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 680px;
}
.home-hero-title {
    font-family: var(--h-font);
    font-size: 72px;
    font-weight: 700;
    color: var(--h-white);
    line-height: 84px;
    margin: 0;
}
.home-hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--h-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--h-white);
}
.home-hero-sep { opacity: 1; }

/* Hero button — Figma: padding 12/16, border-radius 2px, bg #0065A4 */
.home-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--h-blue);
    color: var(--h-white);
    font-family: var(--h-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 2px;
    white-space: nowrap;
    width: fit-content;
}
.home-hero-btn:hover { background: #004f80; color: var(--h-white); }

/* ============================================================
   STATS BAR
   Sits directly below .home-hero in normal flow (no negative margin)
   matching Figma: align-self:stretch, padding 0 104px, gap 25px
   ============================================================ */
.home-stats {
    background: transparent;
    padding: 0;
    margin-top: -45px;
    position: relative;
    z-index: 2;
}
.home-stats-inner {
    padding: 0 var(--h-px);
    display: flex;
    gap: 25px;
}
.home-stat-card {
    flex: 1 1 0;
    padding: 35px 25px;
    background: linear-gradient(180deg, #E6F7FD 0%, #00B1EE 100%);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.home-stat-number {
    font-family: var(--h-font);
    font-size: 52px;
    font-weight: 700;
    color: var(--h-blue);
    line-height: 60px;
    margin-bottom: 25px;
}
.home-stat-divider {
    align-self: stretch;
    height: 0;
    outline: 2px solid #E6F7FD;
    outline-offset: -1px;
    border: none;
    margin: 0;
}
.home-stat-label {
    font-family: var(--h-font);
    font-size: 21px;
    font-weight: 600;
    color: var(--h-blue);
    line-height: 27px;
    margin-top: 15px;
}

/* ============================================================
   INTRO
   ============================================================ */
.home-intro {
    background: var(--h-white);
}
.home-intro-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 104px;
    display: flex;
    gap: 90px;
    align-items: center;
    justify-content: flex-start;
}
.home-intro-text {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
}
.home-intro-heading {
    font-family: 'Open Sans', var(--h-font), sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--h-blue);
    line-height: 1.35;
    margin: 0;
    align-self: stretch;
}
.home-intro-body {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    color: #000;
    line-height: 23px;
    margin: 0;
    align-self: stretch;
}
.home-intro-btn-group {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}
.home-intro-media {
    width: 622px;
    min-width: 622px;
    height: 372px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}
.home-media-img,
.home-media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-media-placeholder {
    background: #D9D9D9;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.home-feature-cards {
    padding: 0 104px 90px;
}
.home-feature-cards-inner {
    display: flex;
    gap: 8px;
}
.home-feature-card {
    flex: 1 0 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 25px;
    border-radius: 12px;
    overflow: hidden;
}
.home-feature-title-row {
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 25px;
}
.home-feature-title-wrap {
    flex: 1 1 0;
    padding-top: 25px;
    padding-left: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-feature-title {
    flex: 1 1 0;
    font-family: var(--h-font);
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 60px;
    margin: 0;
}
.home-feature-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: block;
}
.home-feature-body-section {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 25px;
    padding-left: 25px;
    padding-right: 25px;
}
.home-feature-body {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    color: #fff;
    line-height: 23px;
    margin: 0;
}
.home-feature-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}
.home-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #000229;
    border-radius: 2px;
    color: #fff;
    font-family: var(--h-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}
.home-btn-dark:hover { background: #000f52; color: #fff; }

/* ============================================================
   FEATURED SPEAKERS
   ============================================================ */
.home-speakers {
    background: var(--h-dark);
    padding: 80px 0;
}
.home-speakers-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--h-px);
}

/* Carousel common */
.home-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
.home-carousel-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: var(--h-white);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
    z-index: 2;
}
.home-carousel-btn:hover { color: var(--h-sky); }
.home-carousel-btn:disabled { opacity: 0.3; cursor: default; }

/* Speakers track */
.home-speakers-track {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.home-speaker-card {
    flex: 0 0 calc(20% - 16px);
    display: flex;
    flex-direction: column;
}
.home-speaker-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background-color: #E6F7FD;
    flex-shrink: 0;
}
.home-speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-speaker-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #E6F7FD;
}
.home-speaker-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 5px;
    background-color: #000229;
    border-radius: 0 0 12px 12px;
}
.home-speaker-name {
    font-family: var(--h-font);
    font-size: 18px;
    font-weight: 600;
    color: #00b1ee;
    line-height: 24px;
    margin: 0;
    align-self: stretch;
}
.home-speaker-role {
    font-family: var(--h-font);
    font-size: 13px;
    font-weight: 300;
    color: #fff;
    line-height: 17px;
    margin: 0;
    align-self: stretch;
}
.home-speaker-company {
    font-family: var(--h-font);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 20px;
    margin: 0;
    align-self: stretch;
}
.home-speakers-cta {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* ============================================================
   EVENT HIGHLIGHTS
   ============================================================ */
.home-highlights {
    background: var(--h-white);
}
.home-highlights-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 104px;
    display: flex;
    gap: 90px;
    align-items: center;
    justify-content: flex-start;
}
.home-highlights-text {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
}
.home-highlights-title {
    font-family: var(--h-font);
    font-size: 52px;
    font-weight: 700;
    color: var(--h-blue);
    line-height: 60px;
    margin: 0;
    align-self: stretch;
}
.home-highlights-body {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    color: #000;
    line-height: 23px;
    margin: 0;
    align-self: stretch;
}
.home-highlights-media {
    width: 622px;
    min-width: 622px;
    height: 372px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}
.home-video-thumb {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.home-video-thumb .home-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.home-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    transition: background 0.2s;
}
.home-video-thumb:hover .home-video-play { background: rgba(0,0,0,0.25); }
.home-video-play span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--h-blue);
    padding-left: 4px;
}

/* ============================================================
   PHOTO RECAP
   ============================================================ */
.home-photos {
    background: var(--h-white);
}
.home-photos-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 104px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.home-testimonials {
    background: linear-gradient(315deg, #0065A4 0%, #000229 100%);
    padding: 90px 0;
}
.home-testimonials-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 54px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.home-test-header {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 59px; /* indent aligns with card track (44px arrow + 15px gap) */
}
.home-test-title {
    font-family: var(--h-font);
    font-size: 28px;
    font-weight: 700;
    color: #22AFE5;
    margin: 0;
}
.home-test-line {
    border: none;
    border-top: 1px solid #22AFE5;
    margin: 0;
}
.home-test-carousel {
    display: flex;
    align-items: center;
    gap: 15px;
}
.home-test-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}
.home-test-btn:hover { color: #22AFE5; }
.home-test-btn:disabled { opacity: 0.3; cursor: default; }

/* Testimonials carousel track */
.home-testimonials-track {
    flex: 1;
    display: flex;
    gap: 25px;
    overflow: hidden;
    min-width: 0;
}
.home-testimonial-card {
    flex: 0 0 calc((100% - 50px) / 3);
    background: #F6F7F7;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 435px;
}
.home-testimonial-quote {
    font-family: var(--h-font);
    font-size: 20px;
    font-weight: 300;
    color: #000229;
    line-height: 30px;
    margin: 0;
    flex: 1;
}
.home-testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}
.home-testimonial-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    aspect-ratio: 1 / 1;
    padding: 15px 25px 45px 25px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: #FFF;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 2px 4px 0px rgba(21, 22, 25, 0.08);
}
.home-testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}
.home-testimonial-name-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.home-testimonial-name {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    color: #0065A4;
    line-height: 23px;
}
.home-testimonial-role {
    font-family: var(--h-font);
    font-size: 15px;
    font-weight: 300;
    color: #000229;
    line-height: 19px;
}
.home-testimonial-company {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 700;
    color: #000229;
    line-height: 23px;
}

/* ============================================================
   VENUE
   ============================================================ */
.home-venue {
    background: var(--h-white);
    box-shadow: 0px 2px 4px rgba(21, 22, 25, 0.08);
}
.home-venue-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 104px;
}

/* ============================================================
   LATEST UPDATES
   ============================================================ */
.home-updates {
    background: linear-gradient(315deg, #0065A4 0%, #000229 100%);
}
.home-updates-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 104px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Section header */
.home-updates-header {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.home-updates-title {
    font-family: var(--h-font);
    font-size: 28px;
    font-weight: 700;
    color: #00B1EE;
    margin: 0;
}
.home-updates-line {
    border: none;
    border-top: 1px solid #00B1EE;
    margin: 0;
}

/* Grid: featured left + 2×2 mini cards right */
.home-updates-grid {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

/* Featured card */
.home-update-featured {
    flex: 1 1 0;
    max-width: 450px;
    display: flex;
    flex-direction: column;
}
.home-update-featured-img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.home-update-img-placeholder {
    height: 300px;
    background: #c8d4e0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.home-update-featured-body {
    padding: 25px;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 25px;
    flex: 1;
}
.home-update-featured-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.home-update-featured-title {
    font-family: var(--h-font);
    font-size: 21px;
    font-weight: 600;
    color: #0065A4;
    line-height: 27px;
    margin: 0;
}
.home-update-featured-text {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    color: #000229;
    line-height: 23px;
    margin: 0;
}

/* Mini cards: 2×2 grid */
.home-update-items {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}
.home-update-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
}
.home-update-item-top {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.home-update-item-title {
    font-family: var(--h-font);
    font-size: 21px;
    font-weight: 600;
    color: #0065A4;
    line-height: 27px;
    margin: 0;
}
.home-update-item-text {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    color: #000229;
    line-height: 23px;
    margin: 0;
    line-height: 1.5;
    margin: 0;
}

/* Shared update link */
.home-update-link {
    font-family: var(--h-font);
    font-size: 17px;
    font-weight: 300;
    line-height: 23px;
    color: #0065A4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    flex-shrink: 0;
}
.home-update-link:hover { text-decoration: underline; }
.home-link-arrow::after {
    content: '→';
    font-size: 17px;
}

/* ============================================================
   AWARDS
   ============================================================ */
.home-awards {
    background: var(--h-white);
}
.home-awards-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 104px;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.home-sponsors {
    background: #E6F7FD;
}
.home-sponsors-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 54px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

/* Extra 54px indent wrapper (title, cards block, silver, link) */
.home-sp-indent {
    align-self: stretch;
    padding: 0 54px;
}

.home-sponsors-title {
    font-size: 52px;
    font-weight: 700;
    color: #0065A4;
    line-height: 60px;
    margin: 0;
}

/* ---- Shared card shell ---- */
.home-sp-card {
    background: #FFF;
    border-radius: 12px;
    outline: 1px solid #0065A4;
    outline-offset: -1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Card label area (top part) */
.home-sp-card-header {
    align-self: stretch;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.home-sp-card-label {
    padding: 0 8px;
    text-align: center;
    color: #004C84;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    align-self: stretch;
}
.home-sp-card-divider {
    align-self: stretch;
    height: 0;
    outline: 2px solid #E6F7FD;
    outline-offset: -1px;
}

/* Card logo area */
.home-sp-card-body {
    align-self: stretch;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* Anchor fills full card-body width so max-width: 100% on logos is relative to the card */
.home-sp-card-body a { display: flex; align-items: center; justify-content: center; align-self: stretch; }

/* ---- Headline row ---- */
.home-sp-cards-block { display: flex; flex-direction: column; gap: 12px; }
.home-sp-tier-row { display: flex; gap: 12px; align-self: stretch; }
.home-sp-tier-row--headline { }
.home-sp-card--headline { flex: 1 1 0; min-width: 250px; }
.home-sp-logo--headline { max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; }

/* ---- Top tier row ---- */
.home-sp-tier-row--top { flex-wrap: wrap; }
.home-sp-card--top { flex: 1 1 0; min-width: 250px; }
.home-sp-logo--top { max-width: 100%; max-height: 100px; width: auto; height: auto; object-fit: contain; }

/* ---- Section (Partners / Silver) ---- */
.home-sp-section { align-self: stretch; display: flex; flex-direction: column; gap: 12px; }
.home-sp-section-label {
    margin: 0;
    color: #004C84;
    font-size: 21px;
    font-weight: 700;
    line-height: 27px;
}

/* Slider row */
.home-sp-slider-wrap { display: flex; align-items: center; gap: 15px; align-self: stretch; overflow: hidden; }
.home-sp-clip { flex: 1 1 0; overflow: hidden; min-width: 0; }
.home-sp-track { display: flex; gap: 12px; transition: transform 0.35s ease; }

/* Partner tile — Figma: flex: 1 0 0; min-width 200px. Grows to fill, shrink 0 so overflow clips correctly. */
.home-sp-tile--partner { flex: 1 0 0; min-width: 200px; }
.home-sp-logo--partner { height: 75px; max-width: 100%; object-fit: contain; }

/* Silver tile (no label, just logo) */
.home-sp-tile--silver {
    flex: 0 0 150px;
    max-width: 150px;
    min-width: 150px;
    background: #FFF;
    border-radius: 12px;
    outline: 1px solid #0065A4;
    outline-offset: -1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.home-sp-logo--silver { align-self: stretch; max-height: 50px; height: auto; width: 100%; object-fit: contain; }

/* Nav arrows — reuses testimonial slider button pattern */
.home-sp-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: none;
    background: transparent;
    font-size: 40px;
    line-height: 1;
    color: #0065A4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}
.home-sp-nav:hover:not(:disabled) { color: #004C84; }
.home-sp-nav:disabled { opacity: 0.25; cursor: default; }

/* "See all" link */
.home-sponsors-link {
    font-size: 16px;
    font-weight: 400;
    color: #2D62B2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.home-sponsors-link:hover { color: #004f80; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    :root {
        --h-px: 48px;
        --h-max: 100%;
    }
    .home-hero-title { font-size: 56px; line-height: 66px; }
    .home-feature-title { font-size: 38px; }
    .home-feature-card { padding: 44px 36px; }
    .home-highlights-title,
    .home-venue-title,
    .home-awards-title { font-size: 40px; }
}

@media (max-width: 900px) {
    :root { --h-px: 28px; }

    .home-hero { height: 520px; }
    .home-hero-content { top: 80px; gap: 32px; }
    .home-hero-text-group { gap: 20px; }
    .home-hero-title { font-size: 40px; line-height: 48px; }
    .home-hero-meta { font-size: 18px; gap: 10px; }

    .home-stats-inner { flex-wrap: wrap; }
    .home-stat-card { flex: 1 1 calc(50% - 13px); }

    /* flex containers — must use flex-direction not grid-template-columns */
    .home-intro-inner,
    .home-highlights-inner { flex-direction: column; gap: 36px; }

    .home-photos-inner { padding: 60px 24px; }

    /* feature cards are display:flex not grid */
    .home-feature-cards-inner { flex-direction: column; }
    .home-feature-card { min-height: auto; padding: 44px 32px; }
    .home-feature-title { font-size: 34px; }

    .home-updates-inner { padding: 60px 28px; }
    .home-updates-grid { flex-direction: column; }
    .home-update-featured { max-width: 100%; }
    .home-update-items { grid-template-columns: 1fr; }

    /* Carousels: show 1 card on tablet */
    .home-speaker-card { flex: 0 0 calc(80% - 16px); }
    .home-testimonial-card { flex: 0 0 calc(90% - 16px); min-height: auto; }

    .home-venue-media { order: -1; }
    .home-awards-media { order: -1; }

    .home-highlights-title,
    .home-venue-title,
    .home-awards-title { font-size: 34px; }
    .home-sponsors-title { font-size: 36px; }
}

/* Designer note: < 768px → show far left of hero image */
@media (max-width: 768px) {
    .home-hero-img { object-position: left center; }
}

@media (max-width: 600px) {
    /* ---- Hero ----
       On mobile the hero starts below the fixed 80px nav (margin-top: 80px),
       so hero content can use top: 44px exactly as the Figma specifies.
       Hero is exactly 325px (the image height), stats keep -45px overlap.  */
    .home-main { margin-top: 80px !important; }
    .home-hero { height: 325px; }
    .home-hero-content { position: absolute; top: 44px; left: 16px; gap: 32px; }
    .home-hero-title { font-size: 32px; line-height: 40px; max-width: 275px; }

    /* ---- Stats cards: Figma mobile spec ---- */
    .home-stats-inner { gap: 16px; }
    .home-stat-card { padding: 25px; }
    .home-stat-number { font-size: 32px; line-height: 1.2; margin-bottom: 15px; }
    .home-stat-label { font-size: 18px; line-height: 23px; margin-top: 10px; }

    /* ---- Intro ---- */
    .home-intro-inner { padding: 32px 16px; gap: 32px; }
    .home-intro-heading { font-size: 28px; }
    /* Prevent wide media overflowing narrow viewport */
    .home-intro-media { width: 100%; min-width: 0; height: 220px; }

    /* ---- Feature cards ----
       Desktop uses justify-content:space-between (cards have equal fixed height).
       Mobile: switch to flex-start + gap so the card auto-sizes to content
       and overflow:hidden never clips anything. */
    .home-feature-cards { padding: 0 16px 32px; }
    .home-feature-card {
        padding: 25px;
        justify-content: flex-start;
        gap: 35px;       /* Figma: gap:35px between title-row and body-section */
        flex: none;      /* take flex-basis:0 out of play; card sizes to content */
        width: 100%;
    }
    .home-feature-title { font-size: 32px; line-height: 40px; }
    .home-feature-body { font-size: 16px; line-height: 24px; } /* Figma: 16px / 24px */

    /* ---- Featured Speakers: Figma mobile spec ---- */
    .home-speakers { padding: 32px 0; }
    .home-speakers-inner {
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        gap: 35px;
    }
    .home-section-header { padding: 0 44px; gap: 25px; margin-bottom: 0; }
    /* Carousel: arrows absolute so image fills full inner content width.
       left/right:-16px extends into the 16px section padding zone — the visual
       icon (18.75px wide, centered in 44px) lands within the image's 25px dark zone. */
    .home-carousel-wrap { position: relative; gap: 0; }
    .home-carousel-btn {
        position: absolute;
        top: 162px;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        font-size: 31.25px;
        line-height: 1;
        z-index: 10;
    }
    .home-carousel-prev { left: -16px; }
    .home-carousel-next { right: -16px; }
    /* Track: flex-start stops cards stretching to the tallest sibling (fixes the
       large gap between info text and the CTA button) */
    .home-speakers-track { align-items: flex-start; }
    /* Card: 100% of track = full inner content width (arrows are out of flow) */
    .home-speaker-card { flex: 0 0 100%; align-items: flex-start; }
    /* Photo wrapper: Figma spec.
       aspect-ratio:auto overrides desktop 1/1.
       background:transparent overrides desktop #E6F7FD. */
    .home-speaker-photo {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-self: stretch;
        width: auto;
        aspect-ratio: auto;
        height: 323px;
        padding: 15px 25px 45px 25px;
        box-sizing: border-box;
        background: transparent;
        overflow: hidden;
        border-radius: 12px;
        flex-shrink: 0;
        gap: 10px;
    }
    .home-speaker-photo img {
        flex: 1;
        align-self: stretch;
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: cover;
        object-position: center top;
        border-radius: 12px;
        display: block;
        padding: 0;
    }
    /* Info: padding-left/right:25px aligns text with the photo content (same as
       image's 25px left dark zone). No top/bottom padding — vertical gap comes
       from the image's 45px dark bottom zone and the inner's 35px flex gap.
       flex:0 0 auto overrides desktop flex:1. */
    .home-speaker-info {
        flex: 0 0 auto;
        align-self: stretch;
        align-items: flex-start;
        padding: 0 25px;
        gap: 10px;
        border-radius: 0;
    }
    .home-speaker-name { line-height: 23px; }
    .home-speaker-role { font-size: 12px; line-height: 18px; }
    .home-speaker-company { font-size: 17px; font-weight: 700; line-height: 23px; }
    .home-speakers-cta { margin-top: 0; }

    /* ---- Highlights ---- */
    .home-highlights-inner { padding: 32px 16px; }
    /* Media container: Figma spec — full content width, aspect-ratio 132/79 (≈408×244).
       Overrides desktop width:622px / min-width:622px / height:372px. */
    .home-highlights-media {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 132 / 79;
        align-self: stretch;
    }
    /* Image and thumb fill the container edge-to-edge, no lateral margins */
    .home-highlights-media .home-media-img,
    .home-highlights-media .home-video-thumb,
    .home-video-thumb .home-media-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    /* ---- Photos ---- */
    /* Text first, gallery carousel second (HTML order is gallery-mobile then text) */
    .gws-cgallery-text { order: -1; }
    /* Override 60px from the ≤900px rule */
    .home-photos-inner { padding: 32px 16px; }
    /* Gap between text block and carousel: 33px per Figma (overrides 36px from ≤900px) */
    .home-photos-inner .gws-cgallery { gap: 33px; }
    /* Carousel dimensions: 385×245px per Figma (track height overrides 200px, item
       width calc leaves 23px hint of next image — 408-385=23 on 440px canvas) */
    .home-photos-inner .gws-cgallery-gallery-mobile { height: 245px; }
    .home-photos-inner .gws-cgallery-gallery-mobile .gws-cgallery-item {
        flex: 0 0 calc(100% - 23px);
    }
    .home-photos-gallery { grid-template-columns: 1fr 1fr; }

    /* ---- Testimonials ---- */
    .home-testimonials { padding: 36px 0; }
    .home-testimonials-inner { padding: 0 16px; }
    .home-test-header { padding: 0 44px; }
    /* Arrows in-flow, gap 0 — card fills remaining space (Figma: flex:1 0 0 on card) */
    .home-test-carousel { gap: 0; }
    .home-test-btn { font-size: 31.25px; }
    /* 4px padding gives breathing room so overflow:hidden doesn't clip border-radius:12px */
    .home-testimonials-track { padding: 4px; }
    /* flex:0 0 100% = one card fills the track; min-width:0 prevents content expanding card beyond track */
    .home-testimonial-card {
        flex: 0 0 100%;
        min-width: 0;
        min-height: auto;
        justify-content: flex-start;
        gap: 35px;
    }
    .home-testimonial-quote { flex: 0 0 auto; line-height: 28px; }
    .home-testimonial-author { align-items: center; margin-top: 0; }
    .home-testimonial-name-group { gap: 5px; }

    /* ---- Venue ---- */
    .home-venue-inner { padding: 32px 16px; }
    /* Text above image: HTML has media first, so order:-1 on text puts it on top */
    .home-venue-inner .gws-mediablock-text { order: -1; gap: 25px; }
    /* Body: Open Sans 400 16px/24px per Figma (base: Be Vietnam Pro 300 17px/23px) */
    .home-venue-inner .gws-mediablock-body { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; line-height: 24px; color: #000; }

    /* ---- Updates ---- */
    .home-updates-inner { padding: 35px 16px; }
    /* Featured image: 229px per Figma (down from 300px) */
    .home-update-featured-img,
    .home-update-img-placeholder { height: 229px; }
    /* Featured body: 16px padding per Figma */
    .home-update-featured-body { padding: 16px; }
    /* Mini cards: restore 2-column grid (≤900px collapses to 1fr) */
    .home-update-items { grid-template-columns: 1fr 1fr; }
    /* Mini card: 16px padding and gap (down from 25px) */
    .home-update-item { padding: 16px; gap: 16px; }
    /* Mini card title: 18px per Figma (down from 21px) */
    .home-update-item-title { font-size: 18px; line-height: 23px; }
    /* Mini card body: Open Sans 400 16px/24px per Figma */
    .home-update-item-text { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; line-height: 24px; }

    /* ---- Awards ---- */
    .home-awards-inner { padding: 32px 16px; }
    /* Text above image: same pattern as Venue */
    .home-awards-inner .gws-mediablock-text { order: -1; gap: 25px; }
    .home-awards-inner .gws-mediablock-body { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; line-height: 24px; color: #000; }
    /* gap: 90px is set as inline style on the component — !important needed to override it */
    .home-awards-inner .gws-mediablock { gap: 32px !important; }

    /* ---- Sponsors section — Figma mobile 440px ---- */
    .home-sponsors-inner { padding: 35px 16px; gap: 35px; }
    .home-sponsors-title { font-size: 32px; }
    /* Remove extra indent — outer 16px padding already sufficient */
    .home-sp-indent { padding: 0; }

    /* Top-tier: exactly 2 cards per row (Figma 2×2 grid) */
    /* flex-wrap:wrap already in base; override min-width:250px + set 50% basis */
    .home-sp-card--top { flex: 0 0 calc(50% - 6px); min-width: 0; }

    /* Track gap: 8px per Figma (desktop uses 12px) */
    .home-sp-track { gap: 8px; }
    /* Slider wrap: remove gap so clip fills between arrows cleanly */
    .home-sp-slider-wrap { gap: 0; }

    /* Partner tiles: fixed width via vw so exactly 2 fit in clip
       clip = 100vw - 32px(padding) - 88px(arrows) = 100vw - 120px
       2 tiles + 1 gap: tile = (clip - 8px) / 2 = (100vw - 128px) / 2 */
    .home-sp-tile--partner {
        flex: 0 0 calc((100vw - 128px) / 2);
        min-width: 0;
    }
    .home-sp-tile--partner .home-sp-card-body { padding: 15px; }
    /* Label: Be Vietnam Pro 300 15px per Figma */
    .home-sp-tile--partner .home-sp-card-label {
        font-size: 15px;
        font-family: 'Be Vietnam Pro', sans-serif;
        font-weight: 300;
        line-height: 19px;
    }
    /* Header min-height: equal height when label wraps (designer note: ~63px) */
    .home-sp-tile--partner .home-sp-card-header { min-height: 63px; }

    /* Silver tiles: fixed width via vw so exactly 4 fit in clip
       4 tiles + 3 gaps: tile = (clip - 24px) / 4 = (100vw - 144px) / 4 */
    .home-sp-tile--silver {
        flex: 0 0 calc((100vw - 144px) / 4);
        min-width: 0;
        max-width: none;
    }
    .home-sp-tile--silver .home-sp-card-body { padding: 12px; }

    /* Nav arrows: dark on light background */
    .home-sp-nav { color: #111113; }
    .home-sp-nav:hover:not(:disabled) { color: #0065A4; }
}
