/* ==========================================================================
   New base styles for LN24 front end
   ========================================================================== */
@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueRoman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #020629;
  --color-surface: #070d34;
  --color-surface-alt: #0b1240;
  --color-card: rgba(21, 33, 96, 0.6);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-primary: #2c0ebe;
  --color-accent: #e0031d;
  --color-text: #f1f4ff;
  --color-muted: rgba(241, 244, 255, 0.7);
  --glow-purple: #2c0ebe;
  --glow-blue: #1b2fff;
  --glow-indigo: #1322a7;
  --space-unit: 1rem;
  --font-base: "HelveticaNeue", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  background:
    radial-gradient(circle at 10% 20%, rgba(44, 14, 190, 0.25), transparent 50%),
    radial-gradient(circle at 75% 0%, rgba(17, 27, 94, 0.4), transparent 45%),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  padding-top: 8px;
}

#front_page_layout {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 4);
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-unit) * 2);
}

.advert-hpw {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

#front_page_layout .advert-hpw.advert-pbottom {
  background: transparent;
  border: none;
  padding: 0;
}

.multi-advert {
  padding: 0;
}

.advert-hpw.advert-pbottom.advert-mobileo {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.tv-categories-strip {
  padding: calc(var(--space-unit) * 1.5) var(--space-unit) 0;
  position: relative;
}

.tv-categories-strip--page {
  margin-top: 0.5rem;
  padding-left: 0;
  padding-right: 0;
}

.tv-categories-strip--page .tv-categories-inner {
  width: 100%;
}

.tv-categories-nav {
  position: absolute;
  top: calc(50% + 0.5rem);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 3;
  font-size: 32px;
  border-radius: 24px;
  backdrop-filter: blur(6px);
}

.tv-categories-nav:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.tv-categories-nav--prev {
  left: 0;
}

.tv-categories-nav--next {
  right: 0;
}

.tv-categories-scroll {
  display: flex;
  justify-content: center;
  padding: 0.25rem var(--space-unit) 0.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  scroll-padding-left: var(--space-unit);
}

.tv-categories-scroll::-webkit-scrollbar {
  display: none;
}

.tv-categories-scroll-track {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
  width: max-content;
  margin: 0 auto;
  padding-bottom: 1rem;
}

.tv-categories-scroll.is-scrollable {
  justify-content: flex-start;
}

.tv-categories-scroll.is-scrollable .tv-categories-scroll-track {
  margin: 0;
}

.tv-category-card {
  position: relative;
  display: block;
  min-width: 320px;
  max-width: 340px;
  padding: 2rem 1rem;
  border-radius: 22px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tv-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tv-cat-image, linear-gradient(135deg, rgba(44, 14, 190, 0.4), rgba(2, 6, 41, 0.8)));
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transition: transform 0.4s ease, filter 0.25s ease;
}

.tv-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 41, 0.15), rgba(2, 6, 41, 0.75));
  opacity: 0.95;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.tv-category-card:hover::before {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.tv-category-card:hover::after {
  background: linear-gradient(200deg, rgba(2, 6, 41, 0.05), rgba(224, 3, 29, 0.35), rgba(2, 6, 41, 0.4));
}

.tv-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.tv-category-card.is-active {
  outline: 2px solid #e0031d;
  box-shadow: 0 18px 35px rgba(224, 3, 29, 0.25);
  transform: translateY(-6px);
}

.tv-category-card.is-active::after {
  opacity: 0.75;
}

.tv-categories-strip--page {
  margin-top: 0.5rem;
}

.tv-categories-strip--page .tv-category-card {
  min-width: 130px;
  max-width: 150px;
  padding: 1.2rem 0.6rem;
}

.tv-categories-strip--page .tv-category-name {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.tv-category-card.is-active {
  outline: 2px solid #e0031d;
  box-shadow: 0 18px 35px rgba(224, 3, 29, 0.25);
}

.tv-category-card.is-active::after {
  opacity: 0.75;
}

.tv-category-name {
  position: relative;
  display: inline-block;
  z-index: 2;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.tv-category-card:hover .tv-category-name,
.tv-category-card:focus-visible .tv-category-name {
  color: #fff;
}

.tv-trends-section {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 2) var(--space-unit);
}

.tv-trends-header {
  margin-bottom: 1.8rem;
  text-align: left;
}

.tv-trends-header h2 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.tv-trends-header h2::after,
.front-news-header h2::after,
.tv-category-show-section__header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 75%;
  height: 2px;
  background: rgba(224, 3, 29, 0.75);
  border-radius: 999px;
}

.tv-trends-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  justify-content: center;
}

.tv-trend-card {
  position: relative;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text);
  text-align: center;
}

.tv-trend-rank {
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  font-size: clamp(4.8rem, 11vw, 8.5rem);
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-65%) rotate(-4deg);
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.tv-trend-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 75 / 100;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  z-index: 1;
  background: linear-gradient(135deg, rgba(44, 14, 190, 0.5), rgba(2, 6, 41, 0.9));
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tv-trend-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tv-trend-visual__placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 15px,
      transparent 15px,
      transparent 30px
  );
}

.tv-trend-card:hover .tv-trend-visual,
.tv-trend-card:focus-visible .tv-trend-visual {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.45);
}

.tv-trend-card:hover .tv-trend-visual img,
.tv-trend-card:focus-visible .tv-trend-visual img {
  transform: scale(1.08);
}


.front-news-section {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 1.5) var(--space-unit);
}

.front-news-header {
  margin-bottom: 1.8rem;
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.front-news-header h2 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.front-news-header__cta {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.front-news-header__cta:hover,
.front-news-header__cta:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.front-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.front-news-card--featured {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .front-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-news-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .front-news-grid {
    grid-template-columns: 1fr !important;
  }

  .front-news-card--featured {
    grid-column: span 1 !important;
  }
}

.front-news-card {
  border-radius: 24px;
  background: var(--color-surface-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.front-news-card__media {
  display: block;
  width: 100%;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.front-news-card__content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.front-news-card__badge {
  align-self: flex-start;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  border: 1px solid #fff;
  padding: 0.1rem 0.65rem;
  border-radius: 999px;
  color: #fff !important;
}

.front-news-card__meta {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.front-news-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.front-news-card__title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.front-news-card__title a:hover,
.front-news-card__title a:focus-visible {
  color: #fff;
  text-decoration: none;
}

.front-news-card__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.front-news-card__link:hover,
.front-news-card__link:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.front-news-card:hover,
.front-news-card:focus-within {
  transform: translateY(-4px);
  border-color: #e0031d;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.front-news-card__media::after {
  content: "LIRE";
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 104px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.front-news-card:hover .front-news-card__media::after,
.front-news-card:focus-within .front-news-card__media::after {
  opacity: 1;
  transform: translateY(0);
}

.news-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.news-card__thumb {
  position: relative;
  overflow: hidden;
  display: block;
}

.news-card__thumb::after {
  content: "LIRE";
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 104px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-4px);
  border-color: #e0031d;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.news-card:hover .news-card__thumb::after,
.news-card:focus-within .news-card__thumb::after {
  opacity: 1;
  transform: translateY(0);
}

/* Harmonisation de l'animation du badge LIRE partout */
.front-news-card__media::after,
.news-card__thumb::after,
.related-card__thumb::after,
.news-hero__image::after {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.front-news-card:hover .front-news-card__media::after,
.front-news-card:focus-within .front-news-card__media::after,
.news-card:hover .news-card__thumb::after,
.news-card:focus-within .news-card__thumb::after,
.related-card:hover .related-card__thumb::after,
.related-card:focus-within .related-card__thumb::after,
.news-hero:hover .news-hero__image::after,
.news-hero:focus-within .news-hero__image::after {
  opacity: 1;
  transform: translateY(0);
}

.news-card__body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card__body h3 a:hover,
.news-card__body h3 a:focus-visible {
  color: #fff;
  text-decoration: none;
}

.front-news-card--featured {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.front-news-card--featured .front-news-card__media {
  padding-top: 48%;
  min-height: auto;
}

.front-news-card--featured .front-news-card__content {
  padding: 1.25rem;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .front-news-card--featured {
    grid-column: span 1;
  }
  .front-news-card--featured .front-news-card__media {
    padding-top: 60%;
    min-height: auto;
  }
  .front-news-card--featured .front-news-card__content {
    padding: 1.5rem;
  }
}

.tv-category-show-section {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 1.5) var(--space-unit);
}

.tv-category-show-section__header {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tv-category-show-section__header h2 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.eyebrow--muted {
  color: var(--color-muted);
}

.tv-category-show-section__cta {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.tv-category-show-section__cta:hover,
.tv-category-show-section__cta:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.tv-category-show-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.tv-category-show-card {
  background: var(--color-surface-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.tv-category-show-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: none;
  cursor: pointer;
}

.tv-category-show-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tv-category-show-card__image::before {
  content: "play_arrow";
  font-family: "Material Symbols Outlined";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tv-category-show-card__body {
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tv-category-show-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.tv-category-show-card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.tv-category-show-card__date {
  margin: 0;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb1cd;
  line-height: 1.2;
}

.tv-category-show-card:hover,
.tv-category-show-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  border-color: #e0031d;
}

.tv-category-show-card__skeleton {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.tv-category-show-card__skeleton--small {
  margin-top: 8px;
  width: 70%;
  height: 10px;
}

.tv-category-show-card:hover .tv-category-show-card__image::after,
.tv-category-show-card:focus-visible .tv-category-show-card__image::after {
  opacity: 1;
}

.tv-category-show-card:hover .tv-category-show-card__image::before,
.tv-category-show-card:focus-visible .tv-category-show-card__image::before {
  opacity: 1;
  transform: scale(1);
}

.tv-categories-page {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 2) clamp(12px, 3vw, 24px) calc(var(--space-unit) * 4);
}

.tv-categories-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(180px, 0.6fr);
  gap: 1rem;
  align-items: stretch;
  padding: 0 0 calc(var(--space-unit) * 1.5);
}

.tv-categories-hero {
  padding: 0;
}

.tv-category-hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  background-image: var(--tv-cat-image, linear-gradient(135deg, #0b1026, #0f1632));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 100%;
}

.tv-category-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 21, 0) 30%, rgba(4, 8, 21, 0.85) 100%);
}

.tv-category-hero-card__overlay {
  position: relative;
  padding: clamp(16px, 3vw, 28px);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.tv-category-hero-card__overlay h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: 0.05em;
}

.tv-category-hero-card__overlay .pill {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #dbe7ff;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.tv-categories-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.tv-category-card--side {
  min-width: 0;
  width: 100%;
  padding: 1rem 0.75rem;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tv-category-card--side .tv-category-name {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.tv-category-show-archive {
  margin-top: calc(var(--space-unit) * 2);
}

.tv-category-show-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.tv-category-archive-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.tv-category-archive-card {
  background: #0b0f1a;
  border: 1px solid #151b2f;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  aspect-ratio: 3 / 4;
  margin-bottom: 0.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tv-category-archive-card__image {
  flex: 1 1 auto;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease;
}

.tv-category-archive-card__image.is-landscape {
  aspect-ratio: 16 / 9;
}

.tv-category-archive-card__body {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.tv-category-archive-card__body .presenter {
  margin: 0;
  color: #a7b0c5;
  font-size: 0.95rem;
}

.tv-category-archive-presenter {
  margin: 0 0 1rem;
  color: #a7b0c5;
  font-size: 0.95rem;
  text-align: center;
}

.tv-category-archive-item:hover .tv-category-archive-card {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 0 2px rgba(224, 3, 29, 0.1);
}

.tv-category-archive-item:hover .tv-category-archive-card__image {
  transform: scale(1.06);
}

.tv-category-show-empty {
  margin: 1.2rem 0;
  color: #c9d1df;
}

.tv-category-featured {
  display: grid;
  grid-template-columns: 1.8fr minmax(320px, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.tv-category-featured__player {
  background: #0d1221;
  border: 1px solid #161d30;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.35rem;
  min-height: 0;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.tv-category-featured__player-inner {
  background: #000;
  position: relative;
  min-height: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.tv-category-featured__player-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tv-category-featured__meta {
  padding: clamp(16px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
  background: linear-gradient(180deg, #0e1529 0%, #0b0f1c 100%);
}

.tv-category-featured__meta .eyebrow {
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #8ba3c5;
  text-transform: uppercase;
}

.tv-category-featured__meta h2 {
  margin: 0;
  font-size: 1.4rem;
}

.tv-category-featured__meta .desc {
  margin: 0;
  color: #cbd6e6;
  font-size: 0.98rem;
}

.tv-category-featured__meta .meta {
  margin: 0;
  color: #9fb1cd;
  font-size: 0.85rem;
}

.tv-category-featured__cta {
  margin-top: 0.6rem;
  align-self: flex-start;
  background: #e0031d;
  color: #fff;
  border: none;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tv-category-featured__cta:hover,
.tv-category-featured__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(224, 3, 29, 0.35);
}

.tv-category-featured__side {
  background: #0d1221;
  border: 1px solid #161d30;
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tv-category-featured__side h3 {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.tv-category-featured__side-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 100%;
  overflow: auto;
}

.tv-category-featured__side-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.6rem;
  background: #0f1628;
  border: 1px solid #1a2339;
  border-radius: 14px;
  padding: 0.6rem;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tv-category-featured__side-item:hover,
.tv-category-featured__side-item:focus-visible {
  border-color: #e0031d;
  transform: translateY(-1px);
}

.tv-category-featured__side-item .thumb {
  display: block;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.tv-category-featured__side-item .info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
}

.tv-category-featured__side-item .thumb::before,
.live-video-card__thumb::before {
  content: "play_arrow";
  font-family: "Material Symbols Outlined";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tv-category-featured__side-item:hover .thumb::before,
.tv-category-featured__side-item:focus-visible .thumb::before,
.live-video-card:hover .live-video-card__thumb::before,
.live-video-card:focus-visible .live-video-card__thumb::before {
  opacity: 1;
  transform: scale(1);
}

.tv-category-featured__side-item .title {
  font-weight: 700;
  font-size: 1rem;
}

.tv-category-featured__side-item .meta {
  color: #9fb1cd;
  font-size: 0.9rem;
}

.tv-category-featured__side-item .meta--show {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-category-featured__side-item .meta--date {
  font-size: 0.78rem;
  color: #7fa0d6;
  text-transform: uppercase;
}

.tv-video-lightbox[hidden] {
  display: none;
}

.tv-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.tv-video-lightbox__dialog {
  position: relative;
  display: flex;
  gap: 16px;
  background: #111;
  border-radius: 8px;
  max-width: 1400px;
  width: 98%;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  max-height: 90vh;
  overflow: hidden;
}

.tv-video-lightbox__player {
  flex: 2.2;
  aspect-ratio: 16/9;
  background: #000;
}

.tv-video-lightbox__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-video-lightbox__sidebar {
  flex: 1;
  max-height: 90vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv-video-lightbox__meta {
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 10px;
}

.tv-video-lightbox__meta h3 {
  margin: 4px 0 6px;
  font-size: 17px;
}

.tv-video-lightbox__meta p {
  margin: 2px 0;
  font-size: 13px;
  color: #ccc;
}

.tv-video-lightbox__show {
  font-weight: 600;
  color: #fff;
}

.tv-video-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.tv-video-suggestion {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  text-align: left;
  background: #1a1a1a;
  border-radius: 6px;
  padding: 8px;
  border: 1px solid transparent;
}

.tv-video-suggestion:hover {
  border-color: #444;
}

.tv-video-suggestion img {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
}

.tv-video-suggestion__title {
  font-size: 14px;
  margin: 0;
  color: #fff;
}

.tv-video-suggestion__meta {
  font-size: 12px;
  color: #aaa;
  margin: 2px 0 0;
}

@media (max-width: 900px) {
  .tv-video-lightbox__dialog {
    flex-direction: column;
    max-height: 95vh;
  }
  .tv-video-lightbox__player {
    width: 100%;
  }
  .tv-category-featured {
    grid-template-columns: 1fr;
  }
  .tv-category-featured__player {
    grid-template-columns: 1fr;
  }
  .tv-category-featured__player-inner iframe {
    min-height: 260px;
  }
  .tv-category-featured__side-item {
    grid-template-columns: 100px 1fr;
  }
}

.tv-category-show-wrapper .advert-hpw.advert-pbottom.advert-mobileo {
  margin: 2rem auto;
  width: min(900px, 90%);
}

.tv-guide {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 4);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tv-guide-hero {
  background: linear-gradient(135deg, rgba(44, 14, 190, 0.3), rgba(2, 6, 41, 0.85));
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-guide-hero h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.tv-guide-hero p {
  margin: 0;
  color: var(--color-muted);
}

.tv-guide-live-link {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.tv-guide-live-link:hover,
.tv-guide-live-link:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.tv-guide-dates {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tv-guide-date {
  border-radius: 20px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tv-guide-date.is-today {
  border-color: var(--color-accent);
  color: #fff;
}

.tv-guide-date.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.tv-guide-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tv-guide-item {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.tv-guide-item__time {
  min-width: 110px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tv-guide-item__card {
  flex: 1;
  border-radius: 26px;
  background: rgba(7, 13, 52, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(220px, 30%) 1fr;
  overflow: hidden;
}

.tv-guide-item__card .visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tv-guide-item__card .visual-inner {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.tv-guide-item__card .visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-guide-item__card .details {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tv-guide-item__card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.tv-guide-item__card .episode {
  margin: 0;
  font-weight: 600;
}

.tv-guide-item__card .presenter {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.tv-guide-item__card .description {
  margin: 0.5rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.tv-guide-empty {
  text-align: center;
  color: var(--color-muted);
  padding: 2rem 0;
}

@media (max-width: 800px) {
  .tv-guide-item {
    flex-direction: column;
  }
  .tv-guide-item__time {
    min-width: auto;
  }
  .tv-guide-item__card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .tv-trend-card:hover .tv-trend-rank,
  .tv-trend-card:focus-visible .tv-trend-rank {
    color: rgba(224, 3, 29, 0.7);
  }
}

@media (max-width: 768px) {
  .tv-trend-card {
    width: 46%;
    max-width: 220px;
  }

  .tv-trend-rank {
    top: auto;
    left: 0.6rem;
    bottom: 0.6rem;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
    background: #e0031d;
    border: 2px solid #e0031d;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    padding-top: 4px;
    transform: none;
    text-shadow: none;
    z-index: 2;
  }
}

@media (max-width: 520px) {
  .tv-trend-card {
    width: 80%;
    max-width: 240px;
  }
}

/* ==========================================================================
   Dark header with glows
   ========================================================================== */
.dark-header {
  position: relative;
  background: linear-gradient(140deg, rgba(12, 18, 66, 0.95), rgba(44, 14, 190, 0.92));
  box-shadow: 0 30px 80px rgba(20, 11, 48, 0.7);
  overflow: visible;
  color: #fff;
}

.dark-header::before,
.dark-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(44, 14, 190, 0.55), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.dark-header::after {
  background: radial-gradient(circle at 75% 20%, rgba(28, 45, 201, 0.65), transparent 45%), radial-gradient(circle at 60% 80%, rgba(25, 16, 122, 0.6), transparent 55%);
}

#front_header_wrapper,
#header_wrapper {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit);
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--space-unit) * 2);
}

#logo {
  flex: 0 0 auto;
  position: relative;
}

#logo::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  width: 200px;
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.5), transparent 65%);
  filter: blur(35px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

#logo::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 320px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.28), transparent 70%);
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

#logo a {
  position: relative;
  z-index: 1;
  display: block;
  width: 150px;
  height: 64px;
  background: url("../img/static/LN24_LOGO.png") center / contain no-repeat;
  text-indent: -9999px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.nav_index,
#header_wrapper nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--space-unit) * 1.5);
}

.menu-mobile input {
  position: absolute;
  width: 44px;
  height: 44px;
  top: -6px;
  right: 0;
  opacity: 0;
  cursor: pointer;
  display: none;
  z-index: 10200;
}

.menu-toggle-icon {
  display: none;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  background: none;
  width: auto;
  height: auto;
  z-index: 3;
}

.menu-toggle-icon--close {
  display: none;
}

.menu-toggle-icon--mobile {
  display: none !important;
}

.menu-desktop span:not(.menu-toggle-icon) {
  display: none;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-mobile span.menu-mobile-backdrop {
  display: block !important;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 0;
}

.menu-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10000;
}

.menu-content {
  list-style: none;
  display: flex;
  align-items: center;
  gap: calc(var(--space-unit) * 1.5);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.menu-mobile {
  display: none;
  position: fixed;
  top: 44px;
  right: 20px;
  z-index: 12000;
}

.menu-content > li > a {
  color: #fff;
  position: relative;
  padding-bottom: 6px;
}

.menu-content > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu-content > li > a:hover::after,
.menu-content > li > a:focus-visible::after {
  transform: scaleX(1);
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.25s ease, border 0.25s ease;
}

.menu-dropdown-toggle:hover,
.menu-dropdown-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.menu-dropdown-icon {
  font-size: 0.85rem;
}

.menu-dropdown-list {
  list-style: none;
  position: absolute;
  inset: auto auto auto 50%;
  transform: translate(-50%, 10px);
  padding: 0.75rem 0;
  margin: 0;
  min-width: 220px;
  border-radius: 16px;
  background: rgba(5, 0, 21, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 40px rgba(4, 0, 14, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3000;
}

.menu-dropdown-list li a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: #fff;
  font-weight: 500;
}

.menu-dropdown-list li a:hover,
.menu-dropdown-list li a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.menu-dropdown:hover .menu-dropdown-list,
.menu-dropdown.is-open .menu-dropdown-list {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* ==========================================================================
   Current show highlight
   ========================================================================== */
.current-show-area {
  margin-top: calc(var(--space-unit) * 2);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 280px);
  gap: calc(var(--space-unit) * 2);
  align-items: stretch;
  height: clamp(200px, 22vw, 300px);
}

.live-current-area {
  width: 100%;
  max-width: 100%;
  height: auto;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.current-show {
  margin: 0;
  padding: calc(var(--space-unit) * 1.5);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.current-show::before,
.current-show::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.current-show::before {
  background-image: var(--current-show-bg, none);
  background-size: cover;
  background-position: left top;
  opacity: 0.5;
  filter: saturate(1.1);
}

.current-show::after {
  background: linear-gradient(90deg, rgba(2, 6, 41, 0.85) 0%, rgba(2, 6, 41, 0.65) 45%, rgba(2, 6, 41, 0.15) 100%);
}

.current-show .info {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: calc(var(--space-unit) * 1.5);
  align-items: stretch;
  height: 100%;
}

.current-show .show-details {
  flex: 1 1 320px;
}

.next-show-card {
  padding: calc(var(--space-unit) * 1.25);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 25, 0.85);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.next-show-card::before,
.next-show-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.next-show-card::before {
  background-image: var(--next-show-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(1.05);
}

.next-show-card::after {
  background: linear-gradient(130deg, rgba(2, 6, 41, 0.8), rgba(2, 6, 41, 0.4));
}

.next-show-card > * {
  position: relative;
  z-index: 2;
}

.next-label {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.next-show-title {
  margin: 0;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.next-show-time {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--color-muted);
}

.next-show-empty {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.next-show-link {
  margin-top: 1.2rem;
  align-self: flex-start;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
  color: #fff;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.next-show-link:hover,
.next-show-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.rightnow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  background: var(--color-accent);
  color: #fff;
  margin: 0 0 0.75rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
}

.current-slot {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: #fff;
  font-weight: 700;
}

.show-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.show-name img {
  max-height: 120px;
  width: auto;
}

.show-name-fallback {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.show-name-fallback.is-long {
  font-size: 0.7em;
}
.show-name-fallback.is-very-long {
  font-size: 0.6em;
}
@media (max-width: 768px) {
  .show-name-fallback {
    font-size: 0.85em;
  }
}

.current-presenter {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.show-live-player {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 100%;
  height: 100%;
}

.live-player-frame {
  position: relative;
  width: auto;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(5, 0, 21, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.live-player-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.live-player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 0, 21, 0.25);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.live-player-overlay span {
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.live-player-frame:hover .live-player-overlay,
.live-player-frame:focus-within .live-player-overlay {
  opacity: 1;
  background: rgba(5, 0, 21, 0.65);
}

.live-player-frame:hover .live-player-overlay span,
.live-player-frame:focus-within .live-player-overlay span {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(224, 3, 29, 0.15);
  box-shadow: 0 0 25px rgba(224, 3, 29, 0.35);
}

/* ==========================================================================
   Modules
   ========================================================================== */
.module {
  background: var(--color-surface);
  border-radius: 28px;
  border: 1px solid var(--color-border);
  padding: calc(var(--space-unit) * 2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.module header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-unit);
}

.module h1,
.module h2,
.module h3,
.module h4,
.module h5 {
  color: #fff;
  margin: 0;
}

/* Picture hero */
.module-picture .picture-thumbnail {
  border-radius: 24px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

.picture-container {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 0, 21, 0.55) 20%, rgba(5, 0, 21, 0.9) 85%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.picture-content-bottom {
  display: flex;
  justify-content: space-between;
  padding: calc(var(--space-unit) * 2);
  gap: calc(var(--space-unit) * 2);
}

.picture-title a {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
}

.picture-subtitle {
  color: var(--color-muted);
  margin-top: 0.35rem;
}

.picture-link {
  align-self: flex-end;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: transform 0.2s ease, border 0.2s ease;
}

.picture-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Tracklist */
.module-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-card);
  border-radius: 18px;
  padding: 0.85rem;
}

.list-cover {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.list-hour {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin: 0;
  color: var(--color-muted);
}

.list-artist {
  margin: 0.1rem 0 0;
  font-weight: 600;
}

.list-title {
  margin: 0;
  color: #fff;
}

/* Webradios */
.module-webradios .webradios-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.webr-container {
  border-radius: 22px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #fff;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.webr-logo {
  width: 120px;
  height: auto;
}

.webr-ecouter {
  margin-left: auto;
}

.webr-rds {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
}

.webr-cover {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-size: cover;
}

.webr-title {
  font-weight: 600;
}

.webradios-app {
  margin-top: var(--space-unit);
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.webradios-app-link a img {
  width: 140px;
}

/* Podcasts / Replay */
.module-replay .replay-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.replay-feed-item {
  background: var(--color-card);
  border-radius: 22px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.play-image {
  width: 100%;
  padding-top: 56%;
  border-radius: 16px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}

.play-program {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.play-date {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
}

.play-title {
  font-size: 1.2rem;
  margin: 0;
}

/* News */
.module-news .block-news {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.block-news_li {
  background: var(--color-card);
  border-radius: 22px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.block-news_li .img_container {
  width: 100%;
  padding-top: 62%;
  border-radius: 18px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}

.block-news_li h2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.35rem;
}

.block-news_li h2 a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.block-news_li p {
  font-size: 1rem;
  margin: 0;
}

/* Load more */
.loadmore {
  margin-top: 1.5rem;
  text-align: center;
}

.loadmore a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.loadmore a:hover {
  border-color: rgba(255, 255, 255, 0.65);
}

.footer {
  margin-top: calc(var(--space-unit) * 10);
  background: linear-gradient(180deg, rgba(4, 5, 28, 0.95), rgba(2, 4, 21, 1));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#footer_wrapper {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: calc(var(--space-unit) * 3) var(--space-unit);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.footer_logo img {
  width: 120px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.link_app {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.link_app h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer_liens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.footer_liens ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer_liens h3 {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.footer_liens li a {
  color: var(--color-text);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.footer_liens li a:hover {
  color: var(--color-accent);
}

.footer_follow ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer_follow ul li a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer_follow ul li a:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer_follow ul li img {
  display: block;
  width: 20px;
  height: 20px;
}

.footer_follow p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.footer_follow form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer_follow form h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer_follow form input[type="email"] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-text);
}

.footer_follow form input[type="submit"] {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer_follow form input[type="submit"]:hover {
  border-color: var(--color-accent);
  background: rgba(224, 3, 29, 0.1);
}

.footer_cdj {
  margin-top: 1.25rem;
}

.footer_cdj img {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  #front_header_wrapper,
  #header_wrapper {
    position: relative;
    z-index: 9000;
  }

  main {
    padding-top: 12px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .menu {
    flex-direction: column;
    align-items: flex-end;
  }

  .menu-desktop {
    display: none;
  }

  .menu-mobile {
    display: block;
  }

  .menu-mobile input,
  .menu-mobile .menu-toggle-icon--mobile {
    display: block !important;
  }

.menu-toggle-icon {
  font-size: 0;
  width: 44px;
  height: 44px;
  display: block;
  text-align: center;
  line-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10100;
  pointer-events: none;
  margin: 0 auto;
  padding: 0;
  color: transparent;
}

@media (min-width: 961px) {
  .menu-toggle-icon--mobile {
    display: none !important;
  }
}

.menu-toggle-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Outlined";
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.menu-toggle-icon--open::before {
  content: "menu";
}

.menu-toggle-icon--close::before {
  content: "close";
}

  .menu-toggle-icon--open {
    display: block !important;
  }

  .menu-toggle-icon--close {
    display: none !important;
  }

  .menu-content {
    position: fixed;
    inset: auto;
    top: 60px;
    left: 36px;
    right: 36px;
    bottom: auto;
    flex-direction: column;
    align-items: center;
    background: rgba(5, 0, 21, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 2rem;
    gap: 1rem;
    text-align: center;
    transform: translateY(10px);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
    width: auto;
    height: auto;
    max-height: none;
    overflow-y: auto;
    z-index: 11000 !important;
  }

  .menu-toggle-icon {
    z-index: 11002 !important;
  }

  .menu-mobile input {
    z-index: 11003 !important;
  }

  .menu-mobile input:checked ~ .menu-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-mobile input:checked ~ .menu-mobile-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-mobile input:not(:checked) ~ .menu-toggle-icon--close {
    display: none !important;
  }

  .menu-mobile input:not(:checked) ~ .menu-toggle-icon--open {
    display: block !important;
  }

  .menu-mobile input:checked ~ .menu-toggle-icon--open {
    display: none !important;
  }

  .menu-mobile input:checked ~ .menu-toggle-icon--close {
    display: block !important;
  }

  .menu-dropdown-toggle {
    pointer-events: none;
    width: 100%;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
  }

  .menu-dropdown-icon {
    display: none;
  }

  .menu-dropdown-list {
    position: static;
    transform: none;
    inset: auto;
    left: auto;
    right: auto;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    list-style: none;
  }

  .menu-dropdown.is-open .menu-dropdown-list,
  .menu-dropdown:hover .menu-dropdown-list {
    transform: none;
  }

  .menu-dropdown-list li a {
    padding: 0.7rem 1.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
  }

  .menu-dropdown-list li {
    flex: 0 1 calc(50% - 0.6rem);
    display: flex;
    justify-content: center;
  }

  .menu-dropdown-list li a {
    width: 100%;
  }

  .menu-content > li > a,
  .menu-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-dropdown > .menu-dropdown-toggle {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 0.65rem 0;
  }

  .menu-content > li > a::after {
    content: none;
  }

  .menu-content > li > a:hover::after,
  .menu-content > li > a:focus-visible::after {
    content: none;
  }

  .menu-content > li + li {
    margin-top: 0.6rem;
  }

  .menu-dropdown-list {
    margin-top: 0.5rem;
    padding-left: 0.25rem;
  }

  .current-show-area {
    grid-template-columns: 1fr;
    height: auto;
  }

  .current-show {
    padding: var(--space-unit);
  }

  .current-show .info {
    grid-template-columns: 1fr;
  }

  .show-live-player {
    width: 100%;
  }

  .live-player-frame {
    width: 100%;
    height: auto;
  }

  .next-show-card {
    padding: var(--space-unit);
    min-height: 0;
  }

  .tv-categories-scroll {
    gap: 0.65rem;
  }

  .tv-category-show-section__grid {
    grid-template-columns: 1fr;
  }

  #footer_wrapper {
    grid-template-columns: 1fr;
  }

  .footer_liens {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 600px) {
  #front_header_wrapper,
  #header_wrapper {
    padding-inline: 1rem;
  }

  #front_page_layout {
    padding-inline: 1rem;
  }

  .picture-content-bottom {
    flex-direction: column;
  }

  .picture-link {
    align-self: flex-start;
  }

  .module {
    padding: 1.5rem;
  }

  .webradios-app {
    flex-direction: column;
    align-items: flex-start;
  }

.footer_follow form input[type="submit"] {
  width: 100%;
  text-align: center;
}
}
.single-article-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.single-article {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #0d1221;
  border: 1px solid #161d30;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.single-article__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.single-article__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.single-article__meta {
  display: grid;
  gap: 6px;
  padding: 0 16px 12px;
}

.single-article__badge,
.related-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.single-article__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}

.single-article__date {
  margin: 0;
  color: #8ea0c2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.single-article__video {
  padding: 0 16px 18px;
}

.article-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid #161d30;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.article-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.single-article__content {
  padding: 0 16px 20px;
  color: #e8edf5;
  line-height: 1.7;
  font-size: 1.02rem;
}

.single-article__content a {
  color: #fff;
  text-decoration: underline;
}

.single-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.single-article__podcast {
  padding: 0 16px 24px;
}

.podcast-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.podcast-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.podcast-card__info {
  display: grid;
  gap: 4px;
  padding: 10px 10px 12px 0;
}

.podcast-card__show {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cdd6e4;
}

.podcast-card__date {
  font-size: 0.85rem;
  color: #8ea0c2;
  letter-spacing: 0.08em;
}

.podcast-card__title {
  font-weight: 700;
  line-height: 1.35;
}

.single-article__related {
  padding: 0 16px 28px;
  display: grid;
  gap: 16px;
}

.single-article__related h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.single-article__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.related-card {
  background: #0f1626;
  border: 1px solid #161d30;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.related-card__thumb::after {
  content: "LIRE";
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 104px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.related-card__body {
  padding: 10px 12px 14px;
  display: grid;
  gap: 6px;
}

.related-card:hover,
.related-card:focus-within {
  transform: translateY(-4px);
  border-color: #e0031d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.related-card:hover .related-card__thumb::after,
.related-card:focus-within .related-card__thumb::after {
  opacity: 1;
  transform: translateY(0);
}

.single-partner {
  padding: 0 16px 16px;
}

.single-partner__label {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #cdd6e4;
}

.contest-partner {
  display: block;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.single-contest-info {
  padding: 0 16px 24px;
}

.contest-flexcontainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  align-items: center;
  text-align: center;
}

.contest-flexcontainer p {
  margin: 0;
  color: #e8edf5;
  letter-spacing: 0.05em;
}

.contest-flexcontainer .big {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contest-flexcontainer .big span {
  font-weight: 800;
}

.single-contest-info .ruleinfo {
  margin: 8px 0 0;
  color: #8ea0c2;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.related-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.related-card h3 a {
  color: #fff;
  text-decoration: none;
}

.related-card__date {
  margin: 0;
  font-size: 0.85rem;
  color: #8ea0c2;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .single-article-page {
    padding: 20px 12px 40px;
  }

  .single-article {
    gap: 24px;
  }

  .single-article__content {
    padding: 0 12px 16px;
  }

  .single-article__podcast {
    padding: 0 12px 20px;
  }

  .podcast-card {
    grid-template-columns: 1fr;
  }

  .single-article__related {
    padding: 0 12px 24px;
  }
}
.live-page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.live-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.live-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.live-tag {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.live-tag--muted {
  color: #cdd6e4;
}

.live-meta h1 {
  margin: 0;
  font-size: 1.6rem;
}

.live-meta h2 {
  margin: 0;
  font-size: 1.2rem;
}

.live-slot {
  margin: 0;
  color: #8ea0c2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.live-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.live-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #e0031d, #f25757);
  width: 0%;
}

.live-programme-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.live-programme-btn:hover,
.live-programme-btn:focus-visible {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.legal-page {
  max-width: 960px;
  width: min(960px, 94vw);
  margin: 40px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.legal-hero {
  display: grid;
  gap: 8px;
}

.legal-hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.legal-hero__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.legal-hero__meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.legal-card {
  background: #0f1626;
  border: 1px solid #161d30;
  border-radius: 16px;
  padding: 22px 22px 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.legal-content {
  display: grid;
  gap: 14px;
  color: #dfe5f3;
  line-height: 1.7;
  font-size: 1rem;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin: 20px 0 6px;
  letter-spacing: 0.05em;
}

.legal-content h2 {
  font-size: 1.4rem;
}

.legal-content h3 {
  font-size: 1.2rem;
}

.legal-content h4 {
  font-size: 1.05rem;
}

.legal-content p {
  margin: 0;
}

.legal-content ul {
  margin: 8px 0 8px 18px;
  display: grid;
  gap: 6px;
  list-style: disc;
}

.legal-content a {
  color: #fff;
  text-decoration: underline;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--color-accent);
}

.live-videos,
.live-articles {
  display: grid;
  gap: 14px;
}

.live-videos > h3,
.live-articles > h3 {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff;
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.8rem;
}

.live-videos > h3::after,
.live-articles > h3::after,
.live-page__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 75%;
  height: 2px;
  background: rgba(224, 3, 29, 0.85);
  border-radius: 999px;
}

.live-page__title {
  color: #fff;
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.live-videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.live-videos__grid--fixed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .live-videos__grid,
  .live-videos__grid--fixed {
    grid-template-columns: 1fr;
  }
}

.live-video-card {
  background: #0f1626;
  border: 1px solid #161d30;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.live-video-card * {
  cursor: inherit;
}

.live-video-card:hover,
.live-video-card:focus-within {
  transform: translateY(-3px);
  border-color: #e0031d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.live-video-card__thumb {
  border: none;
  padding: 0;
  background-color: transparent;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  display: block;
  position: relative;
  overflow: hidden;
}

.live-video-card__body {
  padding: 0 12px 12px;
  display: grid;
  gap: 4px;
}

.live-video-card__meta {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ea0c2;
}

.live-video-card h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.live-video-card__thumb::before,
.tv-category-featured__side-item .thumb::before {
  content: "play_arrow";
  font-family: "Material Symbols Outlined";
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.live-video-card:hover .live-video-card__thumb::before,
.live-video-card:focus-visible .live-video-card__thumb::before,
.tv-category-featured__side-item:hover .thumb::before,
.tv-category-featured__side-item:focus-visible .thumb::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.live-video-card__date {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #8ea0c2;
}

.live-news-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.live-news-card:hover,
.live-news-card:focus-within {
  transform: translateY(-3px);
  border-color: #e0031d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.live-articles .news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.live-articles .news-card {
  background: #0f1626;
  border: 1px solid #161d30;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.live-articles .news-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.live-articles .news-card:hover,
.live-articles .news-card:focus-within {
  transform: translateY(-4px);
  border-color: #e0031d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.live-articles .news-card:hover .news-card__thumb::after,
.live-articles .news-card:focus-within .news-card__thumb::after {
  opacity: 1;
  transform: translateY(0);
}

.live-articles .news-card__body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.emission-video-item .thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.emission-video-item .thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 50%;
  background: rgba(224, 3, 29, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Material Symbols Outlined";
  font-size: 30px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.emission-video-item:hover .thumb__play,
.emission-video-item:focus-within .thumb__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.live-articles .news-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
}

.live-articles .news-card__body h3 a {
  color: #fff;
  text-decoration: none;
  text-transform: none;
  letter-spacing: inherit;
}

.live-articles .news-card__meta {
  margin: 0;
  color: #8ea0c2;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.live-articles .news-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  width: auto;
  max-width: max-content;
}

@media (max-width: 1100px) {
  .live-articles .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .live-articles .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .live-meta-grid {
    grid-template-columns: 1fr;
  }
}

.error-page {
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 48px 16px 80px;
}

.error-card {
  background: linear-gradient(135deg, rgba(12, 18, 66, 0.9), rgba(44, 14, 190, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.error-badge {
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 900;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  letter-spacing: 0.08em;
  text-align: center;
  min-width: 120px;
}

.error-content h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.25;
}

.error-eyebrow {
  margin: 0 0 4px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cdd6e4;
  font-size: 0.85rem;
}

.error-desc {
  margin: 10px 0 18px;
  color: #e8edf5;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #fff;
  background: #e0031d;
  border: 1px solid #e0031d;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.error-btn:hover,
.error-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(224, 3, 29, 0.35);
  color: #fff;
}

.error-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.error-btn--ghost:hover,
.error-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.25);
  color: #fff;
}

@media (max-width: 640px) {
  .error-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .error-actions {
    justify-content: center;
  }
}
