/* =====================================================
 * PAGES.CSS  (neu)
 * ---------------------------------------------------------
 * Eigenes Stylesheet für /program/ und /artist/<slug>/.
 *
 * WICHTIG: style.css setzt bewusst body{overflow:hidden;
 * height:100%} für den Vollbild-Player. Diese Seiten müssen
 * aber scrollen - deshalb ein separates Stylesheet statt
 * eines Overrides.
 * ===================================================== */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v49-latin-regular.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v49-latin-700.woff2') format('woff2');
    font-display: swap;
}

:root {
    --ez-bg: #111111;
    --ez-bg-soft: #1a1a1a;
    --ez-text: #ffffff;
    --ez-muted: #9a9a9a;
    --ez-accent: #e62117;
    --ez-line: #2a2a2a;
    --ez-glow-a: #7500e7;
    --ez-glow-b: #e30b5c;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--ez-bg);
    color: var(--ez-text);
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

a { color: #cbb2ff; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

/* -------------------------------------------------- */
/* HEADER / FOOTER                                    */
/* -------------------------------------------------- */
.page-head {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ez-line);
    background: linear-gradient(180deg, #191024 0%, var(--ez-bg) 100%);
}
.page-head .brand img { display: block; height: auto; }

.crumbs { font-size: 14px; color: var(--ez-muted); }
.crumbs span { color: var(--ez-muted); }

.page-foot {
    margin-top: 60px;
    padding: 28px 24px 48px;
    border-top: 1px solid var(--ez-line);
    text-align: center;
    font-size: 14px;
    color: var(--ez-muted);
}

/* -------------------------------------------------- */
/* MAIN                                               */
/* -------------------------------------------------- */
.page-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 24px 0;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 18px;
    background: linear-gradient(90deg, var(--ez-glow-a), var(--ez-glow-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede { max-width: 720px; color: #d6d6d6; }
.lede p { margin: 0 0 14px; }
.stats { color: var(--ez-muted); font-size: 15px; }

.cta {
    display: inline-block;
    margin: 6px 0 26px;
    padding: 11px 20px;
    border-radius: 4px;
    background: var(--ez-accent);
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
}
.cta:hover { background: #ff3a2d; color: #fff; text-decoration: none; }

.empty { color: var(--ez-muted); }

/* -------------------------------------------------- */
/* KÜNSTLER-INDEX                                     */
/* -------------------------------------------------- */
.artist-grid {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2px 18px;
}

.artist-grid .letter-head {
    grid-column: 1 / -1;
    margin: 22px 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ez-line);
    font-size: 20px;
    font-weight: 700;
    color: var(--ez-glow-b);
}

.artist-grid li a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 3px;
}
.artist-grid li a:hover { background: var(--ez-bg-soft); text-decoration: none; }
.artist-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-count { color: var(--ez-muted); font-size: 13px; flex: 0 0 auto; }

/* -------------------------------------------------- */
/* PAGINATION                                         */
/* -------------------------------------------------- */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 48px 0 0;
    font-size: 15px;
}
.pager-status { color: var(--ez-muted); }

/* -------------------------------------------------- */
/* VIDEOLISTE (Artist-Seite)                          */
/* -------------------------------------------------- */
.video-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.video-list li {
    background: var(--ez-bg-soft);
    border: 1px solid var(--ez-line);
    border-radius: 6px;
    overflow: hidden;
}

.video-list .thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.video-meta { padding: 12px 14px 16px; }
.video-meta h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.video-meta .duration {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--ez-muted);
}

.back { margin: 44px 0 0; }

/* -------------------------------------------------- */
/* MOBILE                                             */
/* -------------------------------------------------- */
@media (max-width: 600px) {
    .page-main { padding: 24px 16px 0; }
    h1 { font-size: 23px; }
    .artist-grid { grid-template-columns: 1fr 1fr; }
    .video-list { grid-template-columns: 1fr; }
    .pager { gap: 14px; flex-wrap: wrap; }
}
