/*
Theme Name: InfoDemands
Theme URI: https://infodemands.com/
Author: InfoDemands
Author URI: https://infodemands.com/
Description: A professional editorial WordPress theme for gaming blogs. Custom-built for GTA 6 launch coverage and PC hardware reviews. Magazine-style layout, distinctive Fraunces + Manrope typography, restrained editorial red accent, full AdSense compliance, built-in Schema.org SEO, security hardening, native contact form, idempotent starter-content auto-import on activation, no-code AdSense ad manager + virtual ads.txt, automatic category-aware default images, 8 inline-SVG social icons, header search, [btn] affiliate shortcode, Elementor/page-builder full-width template, preconnect speed hints, and a fully responsive mobile layout.
Version: 2.8.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infodemands
Tags: blog, magazine, news, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles
*/

:root {
  --bg: #ffffff;
  --bg-soft: #fafaf7;
  --bg-mute: #f4f2ec;

  --ink: #111111;
  --ink-2: #1f1f24;
  --ink-mute: #5a5a64;
  --ink-faint: #8e8e96;

  --line: #e8e6e0;
  --line-strong: #cdc9c0;

  --accent: #c92a2a;
  --accent-soft: #f3dbdb;
  --accent-deep: #8e1f1f;

  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-sans: 'Manrope', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --container-wide: 1400px;
  --container-read: 720px;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 32px; }
.container-read { width: 100%; max-width: var(--container-read); margin: 0 auto; padding: 0 28px; }

.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;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto; padding: 12px 18px; margin: 0;
  background: var(--ink); color: #fff;
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  text-decoration: none; z-index: 9999;
  border-radius: var(--radius-md);
}

/* ============================================================ TOP STRIP */
.topstrip { background: var(--ink); color: #d8d6cf; font-size: 12px; letter-spacing: 0.04em; }
.topstrip-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 9px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.topstrip-meta { font-family: var(--f-sans); font-weight: 500; }
.topstrip-cta { color: #fff; font-weight: 600; transition: color 0.2s; }
.topstrip-cta:hover { color: #ffb4b4; }

/* ============================================================ NAVIGATION */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.brand {
  font-family: var(--f-serif);
  font-weight: 800; font-size: 30px;
  letter-spacing: -0.02em; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 4px;
}
.brand img { max-height: 40px; width: auto; }
.brand-dot { display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-left: 2px; }

.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu a {
  font-family: var(--f-sans);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--accent); background: var(--bg-soft); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-page-ancestor > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu a.active { color: var(--accent); }
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
}
.nav-cta {
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 600;
  padding: 10px 18px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); color: #fff; }
.nav-mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); cursor: pointer;
}
/* On desktop the collapse wrapper is transparent to layout (menu + CTA stay inline). */
.nav-collapse { display: contents; }
.nav-mobile-toggle .icon-close { display: none; }

/* ============================================================ HERO */
.hero { padding: 60px 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
}
.kicker::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.hero-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--accent); font-weight: 600; }
.hero-lead {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-mute);
  max-width: 540px; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--f-sans);
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f4f2ec 0%, #e8e6e0 100%);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.hero-image:hover img { transform: scale(1.03); }
.hero-image-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--accent); color: #fff;
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 4px;
}
.hero-image-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.78));
  color: #fff;
}
.hero-image-caption h2 {
  font-family: var(--f-serif);
  font-weight: 700; font-size: 24px;
  line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 8px; color: #fff;
}
.hero-image-caption .meta {
  font-family: var(--f-sans);
  font-size: 11.5px; letter-spacing: 0.06em; opacity: 0.9;
}

/* ============================================================ STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 50px 0; border-bottom: 1px solid var(--line); }
.stat-num {
  font-family: var(--f-serif);
  font-weight: 700; font-size: 40px;
  line-height: 1; color: var(--ink);
  letter-spacing: -0.025em; margin-bottom: 8px;
}
.stat-label {
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ============================================================ SECTIONS */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: none; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: 40px;
}
.section-eyebrow {
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.section-link {
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.section-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================ CARDS */
.grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.18);
}
.card.large { grid-row: span 2; }
.card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f2ec 0%, #e8e6e0 100%);
}
.card.large .card-image { aspect-ratio: 4/5; }
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.card:hover .card-image img { transform: scale(1.05); }
.card-image-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-mute) 0%, var(--line) 100%);
  color: var(--ink-faint);
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 40px;
}
.card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 10px; border-radius: 3px;
}
.card-tag.accent { background: var(--accent); color: #fff; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title {
  font-family: var(--f-serif);
  font-weight: 700; font-size: 21px;
  line-height: 1.15; letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.2s;
}
.card.large .card-title { font-size: 30px; line-height: 1.1; }
.card:hover .card-title { color: var(--accent); }
.card-title a { color: inherit; }
.card-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }
.card-meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--f-sans);
  font-size: 11.5px; font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: auto; padding-top: 6px;
}
.card-meta .sep { opacity: 0.45; }
.card-link-cover { position: absolute; inset: 0; }

/* ============================================================ CATEGORIES */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-pill {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: all 0.25s;
  position: relative; overflow: hidden;
  display: block;
}
.cat-pill::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, var(--bg-soft) 100%);
  opacity: 0; transition: opacity 0.3s;
}
.cat-pill:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-pill:hover::before { opacity: 1; }
.cat-pill-name {
  font-family: var(--f-serif);
  font-weight: 700; font-size: 19px;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 6px; position: relative;
}
.cat-pill-meta {
  font-family: var(--f-sans);
  font-size: 11.5px; font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  position: relative;
}

/* ============================================================ NEWSLETTER */
.newsletter {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  margin: 60px 0;
  position: relative; overflow: hidden;
}
.newsletter::after {
  content: ''; position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.18; filter: blur(40px);
}
.newsletter-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
  position: relative;
}
.newsletter-title em { font-style: italic; color: #ffd5d5; font-weight: 600; }
.newsletter-lead {
  font-size: 16px; color: #c8c8d0;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; position: relative; }
.newsletter-input {
  flex: 1; padding: 14px 18px;
  font-family: var(--f-sans);
  font-size: 15px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: #fff;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { background: rgba(255,255,255,0.15); border-color: #fff; }
.newsletter .btn-primary { background: var(--accent); }
.newsletter .btn-primary:hover { background: #fff; color: var(--ink); }
.newsletter-embed { position: relative; max-width: 520px; margin: 0 auto; }
.newsletter-embed input[type="email"] { width: 100%; padding: 14px 18px; font-family: var(--f-sans); font-size: 15px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); color: #fff; outline: none; }

/* ============================================================ FOOTER */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand {
  font-family: var(--f-serif);
  font-weight: 800; font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.footer-tagline { color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-mute); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-faint); }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--bg);
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================ BREADCRUMB */
.breadcrumb { padding: 28px 0 0; font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-mute); }
.breadcrumb a { color: var(--ink-mute); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-faint); }

/* ============================================================ ARTICLE */
.article-head { padding: 28px 0 40px; text-align: left; }
.article-tag {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 3px;
  margin-bottom: 22px;
}
.article-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 22px;
}
.article-lead {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 21px; line-height: 1.5;
  color: var(--ink-mute);
  max-width: 720px;
  letter-spacing: -0.005em;
}
.article-meta {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-sans);
  font-size: 13px; color: var(--ink-mute);
  flex-wrap: wrap;
}
.article-meta .author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-weight: 700; font-size: 13px;
}
.author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.article-meta .sep { color: var(--ink-faint); }

.article-hero-image {
  width: 100%;
  aspect-ratio: 16/8;
  border-radius: var(--radius-lg);
  margin: 36px 0 40px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f2ec 0%, #e8e6e0 100%);
}
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 19px; line-height: 1.75;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.article-body p { margin: 0 0 1.3em; }
.article-body p > em:first-child {
  font-family: var(--f-sans);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.article-body h2 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 32px; line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 60px 0 18px;
}
.article-body h3 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 21px; line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.article-body a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 1.4em 0; padding-left: 0; }
.article-body ul { list-style: none; }
.article-body ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 10px; height: 2px; background: var(--accent); }
.article-body ol { padding-left: 24px; }
.article-body ol li { margin-bottom: 10px; padding-left: 6px; }
.article-body ol li::marker { font-family: var(--f-sans); font-weight: 700; color: var(--accent); }

.article-body img { margin: 1.5em 0; border-radius: var(--radius-md); }
.article-body figure { margin: 1.5em 0; }
.article-body figcaption { font-family: var(--f-sans); font-size: 13px; color: var(--ink-faint); margin-top: 8px; text-align: center; }
.article-body blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 4px solid var(--accent); font-style: italic; }
.article-body pre, .article-body code { font-family: 'Menlo', 'Monaco', monospace; font-size: 14px; }
.article-body pre { background: var(--bg-mute); padding: 20px; border-radius: var(--radius-md); overflow-x: auto; }
.article-body code { background: var(--bg-mute); padding: 2px 6px; border-radius: 3px; font-size: 16px; }

.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0;
  font-family: var(--f-sans);
  font-size: 14.5px;
}
.article-body table thead { background: var(--ink); }
.article-body table th {
  padding: 14px 18px; text-align: left;
  font-family: var(--f-sans);
  font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff; font-weight: 700;
}
.article-body table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.article-body table tr:hover td { background: var(--bg-soft); }

.pullquote, .article-body .wp-block-pullquote {
  margin: 50px 0;
  padding: 30px 0 30px 28px;
  border-left: 4px solid var(--accent);
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 26px; line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-style: italic;
}

.ad-zone {
  margin: 50px 0;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  text-align: center;
  font-family: var(--f-sans);
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.14em;
}

.related-block {
  margin: 80px 0 0;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.related-title {
  font-family: var(--f-serif);
  font-weight: 700; font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  color: var(--ink);
}

/* ============================================================ ARCHIVE */
.archive-head { padding: 70px 0 50px; text-align: center; border-bottom: 1px solid var(--line); }
.archive-eyebrow {
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.archive-title {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(54px, 9vw, 104px);
  line-height: 0.95; letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 22px;
}
.archive-lead {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 19px; line-height: 1.5;
  color: var(--ink-mute);
  max-width: 640px; margin: 0 auto;
}

.empty {
  text-align: center;
  padding: 80px 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.empty h3 {
  font-family: var(--f-serif);
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}
.empty p { color: var(--ink-mute); max-width: 460px; margin: 0 auto 24px; }

/* ============================================================ STATIC PAGE */
.static-page { max-width: 780px; margin: 0 auto; padding: 70px 28px 100px; }
.static-page .static-eyebrow {
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.static-page h1 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.static-page h2 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 50px 0 14px;
}
.static-page h3 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin: 30px 0 12px;
}
.static-page p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.2em; }
.static-page strong { color: var(--ink); font-weight: 700; }
.static-page a { color: var(--accent); border-bottom: 1px solid var(--accent); transition: color 0.2s; }
.static-page a:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.static-page ul { margin: 0 0 1.2em 0; padding-left: 0; list-style: none; }
.static-page ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-2); }
.static-page ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--accent); }
.static-page ol { margin: 0 0 1.2em 24px; }
.static-page ol li { margin-bottom: 8px; color: var(--ink-2); }

/* ============================================================ SEARCH FORM */
.search-form {
  display: flex; gap: 10px;
  max-width: 480px; margin: 28px auto;
}
.search-field {
  flex: 1; padding: 14px 16px;
  font-family: var(--f-sans);
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  outline: none;
}
.search-field:focus { border-color: var(--accent); }
.search-submit {
  padding: 14px 22px;
  background: var(--ink); color: #fff;
  font-family: var(--f-sans);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
}
.search-submit:hover { background: var(--accent); }

/* ============================================================ PAGINATION */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 60px 0;
  font-family: var(--f-sans);
}
.pagination .page-numbers {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-mute);
  font-weight: 600;
  transition: all 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================ COMMENTS */
.comments-area {
  max-width: var(--container-read);
  margin: 64px auto;
  padding: 40px 28px 0;
  border-top: 1px solid var(--line);
}
.comments-title, .comment-reply-title {
  font-family: var(--f-serif);
  font-weight: 700; font-size: 26px;
  letter-spacing: -0.018em;
  margin-bottom: 24px; color: var(--ink);
}

/* Comment list */
.comment-list { list-style: none; padding: 0; margin: 0 0 48px; }
.comment-list .children { list-style: none; margin: 0 0 0 30px; padding: 0; border-left: 2px solid var(--line); padding-left: 20px; }
.comment-item { margin: 0; }
.comment-body-inner { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-avatar img { border-radius: 50%; display: block; }
.comment-content { flex: 1; min-width: 0; }
.comment-author-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.comment-author-name, .comment-author-name a {
  font-family: var(--f-sans); font-weight: 700; font-size: 15px;
  color: var(--ink); text-decoration: none;
}
.comment-author-name a:hover { color: var(--accent); }
.comment-date { font-family: var(--f-sans); font-size: 12px; color: var(--ink-faint); }
.comment-text { font-family: var(--f-sans); font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 8px 0; }
.comment-text p { margin: 0 0 10px; }
.comment-awaiting-moderation { font-family: var(--f-sans); font-size: 12.5px; color: var(--accent); font-style: italic; margin: 6px 0; }
.comment-reply a {
  display: inline-block; font-family: var(--f-sans); font-size: 12px; font-weight: 700;
  color: var(--accent); text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em;
}
.comment-reply a:hover { color: var(--accent-deep); }

/* Comment form */
.comment-respond { margin-top: 8px; }
.comment-notes, .logged-in-as { font-family: var(--f-sans); font-size: 13px; color: var(--ink-mute); margin-bottom: 20px; line-height: 1.6; }
.comment-form { display: flex; flex-wrap: wrap; gap: 18px; }
.comment-form-comment { flex: 1 1 100%; }
.comment-form-author, .comment-form-email { flex: 1 1 calc(50% - 9px); }
.comment-form-url { flex: 1 1 100%; }
.comment-form label {
  display: block; font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 7px;
}
.comment-form .required { color: var(--accent); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 13px 16px; font-family: var(--f-sans); font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--bg); color: var(--ink); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.comment-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.comment-form-cookies-consent {
  flex: 1 1 100%; display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--f-sans); font-size: 13.5px; color: var(--ink-mute);
}
.comment-form-cookies-consent input { margin-top: 3px; flex-shrink: 0; }
.comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; color: var(--ink-mute); }

/* Post Comment button — accent color + hover */
.form-submit { flex: 1 1 100%; margin: 6px 0 0; }
.comment-submit,
.form-submit input[type="submit"] {
  font-family: var(--f-sans); font-size: 15px; font-weight: 700;
  padding: 14px 32px; color: #fff; background: var(--accent);
  border: 2px solid var(--accent); border-radius: 999px; cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
.comment-submit:hover,
.form-submit input[type="submit"]:hover {
  background: var(--accent-deep); border-color: var(--accent-deep);
  transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201, 42, 42, 0.28);
}
.comment-submit:active,
.form-submit input[type="submit"]:active { transform: translateY(0); }

.comment-navigation { margin: 28px 0; font-family: var(--f-sans); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; }
.comment-navigation a { color: var(--accent); text-decoration: none; font-weight: 600; }
.no-comments { font-family: var(--f-sans); color: var(--ink-mute); }

@media (max-width: 640px) {
  .comment-form-author, .comment-form-email { flex: 1 1 100%; }
}

/* ============================================================ CONTACT FORM */
.contact-form { max-width: 660px; margin: 8px 0 0; }
.contact-form .form-grid { display: flex; gap: 18px; }
.contact-form .form-grid .form-row { flex: 1; }
.contact-form .form-row { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-form label {
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 7px;
}
.contact-form .required { color: var(--accent); }
.form-input, .form-textarea {
  width: 100%; box-sizing: border-box;
  padding: 13px 16px; font-family: var(--f-sans); font-size: 15px;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.contact-form .btn { margin-top: 4px; align-self: flex-start; }

/* Honeypot — hidden from humans */
.if-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Success / error notices */
.contact-form-success, .contact-form-error {
  font-family: var(--f-sans); font-size: 15px;
  padding: 18px 22px; border-radius: var(--radius-lg); margin-bottom: 26px;
  border: 1px solid;
}
.contact-form-success { background: #eaf6ea; border-color: #2f8a32; color: #1f6321; }
.contact-form-error { background: #fceaea; border-color: var(--accent); color: #7a1a1a; }
.contact-form-success p, .contact-form-error p { margin: 6px 0 0; font-size: 14px; }

@media (max-width: 640px) {
  .contact-form .form-grid { flex-direction: column; gap: 0; }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { max-width: 480px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card.large { grid-row: span 1; grid-column: span 2; }
  .card.large .card-image { aspect-ratio: 16/9; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topstrip-inner { font-size: 11px; padding-left: 18px; padding-right: 18px; }
  .topstrip-cta { display: none; }
  /* Tighter, more usable gutters on phones */
  .container, .container-wide, .container-read { padding-left: 18px; padding-right: 18px; }
  .nav-inner { padding: 12px 18px; }
  .brand { font-size: 25px; }
  .hero { padding: 34px 0; }
  .section { padding: 48px 0; }
  .grid, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 22px; }
  .card.large { grid-column: span 1; }
  .card.large .card-image { aspect-ratio: 16/9; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter { padding: 40px 22px; }
  .newsletter-form { flex-direction: column; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article-meta { flex-wrap: wrap; gap: 10px; }
  .pullquote { font-size: 21px; padding-left: 20px; }
  .article-body { font-size: 17px; }
  .static-page { padding: 36px 18px 64px; }
  .comments-area { padding: 32px 18px 0; }
}

/* ============================================================ ADS (live) */
/* .ad-zone (dashed placeholder) is defined above; .is-live is the real ad. */
.ad-zone.is-live {
  border: none;
  background: transparent;
  padding: 0;
  margin: 44px 0;
  text-align: center;
  overflow: hidden;
}
.ad-zone .ad-zone-label {
  display: block;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.ad-zone.is-live ins,
.ad-zone.is-live .adsbygoogle { display: block; }
.ad-zone--header { margin: 22px auto; }
.ad-zone-header-wrap { padding-top: 4px; padding-bottom: 4px; }

/* ============================================================ AFFILIATE BUTTONS */
.aff-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  padding: 13px 24px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg, 12px);
  transition: background 0.18s ease, transform 0.18s ease;
}
.aff-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.aff-btn .arrow { transition: transform 0.18s ease; }
.aff-btn:hover .arrow { transform: translateX(3px); }
.aff-btn-outline {
  color: var(--accent);
  background: transparent;
}
.aff-btn-outline:hover { color: #fff; background: var(--accent); }

/* ============================================================ HEADER SEARCH */
.nav-search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-left: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg); color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-search-toggle:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-search-panel {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  animation: id-fade-down 0.18s ease;
}
.nav-search-panel[hidden] { display: none; }
.nav-search-panel .search-form { margin: 18px auto; }
@keyframes id-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================ FOOTER FOLLOW ICONS */
.footer-follow-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.footer-follow-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-follow-icons a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================ MOBILE NAV */
@media (max-width: 860px) {
  .nav { position: relative; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-search-toggle { margin-left: auto; }
  .nav-search-panel .search-form { flex-direction: row; padding: 0 4px; }

  /* Collapse becomes a full-width dropdown panel */
  .nav-collapse {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
    padding: 6px 0 18px;
    z-index: 60;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav.nav-open .nav-collapse { display: flex; animation: id-fade-down 0.2s ease; }

  /* Hamburger ↔ X */
  .nav-open .nav-mobile-toggle .icon-menu { display: none; }
  .nav-open .nav-mobile-toggle .icon-close { display: inline; }
  .nav-open .nav-mobile-toggle { background: var(--bg-soft); border-color: var(--line-strong); }

  /* Stacked links with big tap targets */
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block; width: 100%; box-sizing: border-box;
    padding: 15px 22px; font-size: 16px; font-weight: 600;
    border-radius: 0; border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav-menu a:hover { background: var(--bg-soft); color: var(--accent); }
  .nav-menu .current-menu-item > a,
  .nav-menu .current_page_item > a,
  .nav-menu a.active { background: var(--accent-soft); color: var(--accent); }
  .nav-menu .current-menu-item > a::after,
  .nav-menu .current_page_item > a::after,
  .nav-menu a.active::after { display: none; }

  /* Subscribe as a full-width button at the bottom of the menu */
  .nav-collapse .nav-cta {
    display: block; width: auto; margin: 16px 22px 0;
    padding: 14px 18px; text-align: center; font-size: 15px;
  }

  /* Prevent body scroll behind an open menu */
  body.nav-open-lock { overflow: hidden; }
}
