:root {
    --navy: #0e2340;
    --navy-deep: #0b213d;
    --cream: #f5f1e8;
    --cream-mid: #eee7da;
    --blue-soft: #d8e6f1;
    --gold: #b98a00;
    --gold-soft: #e8cd86;
    --gold-border: #d8b85f;
    --ink: #102643;
    --muted: #6e7786;
    --white: #ffffff;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Montserrat", Arial, Helvetica, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
}

    body.modal-open {
        overflow: hidden;
    }

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}
/*a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 0.18em; }*/
button {
    font: inherit;
}

    button:focus-visible, a:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 3px;
    }

.post-page {
    width: 100%;
    min-height: 100vh;
    background: var(--cream);
}

.post-card {
    width: 100%;
    overflow: hidden;
    background: var(--cream);
    border: 0;
}

/* Header */
.post-topbar {
    min-height: 115px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 24px 33px 19px 35px;
    color: var(--white);
    background: var(--navy);
    border-bottom: 4px solid var(--gold-border);
}

.post-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    color: var(--white);
}

.post-brand-logo {
    width: 71px;
    height: auto;
    flex: 0 0 auto;
}

.post-brand span {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.post-tax-line {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(0.72rem, 1.3vw, 0.98rem);
    font-weight: 500;
    letter-spacing: 0.33em;
    text-transform: uppercase;
    white-space: nowrap;
}

    .post-tax-line span {
        padding: 0 1rem;
    }

/* Hero */
.post-hero {
    background: var(--cream);
    text-align: center;
}

.post-hero-inner {
    width: min(100%, 1200px);
    min-height: 625px;
    display: grid;
    place-items: center;
    align-content: center;
    margin: 0 auto;
    padding: 70px 24px 72px;
}

.post-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 0 36px;
    padding: 12px 30px;
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-family: var(--sans);
    font-size: clamp(0.85rem, 1vw, 1rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

    .post-date-badge span {
        padding: 0 0.55rem;
    }

.post-eyebrow, .section-label, .highlight-num, .host-label {
    font-family: var(--sans);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
}

.post-eyebrow {
    margin: 0 0 34px;
    color: var(--navy);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 0.62em;
}

.post-title {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(5.8rem, 8.3vw, 7.6rem);
    line-height: 0.82;
    letter-spacing: -0.062em;
    color: var(--gold);
}

.post-event-line {
    margin: 39px 0 0;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.55vw, 2.4rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
}

    .post-event-line span {
        color: var(--gold);
        padding: 0 0.48rem;
        font-size: 0.72em;
        vertical-align: 0.08em;
    }

.post-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(560px, 72%);
    margin: 50px auto 43px;
}

    .post-ornament .line {
        height: 1px;
        flex: 1 1 auto;
        background: var(--gold-soft);
    }

.diamond {
    display: inline-block;
    transform: rotate(45deg);
    background: var(--gold-soft);
}

    .diamond.small {
        width: 10px;
        height: 10px;
    }

    .diamond.large {
        width: 15px;
        height: 15px;
        background: var(--gold);
    }

.post-thank-you-copy {
    max-width: 880px;
    margin: 0 auto;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(2rem, 3.1vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--navy);
}

.post-thank-you-band {
    display: none;
}

/* Tabs */
.post-tabs {
    position: sticky;
    top: 0;
    z-index: 25;
    background: rgba(245, 241, 232, 0.96);
    border-top: 1px solid rgba(13, 32, 57, 0.18);
    border-bottom: 1px solid rgba(13, 32, 57, 0.18);
    backdrop-filter: blur(8px);
}

.post-tabs-inner {
    width: min(100%, 1200px);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*    gap: clamp(18px, 3.6vw, 56px);*/
    margin: 0 auto;
    padding: 0 18px;
}

    .post-tabs-inner .btnleft {
        display: flex;
        align-items: center;
        gap: clamp(18px, 3.6vw, 56px);
    }

.post-tab {
    position: relative;
    min-height: 58px;
    padding: 0 0;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

    .post-tab::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: transparent;
    }

    .post-tab.is-active, .post-tab:hover, .post-tab:focus-visible {
        color: var(--navy);
    }

        .post-tab.is-active::after {
            background: var(--gold);
        }

.post-pledge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 24px;
    margin-left: clamp(16px, 4vw, 72px);
    color: var(--white);
    background: var(--gold);
    border: 1px solid var(--gold);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* Generic sections */
.post-panel {
    background: var(--cream);
}

    .post-panel[hidden] {
        display: none;
    }

.post-section-inner {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 48px);
}

.recap-layout, .gallery-layout, .video-layout, .impact-layout, .press-layout {
    text-align: left;
}

.section-label {
    margin: 0 0 18px;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0.36em;
}

.section-heading {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(3rem, 5.1vw, 4.45rem);
    line-height: 0.96;
    letter-spacing: -0.052em;
    color: var(--navy);
}

.small-heading {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
}

.section-copy {
    max-width: 790px;
    margin: 25px 0;
    font-family: var(--serif);
    font-size: clamp(1.16rem, 1.5vw, 1.34rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.75;
    color: var(--ink);
}

.soft-divider {
    width: 100%;
    height: 1px;
    margin: 58px 0 44px;
    background: rgba(13, 32, 57, 0.18);
}

/* Recap */
/* Recap two-column opening */
.twobytwo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 455px);
    align-items: stretch;
    gap: clamp(34px, 5vw, 72px);
}

.chunkBoxArea {
    min-width: 0;
}

    .chunkBoxArea .section-copy {
        max-width: 100%;
    }

    .chunkBoxArea .stat-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
        margin-top: 52px;
    }

    .chunkBoxArea .stat-card:nth-child(2) {
        border-right: 0;
    }

.bigimg {
    min-height: 540px;
    overflow: hidden;
    border: 1px solid rgba(13, 32, 57, 0.18);
    position: relative;
    background: linear-gradient(135deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), linear-gradient(45deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), linear-gradient(135deg, rgba(216, 184, 95, 0.15), rgba(216, 184, 95, 0)), #e8dfd1;
}

    .bigimg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( -45deg, rgba(255, 255, 255, 0.06) 0 12px, transparent 12px 24px );
        z-index: 1;
        pointer-events: none;
    }

    .bigimg::after {
        content: "Event Highlight Image";
        position: absolute;
        inset: 0;
        z-index: 2;
        display: grid;
        place-items: center;
        color: #8e6f42;
        font-family: var(--serif);
        font-size: clamp(1.8rem, 3vw, 3rem);
        font-style: italic;
        font-weight: 600;
        text-align: center;
        opacity: 0.75;
    }

    .bigimg img {
        position: absolute;
        inset: 0;
        z-index: 3;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

        /* Hide broken/empty image */
        .bigimg img:not([src]),
        .bigimg img[src=""] {
            display: none;
        }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 0;
    margin: 52px 0 0;
    border: 1px solid rgba(13, 32, 57, 0.26);
}

.stat-card {
    min-height: 142px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 24px 16px;
    background: transparent;
    border-right: 1px solid rgba(13, 32, 57, 0.26);
    text-align: center;
}

    .stat-card:last-child {
        border-right: 0;
    }

    .stat-card strong {
        display: block;
        font-family: var(--serif);
        font-style: italic;
        font-weight: 500;
        font-size: clamp(2.7rem, 4.2vw, 3.8rem);
        line-height: 0.9;
        color: var(--navy);
    }

        .stat-card strong span {
            font-size: 0.5em;
        }

    .stat-card p {
        margin: 12px 0 0;
        color: var(--muted);
        font-family: var(--sans);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.27em;
        line-height: 1.45;
        text-transform: uppercase;
    }

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 34px;
    background: var(--blue-soft);
}

.highlight-card {
    min-height: 255px;
    padding: 46px 38px 40px;
    border-right: 1px solid rgba(13, 32, 57, 0.16);
}

    .highlight-card:last-child {
        border-right: 0;
    }

.highlight-num {
    margin: 0 0 18px;
    font-size: 0.68rem;
    letter-spacing: 0.32em;
}

.highlight-card h3,
.speaker-feature-copy h3,
.press-card strong {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.45rem, 2.05vw, 2rem);
    line-height: 1.02;
    color: var(--navy);
}

.highlight-card p:not(.highlight-num) {
    margin: 22px 0 0;
    font-family: var(--serif);
    font-size: 1.13rem;
    font-weight: 500;
    line-height: 1.62;
    color: var(--ink);
}

.speaker-feature {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: stretch;
    margin-top: 48px;
    background: var(--navy);
    color: var(--white);
    text-align: left;
}

.speaker-feature-media {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(216, 184, 95, 0.15), rgba(216, 184, 95, 0));
}

    .speaker-feature-media::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px);
        z-index: 1;
    }

    .speaker-feature-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        opacity: 0.78;
    }

.speaker-play,
.featured-video-play,
.video-play-dot {
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.speaker-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    border: 1px solid rgba(232, 205, 134, 0.7);
    background: rgba(14, 35, 64, 0.58);
    color: var(--white);
}

.play-triangle {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid currentColor;
}

.speaker-feature-copy {
    padding: clamp(44px, 5vw, 62px);
}

    .speaker-feature-copy .section-label {
        color: var(--gold-soft);
    }

    .speaker-feature-copy h3 {
        color: var(--white);
        font-size: clamp(2.8rem, 5vw, 4.1rem);
    }

.speaker-subtitle {
    margin: 12px 0 0;
    color: rgba(255,255,255,0.75);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.12rem;
}

blockquote {
    margin: 30px 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.32;
    color: var(--white);
}

.gratitude-box {
    margin-top: 48px;
    padding-top: 42px;
    border-top: 1px solid rgba(13, 32, 57, 0.18);
}

    .gratitude-box p:not(.section-label) {
        max-width: 720px;
        margin: 0;
        font-family: var(--serif);
        font-size: 1.32rem;
        font-weight: 500;
        line-height: 1.7;
    }

/* Photo gallery */
.gallery-filters {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 36px 0 28px;
    border: 1px solid rgba(13, 32, 57, 0.24);
}

.gallery-filter {
    min-height: 43px;
    padding: 0 24px;
    cursor: pointer;
    border: 0;
    border-right: 1px solid rgba(13, 32, 57, 0.24);
    background: transparent;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

    .gallery-filter:last-child {
        border-right: 0;
    }

    .gallery-filter.is-active, .gallery-filter:hover, .gallery-filter:focus-visible {
        color: var(--white);
        background: var(--navy);
    }

.gallery-count {
    margin: 0 0 22px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.photo-grid {
    display: block;
    columns: 4 245px;
    column-gap: 14px;
    margin-top: 34px;
}

.photo-card {
    display: block;
    min-height: 230px;
    margin: 0 0 14px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

    .photo-card[hidden] {
        display: none;
    }

    .photo-card.is-tall {
        min-height: 390px;
    }

    .photo-card.is-wide {
        min-height: 300px;
    }

    .photo-card:nth-child(3n) {
        min-height: 300px;
    }

    .photo-card:nth-child(5n) {
        min-height: 390px;
    }

    .photo-card .photo-preview-btn {
        position: relative;
        width: 100%;
        min-height: inherit;
        height: 100%;
        display: grid;
        place-items: center;
        align-content: center;
        padding: 18px;
        overflow: hidden;
        cursor: pointer;
        border: 0;
        background: linear-gradient(135deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), linear-gradient(45deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), #e8dfd1;
        color: #8e6f42;
        text-align: center;
        transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    }

        .photo-card .photo-preview-btn::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(180deg, rgba(14, 35, 64, 0.18), rgba(14, 35, 64, 0.72));
            opacity: 0;
            transition: opacity 0.28s ease;
        }

        .photo-card .photo-preview-btn:hover,
        .photo-card .photo-preview-btn:focus-visible {
            transform: translateY(-2px);
            box-shadow: 0 18px 34px rgba(13, 32, 57, 0.16);
        }

            .photo-card .photo-preview-btn:hover::before,
            .photo-card .photo-preview-btn:focus-visible::before {
                opacity: 1;
            }

.photo-placeholder-title {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.35rem, 1.9vw, 2rem);
    line-height: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.photo-placeholder-type {
    display: block;
    margin-top: 8px;
    font-family: var(--serif);
    font-size: 0.95rem;
    color: rgba(142, 111, 66, 0.74);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.photo-card .photo-preview-btn:hover .photo-placeholder-title,
.photo-card .photo-preview-btn:hover .photo-placeholder-type,
.photo-card .photo-preview-btn:focus-visible .photo-placeholder-title,
.photo-card .photo-preview-btn:focus-visible .photo-placeholder-type {
    opacity: 0;
    transform: translateY(-8px);
}

.photo-actions {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.photo-action {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.16);
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.photo-card .photo-preview-btn:hover .photo-actions,
.photo-card .photo-preview-btn:focus-visible .photo-actions {
    opacity: 1;
    transform: translateY(0);
}

.photo-hover-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.photo-card .photo-preview-btn:hover .photo-hover-caption,
.photo-card .photo-preview-btn:focus-visible .photo-hover-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Videos */
.video-layout .section-heading {
    margin-bottom: 48px;
}

.video-archive-label {
    margin-top: 0;
}

.featured-video-panel {
    margin-top: 16px;
}

.featured-video-button {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

    .featured-video-button::before,
    .video-thumb::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(6, 18, 34, 0.08);
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    .featured-video-button:hover::before,
    .featured-video-button:focus-visible::before,
    .video-tile button:hover .video-thumb::before,
    .video-tile button:focus-visible .video-thumb::before {
        opacity: 1;
    }

.featured-video-play {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(216, 184, 95, 0.7);
    color: var(--gold);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.featured-video-button:hover .featured-video-play,
.featured-video-button:focus-visible .featured-video-play {
    transform: scale(1.08);
    background: rgba(216, 184, 95, 0.12);
}

.featured-video-title {
    position: relative;
    z-index: 1;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
}

.featured-video-link {
    position: relative;
    z-index: 1;
    color: var(--gold);
    border-bottom: 1px solid rgba(185, 138, 0, 0.82);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.video-caption {
    margin: 12px 0 0;
    color: rgba(16, 38, 67, 0.65);
    font-family: var(--serif);
    font-size: 0.94rem;
    font-style: italic;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.video-tile button {
    width: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(13, 32, 57, 0.18);
    background: transparent;
    color: var(--navy);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .video-tile button:hover,
    .video-tile button:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(13, 32, 57, 0.12);
    }

.video-thumb {
    position: relative;
    min-height: 220px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--navy);
}

.video-play-dot {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-tile button:hover .video-play-dot,
.video-tile button:focus-visible .video-play-dot {
    transform: scale(1.1);
    background: var(--white);
}

.video-hover-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    min-height: 43px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(6, 18, 34, 0.72);
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.15;
    transform: translateY(0);
    display: none
}

.video-info {
    display: block;
    /*    min-height: 74px;*/
    padding: 16px 18px 14px;
    background: var(--cream);
}

.video-tile strong {
    display: block;
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: 1.22rem;
    line-height: 1.2;
    color: var(--navy);
}

.video-tile small {
    display: none;
    margin-top: 9px;
    color: rgba(16, 38, 67, 0.66);
    font-family: var(--serif);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
}

/* Impact */
section#panel-impact {
    display: none;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    border: 1px solid rgba(13, 32, 57, 0.26);
}

    .impact-grid article {
        min-height: 190px;
        padding: 42px 34px 34px;
        border-right: 1px solid rgba(13, 32, 57, 0.26);
        border-bottom: 1px solid rgba(13, 32, 57, 0.26);
    }

        .impact-grid article:nth-child(3n) {
            border-right: 0;
        }

        .impact-grid article:nth-last-child(-n+3) {
            border-bottom: 0;
        }

    .impact-grid strong {
        display: block;
        color: var(--gold);
        font-family: var(--serif);
        font-style: italic;
        font-weight: 500;
        font-size: clamp(2.8rem, 4vw, 3.7rem);
        line-height: 0.9;
    }

        .impact-grid strong span {
            font-size: 0.55em;
        }

    .impact-grid h3 {
        margin: 16px 0 0;
        color: var(--muted);
        font-family: var(--sans);
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.28em;
        line-height: 1.45;
        text-transform: uppercase;
    }

    .impact-grid p {
        margin: 12px 0 0;
        color: var(--ink);
        font-family: var(--serif);
        font-style: italic;
        font-size: 1.08rem;
        font-weight: 500;
        line-height: 1.45;
    }

.impact-cta-band {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-top: 20px;
    padding: 52px clamp(24px, 7vw, 72px);
    background: var(--navy);
    color: var(--white);
}

    .impact-cta-band p {
        max-width: 620px;
        margin: 0;
        font-family: var(--serif);
        font-size: clamp(1.35rem, 2.05vw, 1.8rem);
        font-style: italic;
        font-weight: 600;
        line-height: 1.45;
    }

    .impact-cta-band em {
        color: var(--gold);
    }

.impact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

    .impact-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 14px 26px;
        border: 1px solid rgba(255,255,255,0.42);
        color: var(--white);
        font-family: var(--sans);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
    }

        .impact-actions a:last-child {
            background: var(--gold);
            border-color: var(--gold);
        }

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.press-card {
    min-height: 155px;
    display: block;
    padding: 32px 26px 26px;
    border: 1px solid rgba(13, 32, 57, 0.24);
    background: transparent;
}

    .press-card span {
        display: block;
        margin-bottom: 14px;
        color: var(--gold);
        font-family: var(--sans);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.26em;
        text-transform: uppercase;
    }

    .press-card strong {
        display: block;
        color: var(--navy);
        font-size: 1.32rem;
        line-height: 1.25;
    }

    .press-card small {
        display: block;
        margin-top: 14px;
        color: var(--muted);
        font-family: var(--serif);
        font-size: 0.92rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

/* Footer */
.post-footer {
    padding: 18px 16px 18px;
    text-align: center;
    color: var(--white);
    background: var(--navy);
    border-top: 4px solid var(--gold-border);
}

.host-label {
    margin: 0 0 13px;
    font-size: clamp(0.96rem, 1.6vw, 1.1rem);
    letter-spacing: 0.58em;
}

.host-names {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0;
    margin: 0;
    font-size: clamp(0.98rem, 1.75vw, 1.2rem);
    line-height: 1.1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
}

    .host-names span {
        display: inline-flex;
        align-items: center;
    }

        .host-names span:not(:last-child)::after {
            content: "|";
            margin: 0 18px;
            color: var(--gold);
            font-weight: 600;
        }

.post-contact {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--sans);
    font-size: 0.86rem;
}

    .post-contact a {
        color: var(--white);
        font-weight: 700;
    }

/* Modals */
.video-modal, .photo-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.video-modal {
    display: grid;
    place-items: center;
    padding: 28px;
}

.photo-modal {
    display: block;
    padding: 0;
    color: var(--white);
}

    .video-modal.is-open, .photo-modal.is-open {
        opacity: 1;
        pointer-events: auto;
    }

.video-modal-backdrop, .photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 34, 0.88);
    backdrop-filter: blur(6px);
}

.video-modal-content {
    position: relative;
    z-index: 1;
    width: min(930px, calc(100vw - 72px));
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--white);
    text-align: center;
}

.video-lightbox-stage {
    position: relative;
    width: 100%;
    min-height: min(520px, 58vh);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.video-modal-content h2 {
    margin: 20px 54px 0;
    color: var(--white);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.post-video-player {
    display: block;
    width: 100%;
    max-height: min(520px, 58vh);
    background: #000;
}

.post-video-placeholder {
    width: 100%;
    min-height: min(520px, 58vh);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    background: var(--navy);
}

.video-placeholder-play {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: rgba(255,255,255,0.6);
}

.post-video-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.14rem;
    line-height: 1.45;
}

.video-close {
    position: absolute;
    top: -36px;
    right: 6px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    font-size: 2.2rem;
    line-height: 1;
}

.photo-modal-close {
    position: fixed;
    top: 26px;
    right: 30px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    color: rgba(255,255,255,0.86);
    background: transparent;
    font-size: 2.15rem;
}

    .photo-modal-close:hover,
    .photo-modal-close:focus-visible {
        color: var(--white);
        background: rgba(255,255,255,0.08);
    }

.photo-lightbox-stage {
    position: relative;
    z-index: 2;
    width: min(560px, 78vw);
    height: min(720px, 74vh);
    margin: 100px auto 0;
    display: grid;
    place-items: center;
}

.photo-lightbox-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--cream-mid);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.photo-lightbox-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 36px;
    background: linear-gradient(135deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), linear-gradient(45deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), #e8dfd1;
    color: #8e6f42;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

    .photo-lightbox-placeholder span {
        display: block;
        font-family: var(--serif);
        font-style: italic;
        font-weight: 600;
        font-size: clamp(2.2rem, 4.4vw, 4rem);
        line-height: 0.95;
    }

    .photo-lightbox-placeholder small {
        display: block;
        margin-top: 10px;
        color: rgba(142, 111, 66, 0.68);
        font-family: var(--serif);
        font-size: clamp(1.25rem, 2.4vw, 2rem);
    }

.photo-nav {
    position: fixed;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    background: rgba(255,255,255,0.12);
    font-family: var(--serif);
    font-size: 2.1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .photo-nav:hover,
    .photo-nav:focus-visible {
        background: rgba(255,255,255,0.2);
        transform: translateY(-50%) scale(1.05);
    }

.photo-nav-prev {
    left: 34px;
}

.photo-nav-next {
    right: 34px;
}

.photo-lightbox-footer {
    position: relative;
    z-index: 3;
    width: min(560px, 78vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px auto 0;
    color: rgba(255,255,255,0.9);
}

    .photo-lightbox-footer p {
        margin: 0;
        font-family: var(--serif);
        font-size: 1rem;
        font-style: italic;
        font-weight: 500;
    }

.photo-lightbox-meta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

    .photo-lightbox-meta span {
        color: rgba(255,255,255,0.62);
        font-family: var(--sans);
        font-size: 0.78rem;
        font-weight: 600;
    }

.photo-download-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    color: var(--white);
    background: var(--gold);
    border: 1px solid var(--gold-border);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .photo-download-btn::before {
        content: "↓";
        margin-right: 9px;
        font-size: 0.95em;
    }

/* Responsive */
@media (max-width: 1080px) {
    .post-tabs-inner {
        flex-wrap: wrap;
        gap: 16px 30px;
        padding: 10px 18px 12px;
    }

    .post-pledge-link {
        margin-left: 0;
    }

    .stat-grid, .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card:nth-child(2) {
        border-right: 0;
    }

    .stat-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(13, 32, 57, 0.26);
    }

    .impact-grid article:nth-child(3n) {
        border-right: 1px solid rgba(13, 32, 57, 0.26);
    }

    .impact-grid article:nth-child(2n) {
        border-right: 0;
    }

    .impact-grid article:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(13, 32, 57, 0.26);
    }

    .impact-grid article:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .highlight-grid, .video-grid, .press-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        border-right: 0;
        border-bottom: 1px solid rgba(13, 32, 57, 0.16);
    }

        .highlight-card:last-child {
            border-bottom: 0;
        }

    .photo-grid {
        columns: 2 280px;
        column-gap: 14px;
    }

    .impact-cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .post-topbar {
        min-height: unset;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 20px 18px 17px;
        text-align: center;
    }

    .post-brand {
        flex-direction: column;
        gap: 8px;
    }

    .post-brand-logo {
        width: 56px;
    }

    .post-brand span {
        white-space: normal;
        text-align: center;
        font-size: 1.55rem;
    }

    .post-tax-line {
        font-size: 0.65rem;
        letter-spacing: 0.14em;
    }

        .post-tax-line span {
            padding: 0 0.55rem;
        }

    .post-card {
        border-left: 0;
        border-right: 0;
    }

    .post-hero-inner {
        min-height: auto;
        padding: 54px 16px 58px;
    }

    .post-date-badge {
        margin-bottom: 28px;
        padding-inline: 18px;
        letter-spacing: 0.26em;
    }

    .post-eyebrow, .section-label {
        letter-spacing: 0.24em;
    }

    .post-eyebrow {
        margin-bottom: 26px;
    }

    .post-title {
        font-size: clamp(3.8rem, 18vw, 4.9rem);
    }

    .post-event-line {
        margin-top: 28px;
        line-height: 1.35;
        font-size: 1.45rem;
    }

        .post-event-line span {
            padding: 0 0.25rem;
        }

    .post-ornament {
        width: 90%;
        margin: 34px auto 30px;
    }

    .post-thank-you-copy {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .post-tabs {
        position: static;
    }

    .post-tabs-inner {
        display: grid;
        grid-template-columns: 1fr;
        padding: 10px 16px 18px;
    }

    .post-tab {
        min-height: 46px;
        border-bottom: 1px solid rgba(13, 32, 57, 0.12);
    }

    .post-pledge-link {
        width: 100%;
    }

    .post-section-inner {
        padding-inline: 18px;
    }

    .stat-grid, .impact-grid, .speaker-feature {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        columns: 1;
        column-gap: 0;
    }

    .stat-card, .stat-card:nth-child(2), .impact-grid article, .impact-grid article:nth-child(2n), .impact-grid article:nth-child(3n) {
        border-right: 0;
    }

        .stat-card:not(:last-child), .impact-grid article:not(:last-child) {
            border-bottom: 1px solid rgba(13, 32, 57, 0.26);
        }

    .photo-card, .photo-card.is-tall, .photo-card.is-wide {
        min-height: 260px;
    }

    .gallery-filters {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .gallery-filter {
        border-right: 0;
        border-bottom: 1px solid rgba(13, 32, 57, 0.24);
    }

        .gallery-filter:last-child {
            border-bottom: 0;
        }

    .featured-video-button {
        min-height: 360px;
    }

    .video-thumb {
        min-height: 205px;
    }

    .speaker-feature-copy {
        padding: 32px 24px;
    }

    .host-names {
        display: grid;
        gap: 0.45rem;
    }

        .host-names span:not(:last-child)::after {
            content: "";
            margin: 0;
        }

    .video-modal {
        padding: 12px;
    }

    .video-modal-content {
        width: calc(100vw - 28px);
        padding: 0;
    }

    .video-lightbox-stage,
    .post-video-placeholder {
        min-height: 300px;
    }

    .video-modal-content h2 {
        margin: 16px 42px 0;
    }

    .video-close {
        top: -36px;
        right: 0;
    }

    .photo-lightbox-stage {
        width: min(84vw, 480px);
        height: min(64vh, 620px);
        margin-top: 88px;
    }

    .photo-lightbox-footer {
        width: min(84vw, 480px);
        flex-direction: column;
        align-items: flex-start;
    }

    .photo-nav {
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
    }

    .photo-nav-prev {
        left: 14px;
    }

    .photo-nav-next {
        right: 14px;
    }

    .photo-modal-close {
        top: 18px;
        right: 18px;
    }

    .post-video-player {
        max-height: 300px;
    }
}

/* Recap two-column responsive overrides */
@media (max-width: 1080px) {
    .twobytwo {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .bigimg {
        min-height: 420px;
    }

    .chunkBoxArea .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chunkBoxArea .stat-card:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .bigimg {
        min-height: 280px;
    }

    .chunkBoxArea .stat-grid {
        grid-template-columns: 1fr;
    }

    .chunkBoxArea .stat-card:nth-child(2) {
        border-bottom: 0;
    }
}


/* Fill full gallery tile area with real images */
.photo-card .photo-preview-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 0;
    overflow: hidden;
    background: #e8dfd1;
}

    /* Make every image cover the whole tile */
    .photo-card .photo-preview-btn img {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.35s ease, filter 0.35s ease;
    }

/* Remove visible placeholder lines once real images are used */
.photo-card .photo-preview-btn {
    background-image: none !important;
}

    /* Keep dark hover overlay above image */
    .photo-card .photo-preview-btn::before {
        z-index: 1;
    }

/* Keep buttons and captions above overlay */
.photo-actions {
    z-index: 4;
}

.photo-hover-caption {
    z-index: 3;
}

/* Hover zoom */
.photo-card .photo-preview-btn:hover img,
.photo-card .photo-preview-btn:focus-visible img {
    transform: scale(1.04);
    filter: brightness(0.88);
}

/* =========================
   PHOTO LIGHTBOX FIX
   ========================= */

/* Make lightbox container flexible instead of fixed tall box */
.photo-lightbox-stage {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: min(92vw, 1200px);
    height: auto;
    max-height: none;
    margin: 90px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Real image should size naturally and not sit inside a beige fixed frame */
.photo-lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 1200px);
    max-height: 74vh;
    object-fit: contain;
    background: transparent;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

/* Placeholder only when no image is available */
.photo-lightbox-placeholder {
    width: min(92vw, 760px);
    min-height: 520px;
    max-width: min(92vw, 1200px);
    max-height: 74vh;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 36px;
    background: linear-gradient(135deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), linear-gradient(45deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), #e8dfd1;
    color: #8e6f42;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

/* Bottom meta row: counter + download + caption */
.photo-modal-meta {
    position: relative;
    z-index: 3;
    width: min(92vw, 1200px);
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--white);
}

/* Counter */
.photo-modal-counter {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Caption/title in modal */
.post-photo-title {
    width: min(92vw, 900px);
    margin: 8px auto 0;
    text-align: center;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.18rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    display: block;
}

/* Keep placeholder title hidden when real image exists */
.post-photo-placeholder-title {
    display: none;
}

/* Download button stays same style */
.photo-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 22px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .photo-lightbox-stage {
        max-width: 94vw;
        margin-top: 72px;
    }

    .photo-lightbox-image {
        max-width: 94vw;
        max-height: 68vh;
    }

    .photo-modal-meta {
        width: 94vw;
        gap: 12px;
    }

    .post-photo-title {
        width: 94vw;
        font-size: 1rem;
    }
}

/* ==========================================================
   GUIDE: Moved from the old inline <style> block in the HTML.
   Keep these overrides near the end of post-event.css so they
   continue to control the photo lightbox and gallery captions.
   ========================================================== */

/* Photo lightbox update: natural image fit + visible caption */
.photo-lightbox-stage {
    position: relative;
    z-index: 2;
    width: auto !important;
    max-width: min(92vw, 1200px) !important;
    height: auto !important;
    max-height: none !important;
    margin: 90px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.photo-lightbox-image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(92vw, 1200px) !important;
    max-height: 74vh !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.photo-lightbox-placeholder {
    width: min(92vw, 760px) !important;
    min-height: 520px;
    max-width: min(92vw, 1200px) !important;
    max-height: 74vh;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 36px;
    background: linear-gradient(135deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), linear-gradient(45deg, transparent 49.6%, rgba(13, 32, 57, 0.08) 50%, transparent 50.4%), #e8dfd1;
    color: #8e6f42;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.photo-lightbox-footer {
    position: relative;
    z-index: 3;
    width: min(92vw, 1200px) !important;
    margin: 14px auto 0 !important;
    display: grid !important;
    justify-items: center;
    gap: 10px;
    color: var(--white);
}

.photo-lightbox-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    white-space: nowrap;
}

    .photo-lightbox-meta span {
        color: rgba(255, 255, 255, 0.9);
        font-family: var(--sans);
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.06em;
    }

#post-photo-title {
    width: min(92vw, 900px);
    margin: 0 auto !important;
    text-align: center;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.18rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    display: block !important;
}

#post-photo-placeholder-title {
    display: block !important;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.95;
}

.photo-lightbox-placeholder small {
    display: block !important;
    margin-top: 10px;
    color: rgba(142, 111, 66, 0.68);
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.photo-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 22px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .photo-lightbox-stage {
        max-width: 94vw !important;
        margin-top: 72px !important;
    }

    .photo-lightbox-image {
        max-width: 94vw !important;
        max-height: 68vh !important;
    }

    .photo-lightbox-footer {
        width: 94vw !important;
        gap: 8px;
    }

    #post-photo-title {
        width: 94vw;
        font-size: 1rem;
    }
}


/* Restore gallery tile hover captions */
.photo-card .photo-preview-btn {
    position: relative;
    overflow: hidden;
}

.photo-hover-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 5;
    display: block !important;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.photo-card .photo-preview-btn:hover .photo-hover-caption,
.photo-card .photo-preview-btn:focus-visible .photo-hover-caption {
    opacity: 1;
    transform: translateY(0);
}

.photo-card .photo-preview-btn:hover img,
.photo-card .photo-preview-btn:focus-visible img {
    transform: scale(1.035);
    filter: brightness(0.88);
}

.photo-actions {
    z-index: 6;
}

.photo-placeholder-title,
.photo-placeholder-type {
    display: none !important;
}


/* Keep photo lightbox caption, counter, and download in one line */
.photo-lightbox-footer {
    position: relative;
    z-index: 3;
    width: min(92vw, 1200px) !important;
    margin: 14px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    color: var(--white);
}

#post-photo-title {
    order: -1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--serif);
    font-size: 1.18rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
}

.photo-lightbox-meta {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    white-space: nowrap;
}

#post-photo-counter {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .photo-lightbox-footer {
        width: 94vw !important;
        display: grid !important;
        justify-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    #post-photo-title {
        order: 2;
        width: 94vw !important;
        text-align: center !important;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 1rem;
    }

    .photo-lightbox-meta {
        order: 1;
        justify-content: center !important;
    }
}


/* ==========================================================
   GUIDE: Gallery tile removal note
   One photo tile was removed from the HTML as requested.
   The JavaScript counts visible [data-photo-title] buttons
   automatically, so the lightbox counter will now show 37.
   ========================================================== */

/* ==========================================================
   FINAL SAFE PHOTO GALLERY LAYOUT — 37 IMAGES
   Guide:
   - Replace the previous experimental grid/masonry rules with this.
   - Do NOT append another gallery layout below this section.
   - gala-10.jpg tile is removed from HTML, so the lightbox count is 37.
   - The first image is vertical, so it is intentionally taller.
   ========================================================== */

/* Keep the photo section compact before the footer */
#panel-photos .gallery-layout {
    padding-bottom: clamp(34px, 4vw, 56px) !important;
}

#panel-photos .section-copy {
    margin-bottom: 34px;
}

/* Stable masonry using CSS columns — prevents overlap */
#panel-photos .photo-grid {
    display: block !important;
    columns: 4 245px !important;
    column-gap: 18px !important;
    margin-top: 34px !important;
    margin-bottom: 0 !important;
}

/* Base tile styling */
#panel-photos .photo-card,
#panel-photos .photo-card:nth-child(2n),
#panel-photos .photo-card:nth-child(3n),
#panel-photos .photo-card:nth-child(4n),
#panel-photos .photo-card:nth-child(5n),
#panel-photos .photo-card:nth-child(7n),
#panel-photos .photo-card:nth-child(9n) {
    display: block !important;
    width: 100% !important;
    min-height: 255px !important;
    height: auto !important;
    margin: 0 0 18px !important;
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    page-break-inside: avoid !important;
    grid-row: auto !important;
    grid-column: auto !important;
}

    /* Elegant height rhythm — controlled, no overlap */
    #panel-photos .photo-card:nth-child(4n) {
        min-height: 315px !important;
    }

    #panel-photos .photo-card:nth-child(5n) {
        min-height: 350px !important;
    }

    #panel-photos .photo-card:nth-child(7n) {
        min-height: 290px !important;
    }

    #panel-photos .photo-card:nth-child(9n) {
        min-height: 330px !important;
    }

    /* First tile: Invitation & Event Welcome */
    #panel-photos .photo-card:first-child {
        min-height: 520px !important;
    }

    /* Tile must be a normal block, not grid-based */
    #panel-photos .photo-card .photo-preview-btn {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: inherit !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        background: #e8dfd1 !important;
        background-image: none !important;
        box-shadow: 0 10px 26px rgba(13, 32, 57, 0.06);
    }

        /* Real images fill the tile cleanly */
        #panel-photos .photo-card .photo-preview-btn img,
        #panel-photos .photo-card .photo-img {
            position: absolute !important;
            inset: 0 !important;
            z-index: 0 !important;
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            max-width: none !important;
            object-fit: cover !important;
            object-position: center !important;
            transition: transform 0.35s ease, filter 0.35s ease;
        }

    /* First vertical image framing */
    #panel-photos .photo-card:first-child .photo-preview-btn img,
    #panel-photos .photo-card:first-child .photo-img {
        object-position: center !important;
    }

    /* Hover overlay */
    #panel-photos .photo-card .photo-preview-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1 !important;
        background: linear-gradient( 180deg, rgba(14, 35, 64, 0.05) 0%, rgba(14, 35, 64, 0.25) 48%, rgba(14, 35, 64, 0.78) 100% );
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    #panel-photos .photo-card .photo-preview-btn:hover::before,
    #panel-photos .photo-card .photo-preview-btn:focus-visible::before {
        opacity: 1;
    }

    #panel-photos .photo-card .photo-preview-btn:hover,
    #panel-photos .photo-card .photo-preview-btn:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(13, 32, 57, 0.16);
    }

        #panel-photos .photo-card .photo-preview-btn:hover img,
        #panel-photos .photo-card .photo-preview-btn:focus-visible img {
            transform: scale(1.04);
            filter: brightness(0.88);
        }

/* Hover buttons and caption */
#panel-photos .photo-actions {
    z-index: 6 !important;
}

#panel-photos .photo-hover-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 5 !important;
    display: block !important;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

#panel-photos .photo-card .photo-preview-btn:hover .photo-hover-caption,
#panel-photos .photo-card .photo-preview-btn:focus-visible .photo-hover-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Hide placeholder text because real photos are live */
#panel-photos .photo-placeholder-title,
#panel-photos .photo-placeholder-type {
    display: none !important;
}

/* Keep footer clean after gallery */
#panel-photos + .post-footer,
.post-footer {
    margin-top: 0 !important;
}

/* Photo lightbox: natural image fit, no beige frame */
.photo-lightbox-stage {
    position: relative;
    z-index: 2;
    width: auto !important;
    max-width: min(92vw, 1200px) !important;
    height: auto !important;
    max-height: none !important;
    margin: 90px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.photo-lightbox-image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(92vw, 1200px) !important;
    max-height: 74vh !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

/* Lightbox footer: caption left, counter/download right */
.photo-lightbox-footer {
    position: relative;
    z-index: 3;
    width: min(92vw, 1200px) !important;
    margin: 14px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    color: var(--white);
}

#post-photo-title {
    order: -1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--serif);
    font-size: 1.18rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
}

.photo-lightbox-meta {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    white-space: nowrap;
}

#post-photo-counter {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

@media (max-width: 1080px) {
    #panel-photos .photo-grid {
        columns: 3 230px !important;
        column-gap: 16px !important;
    }
}

@media (max-width: 767px) {
    #panel-photos .gallery-layout {
        padding-bottom: 38px !important;
    }

    #panel-photos .photo-grid {
        columns: 1 !important;
        column-gap: 0 !important;
    }

    #panel-photos .photo-card,
    #panel-photos .photo-card:nth-child(2n),
    #panel-photos .photo-card:nth-child(3n),
    #panel-photos .photo-card:nth-child(4n),
    #panel-photos .photo-card:nth-child(5n),
    #panel-photos .photo-card:nth-child(7n),
    #panel-photos .photo-card:nth-child(9n) {
        min-height: 270px !important;
        margin-bottom: 16px !important;
    }

        #panel-photos .photo-card:first-child {
            min-height: 470px !important;
        }

    .photo-lightbox-stage {
        max-width: 94vw !important;
        margin-top: 72px !important;
    }

    .photo-lightbox-image {
        max-width: 94vw !important;
        max-height: 68vh !important;
    }

    .photo-lightbox-footer {
        width: 94vw !important;
        display: grid !important;
        justify-content: center !important;
        justify-items: center !important;
        gap: 10px !important;
    }

    #post-photo-title {
        width: 94vw !important;
        text-align: center !important;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 1rem;
    }

    .photo-lightbox-meta {
        justify-content: center !important;
    }
}
/* Photo gallery intro + full album button */
.gallery-intro {
    max-width: 790px;
    margin: 25px 0 34px;
}

    .gallery-intro .section-copy {
        margin: 0 0 18px;
    }

.gallery-album-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    color: var(--white);
    background: var(--gold);
    border: 1px solid var(--gold);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

    .gallery-album-link:hover,
    .gallery-album-link:focus-visible {
        background: var(--navy);
        border-color: var(--navy);
        transform: translateY(-1px);
        text-decoration: none;
    }

@media (max-width: 767px) {
    .gallery-album-link {
        width: 100%;
        text-align: center;
    }
}