/* ═══════════════════════════════════════════════════════════════════════════════
   WHAT GOT MADE — sidebar layout
   ═══════════════════════════════════════════════════════════════════════════════ */

.wgm-page {
    background: #111;
    min-height: 100vh;
}

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

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

.wgm-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;
}

.wgm-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;
}

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

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

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

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

.wgm-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 — sidebar + grid ─────────────────────────────────────────── */
.wgm-browse {
    display: grid;
    grid-template-columns: 220px 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
    align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */
.wgm-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;
}

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

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

.wgm-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;
}

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

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

.wgm-pill:hover { color: #f0ece4; }

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

.wgm-reset-btn {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #555;
    background: transparent;
    border: 1px solid #2a2a2a;
    padding: 8px 14px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
    margin-top: 8px;
}

.wgm-reset-btn:hover { color: #D4AF37; border-color: #D4AF37; }

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

.wgm-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #1e1e1e;
    padding-bottom: 12px;
}

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

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

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

.wgm-card:hover { transform: translateY(-2px); }

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

.wgm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s, filter 0.3s;
    filter: brightness(0.82);
}

.wgm-card:hover .wgm-card-img img {
    transform: scale(1.04);
    filter: brightness(1);
}

.wgm-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.wgm-card-no-img span {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px;
    color: #444;
    text-align: center;
}

.wgm-card-outcome {
    position: absolute;
    top: 6px;
    left: 6px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 7px;
}

.wgm-outcome--running   { background: rgba(80,160,80,0.92);  color: #fff; }
.wgm-outcome--long      { background: rgba(212,175,55,0.92); color: #111; }
.wgm-outcome--cancelled { background: rgba(180,60,60,0.92);  color: #fff; }
.wgm-outcome--ended     { background: rgba(80,110,160,0.92); color: #fff; }
.wgm-outcome--other     { background: rgba(50,50,50,0.92);   color: #aaa; }

.wgm-card-body {
    padding: 8px 10px 12px;
}

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

.wgm-card-network {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px;
    color: #666;
    font-weight: 300;
}

.wgm-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: #555;
}

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