.page-chandler-judicial-forum-2026 {
    --body-copy-width: min(clamp(52ch, 72vw, 78ch), 90%);
    --speaker-gap: clamp(20px, 4.4vw, 50px);
    --speaker-row-gap: clamp(20px, 4vw, 50px);
}

.hero-content h1 {
    color: #FFF;
    font-family: "Cormorant Garamond";
    font-size: clamp(38px, calc(24px + 6vw), 80px);
    font-style: normal;
    font-weight: 500;
    line-height: clamp(33px, calc(19px + 6vw), 75px);
    letter-spacing: clamp(-0.8px, calc(-0.2px - 0.07vw), -0.38px);
    text-align: left;
}

.video-section {
    width: 100%;
    padding-top: clamp(20px, 7vw, 100px);
    padding-bottom: 0;
    display: flex;
    justify-content: center;
}

.video-frame-wrap {
    width: min(78%, 1120px);
}

.video-frame {
    width: 100%;
    aspect-ratio: 103 / 58;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
    color: #FFF;
    text-align: center;
    padding: 24px;
}

.video-placeholder__content {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 14px 20px;
    font-family: Jost, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    justify-content: center;
}

.video-placeholder__content span {
    display: inline-block;
}

.page-chandler-judicial-forum-2026 .section-intro-width {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-chandler-judicial-forum-2026 .section-intro-width .title{
    width: 85%;
    max-width: 1120px;
    margin: 0 auto;
}

.speakers-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: var(--speaker-gap);
    row-gap: var(--speaker-row-gap);
    align-items: start;
    padding-bottom: clamp(50px, 7vw, 100px);
    width: 100%;
    margin: 0 auto;
}

.speakers-subrow {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: var(--speaker-gap);
    width: 100%;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 0 1 calc((100% - (var(--speaker-gap) * 4)) / 5);
    min-width: 0;
}

@media screen and (min-width: 769px) {
    .speakers-subrow .speaker-card {
        flex: 0 1 calc((100% - (var(--speaker-gap) * 4)) / 5);
        max-width: calc((100% - (var(--speaker-gap) * 4)) / 5);
    }
}

.speaker-card__image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 9999px;
    object-fit: cover;
    display: block;
    margin-bottom: clamp(10px, 2vw, 20px);
}

.speaker-card__name {
    color: #19223D;
    text-align: center;
    font-family: Jost;
    font-size: clamp(18px, calc(17.2px + 0.2vw), 20px);
    font-style: normal;
    font-weight: 600;
    line-height: clamp(28px, calc(27.2px + 0.2vw), 30px); /* 150% */
    letter-spacing: 0.6px;
}

.speaker-card__designation {
    color: #19223D;
    text-align: center;
    font-family: Jost;
    font-size: clamp(15px, calc(14.6px + 0.1vw), 16px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(22px, calc(21.2px + 0.2vw), 24px);
    letter-spacing: 0.48px;
}

@media screen and (max-width: 768px) and (min-width: 627px) {
    .speakers-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: var(--speaker-gap);
        row-gap: var(--speaker-row-gap);
    }

    .speakers-subrow {
        display: contents;
    }

    .speaker-card,
    .speakers-subrow .speaker-card {
        flex: 0 1 calc((100% - (var(--speaker-gap) * 2)) / 3);
        max-width: calc((100% - (var(--speaker-gap) * 2)) / 3);
    }

    .video-frame {
        aspect-ratio: 16 / 9;
    }

    .video-frame-wrap {
        width: min(90%, 760px);
        margin: 0 auto;
    }

}

@media screen and (max-width: 768px) {
    .video-frame {
        aspect-ratio: 16 / 9;
    }

    .video-frame-wrap {
        width: min(90%, 760px);
        margin: 0 auto;
    }
}

@media screen and (max-width: 1133px) and (min-width: 769px) {
    .programme-image img {
        aspect-ratio: 3 / 2;
        height: auto;
    }
}

@media screen and (max-width: 626px) {
    .page-chandler-judicial-forum-2026 {
        --speaker-gap: clamp(20px, 2.4vw, 25px);
        --speaker-mobile-card-max-width: 180px;
    }

    .hero-content {
        width: min(90%, 420px);
        text-align: left;
        padding: 0 0 20px;
    }

    .speakers-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: var(--speaker-gap);
        row-gap: var(--speaker-row-gap);
    }

    .speakers-subrow {
        display: contents;
    }

    .speaker-card,
    .speakers-subrow .speaker-card {
        flex: 0 1 min(calc((100% - var(--speaker-gap)) / 2), var(--speaker-mobile-card-max-width));
        max-width: min(calc((80% - var(--speaker-gap)) / 2), var(--speaker-mobile-card-max-width));
    }

    .speaker-card__image {
        max-width: 100%;
    }

    .speakers-row {
        padding-bottom: 50px;
    }

    /* Carousel 2 (Day 1): up 30px */
    /* Carousel 3 (Day 2): up 30px, down 50px */
    #carousel-programme-day-2 {
        margin-bottom: calc(var(--programme-indicator-offset) + 45px + 50px);
    }
}

/* ── HR gradient ───────────────────────────────────────────────────────────── */
.page-chandler-judicial-forum-2026 .main-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #FBDB6A 0%, #7E5724 100%);
    opacity: 1;
}

/* ── Quotes carousel ───────────────────────────────────────────────────────── */
.quotes-carousel-section {
    width: 100%;
}

/* Carousel 1 top gap scales down to 30px on small viewports */
.quotes-gap-top {
    height: clamp(30px, 6vw, 70px);
}

/* Carousel 1 bottom scales from 125px to 215px */
.quotes-carousel {
    margin-bottom: clamp(125px, 16vw, 215px);
}

/* Gold oval pill — mirrors .indicators-bg from style.css but auto-width */
.quotes-carousel .carousel-indicators {
    bottom: auto;
    top: 100%;
    left: 0;
    right: 0;
    width: fit-content;
    min-width: 60px;
    height: 45px;
    display: flex;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 50px;
    background: var(--Gold, #966E32);
    margin: clamp(30px, 6vw, 70px) auto 0 !important;
}

.quotes-carousel .carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.7);
    border-top: none;
    border-bottom: none;
    flex: none;
    padding: 0;
    opacity: 1;
    transition: background-color 0.3s ease;
}

.quotes-carousel .carousel-indicators .active {
    background-color: #fff !important;
    opacity: 1;
}

/* Fixed-height cards so indicators never jump between slides */
.quote-carousel-card {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 992px) {
    .quote-carousel-card {
        min-height: 360px;
    }
}

@media screen and (max-width: 576px) {
    .quote-carousel-card {
        min-height: 500px;
    }
}

.quote-carousel__quote {
    color: var(--Gold, #966E32);
    text-align: center;
    font-family: "Cormorant Garamond";
    font-size: 34px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 30px;
}

.quote-carousel__source-1 {
    color: var(--Gold, #966E32);
    text-align: center;
    font-family: Jost;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.45px;
    margin-bottom: 0;
}

.quote-carousel__source-2 {
    color: var(--Gold, #966E32);
    text-align: center;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.45px;
    margin-bottom: 0;
}

@media screen and (max-width: 626px) {
    .quote-carousel__quote {
        font-size: 29px;
        line-height: 39px;
    }

    .quote-carousel__source-1 {
        font-size: 18px;
        line-height: 28px;
    }

    .quote-carousel__source-2 {
        font-size: 15px;
        line-height: 22px;
    }
}

/* ── Programme section ────────────────────────────────────────────────────── */
.programme-section {
    --programme-carousel-width: 1062px;
    --programme-image-height: 600px;
    --programme-carousel-top-gap: 70px;
    --programme-day-gap: 70px;
    --programme-carousel-gap: 45px;
    --programme-indicator-offset: 50px;
    --programme-separator-gap: 70px;
    width: 100%;
}

.page-chandler-judicial-forum-2026 .section-intro-width .section-p,
.page-chandler-judicial-forum-2026 .programme-day__copy {
    color: var(--Navy, #19223D);
    text-align: center;
    font-family: Jost;
    font-size: clamp(18px, calc(17.2px + 0.2vw), 20px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(28px, calc(27.2px + 0.2vw), 30px);
    letter-spacing: clamp(0.45px, calc(0.39px + 0.015vw), 0.6px);
    padding-inline: 0;
}

.programme-day {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programme-section .title {
    color: #966E32;
    text-align: center;
    font-family: "Cormorant Garamond";
    font-size: clamp(28px, calc(21px + 0.9vw), 36px);
    font-style: normal;
    font-weight: 700;
    line-height: clamp(35px, calc(29px + 0.9vw), 43px);
    letter-spacing: clamp(1.4px, calc(1.05px + 0.04vw), 1.8px);
    text-transform: uppercase;
    margin: clamp(35px, 8vw, 100px) 0 clamp(20px, 6vw, 70px);
}

.programme-day + .programme-day {
    margin-top: 0;
}

.programme-day__kicker {
    color: var(--Gold, #966E32);
    text-align: center;
    font-family: "Cormorant Garamond";
    font-size: clamp(22px, calc(20.3px + 0.2vw), 24px);
    font-style: normal;
    font-weight: 600;
    line-height: clamp(29px, calc(24.6px + 0.55vw), 34px);
    letter-spacing: clamp(2.2px, calc(2.02px + 0.02vw), 2.4px);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 30px;
}

.programme-day + .programme-day .programme-day__kicker {
    margin-bottom: clamp(30px, 6vw, 70px);
}

.programme-day__copy {
    width: var(--body-copy-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.programme-carousel {
    width: min(100%, var(--programme-carousel-width));
    margin-top: var(--programme-carousel-top-gap);
    margin-bottom: calc(var(--programme-indicator-offset) + 45px);
}

/* Carousel 2 (Day 1): up 30px, down 70px (via --programme-separator-gap) */
#carousel-programme-day-1 {
    margin-top: var(--programme-carousel-top-gap);
}

/* Carousel 3 (Day 2): up 30px, down 100px to contact form */
#carousel-programme-day-2 {
    margin-top: var(--programme-carousel-top-gap);
    margin-bottom: calc(var(--programme-indicator-offset) + 45px + 100px);
}

.programme-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programme-carousel .carousel-item figcaption {
    margin-bottom: 0;
}

.programme-carousel .carousel-indicators.indicators-bg {
    bottom: calc(-45px - var(--programme-indicator-offset));
    width: fit-content;
    min-width: 87px;
    padding: 0 18px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.programme-carousel .carousel-indicators .active {
    background-color: #fff !important;
    opacity: 1;
}

.page-chandler-judicial-forum-2026 hr.programme-separator {
    border: none;
    height: 0.5px;
    background: var(--Gold, #966E32);
    margin-top: var(--programme-separator-gap) !important;
    margin-bottom: var(--programme-separator-gap) !important;
}

.programme-section .w-container > .c-spacer {
    display: none;
}

@media screen and (max-width: 1133px) and (min-width: 769px) {
    .programme-section {
        --programme-carousel-width: 912px;
        --programme-image-height: 516px;
        --programme-day-gap: 60px;
        --programme-carousel-gap: 40px;
        --programme-separator-gap: 70px;
    }
}

@media screen and (max-width: 768px) and (min-width: 627px) {
    .programme-section {
        --programme-carousel-width: 100%;
        --programme-image-height: clamp(294px, 67.2vw, 432px);
        --programme-day-gap: 50px;
        --programme-carousel-gap: 70px;
        --programme-indicator-offset: 45px;
        --programme-separator-gap: 70px;
    }

}

@media screen and (max-width: 626px) {
    .programme-section {
        --programme-carousel-width: 100%;
        --programme-image-height: 264px;
        --programme-carousel-top-gap: 30px;
        --programme-day-gap: 40px;
        --programme-carousel-gap: 30px;
        --programme-indicator-offset: 40px;
        --programme-separator-gap: 50px;
    }

    .programme-day__kicker {
        margin-bottom: 30px;
    }

    .programme-day + .programme-day .programme-day__kicker { margin-bottom: 30px; }
}

@media screen and (max-width: 390px) {
    .page-chandler-judicial-forum-2026 .section-intro-width .section-p,
    .page-chandler-judicial-forum-2026 .programme-day__copy {
        font-size: 18px;
        line-height: 28px;
        letter-spacing: 0.45px;
    }
}

/* ── Contact form "Contact Us" heading spacing ─────────────────────────────── */
/* The shared partial hides one c-spacer at <768px via d-none d-md-block,
   giving 50px up on mobile. On this page we want 100px up for 627+. */
.page-chandler-judicial-forum-2026 .programme-section + .c-section .c-spacer.d-none {
    display: block !important;
}

@media screen and (max-width: 626px) {
    .page-chandler-judicial-forum-2026 .programme-section + .c-section .c-spacer.d-none {
        display: none !important;
    }
}
