/* ============================================================
   ION — L'info qui compte | Portail d'information français
   Style éditorial moderne — marine, rouge, or
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand:        #1a2744;
  --brand-light:  #243560;
  --accent:       #c41e3a;
  --accent-dark:  #a01830;
  --gold:         #d4af37;
  --text:         #1a1a2e;
  --muted:        #6b7280;
  --border:       #e8ecf0;
  --bg:           #f5f6f9;
  --surface:      #ffffff;
  --white:        #ffffff;
  --card-shadow:  0 1px 4px rgba(0,0,0,.07), 0 6px 16px rgba(0,0,0,.06);
  --radius:       8px;
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --cat-culture:      #7c3aed;
  --cat-technologie:  #0891b2;
  --cat-finances:     #059669;
  --cat-sante:        #dc2626;
  --cat-art-de-vivre: #d97706;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--brand);
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  letter-spacing: .2px;
  padding: 0;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,.75); transition: color .15s; }
.top-bar a:hover { color: var(--gold); text-decoration: none; }
.top-bar-date { display: flex; align-items: center; gap: 6px; }
.top-bar-date::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
  letter-spacing: -1px;
}
.logo span { color: var(--accent); }
.logo-tagline {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: block;
  margin-top: -4px;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 7px 13px;
  border-radius: 6px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--brand);
  transition: background .15s, color .15s;
  letter-spacing: .1px;
}
.main-nav a:hover { background: var(--bg); color: var(--accent); text-decoration: none; }
.main-nav a.active { color: var(--accent); }

.header-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  transition: background .15s !important;
}
.header-cta:hover { background: var(--accent-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: .3s;
}

/* ── READING PROGRESS ────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  width: 0;
  z-index: 9999;
  transition: width .1s;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TICKER ──────────────────────────────────────────────── */
.ticker-bar {
  background: var(--accent);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 0;
  overflow: hidden;
}
.ticker-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker-label {
  background: var(--white);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  gap: 40px;
  animation: tickerScroll 38s linear infinite;
  white-space: nowrap;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track span { opacity: .9; }
.ticker-track span::before { content: '· '; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero-section {
  background: var(--bg);
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 24px;
  align-items: start;
}
.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--white);
}
.hero-main img { width: 100%; height: 380px; object-fit: cover; }
.hero-main-content { padding: 22px 26px 26px; }
.hero-main h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
}
.hero-main h2 a:hover { color: var(--accent); text-decoration: none; }
.hero-main p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 110px 1fr;
  transition: transform .2s;
}
.side-card:hover { transform: translateY(-2px); }
.side-card img { width: 110px; height: 95px; object-fit: cover; }
.side-card-content { padding: 12px 14px; }
.side-card h3 {
  font-family: var(--font-serif);
  font-size: .95rem;
  line-height: 1.3;
  color: var(--text);
}
.side-card h3 a:hover { color: var(--accent); text-decoration: none; }

/* ── CATEGORY TAG ────────────────────────────────────────── */
.category-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
  color: var(--white);
  background: var(--accent);
}
.category-tag.culture      { background: var(--cat-culture); }
.category-tag.technologie  { background: var(--cat-technologie); }
.category-tag.finances     { background: var(--cat-finances); }
.category-tag.sante        { background: var(--cat-sante); }
.category-tag.art-de-vivre { background: var(--cat-art-de-vivre); }

/* ── SECTION TITLE ───────────────────────────────────────── */
.section-title {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .3px;
}
.section-title a:hover { text-decoration: underline; }

/* ── ARTICLES LAYOUT ─────────────────────────────────────── */
.articles-section { padding: 40px 0; }
.articles-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.article-card img { width: 100%; height: 185px; object-fit: cover; }
.article-card-body { padding: 16px 18px; }
.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
}
.article-card h3 a:hover { color: var(--accent); text-decoration: none; }
.article-card p { color: var(--muted); font-size: .87rem; line-height: 1.55; }
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.widget-title {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--brand);
  padding: 12px 18px;
}
.widget-body { padding: 16px 18px; }
.subscribe-widget { border-top: 3px solid var(--accent); }
.subscribe-widget .widget-title { background: var(--accent); }
.subscribe-widget p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }

.inline-sub-form { display: flex; flex-direction: column; gap: 8px; }
.sub-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .87rem;
  outline: none;
  transition: border-color .15s;
}
.sub-input:focus { border-color: var(--accent); }
.sub-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.sub-btn:hover { background: var(--accent-dark); }

.popular-list { list-style: none; }
.popular-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.popular-list li:last-child { border-bottom: none; }
.popular-num {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 20px;
}
.popular-list a { color: var(--text); font-weight: 500; line-height: 1.4; }
.popular-list a:hover { color: var(--accent); text-decoration: none; }

/* ── SECTION HERO ─────────────────────────────────────────── */
.section-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: var(--white);
  padding: 40px 0;
}
.section-hero h1 { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 10px; }
.section-hero p { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 600px; }

/* ── SECTION GRID ─────────────────────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}

/* ── ARTICLE PAGE ─────────────────────────────────────────── */
.article-page { padding: 36px 0; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

.article-header { margin-bottom: 32px; }
.article-header h1 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1.22;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -.3px;
}
.standfirst {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #374151;
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 22px;
  font-weight: 400;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .85rem;
  color: var(--muted);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}
.article-featured-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 24px 0 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.image-caption {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
  font-style: italic;
  line-height: 1.5;
}

/* ── ARTICLE CONTENT TYPOGRAPHY ───────────────────────────── */
.article-content {
  font-size: 1.06rem;
  line-height: 1.84;
  color: #1e2030;
}
.article-content > p:first-child {
  font-size: 1.08rem;
  color: #2d3545;
}
.article-content p { margin-bottom: 20px; }
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.52rem;
  color: var(--brand);
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
  letter-spacing: -.2px;
}
.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--accent);
}
.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--text);
  margin: 28px 0 12px;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(196,30,58,.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
.article-content a:hover { text-decoration-color: var(--accent); }
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-content strong { color: var(--text); font-weight: 700; }
.article-content blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: #374151;
  border-left: 4px solid var(--accent);
  padding: 14px 20px;
  margin: 28px 0;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── PULL QUOTE ───────────────────────────────────────────── */
.pullquote {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-style: italic;
  line-height: 1.52;
  color: var(--brand);
  background: linear-gradient(135deg, #f8f9fd 0%, #fff 100%);
  border-left: 5px solid var(--accent);
  padding: 22px 28px;
  margin: 34px 0;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  position: relative;
}
.pullquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  opacity: .18;
  position: absolute;
  top: -8px;
  left: 12px;
  line-height: 1;
  font-style: normal;
}

/* ── STATS ROW ────────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.stat-card {
  flex: 1;
  min-width: 120px;
  background: var(--brand);
  color: var(--white);
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
}
.stat-card .num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .lbl {
  font-size: .78rem;
  opacity: .85;
  line-height: 1.45;
}

/* ── ARTICLE FIGURE ───────────────────────────────────────── */
.article-figure {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.article-figure img { width: 100%; height: 340px; object-fit: cover; display: block; }
.article-figure figcaption {
  background: var(--bg);
  color: var(--muted);
  font-size: .78rem;
  font-style: italic;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 700px) { .article-figure img { height: 210px; } }

/* ── INFO BOX ────────────────────────────────────────────── */
.info-box {
  background: #fff8f5;
  border: 1px solid #fddbc7;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
  position: relative;
}
.info-box h3 {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  margin-bottom: 12px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-box h3::before { content: 'ℹ'; font-size: 1rem; color: var(--accent); font-family: var(--font-sans); }
.info-box ul { padding-left: 20px; margin: 0; }
.info-box li { margin-bottom: 8px; font-size: .92rem; line-height: 1.6; }

.tip-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 5px solid #22c55e;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.tip-box h3 {
  color: #15803d;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-box h3::before { content: '✓'; font-size: 1rem; color: #22c55e; font-family: var(--font-sans); font-weight: 700; }
.tip-box ul { padding-left: 20px; margin: 0; }
.tip-box li { font-size: .92rem; margin-bottom: 8px; line-height: 1.6; }

/* ── TABOOLA CONTAINERS ───────────────────────────────────── */
.taboola-mid-article {
  margin: 36px 0;
  min-height: 100px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.taboola-below-article {
  margin: 32px 0 8px;
  min-height: 250px;
  border-top: 2px solid var(--border);
  padding-top: 8px;
}

/* ── COMPARISON TABLE ────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: .9rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.comparison-table th {
  background: var(--brand);
  color: var(--white);
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.comparison-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table tr:hover td { background: #fef0f0; }

/* ── PAYWALL ─────────────────────────────────────────────── */
.paywall-overlay { margin: 28px 0 24px; }
.paywall-blur {
  max-height: 120px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  pointer-events: none;
}
.paywall-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--card-shadow);
  margin-top: -10px;
}
.lock-icon { font-size: 2.2rem; margin-bottom: 12px; }
.paywall-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text);
}
.paywall-box > p { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }

.plans-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.plan-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 120px;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  text-align: center;
}
.plan-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.plan-card.popular {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fff5f5, #fff);
  position: relative;
}
.plan-card.popular::before {
  content: 'Populaire';
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 3px 10px;
  border-radius: 20px;
}
.plan-name { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.plan-price { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--text); }
.plan-period { font-size: .75rem; color: var(--muted); }

.btn-subscribe {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.btn-subscribe:hover { background: var(--accent-dark); }

/* ── SHARE BAR ───────────────────────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  flex-wrap: wrap;
}
.share-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.share-btn {
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.share-btn:hover { opacity: .85; }
.share-btn.fb { background: #1877f2; color: #fff; }
.share-btn.tw { background: #000; color: #fff; }
.share-btn.wa { background: #25d366; color: #fff; }
.share-btn.copy { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: -120px; left: 0; right: 0;
  background: var(--brand);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 5000;
  transition: bottom .4s ease;
  font-size: .87rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner.visible { bottom: 0; }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-accept:hover { background: var(--accent-dark); }
.btn-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .85rem;
  cursor: pointer;
}
.btn-decline:hover { border-color: rgba(255,255,255,.6); color: var(--white); }


/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--brand);
  color: rgba(255,255,255,.8);
  padding: 50px 0 0;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo { color: var(--white); margin-bottom: 6px; font-size: 1.6rem; }
.footer-brand .logo span { color: var(--gold); }
.footer-brand .logo-tagline { color: rgba(255,255,255,.45); }
.footer-brand p { font-size: .87rem; line-height: 1.65; color: rgba(255,255,255,.65); margin-top: 12px; }
.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .87rem; transition: color .15s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--white); text-decoration: none; }

/* ── STATIC PAGES ─────────────────────────────────────────── */
.static-page { padding: 50px 0; max-width: 820px; }
.static-page h1 { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 26px; }
.static-page h2 { font-family: var(--font-serif); font-size: 1.4rem; margin: 30px 0 12px; }
.static-page p { margin-bottom: 16px; color: #374151; line-height: 1.75; }
.static-page ul { padding-left: 22px; margin-bottom: 16px; }
.static-page li { margin-bottom: 8px; color: #374151; }

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 580px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: .92rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color .15s;
  background: var(--white);
  color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── SUBSCRIBE PAGE ───────────────────────────────────────── */
.subscribe-page { padding: 60px 0; max-width: 800px; margin: 0 auto; text-align: center; }
.subscribe-page h1 { font-family: var(--font-serif); font-size: 2.4rem; margin-bottom: 12px; }
.subscribe-page .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.plan-full {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.plan-full:hover { border-color: var(--accent); box-shadow: var(--card-shadow); }
.plan-full.popular {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fff5f5, #fff);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 12px;
  border-radius: 20px;
}
.plan-full .plan-name { font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.plan-full .plan-price { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--text); }
.plan-full .plan-period { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 22px; }
.plan-features li {
  padding: 7px 0;
  font-size: .87rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.plan-features li:last-child { border-bottom: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .articles-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  .articles-grid { grid-template-columns: 1fr; }
  .section-grid { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
  .logo { font-size: 1.6rem; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 63px; left: 0; right: 0;
    background: var(--white);
    padding: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-main img { height: 240px; }
  .article-header h1 { font-size: 1.55rem; }
  .article-featured-image { height: 240px; }
  .comparison-table { font-size: .8rem; }
  .comparison-table th, .comparison-table td { padding: 9px 12px; }

  /* Top bar: hide the right-side links, keep only the brand text */
  .top-bar-inner { padding: 7px 16px; }
  .top-bar-inner > span:last-child { display: none; }
  .top-bar-date { font-size: .7rem; white-space: normal; }

  /* Camera grid: ensure single column on narrow screens */
  .container { padding: 0 16px; }
}


/* MediaGo soft-funnel pages */
.narrow { max-width: 820px; }
.funnel-page { padding: 54px 0 70px; background: #fff; }
.funnel-page h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 18px; color: var(--text); }
.funnel-page h2 { font-family: var(--font-serif); font-size: 1.45rem; margin: 34px 0 12px; color: var(--text); }
.funnel-page p { color: #374151; margin-bottom: 16px; }
.funnel-page .lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 30px; }
.funnel-kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: #fff5f5; border: 1px solid #ffd6dd; border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }
.single-cta { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--white); box-shadow: var(--card-shadow); }
.option-card h2 { font-size: 1.25rem; margin: 0 0 10px; }
.option-card p { color: var(--muted); font-size: .95rem; }
.option-card a { color: var(--accent); font-weight: 800; }
.article-next-step { margin: 34px 0 24px; padding: 24px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; background: #fff; }
.article-next-step h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 8px; }
.privacy-note { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.success-box { border-color: #bbf7d0; background: #f0fdf4; }
@media (max-width: 900px) { .option-grid { grid-template-columns: 1fr; } }


/* Visible final action for moderation review */
.final-action-panel { margin-top: 34px; padding: 24px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.06); display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.final-action-label { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.final-action-panel h2 { margin: 0 0 8px; font-size: 1.35rem; }
.final-action-panel p { margin: 0; color: var(--muted); }
.final-action-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.btn-secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-weight: 800; background: #fff; }
.funnel-page .contact-form { width: 100%; max-width: 620px; }
.funnel-page .form-group input, .funnel-page .form-group textarea, .funnel-page .form-group select { width: 100%; min-height: 50px; }
@media (max-width: 700px) { .final-action-panel { grid-template-columns: 1fr; padding: 20px; } .final-action-actions { justify-content: stretch; } .final-action-actions a { width: 100%; } }

.homepage-final-action { grid-column: 1 / -1; margin-bottom: 1.5rem; }
