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

/* ==================================
   Comedy Detail Page Layout
==================================== */
.comedy-detail-page {
    padding: 80px 24px;
    background-color: var(--bg-white, #ffffff);
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 72px);
}

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

/* ==================================
   Session Header (mirrors day3breakoutsession3)
==================================== */
.session-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-grey, #4A5568);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--brand-red, #C8102E);
}

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

.session-title {
    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 {
    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;
}

/* ==================================
   Comedy Grid Section
==================================== */
.comedy-grid-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Section Header Block — centered typographic stack */
.comedy-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.comedy-section-title {
    color: var(--brand-navy, #0A2540);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.comedy-section-sub-en {
    color: var(--text-grey, #4A5568);
    font-size: 1.0625rem;
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

.comedy-section-sub-zh {
    color: var(--text-grey, #4A5568);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.comedy-section-rule {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red, #C8102E), var(--gold-accent, #D4AF37));
    border-radius: 2px;
    margin-top: 12px;
}

/* ==================================
   Alternating Full-Width Performer Rows
==================================== */
.comedy-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ==================================
   Comedy Card — Full-Width Split Row
==================================== */
.comedy-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 380px;
    background: linear-gradient(135deg, #0F2138 0%, #0A1626 100%);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Even rows flip: image on the right */
.comedy-card:nth-child(even) {
    flex-direction: row-reverse;
}

.comedy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Media Block — fixed-proportion side panel */
.comedy-media {
    flex: 0 0 42%;
    position: relative;
    overflow: hidden;
    background-color: #060d18;
}

.comedy-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Card Body — text column */
.comedy-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 48px 52px;
}

/* Performer Name */
.comedy-name {
    color: #ffffff;
    font-size: 2.125rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

/* Gold Role / Tagline */
.comedy-role {
    color: var(--gold-accent, #D4AF37);
    font-size: 0.9375rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Descriptive Bio */
.comedy-bio {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
    margin-top: 4px;
}

/* ==================================
   Touch Device State — gentle lift on tap
==================================== */
.touch-device .comedy-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    border-color: rgba(212, 175, 55, 0.4);
}

/* ==================================
   Responsive Breakpoints
==================================== */
@media (max-width: 768px) {
    .session-title {
        font-size: 2.25rem;
        max-width: 100%;
    }

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

    .comedy-section-title {
        font-size: 1.875rem;
    }

    /* Stack image above text; image side always on top */
    .comedy-card,
    .comedy-card:nth-child(even) {
        flex-direction: column;
        min-height: 0;
    }

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

    .comedy-card-body {
        padding: 32px 28px 36px;
    }

    .comedy-name {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .comedy-detail-page {
        padding: 48px 16px;
    }

    .comedy-container {
        gap: 48px;
    }

    .comedy-section-title {
        font-size: 1.625rem;
    }

    .comedy-card-body {
        padding: 28px 22px 32px;
        gap: 10px;
    }

    .comedy-name {
        font-size: 1.5rem;
    }

    .comedy-bio {
        font-size: 0.9375rem;
    }
}
