/* ==========================================================================
   Modern News Portal Template - Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

/* --- Design Tokens & Theme Variables --- */
:root {
  /* Mobile-first responsive font tokens */
  --body-font-size: 17px;
  --body-line-height: 1.8;
  --title-font-size: 28px;
  --subtitle-font-size: 21px;

  /* Color Palette (Light Theme) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-accent: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  
  --accent-red: #da2824;
  --accent-red-hover: #b81e1b;
  --accent-green: #065f46;
  --accent-green-hover: #044b37;
  --accent-gold: #ffbc02;
  --accent-blue: #0284c7;

  /* Typography */
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;

  /* Layout & Spacing */
  --container-max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-sm: 4px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Color Palette (Dark Theme) */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-accent: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;

  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  
  /* Shadows (Dark Theme) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
}

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--body-line-height);
  font-size: var(--body-font-size);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: clip; /* Fix position: sticky in Firefox */
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-red);
  color: #fff;
  padding: 8px 16px;
  z-index: 100000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- Helper Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  color: #fff;
}

.badge-red { background-color: var(--accent-red); }
.badge-green { background-color: var(--accent-green); }
.badge-gold { background-color: var(--accent-gold); color: #111; }
.badge-blue { background-color: var(--accent-blue); }

/* --- Top Header Navigation --- */
.top-header {
  display: none; /* Hide on mobile by default */
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-secondary);
  height: 40px;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.top-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-header__menu {
  display: flex;
  gap: 16px;
}

.top-header__menu a:hover {
  color: var(--accent-red);
}

.top-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-header__socials {
  display: flex;
  gap: 12px;
}

.top-header__socials a {
  opacity: 0.7;
}

.top-header__socials a:hover {
  opacity: 1;
  color: var(--accent-red);
}

/* --- Sticky Navigation Wrapper --- */
.sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-secondary);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* --- Main Header --- */
.main-header {
  background-color: #0b0808;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0; /* Tighter padding on mobile */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Hamburger & Toggle Buttons */
.main-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: flex; /* Visible on mobile by default */
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  padding: 17px 14px; /* WCAG 2.2 touch target size 48x48px */
  box-sizing: content-box;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.theme-toggle-btn {
  font-size: 18px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; /* WCAG 2.2 touch target size 48x48px */
  height: 48px;
  border-radius: 50%;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-accent);
  color: var(--text-primary);
}

.logo-wrapper {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Logo */
.logo {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-red);
}

/* Header Actions */
.main-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  padding: 6px 0;
  border: none;
  border-bottom: 2px solid var(--accent-red);
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.search-input.active {
  width: 180px;
  opacity: 1;
  padding: 6px 10px;
}

.search-btn {
  font-size: 16px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; /* WCAG 2.2 touch target size 48x48px */
  height: 48px;
  border-radius: 50%;
}

.search-btn:hover {
  background-color: var(--bg-accent);
  color: var(--text-primary);
}

.subscribe-btn {
  background-color: var(--accent-gold);
  color: #0f172a;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.subscribe-btn:hover {
  background-color: #e5a902;
  transform: translateY(-1px);
}

.login-btn {
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 600;
  background-color: beige;
}

.login-btn:hover {
  background-color: var(--bg-accent);
}

.main-header__actions .subscribe-btn,
.main-header__actions .login-btn {
  display: none;
}

/* --- Categories Sub-navigation --- */
.categories-nav {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.categories-nav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  gap: 24px;
  padding: 10px 0;
}

.categories-nav__inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.categories-nav__link {
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.categories-nav__link svg {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.categories-nav__link:hover svg {
  transform: scale(1.1);
}

.categories-nav__link:hover,
.categories-nav__link.active {
  color: var(--accent-red);
}

.categories-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: var(--transition);
}

.categories-nav__link:hover::after,
.categories-nav__link.active::after {
  width: 100%;
}

/* --- Mobile Side Drawer Navigation --- */
.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 300px;
  height: 100%;
  background-color: var(--bg-secondary);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  padding: 30px 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  scrollbar-width: none; /* Hide scrollbar for layout cleanliness */
  border-right: 1px solid var(--border-color);
}

.side-drawer::-webkit-scrollbar {
  display: none;
}

.side-drawer.active {
  transform: translateX(0);
}

.side-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.side-drawer__header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-accent);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.side-drawer__close:hover {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  transform: rotate(90deg);
}

.side-drawer__search {
  margin-top: 5px;
}

.drawer-search-form {
  display: flex;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.drawer-search-form:focus-within {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.drawer-search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
}

.drawer-search-submit {
  padding: 0 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-search-submit:hover {
  color: var(--accent-red);
}

.side-drawer__languages {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  padding: 8px 0;
}

.side-drawer__languages .lang-title {
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-options {
  display: flex;
  gap: 6px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

.lang-btn:hover:not(.active) {
  background-color: var(--bg-accent);
  color: var(--text-primary);
}

.side-drawer__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.side-drawer__menu a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--border-radius);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.side-drawer__menu a:hover,
.side-drawer__menu a.active {
  background-color: var(--bg-accent);
  color: var(--accent-red);
  border-left-color: var(--accent-red);
  transform: translateX(4px);
}

.premium-badge {
  background-color: var(--accent-gold);
  color: #0f172a;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}

.side-drawer__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.side-drawer__ctas .subscribe-btn {
  text-align: center;
  width: 100%;
  padding: 12px;
  font-size: 13px;
}

.side-drawer__ctas .login-btn {
  text-align: center;
  width: 100%;
  padding: 12px;
  font-size: 13px;
  background-color: var(--bg-accent);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.side-drawer__ctas .login-btn:hover {
  background-color: var(--border-color);
}

.side-drawer__socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  margin-top: auto; /* Push to bottom if content is short */
}

.side-drawer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.side-drawer__socials a:hover {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.side-drawer__footer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 10px;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Breaking News Banner --- */
.breaking-banner {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.breaking-banner__label {
  background-color: var(--accent-red);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.breaking-banner__ticker {
  display: flex;
  align-items: center;
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.breaking-banner__track {
  display: flex;
  white-space: nowrap;
  gap: 50px;
  padding-left: 20px;
  animation: ticker-animation 25s linear infinite;
}

.breaking-banner__track:hover {
  animation-play-state: paused;
}

.breaking-banner__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0; /* Prevent shrinking in Firefox ticker */
}

.breaking-banner__item::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-red);
  border-radius: 50%;
  display: inline-block;
}

.breaking-banner__item a:hover {
  color: var(--accent-red);
  text-decoration: underline !important;
}

@keyframes ticker-animation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Sticky Social Widgets / Info Banners --- */
.info-banner {
  background: linear-gradient(135deg, #128c7e, #075e54);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 12px 20px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.info-banner--app {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid var(--border-color);
}

.info-banner__content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-banner__icon {
  font-size: 24px;
}

.info-banner__text h4 {
  font-size: 14px;
  font-weight: 700;
}

.info-banner__text p {
  font-size: 12px;
  opacity: 0.9;
}

.info-banner__btn {
  background-color: #fff;
  color: #075e54;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
}

.info-banner--app .info-banner__btn {
  color: #0f172a;
  background-color: var(--accent-gold);
}

.info-banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* --- Hero Layout Section --- */
.hero-section {
  padding: 24px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first: 1 column */
  gap: 20px;
}

/* Large Featured Card */
.hero-featured {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-featured:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-featured__img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--bg-accent);
}

.hero-featured__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-featured:hover .hero-featured__img-wrapper img {
  transform: scale(1.03);
}

.hero-featured__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.hero-featured__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-featured__meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-featured__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-featured__title {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-featured__title a:hover {
  color: var(--accent-red);
}

.hero-featured__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Secondary Hero Column */
.hero-side-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-side-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-side-card:hover {
  border-color: var(--accent-red);
  box-shadow: var(--shadow-md);
}

.hero-side-card__category {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-red);
}

.hero-side-card__title {
  font-family: var(--font-editorial);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-side-card__title a:hover {
  color: var(--accent-red);
}

.hero-side-card__meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Sidebar Override for Secondary Cards */
.sidebar .hero-side-card {
  border: none;
  background: transparent;
  padding: 12px 0;
  box-shadow: none;
  border-bottom: 1px dashed var(--border-color);
  border-radius: 0;
}

.sidebar .hero-side-card:hover {
  box-shadow: none;
  border-color: var(--border-color);
}

.sidebar .hero-side-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* --- Main Layout Grid --- */
.main-layout {
  display: flex;
  flex-direction: column; /* Mobile first: stacked */
  gap: 30px;
  padding-bottom: 30px;
}

/* --- Left Column Elements --- */
.content-area {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Live News Widget */
.live-widget {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-red);
}

.live-widget__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.live-widget__title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-widget__dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-red);
  border-radius: 50%;
  position: relative;
}

.live-widget__dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  animation: live-glow 1.5s infinite ease-out;
}

@keyframes live-glow {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.live-widget__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
}

.live-widget__footer {
  margin-top: 16px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.live-widget__more-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-red);
  letter-spacing: 0.5px;
}

.live-widget__more-btn:hover {
  color: var(--accent-red-hover);
  text-decoration: underline !important;
}

.live-widget__list::-webkit-scrollbar {
  width: 4px;
}

.live-widget__list::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 2px;
}

.live-item {
  display: flex;
  gap: 16px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 14px;
}

.live-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.live-item__time {
  font-weight: 700;
  color: var(--accent-red);
  font-size: 12px;
  white-space: nowrap;
}

.live-item__title {
  font-size: 13.5px;
  font-weight: 600;
}

.live-item__title a:hover {
  color: var(--accent-red);
}

/* Category Sections */
.section-block__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 3px solid var(--accent-green);
  padding-bottom: 0;
  margin-bottom: 20px;
}

.section-block__header--red {
  border-bottom-color: var(--accent-red);
}

.section-block__header--blue {
  border-bottom-color: var(--accent-blue);
}

.section-block__title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background-color: var(--accent-green);
  color: #ffffff !important;
  padding: 8px 16px;
  margin: 0;
  margin-bottom: -3px;
  border-bottom: 3px solid var(--accent-green);
  display: inline-block;
}

.section-block__header--red .section-block__title {
  background-color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

.section-block__header--blue .section-block__title {
  background-color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.section-block__more {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-bottom: 6px;
}

.section-block__more:hover {
  color: var(--accent-red);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first: 1 column */
  gap: 20px;
}

/* Article Cards */
.article-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--text-muted);
}

.article-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-card:hover .article-card__img img {
  transform: scale(1.02);
}

.article-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.article-card__title {
  font-family: var(--font-editorial);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.article-card__title a:hover {
  color: var(--accent-red);
}

.article-card__excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted);
}

/* Video Section / Carousel */
.video-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first: 1 column */
  gap: 16px;
}

.video-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.video-card__thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #000;
  overflow: hidden;
}

.video-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition);
}

.video-card:hover .video-card__thumbnail img {
  transform: scale(1.03);
  opacity: 0.7;
}

.video-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(225, 29, 72, 0.9);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  pointer-events: none;
}

.video-card:hover .video-card__play-btn {
  background-color: var(--accent-red);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card__content {
  padding: 12px;
}

.video-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__title a:hover {
  color: var(--accent-red);
}

/* --- Right Column Elements (Sidebar) --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 992px) {
  .sidebar {
    position: sticky;
    top: 90px; /* AlignÃ© sous le header fixe */
    align-self: start;
  }
}


.sidebar-widget {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.sidebar-widget__title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent-red);
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Redesigned Popular Widget */
.popular-card-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-red); /* Red border like fil info info card */
  border-radius: var(--border-radius-lg);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.popular-card-widget__header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.popular-card-widget__title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular-card-widget__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popular-card-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.popular-card-item__image {
  width: 70px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-accent);
}

.popular-card-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popular-card-item:hover .popular-card-item__image img {
  transform: scale(1.05);
}

.popular-card-item__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.popular-card-item__category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular-card-item__category.text-red { color: var(--accent-red); }
.popular-card-item__category.text-green { color: var(--accent-green); }
.popular-card-item__category.text-blue { color: var(--accent-blue); }
.popular-card-item__category.text-gold { color: var(--accent-gold); }

.popular-card-item__title {
  font-family: var(--font-editorial);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.popular-card-item__title a {
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.popular-card-item__title a:hover {
  color: var(--accent-red);
}

.popular-card-item__meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.popular-card-item__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.popular-card-item__meta svg {
  stroke: var(--text-muted);
}


/* Weather Widget */
.weather-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weather-widget__left h3 {
  font-size: 20px;
  font-weight: 700;
}

.weather-widget__left p {
  font-size: 12px;
  color: var(--text-secondary);
}

.weather-widget__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weather-widget__icon {
  font-size: 32px;
}

.weather-widget__temp {
  font-size: 24px;
  font-weight: 800;
}

/* --- Footer --- */
.main-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 20px;
  border-top: 5px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first: 1 column */
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col__title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-red);
}

.footer-col__text {
  font-size: 13px;
  line-height: 1.6;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-col__links a {
  color: #94a3b8;
}

.footer-col__links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--border-radius);
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.newsletter-form button {
  background-color: var(--accent-red);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 10px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.newsletter-form button:hover {
  background-color: var(--accent-red-hover);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.footer-bottom__copy {
  color: #64748b;
}

.footer-bottom__links {
  display: flex;
  gap: 16px;
}

.footer-bottom__links a:hover {
  color: #fff;
}


/* ==========================================================================
   Advertisement Banner Slots
   ========================================================================== */
.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  padding: 10px;
  background-color: var(--bg-accent);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius);
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.ad-slot__label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.ad-slot__placeholder {
  background-color: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 11px;
  max-width: 100%;
}

.ad-slot--top .ad-slot__placeholder {
  width: 320px;
  height: 100px;
}

.ad-slot--sidebar .ad-slot__placeholder {
  width: 300px;
  height: 250px;
  margin: 0 auto;
}

.ad-slot__size {
  display: none;
}

.ad-slot__size--mobile {
  display: block;
}

/* ==========================================================================
   Tactile Pagination Widget
   ========================================================================== */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px auto 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  flex-wrap: wrap;
}

.pagination__item {
  list-style: none;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px; /* Touch target minimum (WCAG 2.2) */
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: var(--bg-secondary);
}

.pagination__link:hover:not(.disabled):not(.active) {
  background-color: var(--bg-accent);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.pagination__link.active {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

.pagination__link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination__link--ellipsis {
  border: none;
  pointer-events: none;
  background: transparent;
}

/* --- Video Modal Popup --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.video-modal__container {
  position: relative;
  width: 95%;
  max-width: 800px;
  background-color: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 3001;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal__container {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 3002;
  transition: var(--transition);
}

.video-modal__close:hover {
  color: var(--accent-red);
}

.video-modal__body {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-modal__body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Multi-Category Bottom Grid (genericbottom) --- */
#genericbottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.divTopPlusLus {
  display: flex;
  flex-direction: column;
}

.divTopPlusLus3 {
  border-bottom: 3px solid var(--accent-green);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
}

.divTopPlusLus:nth-child(3n+1) .divTopPlusLus3 {
  border-bottom-color: var(--accent-red);
}
.divTopPlusLus:nth-child(3n+2) .divTopPlusLus3 {
  border-bottom-color: var(--accent-green);
}
.divTopPlusLus:nth-child(3n) .divTopPlusLus3 {
  border-bottom-color: var(--accent-blue);
}

.sideCategoryTitle {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff !important;
  background-color: var(--accent-green);
  padding: 8px 16px;
  margin: 0;
  margin-bottom: -3px;
  border-bottom: 3px solid var(--accent-green);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Alternate colors for visual appeal */
.divTopPlusLus:nth-child(3n+1) .sideCategoryTitle {
  background-color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}
.divTopPlusLus:nth-child(3n+2) .sideCategoryTitle {
  background-color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}
.divTopPlusLus:nth-child(3n) .sideCategoryTitle {
  background-color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.popularpostsshow {
  display: flex;
  flex-direction: column;
}

.popularpostsshow article {
  margin-bottom: 16px;
}

.popularpostsshow article .imge-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 10px;
  background-color: var(--bg-accent);
}

.popularpostsshow article .imge-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.popularpostsshow article:hover .imge-wrapper img {
  transform: scale(1.02);
}

.popularpostsshow article h2 {
  font-family: var(--font-editorial);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.popularpostsshow article h2:hover {
  color: var(--accent-red);
}

/* Secondary stories vertical stack */
.popularpostsshow .secondUneFloat {
  border-top: 1px dashed var(--border-color);
  padding: 12px 0;
}

.popularpostsshow .secondUneFloat:last-child {
  border-bottom: none;
}

.popularpostsshow .secondUneFloat h2 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-secondary);
}

.popularpostsshow .secondUneFloat h2:hover {
  color: var(--accent-red);
}

/* Premium Icons */
.premium-svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
  margin-top: -2px;
}

/* Video Indicators in Image Figure */
.popularpostsshow .imge-wrapper .ico_video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(225, 29, 72, 0.9);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.popularpostsshow article:hover .imge-wrapper .ico_video {
  background-color: var(--accent-red);
  transform: translate(-50%, -50%) scale(1.1);
}

.popularpostsshow .imge-wrapper .ico_video::before {
  content: 'â–¶';
  margin-left: 2px;
}

/* --- Editorial Slider --- */
.revue-presse-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.revue-presse-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 5px;
}

.revue-presse-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.revue-cell {
  flex: 0 0 85%; /* Mobile default: showing overlap for touch scrolling indication */
  scroll-snap-align: start;
  aspect-ratio: 3/4;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #000;
  border: 1px solid var(--border-color);
  cursor: zoom-in;
  transition: var(--transition);
}

.revue-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.revue-cell:hover img {
  transform: scale(1.03);
}

/* Slider control buttons */
.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-control-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.slider-control-btn:hover {
  background-color: var(--bg-accent);
  border-color: var(--text-muted);
}

/* --- Fullscreen Image Modal Popup --- */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.image-modal__container {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  z-index: 4001;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-modal.active .image-modal__container {
  transform: scale(1);
}

.image-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 4002;
  transition: var(--transition);
}

.image-modal__close:hover {
  color: var(--accent-red);
}

.image-modal__container img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.partenaire {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  border-top: 3px solid var(--accent-red);
  padding-top: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
  color: var(--text-primary);
}


/* ==========================================================================
   Breadcrumbs Styles
   ========================================================================== */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--accent-red);
}

/* ==========================================================================
   Article Detail Page Styles (single.html)
   ========================================================================== */
.article-header {
  margin-bottom: 25px;
}

.article-header .badge {
  margin-bottom: 12px;
}

.article-title {
  font-family: var(--font-editorial);
  font-size: var(--title-font-size);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.article-subtitle {
  font-size: var(--subtitle-font-size);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.author-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.author-meta__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-accent);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 14px;
  color: var(--text-primary);
}

.article-date {
  font-size: 12px;
  color: var(--text-muted);
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.share-facebook { background-color: #1877f2; }
.share-facebook:hover { background-color: #166fe5; transform: translateY(-1px); }
.share-twitter { background-color: #1da1f2; }
.share-twitter:hover { background-color: #1a91da; transform: translateY(-1px); }
.share-whatsapp { background-color: #25d366; }
.share-whatsapp:hover { background-color: #21b858; transform: translateY(-1px); }

/* Featured Media */
.featured-media {
  margin: 0 0 30px 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-accent);
}

.featured-media img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.featured-media figcaption {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

/* Article Content Reading Styles */
.article-content {
  font-family: var(--font-editorial);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 750px;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content p.lead {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-primary);
}

.article-content h2 {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-content blockquote {
  border-left: 4px solid var(--accent-red);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 20px;
  color: var(--text-secondary);
  background-color: var(--bg-accent);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-content blockquote p {
  margin-bottom: 0;
}

.article-content blockquote cite {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: normal;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.tags-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.tag-item {
  background-color: var(--bg-accent);
  color: var(--text-secondary);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.tag-item:hover {
  background-color: var(--accent-red);
  color: #fff;
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.author-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-accent);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.author-bio-details h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-bio-details p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.author-all-posts {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
}

.author-all-posts:hover {
  color: var(--accent-red-hover);
}

/* Article Gallery Carousel */
.article-gallery-section {
  margin: 40px 0;
}

.article-gallery-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: var(--accent-red) var(--bg-secondary);
  padding-bottom: 12px;
}

.article-gallery::-webkit-scrollbar {
  height: 6px;
}

.article-gallery::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.article-gallery::-webkit-scrollbar-thumb {
  background-color: var(--accent-red);
  border-radius: 4px;
}

.gallery-item {
  scroll-snap-align: start;
  flex: 0 0 85%;
  max-width: 600px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--bg-secondary);
}

@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 60%;
  }
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 400px;
}

/* Comments Section */
.comments-section {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.comment-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-item:nth-child(2n) .comment-avatar {
  background-color: var(--accent-blue);
}

.comment-content {
  flex-grow: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comment Form */
.comment-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.comment-form h3 {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.comment-form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-ui);
  font-size: 14px;
  background-color: var(--bg-accent);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-red);
  background-color: var(--bg-secondary);
}

.comment-form .submit-btn {
  background-color: var(--accent-red);
  color: #fff;
  padding: 12px 24px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.comment-form .submit-btn:hover {
  background-color: var(--accent-red-hover);
}

/* Related Posts Section */
.related-posts {
  margin: 40px 0;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.related-posts__title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.related-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.related-card__image {
  aspect-ratio: 16/9;
  background-color: var(--bg-accent);
  overflow: hidden;
}

.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover .related-card__image img {
  transform: scale(1.03);
}

.related-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-card__body .badge {
  align-self: flex-start;
  margin-bottom: 10px;
}

.related-card__title {
  font-family: var(--font-editorial);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
  flex-grow: 1;
}

.related-card__title a {
  color: var(--text-primary);
}

.related-card__title a:hover {
  color: var(--accent-red);
}

.related-card__meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Category Page Styles (category.html)
   ========================================================================== */
.category-header {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.category-header .breadcrumbs {
  margin-bottom: 12px;
}

.category-title {
  font-family: var(--font-editorial);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: capitalize;
}

.category-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 800px;
}

/* Featured Category Article Layout */
.featured-category-article {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-category-article:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.featured-category-image {
  position: relative;
  aspect-ratio: 16/9;
  background-color: var(--bg-accent);
}

.featured-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-category-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-category-body .badge {
  align-self: flex-start;
  margin-bottom: 12px;
}

.featured-category-body h2 {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.featured-category-body h2 a:hover {
  color: var(--accent-red);
}

.featured-category-body .excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.featured-category-body .article-meta-info {
  font-size: 12px;
  color: var(--text-muted);
}

/* Category Articles List */
.category-articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.category-article-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-article-card .card-image {
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--bg-accent);
}

.category-article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-article-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-article-card .card-body .badge {
  align-self: flex-start;
  margin-bottom: 10px;
}

.category-article-card h3 {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.category-article-card h3 a:hover {
  color: var(--accent-red);
}

.category-article-card .excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.category-article-card .article-meta-info {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Notification Alert Bar (notifContent) --- */
.notifContent {
  background-color: var(--accent-red, #dc2626);
  color: #ffffff;
  border-radius: var(--border-radius, 8px);
  padding: 12px 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.notifContentMiddle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.flshInfoLabel {
  background-color: #ffffff;
  color: var(--accent-red, #dc2626);
  font-family: var(--font-ui), sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  animation: pulse-alert 2s infinite;
}

.notifContentMiddle a {
  color: #ffffff;
  font-family: var(--font-ui), sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.2s ease;
  flex-grow: 1;
}

.notifContentMiddle a:hover {
  text-decoration: underline;
  opacity: 0.95;
}

@keyframes pulse-alert {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); background-color: #fff; }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Progressive Mobile-First Responsive Breakpoints
   ========================================================================== */

/* 1. Small Smartphones Landscape (min-width: 576px) */
@media (min-width: 576px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .side-drawer {
    width: 320px;
  }

  .revue-cell {
    flex: 0 0 calc((100% - 16px) / 2); /* 2 columns carousel */
  }
}

/* 2. Tablets Portrait (min-width: 768px) */
@media (min-width: 768px) {
  .logo {
    font-size: 28px;
  }
  
  .top-header {
    display: flex;
  }
  
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  #genericbottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 40px;
  }
  
  .ad-slot--top .ad-slot__placeholder {
    width: 468px;
    height: 60px;
  }
  
  .ad-slot__size--mobile {
    display: none;
  }
  
  .ad-slot__size--tablet {
    display: block;
  }
  
  .revue-cell {
    flex: 0 0 calc((100% - 32px) / 3); /* 3 columns carousel */
  }

  .video-modal__container {
    width: 90%;
  }

  .video-modal__close {
    top: -40px;
    right: 0;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 32px;
  }

  .image-modal__close {
    top: -40px;
    right: -10px;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 36px;
  }

  /* Related, Form & Category Row Layouts */
  .form-row {
    flex-direction: row;
  }
  
  .form-row .form-group {
    flex: 1;
  }

  .featured-category-article {
    flex-direction: row;
  }
  
  .featured-category-image {
    flex: 0 0 50%;
    aspect-ratio: auto;
  }
  
  .featured-category-body {
    flex: 1;
  }
  
  .category-article-card {
    flex-direction: row;
    padding: 20px;
  }
  
  .category-article-card .card-image {
    flex: 0 0 240px;
    height: 160px;
    aspect-ratio: auto;
  }
  
  .category-article-card .card-body {
    flex: 1;
    justify-content: center;
  }

  .related-posts__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 3. Laptops / Small Desktops (min-width: 992px) */
@media (min-width: 992px) {
  .main-header {
    padding: 15px 0;
  }

  .hamburger-btn {
    display: none; /* Hide drawer toggle on large viewports */
  }
  
  .main-header__actions .subscribe-btn,
  .main-header__actions .login-btn {
    display: inline-block;
  }
  
  .hero-grid {
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 45px;
  }
  
  .main-layout {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 30px;
  }
  
  #genericbottom {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 40px;
  }
  
  .ad-slot--top .ad-slot__placeholder {
    width: 728px;
    height: 90px;
  }
  
  .ad-slot__size--tablet {
    display: none;
  }
  
  .ad-slot__size--desktop {
    display: block;
  }
  
  .revue-cell {
    flex: 0 0 calc((100% - 48px) / 4); /* 4 columns carousel */
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* 4. Large Desktops & Reading Length Optimization (min-width: 1200px) */
@media (min-width: 1200px) {
  :root {
    --body-font-size: 19px;
    --title-font-size: 34px;
    --subtitle-font-size: 22px;
  }
}

/* 5. Ultra-wide screens (min-width: 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }
}

/* --- Search Suggestions Autocomplete --- */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm, 6px);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  display: none;
  padding: 8px 0;
  margin-top: 4px;
}

.search-suggestions.active {
  display: block;
}

.suggestion-item {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: background-color 0.2s ease;
  text-align: left;
}

.suggestion-item:hover {
  background-color: var(--bg-accent);
  color: var(--accent-red);
}

/* ==========================================================================
   Focus, Ã‰dito & Factuel Section Styles
   ========================================================================== */
.focus-section {
  font-family: var(--font-ui), sans-serif;
  margin-top: 30px;
}

/* Focus Block */
.focus-block {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.focus-block__img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.focus-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.focus-block:hover .focus-block__img {
  transform: scale(1.05); /* Slight zoom on hover */
}

.focus-block__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.focus-block__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-weight: 700;
  z-index: 2;
}

.focus-block__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.focus-block__meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.focus-block__title {
  font-family: var(--font-editorial), serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.focus-block__title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.focus-block__title a:hover {
  color: var(--accent-red); /* Title changes color on hover */
}

.focus-block__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.focus-block__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.focus-block__author {
  font-weight: 700;
  color: var(--text-secondary);
}

.focus-block__stats {
  display: flex;
  gap: 12px;
}

/* Ã‰dito Block */
.edito-block {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.edito-block__quote-bg {
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--border-color);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.edito-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.edito-block__badge {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.edito-block__date {
  font-size: 12px;
  color: var(--text-muted);
}

.edito-block__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.edito-block__author-name {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.edito-block__author-title {
  font-size: 11.5px;
  color: var(--text-muted);
}

.edito-block__title {
  font-family: var(--font-editorial), serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.edito-block__title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.edito-block__title a:hover {
  color: var(--accent-red);
}

.edito-block__excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.edito-block__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.edito-block__link:hover {
  color: var(--accent-red-hover);
  gap: 8px;
}

/* Factuel Block */
.factuel-block {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.factuel-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent-red);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.factuel-block__title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--text-primary);
}

.factuel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.factuel-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.factuel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.factuel-item__time {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
}

.factuel-item__link {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.factuel-item__link:hover {
  color: var(--accent-red);
}

/* --- Focus/Edito Featured Card Overlay --- */
.focus-featured {
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
  overflow: hidden;
}

.focus-featured .hero-featured__img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 250px;
  aspect-ratio: 16/9 !important;
}

.focus-featured .hero-featured__img-wrapper img {
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.edito-block__quote-bg {
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--border-color);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.edito-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.edito-block__badge {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.edito-block__date {
  font-size: 12px;
  color: var(--text-muted);
}

.edito-block__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.edito-block__author-name {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.edito-block__author-title {
  font-size: 11.5px;
  color: var(--text-muted);
}

.edito-block__title {
  font-family: var(--font-editorial), serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.edito-block__title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.edito-block__title a:hover {
  color: var(--accent-red);
}

.edito-block__excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
}

.edito-block__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.edito-block__link:hover {
  color: var(--accent-red-hover);
  gap: 8px;
}

/* Factuel Block */
.factuel-block {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.factuel-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent-red);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.factuel-block__title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--text-primary);
}

.factuel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.factuel-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.factuel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.factuel-item__time {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
}

.factuel-item__link {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.factuel-item__link:hover {
  color: var(--accent-red);
}

/* --- Focus/Edito Featured Card Overlay --- */
.focus-featured {
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
  overflow: hidden;
}

.focus-featured .hero-featured__img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 250px;
  aspect-ratio: 16/9 !important;
}

.focus-featured .hero-featured__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-featured .hero-featured__content {
  position: static;
  padding: 20px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  box-sizing: border-box;
}

.focus-featured .hero-featured__title a {
  color: var(--text-primary) !important;
}

.focus-featured .hero-featured__title a:hover {
  color: var(--accent-red) !important;
}

.focus-featured .hero-featured__excerpt {
  color: var(--text-secondary) !important;
  font-size: 14px;
}

.focus-featured .hero-featured__meta,
.focus-featured .hero-featured__meta-item {
  color: var(--text-muted) !important;
}

/* --- Magazine Cover Card in Édito --- */
.edito-block__magazine-wrapper {
  width: 100%;
  max-width: 180px;
  margin: 15px auto;
  aspect-ratio: 3/4;
  border-radius: var(--border-radius-sm, 4px);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edito-block__magazine-wrapper:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.edito-block__magazine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Dropdown Nav --- */
.nav-item-dropdown { position: relative; display: flex; align-items: center; }
.nav-item-dropdown:hover .nav-dropdown-menu { display: block; opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-secondary); border: 1px solid var(--border-color); border-top: 2px solid var(--accent-red); box-shadow: var(--shadow-md); min-width: 200px; z-index: 1000; padding: 10px 0; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.nav-dropdown-link { display: block; padding: 8px 20px; font-size: 13px; font-weight: 500; color: var(--text-primary); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-dropdown-link:hover { background: rgba(0,0,0,0.05); color: var(--accent-red); text-decoration: none; }
[data-theme="dark"] .nav-dropdown-link:hover { background: rgba(255,255,255,0.05); }
