/* FCC Listen — Frontend */

.fcc-listen-page {
    --fcc-navy: #0f1d29;
    --fcc-sky: #5391de;
    --fcc-sky-light: #7baeed;
    --fcc-cream: #f6f1eb;
    --fcc-warm-white: #faf8f5;
    --fcc-gold: #c9a227;
    --fcc-slate: #454F5E;
    --fcc-ice: #e8f3f8;
    --fcc-deep-blue: #14304f;

    font-family: 'Source Sans 3', 'Montserrat', sans-serif;
    color: var(--fcc-navy);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Section Label ── */
.fcc-listen-section-label {
    font-family: 'Playfair Display', 'Montserrat', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fcc-sky);
    margin-bottom: 24px;
}

.fcc-listen-section-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--fcc-gold);
    margin-bottom: 20px;
    border-radius: 2px;
}

.fcc-listen-section-label-center {
    text-align: center;
}

.fcc-listen-section-label-center::before {
    margin: 0 auto 20px;
}

/* ── Video wrapper (16:9) ── */
.fcc-listen-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.fcc-listen-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ═══════════════ FEATURED ═══════════════ */
.fcc-listen-featured {
    background: var(--fcc-cream);
    padding: 60px 40px;
}

.fcc-listen-featured-grid {
    display: grid;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.fcc-listen-featured-grid-2 { grid-template-columns: 1fr 1fr; }
.fcc-listen-featured-grid-1 { grid-template-columns: 1fr; max-width: 720px; }

.fcc-listen-featured-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.fcc-listen-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.fcc-listen-card-body { padding: 20px 24px; }

.fcc-listen-featured-card h3 {
    font-family: 'Playfair Display', 'Montserrat', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--fcc-navy);
}

.fcc-listen-card-sub {
    font-size: 14px;
    color: var(--fcc-slate);
}

/* ═══════════════ PIECES ═══════════════ */
.fcc-listen-pieces {
    padding: 60px 40px;
    background: var(--fcc-warm-white);
}

.fcc-listen-pieces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.fcc-listen-piece-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.fcc-listen-piece-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.fcc-listen-piece-card .fcc-listen-card-body { padding: 16px 20px; }

.fcc-listen-piece-card h4 {
    font-family: 'Playfair Display', 'Montserrat', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--fcc-navy);
    line-height: 1.3;
}

.fcc-listen-meta {
    font-size: 13px;
    color: var(--fcc-slate);
    line-height: 1.5;
    margin-bottom: 0;
}

.fcc-listen-meta em { font-style: italic; }

.fcc-listen-season-badge {
    display: inline-block;
    background: var(--fcc-ice);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--fcc-sky);
    margin-top: 8px;
}

/* ═══════════════ ARCHIVE ═══════════════ */
.fcc-listen-archive {
    background: var(--fcc-deep-blue);
    color: #ffffff;
    padding: 60px 40px;
    position: relative;
}

.fcc-listen-archive::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fcc-sky), var(--fcc-gold), var(--fcc-sky-light));
}

.fcc-listen-archive-heading {
    font-family: 'Playfair Display', 'Montserrat', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    margin-bottom: 12px;
    text-align: center;
    color: #ffffff;
}

.fcc-listen-archive-sub {
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    margin-bottom: 40px;
}

/* tabs */
.fcc-listen-archive-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.fcc-listen-archive-tab {
    padding: 10px 24px;
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.fcc-listen-archive-tab:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

.fcc-listen-archive-tab.active {
    background: var(--fcc-gold);
    color: var(--fcc-navy);
    border-color: var(--fcc-gold);
}

/* panels */
.fcc-listen-archive-panel { display: none; max-width: 1000px; margin: 0 auto; }
.fcc-listen-archive-panel.active { display: block; }

.fcc-listen-concert-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.fcc-listen-concert-row:last-child { border-bottom: none; }

.fcc-listen-concert-info h4 {
    font-family: 'Playfair Display', 'Montserrat', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.fcc-listen-concert-name {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

.fcc-listen-concert-links {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.fcc-listen-concert-link {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.fcc-listen-concert-link-video {
    background: var(--fcc-sky);
    color: #ffffff;
}

.fcc-listen-concert-link-video:hover { background: var(--fcc-sky-light); color: #ffffff; }

.fcc-listen-concert-link-program {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}

.fcc-listen-concert-link-program:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
    .fcc-listen-featured,
    .fcc-listen-pieces { padding: 50px 20px; }

    .fcc-listen-archive { padding: 50px 20px; }

    .fcc-listen-featured-grid,
    .fcc-listen-featured-grid-2 { grid-template-columns: 1fr; }

    .fcc-listen-pieces-grid { grid-template-columns: 1fr; }

    .fcc-listen-concert-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .fcc-listen-pieces-grid { grid-template-columns: repeat(2, 1fr); }
}
