/* ═══════════════════════════════════════════════════════════════════════════════
   EMMY WINNERS — poster grid
   ═══════════════════════════════════════════════════════════════════════════════ */

.emmys-page { background: #111; min-height: 100vh; padding-bottom: 100px; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.emmys-hero {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    border-bottom: 3px solid #D4AF37;
    padding: 60px 0 48px;
}

.emmys-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.emmys-eyebrow {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: #D4AF37;
    margin-bottom: 14px; display: block;
}

.emmys-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.6rem; font-weight: 300; color: #f0ece4;
    line-height: 1; margin-bottom: 18px; letter-spacing: -0.01em;
}

.emmys-hero-intro {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px; font-weight: 300; color: #aaa;
    line-height: 1.7; max-width: 580px; margin-bottom: 36px;
}

.emmys-hero-facts {
    display: flex; align-items: flex-start; gap: 48px;
    border-top: 1px solid #2a2a2a; padding-top: 28px; flex-wrap: wrap;
}

.emmys-hero-fact { display: flex; flex-direction: column; gap: 4px; }

.emmys-hero-fact-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem; font-weight: 300; color: #f0ece4; line-height: 1;
}

.emmys-hero-fact-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px; font-weight: 600; color: #666;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ── Browse layout ───────────────────────────────────────────────────────────── */
.emmys-browse {
    display: grid; grid-template-columns: 200px 1fr;
    max-width: 1200px; margin: 0 auto; padding: 0 40px; gap: 40px; align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */
.emmys-sidebar {
    position: sticky; top: 20px; padding: 32px 0;
    display: flex; flex-direction: column; gap: 28px;
    max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: none;
}

.emmys-sidebar::-webkit-scrollbar { display: none; }

.emmys-sidebar-section { display: flex; flex-direction: column; gap: 8px; }

.emmys-sidebar-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #555; margin-bottom: 4px;
}

.emmys-sidebar-pills { display: flex; flex-direction: column; gap: 4px; }

.emmys-pill, .emmys-filter, .emmys-decade-jump {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px; font-weight: 400; color: #888;
    background: transparent; border: none;
    border-left: 2px solid transparent;
    padding: 5px 0 5px 10px;
    cursor: pointer; text-align: left; transition: color 0.15s, border-color 0.15s;
}

.emmys-pill:hover, .emmys-filter:hover, .emmys-decade-jump:hover { color: #f0ece4; }

.emmys-pill.active, .emmys-filter.active {
    color: #D4AF37; border-left-color: #D4AF37; font-weight: 600;
}

.emmys-decade-jump { font-size: 12px; color: #666; }
.emmys-decade-jump:hover { color: #D4AF37; }

/* ── Results ─────────────────────────────────────────────────────────────────── */
.emmys-results { padding: 32px 0; }

.emmys-results-header {
    margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #1e1e1e;
}

.emmys-results-count {
    font-family: 'Source Sans 3', sans-serif; font-size: 12px; color: #666;
}

/* ── Poster grid ─────────────────────────────────────────────────────────────── */
.emmys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.emmy-card {
    display: block; text-decoration: none; background: #1a1a1a;
    transition: transform 0.2s;
}

.emmy-card:hover { transform: translateY(-3px); }

/* Non-archive cards — dimmed */
.emmy-card:not(.emmy-card--linked) .emmy-card-poster img {
    filter: brightness(0.55) saturate(0.6);
}

.emmy-card:not(.emmy-card--linked):hover .emmy-card-poster img {
    filter: brightness(0.75) saturate(0.8);
}

/* Archive cards — full brightness, gold border */
.emmy-card--linked {
    outline: 2px solid #D4AF37;
    outline-offset: 0;
}

.emmy-card--linked .emmy-card-poster img { filter: brightness(0.9); }
.emmy-card--linked:hover .emmy-card-poster img { filter: brightness(1); }

.emmy-card-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #1e1e1e;
}

.emmy-card-poster img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.3s, filter 0.3s;
}

.emmy-card:hover .emmy-card-poster img { transform: scale(1.04); }

.emmy-card-no-poster {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center; padding: 12px;
}

.emmy-card-no-poster span {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px; color: #444; text-align: center; line-height: 1.4;
}

/* Year badge — top right */
.emmy-card-year {
    position: absolute; top: 8px; right: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem; font-weight: 300; color: #f0ece4;
    background: rgba(0,0,0,0.75);
    padding: 2px 7px;
    line-height: 1.4;
}

/* Script available badge — bottom */
.emmy-card-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #D4AF37; color: #111;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 9px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; text-align: center;
    padding: 4px 0;
    opacity: 0; transition: opacity 0.2s;
}

.emmy-card--linked:hover .emmy-card-badge { opacity: 1; }

.emmy-card-info { padding: 8px 10px 12px; }

.emmy-card-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px; font-weight: 600;
    color: #e0dcd4; line-height: 1.3; margin-bottom: 3px;
}

.emmy-card:not(.emmy-card--linked) .emmy-card-title { color: #666; }

.emmy-card-network {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px; color: #555; font-weight: 300;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ── Mobile ──────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .emmys-hero-inner { padding: 0 20px; }
    .emmys-hero-title { font-size: 2.4rem; }
    .emmys-browse { grid-template-columns: 1fr; padding: 0 20px; }
    .emmys-sidebar { position: static; max-height: none; border-bottom: 1px solid #1e1e1e; padding-bottom: 20px; }
    .emmys-sidebar-pills { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .emmys-pill, .emmys-filter, .emmys-decade-jump { border-left: none; padding: 4px 12px; border-bottom: 1px solid #2a2a2a; }
    .emmys-pill.active, .emmys-filter.active { border-bottom-color: #D4AF37; }
    .emmys-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}