/*
Theme Name:  Alsace·AI — Nuit Blanche
Theme URI:   https://alsace.ai
Author:      Alsago67
Author URI:  https://alsago.fr
Description: Thème éditorial sombre pour Alsace·AI — système de design Nuit Blanche.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License:     Proprietary
Text Domain: alsaceai-nuit
Tags:        dark, editorial, news, magazine, custom-menu, featured-images
*/

/* ============================================================
   0. IMPORTS GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Inter+Tight:wght@300..700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ============================================================
   1. DESIGN TOKENS — NIGHT MODE (défaut)
   ============================================================ */
:root,
[data-theme="night"] {
  --ink:       #0A0A0B;
  --paper:     #F4F1EA;
  --bg:        #0A0A0B;
  --surface:   #111113;
  --surface2:  #1A1A1E;
  --border:    rgba(255,255,255,.08);
  --muted:     rgba(255,255,255,.45);
  --text:      #E8E4DC;
  --text-2:    rgba(232,228,220,.65);
  --red:       oklch(0.52 0.22 25);
  --red-hi:    oklch(0.62 0.24 25);

  --f-display:  'Instrument Serif', 'Georgia', serif;
  --f-editorial:'Newsreader', 'Georgia', serif;
  --f-ui:       'Inter Tight', system-ui, sans-serif;
  --f-mono:     'JetBrains Mono', 'Courier New', monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --shadow-card: 0 2px 12px rgba(0,0,0,.5);
  --shadow-hero: 0 8px 40px rgba(0,0,0,.7);
}

[data-theme="day"] {
  --bg:        #F4F1EA;
  --surface:   #EDEAE2;
  --surface2:  #E5E2DA;
  --border:    rgba(0,0,0,.10);
  --muted:     rgba(10,10,11,.45);
  --text:      #0A0A0B;
  --text-2:    rgba(10,10,11,.65);
  --shadow-card: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hero: 0 8px 40px rgba(0,0,0,.15);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--f-ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   3. TIPOGRAPHIE GLOBALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
}

.nb-display {
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -.04em;
}

.nb-kicker {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-hi);
}

/* ============================================================
   4. LAYOUT — CONTENEUR
   ============================================================ */
.nb-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 40px;
}

.nb-container--narrow {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* ============================================================
   5. HEADER STRIP (bandeau superieur)
   ============================================================ */
.nb-header-strip {
  background: var(--red);
  color: #fff;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.nb-header-strip__ticker {
  display: flex;
  gap: 32px;
  overflow: hidden;
}

.nb-header-strip__ticker span { white-space: nowrap; }

.nb-header-strip__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ============================================================
   6. SITE HEADER / NAV
   ============================================================ */
.nb-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nb-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px;
  height: 64px;
}

/* Logo */
.nb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nb-logo img { width: 32px; height: 32px; }

.nb-logo__text {
  font-family: var(--f-ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}

.nb-logo__dot { color: var(--red-hi); }

/* Navigation principale */
.nb-primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nb-primary-nav a {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}

.nb-primary-nav a:hover,
.nb-primary-nav a.current-menu-item {
  color: var(--text);
  background: var(--surface2);
}

/* Header actions */
.nb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nb-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.nb-theme-toggle:hover { border-color: var(--muted); background: var(--surface2); }

.nb-subscribe-btn {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  padding: 8px 20px;
  border-radius: 100px;
  transition: background .15s, transform .1s;
}

.nb-subscribe-btn:hover { background: var(--red-hi); transform: translateY(-1px); }

/* Mobile toggle */
.nb-mobile-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  color: var(--text);
  font-size: 20px;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.nb-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
  padding: 88px 40px 72px;
  max-width: 1280px;
  margin-inline: auto;
  border-bottom: 1px solid var(--border);
}

.nb-hero__content { display: flex; flex-direction: column; gap: 24px; }

.nb-hero__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--text);
}

.nb-hero__excerpt {
  font-family: var(--f-editorial);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 520px;
}

.nb-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--muted);
}

.nb-hero__meta time { color: var(--text-2); }

.nb-hero__image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface2);
}

.nb-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.nb-hero__image:hover img { transform: scale(1.03); }

/* ============================================================
   8. LIVE FEED
   ============================================================ */
.nb-live-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  max-width: 1280px;
  margin-inline: auto;
  padding-block: 48px;
  padding-inline: 40px;
  border-bottom: 1px solid var(--border);
}

.nb-live-section__main { padding-right: 40px; border-right: 1px solid var(--border); }
.nb-live-section__sidebar { padding-left: 40px; }

.nb-section-label {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: 20px;
}

/* ============================================================
   9. STATS BAR
   ============================================================ */
.nb-stats {
  display: flex;
  gap: 48px;
  padding: 32px 40px;
  max-width: 1280px;
  margin-inline: auto;
  border-bottom: 1px solid var(--border);
}

.nb-stat { display: flex; flex-direction: column; gap: 4px; }

.nb-stat__value {
  font-family: var(--f-display);
  font-size: 40px;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}

.nb-stat__label {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   10. PULLQUOTE
   ============================================================ */
.nb-pullquote {
  text-align: center;
  padding: 48px 40px;
  max-width: 900px;
  margin-inline: auto;
}

.nb-pullquote__text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--text);
}

.nb-pullquote__source {
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   11. ARTICLE GRID
   ============================================================ */
.nb-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-top: 56px;
  padding-bottom: 24px;
}

.nb-section-heading h2 {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: -.02em;
}

.nb-section-heading a {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--red-hi);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nb-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

/* Carte article */
.nb-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nb-card__thumb {
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface2);
}

.nb-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.nb-card:hover .nb-card__thumb img { transform: scale(1.04); }

.nb-card__body { display: flex; flex-direction: column; gap: 8px; }

.nb-card__title {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text);
  transition: color .15s;
}

.nb-card:hover .nb-card__title { color: var(--red-hi); }

.nb-card__excerpt {
  font-family: var(--f-editorial);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nb-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.nb-card__meta time { color: var(--text-2); }

/* ============================================================
   12. NEWSLETTER BAND
   ============================================================ */
.nb-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin-inline: auto;
  padding: 64px 40px;
  border-bottom: 1px solid var(--border);
}

.nb-newsletter__heading {
  font-family: var(--f-display);
  font-size: 36px;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.nb-newsletter__sub {
  font-family: var(--f-editorial);
  font-size: 16px;
  color: var(--text-2);
  margin-top: 12px;
  line-height: 1.6;
}

.nb-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nb-newsletter__row {
  display: flex;
  gap: 8px;
}

.nb-newsletter__input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}

.nb-newsletter__input::placeholder { color: var(--muted); }
.nb-newsletter__input:focus { border-color: var(--red-hi); }

.nb-newsletter__submit {
  background: var(--red);
  color: #fff;
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-md);
  transition: background .15s, transform .1s;
  white-space: nowrap;
}

.nb-newsletter__submit:hover { background: var(--red-hi); transform: translateY(-1px); }

.nb-newsletter__note {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--f-ui);
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.nb-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.nb-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 56px 40px 40px;
}

.nb-footer__col-label {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.nb-footer__col p {
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 4px;
}

.nb-footer__col ul li { margin-bottom: 8px; }

.nb-footer__col ul li a {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--text-2);
  transition: color .15s;
}

.nb-footer__col ul li a:hover { color: var(--text); }

.nb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--muted);
}

.nb-footer__bottom a { color: var(--text-2); transition: color .15s; }
.nb-footer__bottom a:hover { color: var(--text); }

/* ============================================================
   14. PAGE ARTICLE
   ============================================================ */
.nb-article-header {
  max-width: 1100px;
  margin-inline: auto;
  padding: 64px 40px 40px;
  text-align: center;
}

.nb-article-header .nb-kicker { margin-bottom: 20px; }

.nb-article-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--text);
  margin-bottom: 24px;
}

.nb-article-subtitle {
  font-family: var(--f-editorial);
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.nb-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--muted);
}

.nb-article-meta time { color: var(--text-2); }
.nb-article-meta .nb-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

.nb-article-featured {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 40px;
}

.nb-article-featured img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* Corps de l article */
.nb-article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 64px;
  font-family: var(--f-editorial);
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
}

/* Image à la une — cadrée (pas full-bleed) */
.nb-featured-image-wrap {
  max-width: 860px;
  margin: 8px auto 4px;
  padding-inline: 40px;
}
.nb-featured-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  display: block;
}
.nb-featured-caption {
  max-width: 860px;
  margin: 8px auto 0;
  padding-inline: 40px;
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.nb-article-body p + p { margin-top: 1.4em; }

/* Mots en gras dans le corps d'article -> rouge */
.nb-article-body strong,
.nb-article-body b { color: var(--red-hi); font-weight: 700; }

.nb-article-body h2 {
  font-family: var(--f-display);
  font-size: 28px;
  margin-top: 2em;
  margin-bottom: .6em;
  letter-spacing: -.02em;
}

.nb-article-body h3 {
  font-family: var(--f-display);
  font-size: 22px;
  margin-top: 1.6em;
  margin-bottom: .5em;
}

.nb-article-body ul,
.nb-article-body ol {
  padding-left: 1.5em;
  list-style: disc;
  margin-block: 1em;
}

.nb-article-body ol { list-style: decimal; }
.nb-article-body li + li { margin-top: .5em; }

.nb-article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 16px 24px;
  margin-block: 2em;
  background: var(--surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.nb-article-body blockquote p { font-style: italic; color: var(--text-2); margin: 0; }

.nb-article-body code {
  font-family: var(--f-mono);
  font-size: .85em;
  background: var(--surface2);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  color: var(--red-hi);
}

.nb-article-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin-block: 1.5em;
}

.nb-article-body pre code {
  background: none; padding: 0;
  color: var(--text); font-size: 14px;
}

.nb-article-body a {
  color: var(--red-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}

.nb-article-body a:hover { color: var(--text); }

.nb-article-body img {
  width: 100%;
  border-radius: var(--r-md);
  margin-block: 2em;
}

.nb-article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 3em;
}

/* Tags */
.nb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 40px;
}

.nb-tag {
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: border-color .15s, color .15s;
}

.nb-tag:hover { border-color: var(--red-hi); color: var(--red-hi); }

/* Articles connexes */
.nb-related {
  max-width: 1280px;
  margin-inline: auto;
  padding: 56px 40px;
  border-top: 1px solid var(--border);
}

.nb-related__heading {
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}

.nb-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ============================================================
   15. PAGE SECTION / ARCHIVE
   ============================================================ */
.nb-section-header {
  padding: 80px 40px 48px;
  max-width: 1280px;
  margin-inline: auto;
  border-bottom: 1px solid var(--border);
}

.nb-section-header h1 {
  font-family: var(--f-display);
  font-size: clamp(56px, 8vw, 110px);
  letter-spacing: -.05em;
  line-height: .95;
  margin-bottom: 24px;
}

.nb-section-desc {
  font-family: var(--f-editorial);
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.nb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.nb-filter {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  transition: all .15s;
}

.nb-filter:hover,
.nb-filter--active { background: var(--red); border-color: var(--red); color: #fff; }

.nb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 40px 40px;
}

.nb-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px;
}

.nb-pagination a,
.nb-pagination span {
  font-family: var(--f-ui);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all .15s;
}

.nb-pagination a:hover { border-color: var(--red-hi); color: var(--red-hi); }
.nb-pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   16. PAGE 404
   ============================================================ */
.nb-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 80px 40px;
}

.nb-404__code {
  font-family: var(--f-display);
  font-size: 160px;
  letter-spacing: -.06em;
  line-height: .9;
  color: var(--surface2);
}

.nb-404 h1 { font-size: 32px; margin-top: 24px; margin-bottom: 16px; }
.nb-404 p { color: var(--text-2); font-family: var(--f-editorial); font-size: 17px; margin-bottom: 32px; }

.nb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 100px;
  transition: background .15s, transform .1s;
}

.nb-btn:hover { background: var(--red-hi); transform: translateY(-1px); }

/* ============================================================
   17. BARRE ROUGE D ACCENT
   ============================================================ */
.nb-accent-bar {
  height: 4px;
  background: var(--red);
  width: 100%;
}

/* ============================================================
   18. RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .nb-hero { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .nb-hero__image { max-height: 360px; }
  .nb-live-section { grid-template-columns: 1fr; padding-inline: 24px; }
  .nb-live-section__main { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .nb-live-section__sidebar { padding-left: 0; padding-top: 32px; }
  .nb-article-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; padding-inline: 24px; }
  .nb-related__grid { grid-template-columns: repeat(2, 1fr); }
  .nb-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-inline: 24px; }
}

/* ============================================================
   19. RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .nb-container { padding-inline: 20px; }
  .nb-header-strip { padding-inline: 20px; font-size: 11px; }
  .nb-site-header__inner { padding-inline: 20px; }
  .nb-primary-nav { display: none; }
  .nb-header-actions .nb-subscribe-btn { display: none; }
  .nb-mobile-toggle { display: flex; }

  .nb-primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    z-index: 99;
    gap: 2px;
  }

  .nb-hero { padding: 40px 20px; }
  .nb-hero__title { font-size: 36px; }
  .nb-article-grid { grid-template-columns: 1fr; padding-inline: 20px; }
  .nb-newsletter { grid-template-columns: 1fr; padding: 40px 20px; }
  .nb-newsletter__row { flex-direction: column; }
  .nb-archive-grid { grid-template-columns: 1fr; padding-inline: 20px; }
  .nb-related__grid { grid-template-columns: 1fr; }
  .nb-footer__grid { grid-template-columns: 1fr; padding-inline: 20px; }
  .nb-footer__bottom { flex-direction: column; text-align: center; padding-inline: 20px; }
  .nb-article-body { font-size: 17px; padding-inline: 20px; }
  .nb-article-header { padding: 40px 20px 24px; }
  .nb-article-featured { padding-inline: 20px; }
  .nb-article-featured img { height: 240px; }
  .nb-section-header { padding: 48px 20px 32px; }
  .nb-stats { flex-wrap: wrap; gap: 24px; padding-inline: 20px; }
  .nb-pullquote { padding-inline: 20px; }
  .nb-section-heading { padding-inline: 20px; }
  .nb-related { padding-inline: 20px; }
  .nb-tags { padding-inline: 20px; }
}

/* ============================================================
   20. WORDPRESS ENTRY-CONTENT OVERRIDES
   ============================================================ */
.entry-content { color: var(--text); }
.wp-block-image img { border-radius: var(--r-md); }
.wp-block-quote { border-left: 3px solid var(--red); background: var(--surface); }
.wp-block-code { font-family: var(--f-mono); background: var(--surface); }
.wp-block-separator { border-color: var(--border); }

/* ============================================================
   21. UTILITAIRES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.nb-divider { border: none; border-top: 1px solid var(--border); margin-block: 0; }

.nb-reading-time {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   22. PATCH — ALIASES CLASSES TEMPLATES
   ============================================================ */

/* Header — make nb-site-header itself a flex row (no __inner in template) */
.nb-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px;
  height: 64px;
}

/* Logo — version mise en valeur */
.nb-site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; transition: transform .2s ease; }
.nb-site-logo:hover { transform: translateY(-1px); }
.nb-site-logo .nb-stork { width: 52px; height: 52px; filter: drop-shadow(0 2px 8px rgba(220,40,40,.35)); transition: filter .25s ease, transform .25s ease; }
.nb-site-logo:hover .nb-stork { filter: drop-shadow(0 3px 12px rgba(220,40,40,.55)); transform: rotate(-3deg); }
.nb-logo-block { display: flex; flex-direction: column; gap: 4px; }
.nb-logo-name { font-family: var(--f-display); font-size: 26px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--text); display: inline-flex; align-items: baseline; }
.nb-logo-name em { font-style: italic; color: var(--red-hi); font-weight: 600; margin-left: 1px; }
.nb-logo-tagline { font-family: var(--f-ui); font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.nb-logo-dot { color: var(--red); display: inline-block; margin: 0 2px; transform: translateY(-2px); font-weight: 700; text-shadow: 0 0 12px rgba(220,40,40,.5); }
.nb-logo em { font-style: normal; color: var(--red-hi); }

/* Site header — accommodate larger logo */
.nb-site-header { min-height: 86px; }

/* Hero aliases */
.nb-hero article { display: flex; flex-direction: column; gap: 20px; }
.nb-hero-title { font-family: var(--f-display); font-size: clamp(36px,5.5vw,72px); line-height: 1.05; letter-spacing: -.035em; color: var(--text); }
.nb-hero-title a { color: inherit; }
.nb-hero-dek { font-family: var(--f-editorial); font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.nb-hero-dek p { margin: 0; }
.nb-hero-meta { display: flex; align-items: center; gap: 16px; font-family: var(--f-ui); font-size: 13px; color: var(--muted); }
.nb-hero-meta time { color: var(--text-2); }
.nb-hero-cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--surface2); }
.nb-hero-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nb-hero-cover-placeholder { width: 100%; height: 100%; background: var(--surface2); }
.nb-author { color: var(--text-2); }

/* Live feed aliases */
.nb-live-feed { padding-right: 40px; border-right: 1px solid var(--border); }
.nb-numbers-aside { padding-left: 40px; }
.nb-live-header { margin-bottom: 20px; }
.nb-live-header h3 { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); }
.nb-live-rule { display: none; }
.nb-live-badge { font-family: var(--f-ui); font-size: 11px; color: var(--muted); }
.nb-brief-item { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--border); }
.nb-brief-time { font-family: var(--f-ui); font-size: 12px; color: var(--muted); }
.nb-brief-text { font-family: var(--f-ui); font-size: 14px; color: var(--text-2); line-height: 1.4; }
.nb-brief-text a { color: inherit; transition: color .15s; }
.nb-brief-text a:hover { color: var(--text); }
.nb-stat-big { font-family: var(--f-display); font-size: 40px; letter-spacing: -.03em; color: var(--text); line-height: 1; }
.nb-stat-accent .nb-stat-big { color: var(--red-hi); }
.nb-stat-unit { font-size: 12px; color: var(--muted); font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .06em; }
.nb-numbers-link { display: block; margin-top: 16px; font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--red-hi); }

/* Pullquote aliases */
.nb-pullquote-section { text-align: center; padding: 48px 40px; max-width: 900px; margin-inline: auto; }
.nb-pullquote-line { display: none; }
.nb-pullquote-text { font-family: var(--f-display); font-style: italic; font-size: clamp(24px,3.5vw,40px); line-height: 1.3; letter-spacing: -.02em; color: var(--text); display: block; }
.nb-pullquote-author { margin-top: 16px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); }

/* Card grid aliases */
.nb-grid-card { display: flex; flex-direction: column; gap: 12px; }
.nb-card-cover { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: var(--surface2); flex-shrink: 0; }
.nb-card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nb-grid-card:hover .nb-card-cover img { transform: scale(1.04); }
.nb-card-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55) 100%); pointer-events: none; z-index: 1; }
.nb-card-tag { position: absolute; top: 10px; right: 10px; z-index: 2; font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 8px; border-radius: 3px; }
.nb-card-cover-placeholder { position: absolute; inset: 0; background: var(--surface2); }
.nb-card-section { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); display: none; }
.nb-card-title { font-family: var(--f-display); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; color: rgba(232,228,220,.96) !important; transition: color .15s; font-weight: 500; }
.nb-grid-card:hover .nb-card-title { color: var(--red-hi) !important; }
.nb-card-dek { font-family: var(--f-editorial); font-size: 14px; line-height: 1.55; color: rgba(232,228,220,.55) !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-card-meta { display: flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-size: 12px; color: var(--muted); margin-top: 4px; }
.nb-grid-card a { text-decoration: none; color: inherit; }
.nb-grid-card a:visited, .nb-grid-card a:active { color: inherit; }

/* Newsletter aliases */
.nb-newsletter-text .nb-newsletter__heading,
.nb-newsletter-text h3 { font-family: var(--f-display); font-size: 36px; letter-spacing: -.03em; line-height: 1.15; }
.nb-newsletter-text h3 em { font-style: italic; color: var(--red-hi); }
.nb-newsletter-text p { font-family: var(--f-editorial); font-size: 16px; color: var(--text-2); margin-top: 12px; line-height: 1.6; }
.nb-newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.nb-newsletter-input-row { display: flex; gap: 8px; }
.nb-newsletter-input-row input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 16px; font-family: var(--f-ui); font-size: 14px; color: var(--text); outline: none; }
.nb-newsletter-input-row input:focus { border-color: var(--red-hi); }
.nb-newsletter-input-row input::placeholder { color: var(--muted); }
.nb-newsletter-note { font-size: 11px; color: var(--muted); font-family: var(--f-ui); }

/* Footer aliases */
.nb-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; max-width: 1280px; margin-inline: auto; padding: 56px 40px 40px; }
.nb-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.nb-footer-tagline { font-family: var(--f-editorial); font-size: 14px; line-height: 1.6; color: var(--text-2); }
.nb-footer-col { display: flex; flex-direction: column; }
.nb-footer-col-title { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.nb-footer-links { display: flex; flex-direction: column; gap: 8px; }
.nb-footer-links a { font-family: var(--f-ui); font-size: 13px; color: var(--text-2); transition: color .15s; }
.nb-footer-links a:hover { color: var(--text); }
.nb-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1280px; margin-inline: auto; padding: 20px 40px; border-top: 1px solid var(--border); font-family: var(--f-ui); font-size: 12px; color: var(--muted); }
.nb-footer-bottom a { color: var(--text-2); transition: color .15s; }

/* Stork img in footer */
.nb-stork-footer { width: 32px; height: 32px; opacity: .4; margin-top: 8px; }

/* Mobile responsive patches */
@media (max-width: 768px) {
  .nb-live-feed { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .nb-numbers-aside { padding-left: 0; padding-top: 32px; }
  .nb-footer-grid { grid-template-columns: 1fr; padding-inline: 20px; }
  .nb-footer-bottom { flex-direction: column; text-align: center; padding-inline: 20px; }
  .nb-newsletter-input-row { flex-direction: column; }
  .nb-pullquote-section { padding-inline: 20px; }
}

/* ============================================================
   23. CONTRASTE TITRE / RESUME CARTES
   ============================================================ */
.nb-card-title,
.nb-card__title {
  color: #FFFFFF;
  font-weight: 500;
}

.nb-card-dek,
.nb-card__excerpt {
  color: rgba(232,228,220,.5);
  font-size: 13px;
}

.nb-card-section,
.nb-card__body > .nb-kicker {
  color: var(--red-hi);
  margin-bottom: 4px;
}

/* Hero title also brighter */
.nb-hero-title a,
.nb-hero__title a {
  color: #FFFFFF;
}

.nb-hero-dek,
.nb-hero__excerpt { color: rgba(232,228,220,.6); }

/* Brief list items clearer */
.nb-brief-text { color: rgba(232,228,220,.75); }
.nb-brief-time { color: var(--red-hi); font-size: 11px; }

/* Archive list */
.nb-archive-list { display: flex; flex-direction: column; gap: 0; max-width: 1280px; margin-inline: auto; padding: 0 40px 40px; }
.nb-archive-item { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--border); }
.nb-archive-item-cover { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: var(--surface2); }
.nb-archive-item-cover a { display: block; width: 100%; height: 100%; }
.nb-archive-item-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-archive-item-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5) 100%); pointer-events: none; z-index: 1; }
.nb-archive-item-cover .nb-card-tag { position: absolute; top: 8px; right: 8px; z-index: 2; }
.nb-archive-item-cover-placeholder { position: absolute; inset: 0; background: var(--surface2); }
.nb-archive-item-section { display: none; }
.nb-archive-item-title { font-family: var(--f-display); font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.nb-archive-item-title a { color: inherit; text-decoration: none; }
.nb-archive-item-title a:hover { color: var(--red-hi); }
.nb-archive-item-dek { font-family: var(--f-editorial); font-size: 15px; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-archive-item-meta { font-family: var(--f-ui); font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Related articles — same look as home grid cards */
.nb-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin-inline: auto; }
.nb-related-card { display: flex; flex-direction: column; gap: 10px; }
.nb-related-card a { text-decoration: none; color: inherit; }
.nb-related-cover { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: var(--surface2); }
.nb-related-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nb-related-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55) 100%); pointer-events: none; z-index: 1; }
.nb-related-card:hover .nb-related-cover img { transform: scale(1.04); }
.nb-related-card .nb-card-tag { position: absolute; top: 10px; right: 10px; z-index: 2; }
.nb-related-section { display: none; }
.nb-related-title { font-family: var(--f-display); font-size: 18px; line-height: 1.2; letter-spacing: -.02em; color: rgba(232,228,220,.96) !important; transition: color .15s; margin-top: 4px; font-weight: 500; }
.nb-related-card a, .nb-related-card a:visited { color: inherit; }
.nb-related-card:hover .nb-related-title { color: var(--red-hi) !important; }

@media (max-width: 980px) {
  .nb-related-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   24. CTAs, Hero CTAs, Triple Promesse, ALSAGO bloc, Article enrichi, Cookie banner
   =========================================================== */

/* Generic CTAs */
.nb-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-md); font-family: var(--f-ui); font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: all .15s ease; cursor: pointer; border: 1px solid transparent; }
.nb-cta--primary { background: var(--red); color: #fff; border-color: var(--red); }
.nb-cta--primary:hover { background: var(--red-hi); border-color: var(--red-hi); transform: translateY(-1px); }
.nb-cta--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.nb-cta--ghost:hover { border-color: var(--red-hi); color: var(--red-hi); }

/* Hero CTAs */
.nb-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Voir tout */
.nb-seeall { max-width: 1280px; margin: 0 auto 64px; padding: 0 40px; display: flex; justify-content: center; }
.nb-seeall .nb-cta { font-size: 15px; padding: 14px 32px; }

/* Pagination */
.nb-pagination { max-width: 1280px; margin: 0 auto 80px; padding: 0 40px; }
.nb-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; justify-content: center; padding: 0; margin: 0; }
.nb-pagination li { margin: 0; }
.nb-pagination a, .nb-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: var(--r-md); font-family: var(--f-ui); font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); color: var(--text-2); transition: all .15s; }
.nb-pagination a:hover { border-color: var(--red-hi); color: var(--red-hi); }
.nb-pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.nb-pagination .dots { border: none; }

/* Header strip — édité par */
.nb-edited-by { color: var(--muted); margin-left: auto; }
.nb-edited-by a { color: var(--red-hi); text-decoration: none; font-weight: 600; }
.nb-edited-by a:hover { text-decoration: underline; }

/* Triple Promesse */
.nb-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 24px auto 64px; padding: 0 40px; }
.nb-triple-card { padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: all .2s ease; }
.nb-triple-card:hover { border-color: var(--red-hi); transform: translateY(-2px); }
.nb-triple-card--accent { background: linear-gradient(135deg, rgba(220,40,40,.08) 0%, transparent 80%); border-color: rgba(220,40,40,.25); }
.nb-triple-num { font-family: var(--f-mono); font-size: 12px; color: var(--red-hi); letter-spacing: .15em; margin-bottom: 16px; }
.nb-triple-card h3 { font-family: var(--f-display); font-size: 22px; line-height: 1.2; color: var(--text); margin-bottom: 10px; letter-spacing: -.02em; }
.nb-triple-card p { font-family: var(--f-editorial); font-size: 14px; line-height: 1.55; color: var(--text-2); margin-bottom: 16px; }
.nb-triple-card a { font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--red-hi); text-decoration: none; }
.nb-triple-card a:hover { text-decoration: underline; }

/* ALSAGO bloc */
.nb-alsago-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; max-width: 1280px; margin: 80px auto; padding: 56px 40px; background: linear-gradient(135deg, rgba(220,40,40,.06) 0%, transparent 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); align-items: center; }
.nb-alsago-text .nb-kicker { color: var(--red-hi); margin-bottom: 12px; }
.nb-alsago-text h2 { font-family: var(--f-display); font-size: 38px; line-height: 1.15; letter-spacing: -.025em; color: var(--text); margin-bottom: 18px; }
.nb-alsago-text p { font-family: var(--f-editorial); font-size: 17px; line-height: 1.55; color: var(--text-2); margin-bottom: 24px; }
.nb-alsago-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-alsago-pillars { display: flex; flex-direction: column; gap: 18px; }
.nb-alsago-pillar { padding: 18px 22px; background: var(--surface); border-left: 3px solid var(--red); border-radius: 0 var(--r-md) var(--r-md) 0; }
.nb-alsago-pillar strong { display: block; font-family: var(--f-display); font-size: 18px; color: var(--text); margin-bottom: 4px; }
.nb-alsago-pillar span { font-family: var(--f-ui); font-size: 13px; color: var(--text-2); }

/* Article — TL;DR */
.nb-tldr { max-width: 720px; margin: 32px auto; padding: 24px 28px; background: var(--surface); border-left: 3px solid var(--red); border-radius: 0 var(--r-md) var(--r-md) 0; }
.nb-tldr__label { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 10px; }
.nb-tldr p { font-family: var(--f-editorial); font-size: 17px; line-height: 1.55; color: var(--text); margin: 0; }

/* Article — Local take */
.nb-local-take { max-width: 720px; margin: 32px auto; padding: 28px 32px; background: linear-gradient(135deg, rgba(220,40,40,.08) 0%, transparent 100%); border: 1px solid rgba(220,40,40,.2); border-radius: var(--r-md); }
.nb-local-take__label { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 12px; }
.nb-local-take__body { font-family: var(--f-editorial); font-size: 16px; line-height: 1.6; color: var(--text); }
.nb-local-take__body p { margin: 0 0 12px; }

/* Article — Sources */
.nb-sources { max-width: 720px; margin: 32px auto; padding: 20px 24px; background: var(--surface2); border-radius: var(--r-md); }
.nb-sources__label { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.nb-sources__body { font-family: var(--f-ui); font-size: 13px; line-height: 1.6; color: var(--text-2); }
.nb-sources__body a { color: var(--red-hi); text-decoration: none; word-break: break-word; }
.nb-sources__body a:hover { text-decoration: underline; }

/* Article — Newsletter inline */
.nb-article-newsletter { max-width: 720px; margin: 32px auto; padding: 18px 24px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--r-md); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.nb-article-newsletter strong { display: block; font-family: var(--f-display); font-size: 16px; color: var(--text); }
.nb-article-newsletter span { font-family: var(--f-editorial); font-size: 14px; color: var(--text-2); }

/* Article — Training CTA */
.nb-article-training-cta { max-width: 720px; margin: 48px auto; padding: 36px 32px; background: linear-gradient(135deg, var(--red) 0%, oklch(0.42 0.20 25) 100%); border-radius: var(--r-md); color: #fff; }
.nb-article-training-cta .nb-kicker { color: rgba(255,255,255,.7); margin-bottom: 8px; }
.nb-article-training-cta h3 { font-family: var(--f-display); font-size: 26px; line-height: 1.2; letter-spacing: -.02em; color: #fff; margin-bottom: 10px; }
.nb-article-training-cta p { font-family: var(--f-editorial); font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); margin-bottom: 20px; }
.nb-article-training-cta .nb-cta--primary { background: #fff; color: var(--red); border-color: #fff; }
.nb-article-training-cta .nb-cta--primary:hover { background: var(--bg); color: #fff; border-color: var(--bg); }

/* Cookie banner */
.nb-cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 720px; margin: 0 auto; z-index: 9999; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 12px 36px rgba(0,0,0,.5); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nb-cookie__text { flex: 1; min-width: 240px; font-family: var(--f-ui); font-size: 13px; line-height: 1.55; color: var(--text-2); }
.nb-cookie__text a { color: var(--red-hi); text-decoration: underline; }
.nb-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.nb-cookie__btn { padding: 8px 16px; border-radius: 6px; font-family: var(--f-ui); font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid; transition: all .15s; }
.nb-cookie__btn--ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.nb-cookie__btn--ghost:hover { color: var(--text); border-color: var(--text-2); }
.nb-cookie__btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.nb-cookie__btn--primary:hover { background: var(--red-hi); border-color: var(--red-hi); }

/* Responsive */
@media (max-width: 980px) {
  .nb-triple { grid-template-columns: 1fr; padding: 0 20px; }
  .nb-alsago-block { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; margin: 48px auto; }
  .nb-alsago-text h2 { font-size: 28px; }
  .nb-archive-item { grid-template-columns: 1fr; }
  .nb-cookie { flex-direction: column; align-items: stretch; }
}
