/* FONT FACE */
@font-face {
  font-family: 'GT Walsheim';
  src: url('/assets/fonts/GT-Walsheim-Regular.woff') format('woff'),
       url('/assets/fonts/GT-Walsheim-Regular.ttf') format('truetype'),
       url('/assets/fonts/GT-Walsheim-Regular.eot') format('embedded-opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('/assets/fonts/GT-Walsheim-Bold.woff') format('woff'),
       url('/assets/fonts/GT-Walsheim-Bold.ttf') format('truetype'),
       url('/assets/fonts/GT-Walsheim-Bold.eot') format('embedded-opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('/assets/fonts/GT-Walsheim-Light.woff') format('woff'),
       url('/assets/fonts/GT-Walsheim-Light.ttf') format('truetype'),
       url('/assets/fonts/GT-Walsheim-Light.eot') format('embedded-opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('/assets/fonts/GT-Walsheim-Regular-Oblique.woff') format('woff'),
       url('/assets/fonts/GT-Walsheim-Regular-Oblique.ttf') format('truetype'),
       url('/assets/fonts/GT-Walsheim-Regular-Oblique.eot') format('embedded-opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('/assets/fonts/GT-Walsheim-Light-Oblique.woff') format('woff'),
       url('/assets/fonts/GT-Walsheim-Light-Oblique.ttf') format('truetype'),
       url('/assets/fonts/GT-Walsheim-Light-Oblique.eot') format('embedded-opentype');
  font-weight: 300;
  font-style: italic;
}

* { box-sizing: border-box; }

:root {
  --color-home: #fff;
  --color-scripted: #FF4456;
  --color-documentary: #38B991;
  --color-watchlist: #fff;
  --nav-underline: #fff;
  --central-width: clamp(320px, 70vw, 1280px);
}

/* GLOBAL FONT */
body {
  margin: 0;
  font-family: 'GT Walsheim', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  background: #000;
  overflow-x:hidden;
}
html {
  scroll-padding-top: 285px;
}
body.category{
  padding-top:285px;
}
body.programme{
  padding-top:175px;
}
  .scripted {
    color:var(--color-scripted);
    --nav-underline: #FF4456;
  }
  .documentary {
    color:var(--color-documentary);
    --nav-underline: #38B991;
  }
  .watchlist {
    color:var(--color-watchlist);
    --nav-underline: #fff;
  }

/* HEADER */
.site-header {
  background: url('/assets/img/gradient_menu.svg') center center / cover no-repeat;
  position:fixed;
  top:0;
  left:0;
  z-index:99;
  width: 100vw;
  height:175px;
}
.site-header .header-flex{
  display: flex;
}
.category .site-header{
  height:285px;
  background:rgba(0,0,0,0.8);
}
.header-logo {
  position:absolute;
  top:1em;
  left:24px;
  font-size: 22px;
}
.header-nav {
  max-width: 1280px;
  width: 100%;
  margin-left: calc((100vw - 1280px)/2);
  padding:2em 0;
}
.header-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav ul li a {
  position: relative;
  font-size: 25px;
  font-weight: 400;
  text-decoration: none;
  padding: 4px 0;
  color: var(--color-home);
  transition: color 0.2s;
}
.nav-home:hover {
  color: var(--color-home);
}
.scripted .nav-scripted,
.scripted h1,
.scripted h2,
.nav-scripted:hover {
  color: var(--color-scripted);
}
.scripted .container-title{
  border-color:var(--color-scripted);
}
.documentary .nav-documentary,
.documentary h1,
.documentary h2,
.nav-documentary:hover {
  color: var(--color-documentary);
}
.documentary .container-title{
  border-color:var(--color-documentary);
}
.watchlist .nav-watchlist,
.watchlist h1,
.watchlist h2,
.nav-watchlist:hover {
  color: var(--color-watchlist);
}

.nav-home::after {
  background: var(--color-home);
}
.nav-scripted::after {
  background: var(--color-scripted);
}
.nav-documentary::after {
  background: var(--color-documentary);
}
.nav-watchlist::after {
  background: var(--color-watchlist);
}

/* Animation inchangée */
.main-nav a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 3px;
  transition: width 0.3s cubic-bezier(.77,0,.18,1);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
body.scripted .nav-scripted::after{
  width: 100%;
}
body.documentary .nav-documentary::after{
  width: 100%;
}
body.watchlist .nav-watchlist::after{
  width: 100%;
}

.header-helpers {
  position:absolute;
  top:2em;
  right:24px;
  display: flex;
  gap: 10px;
  padding-right: 24px;
}
.pill-btn, .pill-icon {
  display:inline-flex; align-items:center; gap:6px;
  background:transparent; border:1px solid #fff; color:#fff;
  padding:6px 14px; border-radius:22px; font:500 13px/1.2 system-ui;
  cursor:pointer; text-decoration:none;
}
.pill-btn:hover, .pill-icon:hover { background:#ffffff22; }
.pill-icon svg { display:block; }
.user-btn { padding:6px 14px; }
.user-btn .user-name { font-size:12px; }
.search-overlay {
  position:fixed; inset:0; background:#111e; backdrop-filter:blur(4px);
  display:none; z-index:1200; align-items:flex-start; justify-content:center;
  padding:8vh 4vw;
}
.search-overlay.active { display:flex; }
.search-box { width:100%; max-width:760px; }
#searchInput {
  width:100%; padding:18px 20px; font-size:22px;
  border:2px solid #fff; border-radius:14px; background:#000; color:#fff;
}
#searchResults { list-style:none; margin:18px 0 0; padding:0; max-height:50vh; overflow:auto; }
#searchResults li { padding:10px 14px; cursor:pointer; background:#222; border-bottom:1px solid #333; color:#eee; }
#searchResults li:hover { background:#333; }
.close-search {
  position:absolute; top:12px; right:18px; font-size:34px; background:none;
  border:none; color:#fff; cursor:pointer; line-height:1;
}

/* SLIDER MEA */
.section-mea {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #000;
}
.mea-slider {
  position: relative;
  width: 100vw;
  height: 100%;
  display: flex;
  overflow: hidden;
}
.mea-slide {
  position: absolute;
  inset:0;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform .7s ease, opacity .7s ease;
  will-change: transform, opacity;
  opacity: 0;
  z-index: 1;
  background: #000;
  padding-bottom:5%;
}

.section-mea .mea-slide.active {
  opacity:1;
  transform:translateX(0);
  z-index:2;
}
.section-mea .mea-slide.to-left {
  opacity:0;
  transform:translateX(-100vw);
  z-index:1;
}
.section-mea .mea-slide.to-right {
  opacity:0;
  transform:translateX(100vw);
  z-index:1;
}
.section-mea .mea-slide,
.section-mea .mea-slide.active,
.section-mea .mea-slide.to-left,
.section-mea .mea-slide.to-right {
  transition:transform .7s ease, opacity .7s ease;
  will-change:transform, opacity;
}

.mea-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  z-index: 0;
  background: #000 center center / cover no-repeat;
  opacity: 0.7;
  pointer-events: none;
  transition: background-image 0.5s;
}
.mea-content {
  position: relative;
  z-index: 1;
  padding: 40px 32px 40px 0;
  color: #fff;
  text-align: left;
  max-width: 1280px;
  width: 100%;
  margin-left: calc((100vw - 1280px)/2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mea-content-fixed {
  max-width: var(--central-width);
  width: calc( var(--central-width) / 2 );
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
  position:absolute;
  top:30%;
  padding-bottom:.5em;
  border-bottom:1px solid white;
  left:0;
  right:0;
  z-index:95;
  margin: auto 0 auto 50%;
  transform: translateX(-100%);
}
.mea-content-fixed h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.mea-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mea-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  transition: opacity 0.2s;
  cursor: pointer;
}
.mea-content h1 { font-size: 2.2rem;     margin: 1em 0;
    padding-top: 1.5em; }
.mea-content p { font-size: 1.1rem; margin-bottom: 24px; }
.mea-content button {
  background: #fff;
  color: #222;
  border: none;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}
.mea-watch-btn {
    display: inline-block;
    background: #FF4456;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 24px;
    box-shadow: 0 2px 8px #0002;
    margin-top: 18px;
    text-decoration: none;
    transition: background 0.2s;
}
.mea-watch-btn:hover {
    background: #e63a4b;
}
.mea-slider-dots { text-align:center; margin-top:18px; }
.mea-slider-dots .dot {
    display:inline-block;
    width:12px; height:12px;
    border-radius:50%;
    background:#ddd;
    margin:0 4px;
    cursor:pointer;
}
.mea-slider-dots .dot.active { background:#FF4456; }
/* Flèches navigation */
.nav-prev, .nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-prev { left: 32px; }
.nav-next { right: 32px; }

/* CONTENT SECTIONS */
main { width: 100vw; }
.content-section { margin: 60px 0 0 0; }
.container-title {
  max-width: 1280px;
  margin-left: calc((100vw - 1280px)/2);
  margin-right: auto;
  padding-bottom: 12px;
  margin-bottom:18px;
  border-bottom:1px solid #fff;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-left: 0;
}

/* TITRES */
h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  margin:0;
}
h2 {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
  margin:0;
}
h2 span {
  font-size: 25px;
  font-weight: 400;
}

/* Navigation points pour slider de vignettes */
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
}
.dot.active {
  background: #fff;
}
.watchlist-btn {
  background:transparent; border:1px solid #fff; border-radius:50%; width:48px; height:48px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; position:relative;
  transition:background .25s;
}
.watchlist-btn:hover { background:#ffffff22; }
.watchlist-btn svg { transition:transform .25s; }
.watchlist-btn.is-active svg { transform:scale(1.05); }
.watchlist-btn.is-active .wl-fill { opacity:1 !important; }
.watchlist-btn .wl-fill { transition:opacity .25s; }
/* Slider de vignettes qui déborde à droite */
.slider-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  width: 100vw;
  margin-left: 0;
  margin-left: calc((100vw - var(--central-width)) / 2);
}

/* Slider de vignettes sans scrollbar native */
.slider-programmes{
  overflow: hidden;
  margin-left: calc((100vw - var(--central-width)) / 2);
}
.slider-programmes, .slider-track {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  align-items: center;
}

.slider-track {
  margin-left: 0;
  display: flex;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  gap:14px;
}

.slider-item {
  position: relative;
  flex: 0 0 350px;
  height: 190px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
  text-decoration:none;
}

.slider-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--item-bg) center center / cover no-repeat;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}

.slider-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('assets/img/gradient_programme.svg') center center / cover no-repeat;
  z-index: 2;
  pointer-events: none;
}

.slider-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-play img {
  width: 56px;
  height: 56px;
  display: block;
}

.slider-title {
  position: relative;
  z-index: 4;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-align: center;
  width: 100%;
  line-height:1;
}

/* Effet hover */
.slider-item:hover .slider-bg {
  transform: scale(1.07);
}
.slider-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* Navigation flèches */
.slider-prev, .slider-next {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  cursor: pointer;
  opacity: 0.5;
}
.dot.active {
  background: #fff;
  opacity:1;
}

/* FOOTER */
.site-footer {
  background: #222;
  color: #fff;
  padding: 32px 0;
  margin-top: 60px;
}
.footer-credits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap; /* passe en colonne sur petit écran */
}
.footer-credits ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-credits ul li { margin: 0; }
.footer-credits ul a {
  color: #fff;
  text-decoration: none;
}
.footer-credits ul a:hover { text-decoration: underline; }
.footer-credits {
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
}
.site-footer p { margin: 0; font-size: 1rem; }

.header-nav,
.mea-content,
.container-title,
.section-content,
.footer-credits {
  width: 100%;
  max-width: var(--central-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.mea-content-inner {
  min-width: 320px;
  max-width: 640px;
}

/* fix resolution 150% de merde windows */
@media (max-height: 700px) {
  .mea-slider .mea-slide{
    padding-bottom:0;
  }
  .mea-content{
    padding:20px 32px 20px 0;
  }
  .mea-content h1{
    margin-bottom:10px;
  }
  .mea-content p{
    margin:10px 0;
  }
}

.liste-programmes{
  width: 100%;
  max-width: var(--central-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.liste-programmes .slider-item{
  margin:0;
  padding:0;
  border-radius:0;
}

.category-nav-bar {
  display: flex;
  align-items: center;
  max-width: clamp(320px, 70vw, 1280px);
  margin: 2em auto 0 auto;
  gap: 12px;
  flex-wrap:wrap;
}
.category-tags {
  display: flex;
  flex: 1 1 100%;
  gap: 12px;
}
.programme .section-header .category-tags{
  flex:1;
  margin-left:2em;
}
.programme .category-langs{
  margin-top:2em;
}
.category-tag {
  display: inline-block;
  background: transparent;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  border:1px solid var(--color-scripted);
  color:var(--color-scripted);
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.category-tag:hover, .category-tag.active {
  background: var(--color-scripted);
  color: #fff;
}
.category-tag.lang-tag{
  font-size:16px;
}

.documentary.category-tag{
  border:1px solid var(--color-documentary);
  color:var(--color-documentary);
}
.documentary.category-tag:hover, .documentary.category-tag.active{
  background:var(--color-documentary);
  color:#fff;
}
.watchlist.category-tag{
  border:1px solid var(--color-watchlist);
  color:var(--color-watchlist);
}
.watchlist.category-tag:hover, .watchlist.category-tag.active{
  background:var(--color-watchlist);
  color:#000;
}
.category-title {
  font-size: 60px;
  font-weight: 700;
  margin: 0;
}

.player-container {
  max-width: clamp(320px, 70vw, 1280px);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.player-container video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  display: block;
}

.player-controls {
  margin-top: 16px;
  text-align: right;
}

#nextEpisodeBtn, #prevEpisodeBtn {
  background: #FF4456;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
#nextEpisodeBtn:hover, #prevEpisodeBtn:hover {
  background: #d12c3e;
}
#section-pitch{
  padding:2em 0;
}
.programme-infos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 32px;
  margin-top: 32px;
  margin-bottom: 32px;
  width: 100%;
}

.programme-infos-grid > div {
  font-size: 1rem;
  color: #fff;
  background: none;
  line-height: 1.5;
  word-break: break-word;
}

.programme-infos-grid strong {
  font-weight: 700;
}

.programme-team {
  grid-column: span 2;
  font-size: 1rem;
  color: #fff;
  background: none;
  line-height: 1.5;
}

#videos-list { display:flex; flex-direction:column; gap:18px; }
#videos-list .video-group { border:1px solid #eee; padding:12px 14px; border-radius:8px; background:#fafafa; }
#videos-list .video-group-title { font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:.5px; margin-bottom:10px; color:#444; }
#videos-list .video-group-grid {
  display:grid;
  gap:10px 14px;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
}
#videos-list .video-item {
  display:flex;
  gap:6px;
  align-items:flex-start;
  padding:6px 8px;
  background:#fff;
  border:1px solid #e3e3e3;
  border-radius:6px;
  font-size:12px;
  line-height:1.25;
  cursor:pointer;
  transition:.18s border, .18s background;
}
#videos-list .video-item:hover { border-color:#FF4456; background:#fff7f8; }
#videos-list .video-item input { margin-top:2px; }
#videos-list .video-meta { display:flex; flex-direction:column; gap:2px; }
#videos-list .video-title { font-weight:600; color:#222; }
#videos-list .video-lang, #videos-list .video-saison {
  display:inline-block;
  font-size:10px;
  padding:2px 6px;
  border-radius:12px;
  background:#eef0f2;
  color:#555;
  margin-right:4px;
}
#videos-list .video-saison { background:#FF4456; color:#fff; }

/* Consent banner (moved from footer.php) */
.consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw; height: 33vh;
  background: #FF4456; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: clamp(16px, 3vw, 32px);
  box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.consent-banner[hidden] { display: none !important; }
.consent-banner h2 { margin: 0; color: #fff; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; text-align: center; }
.consent-banner p { margin: 0; color: #000; font-size: clamp(18px, 2vw, 18px); line-height: 1.5; font-weight: bold; text-align: center; max-width: 960px; }
.consent-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.btn-consent { background: #fff; color: #000; padding: 10px 16px; font-size: clamp(18px, 2vw, 18px); border-radius: 10px; font-weight: 700; cursor: pointer; transition: all .15s ease-in-out; border:1px solid transparent; }
.btn-consent:hover { background: #000; color: #fff; border-color: #000; }
.btn-consent.secondary { background: #000; color: #fff; border-color: #fff; }
.btn-consent.secondary:hover { background: #fff; color: #000; border-color: #000; }
@media (max-width: 680px) {
  .consent-banner { height: auto; padding: 24px 16px; }
}

/* Burger + mobile nav */
.burger {
  display: none;
  position: absolute;
  top: 84px; right: 42px;
  width: 42px; height: 36px;
  border: 1px solid #fff; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer;
  z-index: 120;

  /* Fix: empiler les traits verticalement */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;

  /* Fix: pivot à droite pour former une flèche */
  transform-origin: center;
  transition: transform .22s ease, width .22s ease, opacity .18s ease;
}

/* Animation → flèche “>” */
.site-header.nav-open .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-header.nav-open .burger span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile only: afficher le burger */
@media (max-width: 1024px) {
  .burger { display: inline-flex; }
  .header-nav {
    position: fixed;
    height: 100vh;
    top:150px;
    width: 100%;
    max-width:100%;
    background: rgba(0,0,0,.9);
    padding: 24px; /* leave space for header */
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: -8px 0 20px rgba(0,0,0,.3);
    z-index: 999999;
  }
  .site-header.nav-open .header-nav { transform: translateX(0); }
  .header-nav ul {
    flex-direction: column;
    gap: 18px;
  }
  .header-helpers {
    right: 16px; top: 24px;
  }
  body.category { padding-top: 200px; }
  body.programme { padding-top: 140px; }
  .liste-programmes {
    grid-template-columns: repeat(1, 1fr);
  }
  .category-tags{
    flex-wrap:wrap;
  }
  .category-title{
    font-size:42px;
  }
  .nav-prev{ left:0; }
  .nav-next{ right:0; }
  .programme .section-header{
    flex-direction:column;
    align-items:flex-start;
  }
  .programme .section-header .category-tags{
    margin:2em 0;
  }
  .programme-infos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
