/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Oswald';
  src: url('../assets/fonts/Oswald-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
}
/* CLS: Fallback font metric override to reduce layout shift during font swap */
@font-face {
  font-family: 'Oswald-fallback';
  src: local('Arial');
  size-adjust: 88%;
  ascent-override: 110%;
  descent-override: 28%;
  line-gap-override: 0%;
}

/* ============================================================
   CSS VARIABLES / THEMES
   ============================================================ */
:root {
  --navy: #081a2d;
  --navy-light: #0e2238;
  --navy-mid: #132940;
  --red: #f40024;
  --red-hover: #d10020;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #cccccc;
  --gray-dark: #666666;
  --font-main: 'Oswald', 'Oswald-fallback', sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 100%;
  --header-height: 120px;
  --transition: 0.3s ease;
}

[data-theme="light"] {
  --bg-primary: #fcfcfc;
  --bg-secondary: var(--gray-light);
  --bg-header: #fcfcfc;
  --bg-nav: #fcfcfc;
  --text-primary: #081a2d;
  --text-secondary: #3a4a5c;
  --text-nav: var(--navy);
  --border-color: #e0e0e0;
  --card-bg: var(--white);
  --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --ticker-bg: var(--white);
  --section-title-color: var(--red);
  --footer-bg: var(--navy);
  --overlay-bg: rgba(255,255,255,0.95);
}

[data-theme="dark"] {
  --bg-primary: var(--navy);
  --bg-secondary: var(--navy-light);
  --bg-header: var(--navy);
  --bg-nav: var(--navy);
  --text-primary: var(--white);
  --text-secondary: #b0b8c8;
  --text-nav: var(--white);
  --border-color: #2a3a52;
  --card-bg: var(--navy-light);
  --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --ticker-bg: var(--navy);
  --section-title-color: var(--red);
  --footer-bg: var(--navy-light);
  --overlay-bg: rgba(15,27,45,0.95);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; content-visibility: auto; }
/* CLS: Reserve space for images via aspect-ratio fallbacks */
img[width][height] { aspect-ratio: attr(width) / attr(height); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-separator { border: none; border-top: 2px solid var(--red); margin: 0; }

/* ============================================================
   1. TOP BAR (Social Icons Row)
   ============================================================ */
.top-bar {
  background: var(--bg-header);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.social-icons { display: flex; gap: 12px; align-items: center; }
.social-icons a {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.social-icons a:hover {
  background: var(--red);
  transform: scale(1.1);
}
.social-icons a svg { width: 16px; height: 16px; fill: var(--text-primary); transition: fill var(--transition); }
.social-icons a:hover svg { fill: var(--white); }

.logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-area .logo {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo .ici { color: var(--text-primary); }
.logo .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--red);
  clip-path: polygon(25% 10%, 25% 90%, 85% 50%);
  margin: 0 2px;
}
.logo .beyrouth { color: var(--text-primary); }
.logo-area .slogan {
  font-family: var(--font-main);
  font-size: 0.875rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: -2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.search-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.search-row { display: flex; align-items: center; gap: 6px; }
.search-input {
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  width: 180px;
  font-family: var(--font-body);
  transition: all var(--transition);
}
[data-theme="dark"] .search-input { border-color: rgba(255,255,255,0.4); }
.search-input::placeholder { color: var(--text-secondary); opacity: 0.6; font-style: italic; }
.search-input:focus { outline: none; border-color: var(--red); width: 220px; }
.search-btn {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--red); }
.search-btn svg { width: 18px; height: 18px; fill: var(--white); }
[data-theme="dark"] .search-btn { background: rgba(255,255,255,0.15); }
[data-theme="dark"] .search-btn:hover { background: var(--red); }
.search-advanced {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--transition);
  margin-top: 2px;
  display: block;
}
.search-advanced:hover { color: var(--red); }

.user-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--text-primary);
  transition: color var(--transition);
  white-space: nowrap;
}
.user-btn:hover { color: var(--red); }
.user-btn svg { width: 26px; height: 26px; stroke: var(--text-primary); fill: none; stroke-width: 1.5; transition: stroke var(--transition); }
.user-btn:hover svg { stroke: var(--red); }

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle-bar {
  background: var(--red);
  padding: 6px 0;
  display: flex;
  justify-content: center;
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--navy);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
}
.theme-toggle .toggle-option {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  font-size: 1.1rem;
}
.theme-toggle .toggle-option.active {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
[data-theme="dark"] .theme-toggle {
  background: #041018;
}
[data-theme="dark"] .theme-toggle .toggle-option.active {
  background: rgba(255,255,255,0.22);
  box-shadow: 0 0 8px rgba(255,255,255,0.25);
}

/* ============================================================
   2. MAIN NAVIGATION
   ============================================================ */
.main-nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--transition);
}
.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-item {
  position: relative;
}
.nav-item + .nav-item::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; height: 50%;
  width: 1px;
  background: var(--border-color);
}
[data-theme="dark"] .nav-item + .nav-item::before {
  background: rgba(255,255,255,0.2);
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 14px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-nav);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-item > a:hover { color: var(--red); }
.nav-item > a .nav-arrow {
  width: 8px; height: 5px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-item > a .nav-arrow path,
.nav-item > a .nav-arrow polyline { stroke: var(--text-nav); transition: stroke var(--transition); }
.nav-item:hover > a .nav-arrow { transform: rotate(180deg); }
.nav-item:hover > a .nav-arrow path,
.nav-item:hover > a .nav-arrow polyline { stroke: var(--red); }
/* Podcast waveform icon in nav */
.nav-podcast-icon {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-left: 4px;
}
.nav-podcast-icon .bar {
  width: 2px;
  background: var(--text-nav);
  border-radius: 1px;
  animation: navWave 1s ease-in-out infinite;
}
.nav-item:hover .nav-podcast-icon .bar { background: var(--red); }
.nav-podcast-icon .bar:nth-child(1) { height: 6px; animation-delay: 0s; }
.nav-podcast-icon .bar:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.nav-podcast-icon .bar:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.nav-podcast-icon .bar:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.nav-podcast-icon .bar:nth-child(5) { height: 10px; animation-delay: 0.6s; }
@keyframes navWave {
  0%,100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 200;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
/* Light mode dropdown */
[data-theme="light"] .nav-dropdown {
  background: var(--white);
  border: 1px solid var(--border-color);
}
/* Dark mode dropdown */
[data-theme="dark"] .nav-dropdown {
  background: #0d2a44;
  border: 1px solid #1a3a5c;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.88rem;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
[data-theme="light"] .nav-dropdown a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--red);
}
[data-theme="dark"] .nav-dropdown a {
  color: var(--white);
  border-bottom: 1px solid var(--red);
}
.nav-dropdown a:last-child { border-bottom: none; }
[data-theme="light"] .nav-dropdown a:hover { background: #f5f5f5; color: var(--red); }
[data-theme="dark"] .nav-dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--red); }
.nav-dropdown .voir-plus {
  background: var(--red);
  color: var(--white) !important;
  margin: 0;
  border-radius: 0 0 12px 12px;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-family: var(--font-main);
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: none !important;
}
.nav-dropdown .voir-plus:hover { background: var(--red-hover); }


/* ============================================================
   3. BREAKING NEWS TICKER
   ============================================================ */
.ticker {
  background: var(--ticker-bg);
  border-bottom: 2px solid var(--red);
  padding: 8px 0;
  overflow: hidden;
  transition: background var(--transition);
  min-height: 42px; /* CLS: reserve ticker height */
}
.ticker .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--red);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ticker-label .dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.ticker-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-text span {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
  font-size: 1rem;
  color: var(--text-primary);
}
@keyframes scroll-left { 0%{transform:translateX(100%)} 100%{transform:translateX(-100%)} }

/* ============================================================
   4. HERO SECTION (Cartouche + Side articles + Sidebar)
   ============================================================ */
.hero { padding: 24px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 250px 1fr 280px;
  gap: 24px;
}

/* Side articles (left) */
.side-articles { display: flex; flex-direction: column; gap: 20px; }
.side-article { display: flex; flex-direction: column; gap: 8px; }
.side-article img { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; aspect-ratio: 250/160; }
.side-article h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}
.side-article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Main cartouche (center) - image on top, title/description below */
.main-cartouche {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.main-cartouche img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  aspect-ratio: 16/9;
}
.main-cartouche .cartouche-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 2px;
}
.main-cartouche h2 {
  font-family: var(--font-main);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0;
}
.main-cartouche .description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.main-cartouche .author {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Ad banner */
.ad-banner {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 20px auto;
  max-width: 728px;
  min-height: 90px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.ad-billboard {
  max-width: 970px;
  min-height: 250px;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

/* Liban en bref */
.liban-bref {
  position: relative;
  border: none;
  border-left: 3px solid var(--red);
  border-radius: 0;
  padding: 0px;
  overflow: visible;
}
.liban-bref-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  margin-left:12px;
}
.liban-bref-title .label { color: var(--red); }
.liban-bref ul { padding: 0; margin: 0; list-style: none; }
.liban-bref li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-primary);
  display: flex;
  gap: 8px;
}
.liban-bref li::before { content: "\2014"; color: var(--red); flex-shrink: 0; }
.liban-bref li:last-child { border-bottom: none; }
.liban-bref li:hover { color: var(--red); cursor: pointer; }

/* L'express du jour (sidebar) */
.express-du-jour {
  border-radius: 4px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.express-header {
  background: var(--navy);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--red);
}
[data-theme="dark"] .express-header { background: var(--navy-light); }
.express-header .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--red);
  border-radius: 3px;
  flex-shrink: 0;
}
.express-header .play-icon::after {
  content: "";
  width: 0; height: 0;
  border-left: 8px solid var(--white);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.express-header .label {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.express-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 280/380;
  overflow: hidden;
  background: var(--navy);
}
.express-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.express-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 14px;
  text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.express-meta .name {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.express-meta .role {
  font-size: 0.85rem;
  color: #cfd6e0;
  margin-top: 2px;
}

/* Liban en bref - Horizontal Bar */
.liban-bref-bar {
  background: rgba(var(--navy), 0.05);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--border-color);
}
.liban-bref-bar-title {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  letter-spacing: 1px;
}
.liban-bref-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}
.liban-bref-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-right: 1px solid var(--border-color);
  background: var(--bg-secondary);
  transition: background var(--transition);
  cursor: pointer;
}
.liban-bref-card:last-child { border-right: none; }
.liban-bref-card:hover { background: var(--card-bg); }
.liban-bref-card p {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
  margin-right: 12px;
}
.liban-bref-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--red);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   5. DECRYPTAGE / SLIDE SECTION (4 large cards)
   ============================================================ */
.decryptage {
  padding: 0;
  overflow: hidden;
}
.decryptage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.decryptage-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.decryptage-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.decryptage-card:hover img { transform: scale(1.05); }
.decryptage-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 20px 16px 16px;
}
.decryptage-card .rubrique {
  font-family: var(--font-main);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 4px;
}
.decryptage-card:last-child .rubrique { color: var(--red); font-weight: 600; opacity: 1; }
.decryptage-card h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* ============================================================
   6. SONDAGE BAR
   ============================================================ */
.sondage-bar {
  background: var(--navy);
  padding: 12px 0;
  display: flex;
  align-items: center;
  min-height: 52px; /* CLS: reserve sondage bar height */
}
.sondage-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sondage-bar .close-btn {
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0.5;
  padding: 4px 8px;
}
.sondage-bar .close-btn:hover { opacity: 1; }
.sondage-bar .text {
  flex: 1;
  text-align: center;
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sondage-bar .check-icon { color: var(--white); opacity: 0.5; font-size: 1.2rem; }
.sondage-bar .participez-btn {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background var(--transition);
}
.sondage-bar .participez-btn:hover { background: var(--red-hover); }

/* ============================================================
   7. REPORTAGES & EMISSIONS (Show Logos)
   ============================================================ */
.reportages-section {
  padding: 0;
}
.reportages-title-bar {
  background: var(--red);
  text-align: center;
  padding: 12px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}
.show-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 30px 20px;
  flex-wrap: wrap;
  background: var(--bg-primary);
  transition: background var(--transition);
}
.show-logo {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  line-height: 1.2;
  transition: all var(--transition);
  cursor: pointer;
}
.show-logo:hover { transform: scale(1.08); border-color: var(--white); }
[data-theme="light"] .show-logo { border-color: var(--navy); }
[data-theme="light"] .show-logo:hover { border-color: var(--red); }

/* ============================================================
   8. VIDEO SECTION (Monde)
   ============================================================ */
.video-section {
  background: var(--navy);
  padding: 30px 0;
}
.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.video-main {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.video-main img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }
.video-main .tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 4px 12px;
  text-transform: uppercase;
}
.video-main .video-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 40px 20px 20px;
}
.video-main .video-info .logo-sm {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}
.video-main .video-info .logo-sm .play-sm {
  display: inline-block;
  width: 0; height: 0;
  border-left: 8px solid var(--red);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.video-main .video-info h3 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.3;
}
.video-side {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.video-side img { width: 100%; height: 100%; object-fit: cover; }
.video-side .video-side-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 20px 16px;
}
.video-side .video-side-info .label {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 6px;
}
.video-side .video-side-info p {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
}
.voir-plus-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 20px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  max-width: var(--max-width);
  margin: 0 auto;
}
.voir-plus-btn .circle {
  width: 28px; height: 28px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.voir-plus-btn .circle::after {
  content: "";
  width: 0; height: 0;
  border-left: 8px solid var(--white);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

/* ============================================================
   9. PODCASTS SECTION
   ============================================================ */
.podcasts-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a1a 100%);
  padding: 30px 0;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.podcasts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.podcast-info h4 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.podcast-info h4 .podcast-wave { font-size: 0.8rem; }
.podcast-info h3 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 6px;
}
.podcast-info .description {
  font-size: 0.95rem;
  color: #b0b8c8;
  line-height: 1.4;
  margin-bottom: 12px;
}
.podcast-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.podcast-play {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.podcast-play::after {
  content: "";
  width: 0; height: 0;
  border-left: 12px solid var(--white);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.podcast-duration { color: var(--white); font-size: 1rem; }
.podcast-save { color: var(--white); font-size: 0.95rem; display: flex; align-items: center; gap: 4px; opacity: 0.8; }
.podcast-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.podcast-image img { width: 100%; height: 200px; object-fit: cover; }
.podcast-waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 20px 0;
  justify-content: center;
}
.podcast-waveform .bar {
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.podcast-waveform .bar:nth-child(odd) { animation-delay: 0.2s; }
@keyframes wave { 0%,100%{height:8px;opacity:0.4} 50%{height:30px;opacity:1} }
.podcast-spotify {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.95rem;
  opacity: 0.7;
}
.voir-plus-podcast {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  justify-self: end;
}

/* ============================================================
   10. BILLBOARD AD
   ============================================================ */
.billboard-section {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

/* ============================================================
   CLS: Reserve space for below-the-fold sections
   ============================================================ */
.dossiers-section,
.categories-section,
.last-pictures,
.eclairage-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ============================================================
   11. DOSSIERS SECTION
   ============================================================ */
.dossiers-section {
  padding: 0;
  margin-bottom: 0;
}
.dossiers-title-bar {
  background: var(--red);
  text-align: center;
  padding: 12px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}
.dossiers-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
}
.dossier-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}
.dossier-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.6);
}
.dossier-card:hover img { transform: scale(1.05); filter: brightness(0.7); }
.dossier-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.dossier-card h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  text-align: center;
}

/* ============================================================
   12. CATEGORY SECTIONS (Liban, Monde, Economie, Culture, Sports, Sciences)
   ============================================================ */
.categories-section { padding: 40px 0; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}
.category-block {}
.category-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 4px;
  border-bottom: none;
}
.category-header h2 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 1px;
}
.category-header .line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}
.category-header .arrow-icon {
  width: 16px; height: 16px;
  fill: var(--text-secondary);
}

.category-main-article { margin-bottom: 16px; }
.category-main-article img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
  display: block;
}
.category-main-article h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}
.category-main-article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.category-list { display: flex; flex-direction: column; gap: 0; }
.category-list-item {
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition: color var(--transition);
}
.category-list-item:hover { color: var(--red); }

/* ============================================================
   13. ECLAIRAGE (Highlight Article)
   ============================================================ */
.eclairage-section {
  padding: 30px 0;
}
.eclairage-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  max-width: 700px;
}
.eclairage-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.eclairage-card .info {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eclairage-card .tag {
  font-family: var(--font-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  background: var(--red);
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.eclairage-card h3 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-secondary);
}

/* ============================================================
   14. LAST 4 PICTURES (Chiffre, Mot de tete, Sondage, Photo)
   ============================================================ */
.last-pictures {
  padding: 40px 0;
}
.last-pictures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.last-picture-card {
  position: relative;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.last-picture-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: all 0.5s ease;
}
.last-picture-card:hover img { transform: scale(1.05); filter: brightness(0.6); }
.last-picture-card .label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
}
.last-picture-card .label span { color: var(--red); font-weight: 700; }

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  padding: 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 20px;
}
.back-to-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.7;
  cursor: pointer;
}
.back-to-top:hover { opacity: 1; }
.back-to-top .arrow-up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 0.7rem;
}

.footer-logo-bar {
  text-align: center;
  padding: 16px 0 8px;
  border-bottom: 2px solid var(--red);
}
.footer-logo {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.footer-logo .play-ft {
  display: inline-block;
  width: 0; height: 0;
  border-left: 12px solid var(--red);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 24px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-social h4,
.footer-nav h4,
.footer-links h4,
.footer-newsletter h4 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-social .social-icons a svg { fill: var(--white); }
.footer-social .social-icons a:hover svg { fill: var(--white); }
.footer-nav a,
.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
  color: #b0b8c8;
}
.footer-nav a:hover,
.footer-links a:hover { color: var(--white); }

.footer-newsletter .newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #3a4a62;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  border-radius: 0;
}
.newsletter-input::placeholder { color: #6a7a92; }
.newsletter-submit {
  background: var(--red);
  color: var(--white);
  padding: 8px 14px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.newsletter-submit:hover { background: var(--red-hover); }

.footer-bottom {
  text-align: center;
  padding: 14px;
  border-top: 1px solid #2a3a52;
  font-size: 0.875rem;
  color: #6a7a92;
}

/* ============================================================
   MOBILE BOTTOM NAV (visible on mobile only)
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 2px solid var(--red);
  z-index: 500;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--white);
  font-size: 0.65rem;
}
.mobile-bottom-nav a svg { width: 24px; height: 24px; }
.mobile-bottom-nav .bottom-nav-play svg { width: 32px; height: 32px; }

/* ============================================================
   MOBILE HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger-left {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span, .hamburger-left span {
  width: 24px; height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-search-icon {
  display: none;
  color: var(--text-primary);
  padding: 8px;
  justify-self: end;
}
.mobile-connexion-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
  font-size: 0.55rem;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  text-transform: capitalize;
}
.mobile-connexion-btn svg {
  width: 28px; height: 28px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
}

/* Mobile menu header */
.mobile-menu-header {
  display: grid;
  grid-template-columns: 40px 1fr 60px;
  align-items: center;
  padding: 18px 16px 14px;
  min-height: 70px;
}
.mobile-menu-logo {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  letter-spacing: 2px;
  text-decoration: none;
  line-height: 1.2;
}
.mobile-menu-logo-row {
  display: flex;
  align-items: center;
  gap: 3px;
}
.mobile-play-icon {
  display: inline-block;
  width: 0; height: 0;
  border-left: 10px solid var(--red);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin: 0 2px;
}
.mobile-menu-logo-slogan {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.mobile-menu-user {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--white);
  font-size: 0.6rem;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
.mobile-menu-user span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.8);
}

/* Mobile menu theme toggle bar */
.mobile-menu-theme-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--red);
  padding: 6px 0;
}
.mobile-menu-theme-bar .theme-toggle {
  background: rgba(0,0,0,0.25);
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}
.mobile-menu-backdrop.active { display: block; }

/* Mobile menu overlay - side drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 48%;
  max-width: 420px;
  min-width: 280px;
  height: 100vh;
  background: var(--navy);
  z-index: 1000;
  overflow-y: auto;
  padding: 0 0 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu-overlay.active { transform: translateX(0); }
.mobile-menu-close {
  grid-column: 1;
  justify-self: start;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
  line-height: 1;
}
.mobile-menu-close svg {
  width: 22px; height: 22px;
  stroke: var(--white);
  stroke-width: 2.5;
}
.mobile-menu-overlay .mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  flex: 1;
  padding: 10px 16px 0;
}
.mobile-menu-overlay .mobile-nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  margin-bottom: -1px;
  background: transparent;
  transition: background 0.2s ease;
}
.mobile-menu-overlay .mobile-nav-item > a:hover { background: rgba(255,255,255,0.05); }
.mob-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}
.mob-arrow-down {
  font-size: 0.9rem;
}
/* Mobile submenus */
.mobile-submenu {
  display: none;
  list-style: none;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  margin-bottom: -1px;
}
.has-submenu.open .mobile-submenu { display: block; }
.has-submenu.open > a .mob-arrow-down { transform: rotate(180deg); }
.has-submenu.open > a { background: rgba(255,255,255,0.04); border-bottom-color: transparent; }
.mobile-submenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px 11px 24px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-submenu li:last-child a { border-bottom: none; }
/* Mobile menu footer */
.mobile-menu-footer {
  padding: 20px;
  margin-top: auto;
}
.mobile-menu-social { margin-bottom: 16px; }
.mobile-social-label {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.mobile-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mobile-social-icons a svg {
  width: 22px; height: 22px;
  fill: var(--white);
}
.mobile-menu-separator {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 16px 0;
}
.mobile-menu-newsletter h4 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.mobile-menu-newsletter p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.mobile-newsletter-form {
  display: flex;
  gap: 0;
}
.mobile-newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.85rem;
  border-radius: 0;
}
.mobile-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.mobile-newsletter-form button {
  padding: 8px 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* ============================================================
   CONNEXION / INSCRIPTION PANEL
   ============================================================ */
/* Auth panel - always dark navy design */
.auth-overlay {
  position: fixed;
  top: 0; right: -450px;
  width: 420px;
  height: 100vh;
  background: #081a2d;
  z-index: 2000;
  box-shadow: -4px 0 20px rgba(0,0,0,0.4);
  transition: right 0.35s ease;
  overflow-y: auto;
}
.auth-overlay.active { right: 0; }
.auth-overlay-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.auth-overlay-backdrop.active { opacity: 1; visibility: visible; }
.auth-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 2;
  padding: 4px;
  line-height: 1;
}
.auth-close svg {
  width: 26px; height: 26px;
  stroke: #ffffff;
  stroke-width: 2;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
}
.auth-tab {
  flex: 1;
  padding: 18px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}
.auth-tab.active {
  color: #ffffff;
  border-bottom-color: #f40024;
}
.auth-form { padding: 24px 28px; display: none; }
.auth-form.active { display: block; }
.auth-form p.auth-intro {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  line-height: 1.5;
}
.auth-form p.auth-required {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.auth-field {
  margin-bottom: 20px;
}
.auth-field label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f40024;
  margin-bottom: 0;
  text-transform: capitalize;
  padding-left: 14px;
  border-left: 3px solid #f40024;
  line-height: 1.8;
}
.auth-field label .required { color: #f40024; }
.auth-field input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}
.auth-field input:focus { outline: none; border-bottom-color: #f40024; }
.auth-field input::placeholder { color: rgba(255,255,255,0.35); }
.auth-field .field-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.auth-field .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
}
.auth-field .password-toggle svg {
  width: 20px; height: 20px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
}
.auth-field .field-wrapper {
  position: relative;
}
.auth-forgot {
  display: block;
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  text-decoration: none;
}
.auth-forgot:hover { color: rgba(255,255,255,0.8); }
.auth-submit {
  display: block;
  margin: 28px auto 0;
  padding: 12px 40px;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.auth-submit:hover {
  background: #f40024;
  color: #ffffff;
  border-color: #f40024;
}
.auth-checkboxes { margin-bottom: 16px; margin-top: 20px; }
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.auth-checkbox input[type="checkbox"] {
  accent-color: #f40024;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px; height: 16px;
}
.auth-checkbox a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.auth-checkbox a:hover { color: #f40024; }
.auth-password-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

@media (max-width: 480px) {
  .auth-overlay { width: 100%; right: -100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .dossiers-carousel { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .video-side { height: 250px; }
  .liban-bref-cards { grid-template-columns: 1fr; }
  .liban-bref-card { border-right: none; border-bottom: 1px solid var(--border-color); }
}

@media (max-width: 768px) {
  .top-bar .social-icons { display: none; }
  .header-actions { display: none; }
  .hamburger-left { display: flex; }
  .mobile-search-icon { display: none; }
  .mobile-connexion-btn { display: flex; }
  .nav-list { display: none; }
  .main-nav { display: none; }

  .top-bar { padding: 8px 0; }
  .top-bar .container {
    display: grid;
    grid-template-columns: 44px 1fr 56px;
    grid-template-rows: auto;
    align-items: center;
    padding: 0 12px;
    gap: 0;
  }
  .hamburger-left { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; padding: 6px; }
  .logo-area { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; }
  .mobile-connexion-btn { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; }
  .logo-area .logo { font-size: 1.5rem; }
  .logo-area .slogan { font-size: 0.5rem; letter-spacing: 2px; }

  .hero-grid { grid-template-columns: 1fr; }
  .side-articles { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .main-cartouche img { height: 300px; }
  .express-portrait { aspect-ratio: 280/340; }

  .decryptage-grid { grid-template-columns: 1fr; }
  /* decryptage-card uses aspect-ratio: 16/9 — no fixed height override needed */

  .categories-grid { grid-template-columns: 1fr; }
  .dossiers-carousel { grid-template-columns: 1fr 1fr; }

  .podcasts-grid { grid-template-columns: 1fr; }
  .podcast-waveform { display: none; }

  .eclairage-card { grid-template-columns: 1fr; }
  .eclairage-card img { height: 200px; }

  .last-pictures-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .last-picture-card { height: 160px; }

  .footer-content { grid-template-columns: 1fr 1fr; }

  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 70px; }

  .sondage-bar .text { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero-grid { gap: 16px; }
  .main-cartouche img { height: 250px; }
  .main-cartouche h2 { font-size: 1.2rem; }
  .dossiers-carousel { grid-template-columns: 1fr; }
  .last-pictures-grid { grid-template-columns: 1fr; }
  .last-picture-card { height: 140px; }
  .footer-content { grid-template-columns: 1fr; }
  .video-main img { min-height: 220px; }
}

/* ============================================================
   FLOATING BACK TO TOP BUTTON
   ============================================================ */
.floating-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--red);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  font-weight: bold;
}
.floating-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
.floating-top-btn:hover {
  background-color: #c71a1f;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .floating-top-btn {
    bottom: 5.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .floating-top-btn {
    bottom: 5rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}
