:root {
    --gold-accent: #D4AF37;
}

/* ==================================
   Session Details View / Event Detail Template
==================================== */
.session-detail-page {
    padding: 80px 24px;
    background-color: var(--bg-white, #ffffff);
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 72px);
}

.session-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 1. Section Header Layout & Meta Row */
.session-header {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
}

.kicker-label {
    order: 1;
    color: var(--brand-red, #C8102E);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.session-title {
    order: 2;
    color: var(--brand-navy, #0A2540);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 90%;
}

.session-meta-row {
    order: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-grey, #4A5568);
    font-size: 1rem;
    font-weight: 600;
}

.meta-item .material-symbols-outlined {
    color: var(--brand-navy, #0A2540);
    font-size: 1.25rem;
}

.status-pill {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold-accent);
    color: var(--bg-white, #ffffff);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

/* 2. Multi-Column Split-Screen Grid */
.session-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Left Column: Content Area Container */
.content-column {
    display: flex;
    flex-direction: column;
}

.content-title {
    color: var(--brand-navy, #0A2540);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.content-body {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-body p {
    color: var(--text-grey, #4A5568);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* ==================================
   Speaker Profile Card Component
==================================== */
.speaker-card {
    background-color: var(--light-grey, #EDF2F7);
    padding: 24px;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 48px;
    align-items: flex-start;
}

.speaker-media {
    flex: 0 0 30%;
    aspect-ratio: 3 / 2;
}

.speaker-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--bg-white, #ffffff);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.speaker-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.speaker-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-accent);
    letter-spacing: 0.5px;
}

.speaker-name {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--brand-navy, #0A2540);
    margin-bottom: 2px;
}

.speaker-title {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--brand-red, #C8102E);
    margin-bottom: 8px;
}

.speaker-bio {
    font-style: italic;
    color: var(--text-grey, #4A5568);
    line-height: 1.55;
    font-size: 0.9375rem;
    font-weight: 400;
}

/* ==================================
   Panel Gallery Section — Dark Theater
==================================== */
.panel-gallery-section {
    background-color: #111827;
    border-radius: 20px;
    padding: 52px 44px;
    margin-top: 64px;
}

/* Header: kicker + title left, italic quote right */
.panel-header-block {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 40px;
}

.panel-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.panel-section-kicker {
    color: var(--gold-accent, #D4AF37);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.panel-section-title {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.panel-header-quote {
    border-left: 3px solid var(--brand-red, #C8102E);
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.65;
    margin: 0;
    max-width: 380px;
}

/* 4-column grid */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* Card shell */
.panel-card {
    background-color: #1f2937;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.panel-card:hover {
    border-color: var(--gold-accent, #D4AF37);
    transform: translateY(-4px);
}

/* Image block — name overlaid at bottom */
.panel-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    flex-shrink: 0;
}

.panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.panel-card:hover .panel-media img {
    transform: scale(1.04);
}

/* Gradient vignette so white names are legible */
.panel-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(17, 24, 39, 0.97) 0%,
        rgba(17, 24, 39, 0.5) 38%,
        transparent 68%
    );
    pointer-events: none;
}

/* Name + subtitle positioned over the gradient */
.panel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px;
    z-index: 2;
}

.panel-name {
    color: #ffffff;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 5px 0;
}

.panel-subtitle {
    color: var(--gold-accent, #D4AF37);
    font-size: 0.775rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Bio area */
.panel-card-body {
    padding: 16px 18px 20px;
    flex: 1;
}

.panel-bio {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.875rem;
    line-height: 1.65;
    font-weight: 400;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right Column: Youth Panelists Photo */
.session-sidebar-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
    position: relative;
    align-self: stretch;
}

.session-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ==================================
   Responsive Breakpoints
==================================== */
@media (max-width: 900px) {
    .session-title {
        font-size: 2.75rem;
    }

    .session-grid {
        gap: 32px;
    }

    .panel-gallery-section {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .panel-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .panel-section-title {
        font-size: 2rem;
    }

    .panel-header-quote {
        max-width: 100%;
    }

    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .session-header {
        margin-bottom: 40px;
    }

    .session-title {
        font-size: 2.25rem;
        max-width: 100%;
    }

    .session-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .status-pill {
        position: static;
        order: 4;
        margin-top: 24px;
        align-self: flex-start;
    }

    .session-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .session-sidebar-img {
        align-self: auto;
    }

    .speaker-card {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .speaker-media {
        width: 100%;
        flex: none;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }

    .panel-bio {
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }
}
