/* =========================================================
   VOD — thème Scylfe
   ---------------------------------------------------------
   Identité du thème WordPress PIP'N'HUB x SCYLFE (www.scylfe.com) :
   variables du parent PIP'N'HUB (assets/css/variables.css) surchargées
   par celles de l'enfant (palette « paper / ink », ambre, BebasNeue),
   + composants repris : topbar, en-tête une ligne, h2 à barre ambre,
   badges, cartes à titre au survol, hero, spotlight, fiche « Clip »,
   promo blocks, footer encre.

   Les valeurs sont COPIÉES (pas chargées depuis www.scylfe.com) : à
   reporter ici si la charte du site change.
   Points de rupture (comme le parent) : 767px · 1023px ; menu burger < 900px.
========================================================= */

@font-face {
    font-family: 'BebasNeue';
    src: url('../font/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── Variables (parent PIP'N'HUB + enfant Scylfe) ────────── */
:root {
    --color-primary:         #141210; /* ink   — titres, texte, header, footer */
    --color-secondary:       #C17F24; /* ambre — accents */
    --color-secondary-light: #D4A054;
    --color-secondary-dark:  #8F5C10;
    --color-neutral:         #c9c2ac; /* line  — bordures */

    --color-text:         var(--color-primary);
    --color-text-light:   #666;
    --color-text-muted:   #8a8578;
    --color-text-inverse: #fff;

    --color-bg:      #ffffff;
    --color-bg-alt:  #ded8c6;         /* paper-dim — fonds alternés */
    --color-bg-dark: var(--color-primary);
    --color-border:  var(--color-neutral);

    --live: #b23a2e;

    --font-display: 'BebasNeue', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-accent:  'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;

    --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem;
    --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 2rem; --text-4xl: 2.5rem; --text-5xl: 3rem;
    --font-normal: 400; --font-semibold: 600; --font-bold: 700;
    --leading-tight: 1.2; --leading-normal: 1.6; --leading-relaxed: 1.8;

    --space-xs: .5rem; --space-sm: 1rem; --space-md: 1.5rem;
    --space-lg: 2rem;  --space-xl: 3rem; --space-2xl: 4rem;

    --container-max: 1200px;
    --transition: .3s ease;
    --shadow:    0 4px 12px rgba(0,0,0,.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.2);
    --border-radius: 4px;
}

/* ── Reset / base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-normal);
    color: var(--color-text); background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh; display: flex; flex-direction: column;
    overflow-x: hidden;
}
input, button, select { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--color-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-secondary-dark); text-decoration: underline; }
ul { list-style: none; }
::selection { background: var(--color-secondary); color: var(--color-text-inverse); }
:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -60px; left: 0; z-index: 10000;
    background: var(--color-bg-dark); color: var(--color-text-inverse); padding: var(--space-sm);
}
.skip-link:focus { top: 0; color: var(--color-text-inverse); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Titres : BebasNeue, capitales, h2 avec barre ambre (parent) */
h1, h2, h3 {
    font-family: var(--font-display); font-weight: var(--font-normal);
    line-height: var(--leading-tight); color: var(--color-primary);
    text-transform: uppercase; letter-spacing: .01em;
}
h1 { font-size: clamp(var(--text-4xl), 6vw, 4rem); margin: var(--space-sm) 0 var(--space-md); }
h2 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    position: relative; padding-bottom: var(--space-sm); margin-bottom: var(--space-md);
}
h2::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 60px; height: 3px; background: var(--color-secondary);
}
@media (max-width: 767px) { h2::after { width: 40px; } }

/* ── Layout ──────────────────────────────────────────────── */
.container { --pad: var(--space-sm); width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 768px) { .container { --pad: var(--space-md); } }
#main-content { flex: 1; padding-bottom: var(--space-xl); }
.full-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.section-lg { margin: var(--space-xl) 0; }
.page-head { margin: var(--space-xl) 0 var(--space-lg); }
.page-head--channel { display: flex; align-items: center; gap: var(--space-md); }
.page-head h1 { margin-bottom: var(--space-xs); }
.section-description { color: var(--color-text-light); max-width: 46em; margin-top: var(--space-xs); }
.empty { color: var(--color-text-light); padding: var(--space-md) 0; }

/* ── Boutons & badges (parent) ───────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-accent); font-size: var(--text-sm); font-weight: var(--font-semibold);
    text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
    border: 1px solid transparent; border-radius: var(--border-radius);
    cursor: pointer; transition: var(--transition);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-secondary); color: var(--color-text-inverse); }
.btn-primary:hover { background: var(--color-secondary-dark); color: var(--color-text-inverse); transform: translateY(-2px); }

.badge {
    display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 999px;
    font-family: var(--font-accent); font-size: var(--text-xs); font-weight: var(--font-bold);
    text-transform: uppercase; letter-spacing: .04em; line-height: 1.5; text-decoration: none;
}
a.badge:hover { text-decoration: none; }
.badge-gold { background: var(--color-secondary); color: var(--color-text-inverse); }
a.badge-gold:hover { background: var(--color-secondary-dark); color: var(--color-text-inverse); }
.badge-silver { background: var(--color-neutral); color: var(--color-primary); }
.badge-outline { border: 1px solid var(--color-primary); color: var(--color-primary); padding: 8px 16px; font-size: var(--text-sm); }
.badge-outline:hover { background: var(--color-primary); color: var(--color-text-inverse); }

/* ── Topbar « en direct » (enfant) ───────────────────────── */
.topbar {
    background: var(--color-primary); color: var(--color-text-inverse);
    font-size: 11px; letter-spacing: .06em; padding: 6px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); }
.topbar a { color: inherit; }
.topbar .rec { display: inline-flex; align-items: center; gap: 6px; }
.topbar .rec::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--live); animation: pnh-topbar-pulse 2.4s infinite;
}
.topbar-clock { font-variant-numeric: tabular-nums; min-width: 8ch; text-align: right; }
@keyframes pnh-topbar-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(178,58,46,.55); }
    70%  { box-shadow: 0 0 0 6px rgba(178,58,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(178,58,46,0); }
}
@media (max-width: 560px) { .topbar-date { display: none; } }

/* ── En-tête une ligne (enfant) ──────────────────────────── */
#main-header {
    position: relative; z-index: 100;
    background: var(--color-bg); color: var(--color-primary);
    border-bottom: 1px solid var(--color-neutral);
}
.header-content { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.header-logo { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--color-primary); }
.header-logo:hover { text-decoration: none; color: var(--color-primary); }
.header-logo img { width: 84px; height: 84px; margin: -6px 0; display: block; }
.header-logo-tag {
    font-family: var(--font-display); font-size: 1.35rem; line-height: 1; letter-spacing: .06em;
    color: var(--color-secondary); padding-top: 3px;
}

.header-nav { flex: 1; }
.main-navigation { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-sm); }
.main-navigation li { display: flex; align-items: center; position: relative; }
.main-navigation li:not(:last-child)::after { content: '/'; margin-left: var(--space-sm); color: var(--color-text-muted); }
.main-navigation a, .main-navigation button {
    font-family: var(--font-accent); font-weight: var(--font-semibold); font-size: var(--text-sm);
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--color-primary); background: none; border: 0; cursor: pointer; padding: 4px 0;
}
.main-navigation a:hover, .main-navigation button:hover { color: var(--color-secondary); text-decoration: none; }
.main-navigation [aria-current="page"], .main-navigation button[aria-expanded="true"] { color: var(--color-secondary-dark); box-shadow: inset 0 -2px var(--color-secondary); }
.main-navigation #playlists-icon { font-size: .7em; margin-left: 2px; }

.sch-button {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 40px; height: 40px; margin-left: auto;
    background: none; border: 0; cursor: pointer; color: var(--color-primary);
}
.sch-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sch-button:hover, .sch-button[aria-expanded="true"] { color: var(--color-secondary); }

/* Burger (parent) */
.burger-menu { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 0; background: none; border: 0; cursor: pointer; flex-shrink: 0; }
.burger-menu span { display: block; width: 100%; height: 3px; background: var(--color-primary); border-radius: 2px; transition: var(--transition); }
.burger-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Panneaux Playlists / Recherche (ouverts par vod.js : .open) */
.header-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    border-top: 3px solid var(--color-secondary);
    box-shadow: var(--shadow-lg);
}
.header-menu.open { display: block; }
#playlists-menu { background: var(--color-bg-dark); }
.playlist-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px var(--space-md); padding: var(--space-md) 0; }
.playlist-menu a {
    display: block; padding: var(--space-xs) 0;
    font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase;
    color: var(--color-text-inverse); border-bottom: 1px solid rgba(255,255,255,.12);
}
.playlist-menu a:hover { color: var(--color-secondary-light); text-decoration: none; }
.header-menu--search { background: var(--color-bg); padding: var(--space-md) 0; }

/* Recherche (parent) */
.search-form { display: flex; gap: var(--space-xs); max-width: 720px; margin: 0 auto; }
.search-field, .search-select {
    padding: 12px var(--space-sm); font-size: var(--text-base);
    border: 1px solid var(--color-border); border-radius: var(--border-radius); background: var(--color-bg);
}
.search-field { flex: 1; min-width: 0; }
.search-field:focus, .search-select:focus { outline: none; border-color: var(--color-secondary); }
.search-select { max-width: 220px; cursor: pointer; }
.search-submit {
    padding: 12px var(--space-md); border: 0; border-radius: var(--border-radius); cursor: pointer;
    background: var(--color-secondary); color: var(--color-text-inverse);
    font-family: var(--font-accent); font-weight: var(--font-bold); text-transform: uppercase; letter-spacing: .04em;
}
.search-submit:hover { background: var(--color-secondary-dark); }
.search-page { margin-bottom: var(--space-xl); }
.search-page .search-form { margin: 0; }

@media (max-width: 900px) {
    .burger-menu { display: flex; }
    .header-content { gap: var(--space-sm); }
    .header-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
        background: var(--color-bg); border-top: 1px solid var(--color-neutral);
        box-shadow: var(--shadow-lg);
    }
    .header-nav.open { display: block; }
    .main-navigation { flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-xs) var(--space-sm); }
    .main-navigation li::after { display: none !important; }
    .main-navigation li { border-bottom: 1px solid var(--color-border); }
    .main-navigation li:last-child { border-bottom: 0; }
    .main-navigation a, .main-navigation button { display: block; width: 100%; text-align: left; padding: 14px 4px; }
    .main-navigation [aria-current="page"], .main-navigation button[aria-expanded="true"] { box-shadow: none; }
}
@media (max-width: 560px) {
    .header-logo img { width: 68px; height: 68px; margin: -4px 0; }
    .search-form { flex-wrap: wrap; }
    .search-field { flex-basis: 100%; }
    .search-select { flex: 1; max-width: none; }
}

/* ── Hero (parent hero-featured) ─────────────────────────── */
.hero-featured { background: var(--color-bg-alt); padding: var(--space-xl) 0; }
.hero-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-lg); align-items: center; }
.hero-image {
    position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: var(--border-radius); background: var(--color-primary); box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-image:hover img { transform: scale(1.03); }
.hero-kicker { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.hero-title {
    font-size: clamp(var(--text-4xl), 4.4vw, 3.5rem); line-height: 1; margin: var(--space-sm) 0; padding: 0;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-title::after { display: none; }
.hero-title a { color: var(--color-primary); }
.hero-title a:hover { color: var(--color-secondary-dark); text-decoration: none; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); font-size: var(--text-sm); color: var(--color-text-light); margin-bottom: var(--space-md); }
.hero-meta span:not(:last-child)::after { content: '•'; margin-left: var(--space-sm); color: var(--color-secondary); }

/* Pastille lecture */
.play-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: var(--color-secondary); box-shadow: var(--shadow-lg); transition: var(--transition);
}
.play-badge svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.play-badge--lg { width: 84px; height: 84px; }
.play-badge--lg svg { width: 34px; height: 34px; }
.hero-image:hover .play-badge { background: var(--color-secondary-dark); }

/* ── Spotlight (parent) ──────────────────────────────────── */
.spotlight-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 230px); gap: var(--space-md); }
.spotlight-main { grid-row: 1 / 3; }
.spotlight-item { position: relative; display: block; overflow: hidden; border-radius: var(--border-radius); background: var(--color-bg-dark); color: var(--color-text-inverse); }
.spotlight-item:hover { text-decoration: none; color: var(--color-text-inverse); }
.spotlight-image { position: absolute; inset: 0; }
.spotlight-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spotlight-item:hover .spotlight-image img { transform: scale(1.04); }
.spotlight-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(20,18,16,.95), transparent);
}
.spotlight-title {
    font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.05; text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.spotlight-main .spotlight-title { font-size: var(--text-4xl); }
.spotlight-item:hover .spotlight-title { color: var(--color-secondary-light); }
.spotlight-meta { font-size: var(--text-xs); letter-spacing: .06em; opacity: .75; }

/* ── Cartes vidéo (parent + titre au survol de l'enfant) ─── */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.post-card {
    position: relative; overflow: hidden;
    border: 1px solid var(--color-border); border-radius: var(--border-radius);
    background: var(--color-bg-dark); transition: var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-lg); border-color: var(--color-secondary); }
.post-card-link { display: block; color: var(--color-text-inverse); }
.post-card-link:hover { text-decoration: none; color: var(--color-text-inverse); }
.post-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-bg-alt); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-duration {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    font-family: var(--font-accent); font-size: var(--text-xs); font-weight: var(--font-bold); letter-spacing: .04em; line-height: 1;
    color: #fff; background: rgba(20,18,16,.85); padding: 5px 7px; border-radius: 2px;
}
.post-card-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; gap: 2px;
    padding: var(--space-lg) var(--space-sm) var(--space-sm);
    background: linear-gradient(transparent, rgba(0,0,0,.82));
    opacity: 0; transition: opacity var(--transition);
}
.post-card:hover .post-card-content, .post-card-link:focus-visible .post-card-content { opacity: 1; }
.post-card-title {
    font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta { font-size: var(--text-xs); color: var(--color-secondary-light); text-transform: uppercase; letter-spacing: .06em; }

/* Mobile / écrans tactiles : titre toujours visible (comme l'enfant < 767px) */
@media (max-width: 767px), (hover: none) {
    .post-card-content { opacity: 1; }
}

/* Playlists / chaînes */
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: var(--space-md); }
.channel-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); text-align: center; color: var(--color-primary); }
.channel-item:hover { color: var(--color-secondary-dark); text-decoration: none; }
.channel-item img, .channel-initial {
    width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--color-neutral); transition: var(--transition);
}
.channel-item:hover img, .channel-item:hover .channel-initial { border-color: var(--color-secondary); }
.channel-initial { display: grid; place-items: center; background: var(--color-bg-alt); font-family: var(--font-display); font-size: var(--text-4xl); color: var(--color-primary); }
.channel-name { font-family: var(--font-accent); font-weight: var(--font-semibold); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .04em; }
.channel-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-neutral); flex-shrink: 0; }

/* ── Fiche vidéo (fiche « Clip » : single-sheet--video) ──── */
.single-sheet { margin-top: var(--space-lg); }
.sheet-head { margin-bottom: var(--space-md); }
.sheet-title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; margin: var(--space-xs) 0 4px; }
.sheet-byline { font-family: var(--font-accent); font-weight: var(--font-semibold); text-transform: uppercase; letter-spacing: .04em; }
.sheet-byline a { color: var(--color-secondary-dark); }

.sheet-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-lg); align-items: start; }
.sheet-video {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: var(--border-radius); background: #000; box-shadow: var(--shadow);
}
.sheet-video iframe, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { display: block; padding: 0; cursor: pointer; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--transition); }
.video-facade:hover img { opacity: .85; }
.video-facade:hover .play-badge { background: var(--color-secondary-dark); transform: translate(-50%, -50%) scale(1.05); }
.sheet-video--external { display: grid; place-items: center; }
.sheet-video--external img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sheet-video--external .btn { position: relative; }
.sheet-note { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-text-muted); }

/* Panneau encadré (Infos / Explorer) */
.sheet-panel { border: 1px solid var(--color-neutral); border-radius: var(--border-radius); background: var(--color-bg); }
.sheet-panel > * { padding: var(--space-sm) var(--space-md); }
.sheet-panel > * + * { border-top: 1px solid var(--color-neutral); }
.meta-sheet-title {
    font-size: 1.15rem; letter-spacing: .08em; color: var(--color-secondary-dark);
    margin: 0 0 6px; padding: 0;
}
.meta-sheet-title::after { display: none; }
.meta-sheet-list { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-sm); row-gap: 6px; font-size: var(--text-sm); }
.meta-sheet-list dt { color: var(--color-text-muted); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.meta-sheet-list dd { font-weight: var(--font-semibold); min-width: 0; overflow-wrap: anywhere; }
.meta-sheet-list dd a { color: var(--color-primary); }
.meta-sheet-list dd a:hover { color: var(--color-secondary-dark); }
.meta-links-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.meta-links-list a, .btn-like {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    padding: 7px 9px; border: 1px solid var(--color-neutral); border-radius: var(--border-radius);
    font-size: var(--text-sm); font-weight: var(--font-semibold);
    color: var(--color-primary); background: var(--color-bg); cursor: pointer; transition: var(--transition);
}
.meta-links-list a:hover, .btn-like:hover { border-color: var(--color-secondary); color: var(--color-secondary-dark); text-decoration: none; }
.meta-links-list svg { width: 16px; height: 16px; fill: currentColor; }
.btn-like.liked { background: var(--color-secondary); border-color: var(--color-secondary); color: #fff; cursor: default; }

/* Navigation entre vidéos */
.video-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-sm); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
.video-nav-btn {
    display: flex; flex-direction: column; gap: 4px; min-width: 0;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-neutral); border-radius: var(--border-radius); color: var(--color-primary);
}
a.video-nav-btn:hover { border-color: var(--color-secondary); box-shadow: var(--shadow); text-decoration: none; color: var(--color-primary); }
a.video-nav-btn:hover .video-nav-title { color: var(--color-secondary-dark); }
.video-nav-next { text-align: right; }
.video-nav-random { align-items: center; justify-content: center; background: var(--color-primary); border-color: var(--color-primary); }
.video-nav-random .video-nav-label { color: var(--color-text-inverse); }
a.video-nav-random:hover { background: var(--color-secondary); border-color: var(--color-secondary); }
.video-nav-label { font-family: var(--font-accent); font-size: var(--text-xs); font-weight: var(--font-bold); text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); }
.video-nav-title { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.05; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-nav-btn.is-disabled { opacity: .4; }

/* ── Flux ────────────────────────────────────────────────── */
.feed-list { border-top: 1px solid var(--color-border); }
.feed-list li { border-bottom: 1px solid var(--color-border); }
.feed-row { display: grid; grid-template-columns: 160px 1fr auto; gap: var(--space-md); align-items: center; padding: var(--space-sm) 0; color: var(--color-primary); }
.feed-row:hover { text-decoration: none; color: var(--color-primary); }
.feed-row:hover .feed-title { color: var(--color-secondary-dark); }
.feed-thumb { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--border-radius); background: var(--color-bg-alt); }
.feed-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feed-title { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.05; text-transform: uppercase; }
.feed-meta { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .06em; }
.feed-meta img { width: 18px; height: 18px; border-radius: 50%; }
.feed-arrow { color: var(--color-secondary); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xl); font-family: var(--font-accent); font-weight: var(--font-bold); }
.pagination a { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--color-primary); border-radius: var(--border-radius); color: var(--color-primary); }
.pagination a:hover { background: var(--color-primary); color: var(--color-text-inverse); text-decoration: none; }

/* ── Pages statiques / 404 ───────────────────────────────── */
.page-content { max-width: 800px; margin: var(--space-xl) 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: var(--space-md); line-height: var(--leading-relaxed); }
.entry-content ul { list-style: disc; padding-left: var(--space-lg); }
.entry-content ol { padding-left: var(--space-lg); }
.entry-content h2 { margin-top: var(--space-xl); }
.not-found p { color: var(--color-text-light); margin-bottom: var(--space-md); }

/* ── Ailleurs sur Scylfe (promo blocks) ──────────────────── */
.promo-area { padding: var(--space-xl) var(--space-sm) var(--space-xl); }
@media (min-width: 768px) { .promo-area { padding-left: var(--space-md); padding-right: var(--space-md); } }
.promo-blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.promo-block {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--color-neutral); padding: 0 var(--space-sm) var(--space-md);
    color: inherit; transition: var(--transition);
}
.promo-block:hover { box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.promo-block-image { display: block; margin: 0 calc(var(--space-sm) * -1) var(--space-sm); aspect-ratio: 3 / 2; overflow: hidden; }
.promo-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.promo-block:hover .promo-block-image img { transform: scale(1.04); }
.promo-block .k { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
.promo-block-title { font-family: var(--font-display); font-size: var(--text-2xl); letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; color: var(--color-primary); margin-bottom: var(--space-xs); }
.promo-block-desc { font-size: var(--text-sm); color: var(--color-text-light); margin-bottom: var(--space-sm); }
.promo-block .go { margin-top: auto; font-size: var(--text-sm); font-weight: var(--font-semibold); color: var(--color-primary); }
.promo-block:hover .go { color: var(--color-secondary); }

/* ── Pied de page encre (parent) ─────────────────────────── */
#footer {
    background: var(--color-bg-dark); color: var(--color-text-inverse);
    border-top: 3px solid var(--color-secondary);
    padding: var(--space-2xl) 0 var(--space-lg);
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.footer-col h2 { color: var(--color-text-inverse); font-size: var(--text-2xl); letter-spacing: .06em; padding-bottom: var(--space-xs); margin-bottom: var(--space-sm); }
.footer-col h2::after { width: 30px; height: 2px; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--color-secondary-light); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
    position: relative; margin-top: var(--space-xl); padding-top: var(--space-md);
    font-size: var(--text-sm); color: rgba(255,255,255,.75);
}
/* Filet limité à la largeur du contenu (pas sous les marges du conteneur). */
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(255,255,255,.12); }
.footer-bottom a { color: var(--color-secondary); text-decoration: underline; }
.footer-bottom a:hover { color: var(--color-secondary-light); }
.footer-bottom small { font-size: var(--text-xs); }
.back-to-top {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--color-secondary); color: #fff !important; text-decoration: none !important; font-size: var(--text-lg);
}
.back-to-top:hover { background: var(--color-secondary-dark); }

/* ── Responsive (points de rupture du parent) ────────────── */
@media (max-width: 1023px) {
    .post-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-content { grid-template-columns: 1fr; gap: var(--space-md); }
    .sheet-body { grid-template-columns: 1fr; }
    .promo-blocks, .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
    .post-card-title { font-size: var(--text-lg); -webkit-line-clamp: 2; }
    .post-card-meta { display: none; }
    .spotlight-grid { grid-template-columns: 1fr; grid-template-rows: 260px 200px 200px; }
    .spotlight-main { grid-row: auto; }
    .spotlight-main .spotlight-title { font-size: var(--text-3xl); }
    .hero-featured { padding: var(--space-lg) 0; }
    .video-nav { grid-template-columns: 1fr 1fr; }
    .video-nav-random { grid-column: 1 / -1; grid-row: 2; }
    .feed-row { grid-template-columns: 112px 1fr; gap: var(--space-sm); }
    .feed-thumb { width: 112px; }
    .feed-arrow { display: none; }
    .feed-title { font-size: var(--text-xl); }
    .page-head--channel { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
}
@media (max-width: 480px) {
    .post-grid { grid-template-columns: 1fr; }
    .post-card-title { font-size: var(--text-xl); }
    .promo-blocks, .footer-cols { grid-template-columns: 1fr; }
    .meta-links-list { grid-template-columns: 1fr; }
}
