/*
Theme Name: TrendingOne
Theme URI: https://trendingone.in
Author: TrendingOne
Author URI: https://trendingone.in
Description: India's smartest AI-powered news & analysis platform. Editorial magazine theme with live ticker, premium subscription band, and AI-powered content feed.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://trendingone.in
Text Domain: trendingone
Tags: news, magazine, blog, custom-colors, custom-logo, featured-images, sticky-post, threaded-comments
*/

/* ============================================
   DESIGN TOKENS & RESET
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0d0d0d;
  --paper: #f7f5f0;
  --paper-2: #edeae3;
  --accent: #e8341c;
  --accent-hover: #c42a14;
  --accent2: #1a3a5c;
  --muted: #6b6560;
  --muted-light: #9a948e;
  --border: rgba(13,13,13,0.1);
  --border-solid: rgba(13,13,13,0.85);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: var(--sans); }
ul, ol { list-style: none; }

/* ============================================
   UTILITIES
============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.tag-solid { background: var(--ink); color: var(--paper); }
.tag-accent { background: var(--accent); color: #fff; }

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.fade-in-1 { animation: fadeUp 0.6s ease 0.05s both; }
.fade-in-2 { animation: fadeUp 0.6s ease 0.15s both; }
.fade-in-3 { animation: fadeUp 0.6s ease 0.25s both; }
.fade-in-4 { animation: fadeUp 0.6s ease 0.35s both; }

/* ============================================
   TOP BAR
============================================ */
.top-bar {
  background: var(--accent2);
  color: rgba(247,245,240,0.8);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 7px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-date { color: rgba(247,245,240,0.55); }
.top-bar-links { display: flex; gap: 20px; }
.top-bar-links a { color: rgba(247,245,240,0.65); transition: color 0.2s; }
.top-bar-links a:hover { color: #fff; }

/* ============================================
   NAVIGATION
============================================ */
.nav-wrapper {
  border-bottom: 1.5px solid var(--border-solid);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.2s;
}
.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
}
.site-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.logo-dot { color: var(--accent); }
.logo-tld {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  padding-bottom: 1px;
}
.nav-center { display: flex; gap: 0; align-items: center; }
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-link.current-menu-item { color: var(--ink); font-weight: 600; }
.nav-link.current-menu-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-search {
  background: none;
  border: none;
  color: var(--muted);
  padding: 8px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.btn-search:hover { color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-solid);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-subscribe {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.1s;
}
.btn-subscribe:hover { background: var(--accent-hover); transform: scale(1.02); }
.btn-subscribe:active { transform: scale(0.99); }

/* ============================================
   TICKER
============================================ */
.ticker-bar {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  overflow: hidden;
  height: 36px;
}
.ticker-label {
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  min-width: fit-content;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  padding: 0 48px;
  color: rgba(247,245,240,0.85);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-sep { color: var(--accent); font-size: 8px; }

/* ============================================
   READING PROGRESS
============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================
   HERO
============================================ */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  border-bottom: 1.5px solid var(--border-solid);
  min-height: 500px;
}
.hero-main {
  padding: 44px 40px 40px 28px;
  border-right: 1px solid var(--border-solid);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-featured-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 28px;
}
.hero-eyebrow { margin-bottom: 18px; }
.hero-headline {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-deck {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.meta-item {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.meta-dot {
  width: 3px;
  height: 3px;
  background: var(--border-solid);
  border-radius: 50%;
  display: inline-block;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s, color 0.2s;
}
.read-more-link:hover { gap: 18px; color: var(--accent); border-color: var(--accent); }
.arrow-icon { font-size: 18px; line-height: 1; }

/* HERO SIDEBAR */
.hero-sidebar { display: flex; flex-direction: column; }
.sidebar-story {
  padding: 22px 22px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sidebar-story:last-child { border-bottom: none; }
.sidebar-story:hover { background: rgba(13,13,13,0.03); }
.sidebar-story::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}
.sidebar-story:hover::before { width: 3px; }
.story-badge { position: absolute; top: 16px; right: 14px; }
.story-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.story-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.sidebar-story:hover .story-title { color: var(--accent); }
.story-foot {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  gap: 8px;
}

/* ============================================
   SECTION HEADER
============================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1.5px solid var(--border-solid);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.section-link {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}
.section-link:hover { color: var(--ink); gap: 10px; }

/* ============================================
   CARDS GRID
============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1.5px solid var(--border-solid);
}
.article-card {
  padding: 30px 26px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.article-card:last-child { border-right: none; }
.article-card:hover { background: rgba(13,13,13,0.025); }
.card-accent-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.article-card:hover .card-accent-bar { transform: scaleX(1); }
.card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 18px;
}
.card-category {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.card-headline {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.article-card:hover .card-headline { color: var(--accent); }
.card-excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}
.card-cta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.article-card:hover .card-cta { color: var(--accent); }

/* ============================================
   SPLIT LAYOUT
============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  border-bottom: 1.5px solid var(--border-solid);
}
.split-featured {
  padding: 36px 36px 36px 28px;
  border-right: 1px solid var(--border-solid);
  cursor: pointer;
  transition: background 0.2s;
}
.split-featured:hover { background: rgba(13,13,13,0.02); }
.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
  background: rgba(26,58,92,0.08);
  padding: 5px 12px;
}
.split-headline {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 18px;
  transition: color 0.2s;
}
.split-featured:hover .split-headline { color: var(--accent); }
.split-headline em { font-style: italic; color: var(--accent2); }
.split-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 28px;
}
.mini-list { display: flex; flex-direction: column; }
.mini-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.mini-item:last-child { border-bottom: none; }
.mini-item:hover { background: rgba(13,13,13,0.03); }
.mini-item::after {
  content: '→';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--muted-light);
  opacity: 0;
  transition: opacity 0.2s, right 0.2s;
}
.mini-item:hover::after { opacity: 1; right: 18px; }
.mini-category {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 6px;
}
.mini-headline {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 6px;
  padding-right: 24px;
  transition: color 0.2s;
}
.mini-item:hover .mini-headline { color: var(--accent); }
.mini-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}

/* ============================================
   PREMIUM BAND
============================================ */
.premium-band {
  background: var(--accent2);
  color: var(--paper);
  padding: 52px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  border-bottom: 1.5px solid var(--border-solid);
  position: relative;
  overflow: hidden;
}
.premium-band::before {
  content: 'PRO';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  font-family: var(--serif);
  font-size: 180px;
  font-weight: 900;
  color: rgba(247,245,240,0.03);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -8px;
}
.premium-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.5);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.premium-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--accent);
}
.premium-headline {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.premium-sub {
  font-size: 15px;
  color: rgba(247,245,240,0.65);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}
.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(247,245,240,0.8);
  line-height: 1.4;
}
.perk-check { color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-card {
  background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.14);
  padding: 36px 40px;
  text-align: center;
  flex-shrink: 0;
  min-width: 260px;
  position: relative;
}
.pricing-card::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  padding: 4px 14px;
}
.price-amount {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 900;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 4px;
}
.price-period {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(247,245,240,0.4);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.btn-start {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  margin-bottom: 12px;
  cursor: pointer;
}
.btn-start:hover { background: var(--accent-hover); }
.price-alt {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(247,245,240,0.35);
  line-height: 1.5;
}
.price-alt strong { color: rgba(247,245,240,0.6); font-weight: 500; }

/* ============================================
   AI FEED
============================================ */
.ai-feed {
  background: var(--ink);
  padding: 32px 28px;
  border-bottom: 1.5px solid var(--border-solid);
}
.ai-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ai-feed-left { display: flex; align-items: center; gap: 14px; }
.ai-badge {
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.ai-feed-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.4);
}
.ai-feed-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.4);
  transition: color 0.2s;
}
.ai-feed-link:hover { color: rgba(247,245,240,0.8); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ai-card {
  background: rgba(247,245,240,0.04);
  border: 1px solid rgba(247,245,240,0.08);
  padding: 20px 18px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.ai-card:hover {
  background: rgba(247,245,240,0.07);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ai-card-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.ai-card-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(247,245,240,0.92);
  margin-bottom: 14px;
}
.ai-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-card-time {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(247,245,240,0.3);
  letter-spacing: 0.04em;
}
.ai-indicator {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ============================================
   NEWSLETTER STRIP
============================================ */
.newsletter-strip {
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--border-solid);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nl-left { max-width: 480px; }
.nl-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.nl-headline {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.nl-sub { font-size: 13px; color: var(--muted); }
.nl-form { display: flex; flex-shrink: 0; }
.nl-input {
  padding: 12px 18px;
  border: 1.5px solid var(--border-solid);
  border-right: none;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  width: 260px;
}
.nl-input:focus { border-color: var(--accent); }
.nl-input::placeholder { color: var(--muted-light); }
.nl-btn {
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--border-solid);
  padding: 12px 24px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  cursor: pointer;
}
.nl-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ============================================
   SINGLE ARTICLE PAGE
============================================ */
.article-header {
  padding: 48px 28px 36px;
  border-bottom: 1.5px solid var(--border-solid);
  max-width: 800px;
  margin: 0 auto;
}
.article-eyebrow { margin-bottom: 20px; }
.article-title {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-deck {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.article-content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.article-body {
  padding: 40px 48px 60px 28px;
  border-right: 1px solid var(--border);
}
.article-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 16px;
  letter-spacing: -0.3px;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 8px;
}
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body img {
  width: 100%;
  height: auto;
  margin: 28px 0;
}
.article-sidebar { padding: 40px 24px; }
.sidebar-widget { margin-bottom: 32px; }
.sidebar-widget-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget-title::before {
  content: '';
  display: block;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.sidebar-post {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.sidebar-post-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.sidebar-post:hover .sidebar-post-title { color: var(--accent); }
.sidebar-post-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-light);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 52px 28px 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,245,240,0.1);
  margin-bottom: 28px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 13px;
  color: rgba(247,245,240,0.5);
  line-height: 1.65;
  margin-bottom: 24px;
}
.footer-nl { display: flex; }
.footer-nl-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(247,245,240,0.15);
  background: rgba(247,245,240,0.06);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
}
.footer-nl-input::placeholder { color: rgba(247,245,240,0.3); }
.footer-nl-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-nl-btn:hover { background: var(--accent-hover); }
.footer-col-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.35);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 13px;
  color: rgba(247,245,240,0.65);
  transition: color 0.2s;
  cursor: pointer;
}
.footer-link:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(247,245,240,0.25);
  letter-spacing: 0.04em;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(247,245,240,0.25);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(247,245,240,0.6); }

/* ============================================
   MODAL
============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.75);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--paper);
  max-width: 480px;
  width: 90%;
  position: relative;
  animation: fadeUp 0.3s ease;
}
.modal-header {
  background: var(--accent2);
  padding: 32px 36px;
  color: var(--paper);
}
.modal-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.5);
  margin-bottom: 10px;
}
.modal-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}
.modal-sub { font-size: 13px; color: rgba(247,245,240,0.65); }
.modal-body { padding: 32px 36px; }
.modal-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.plan-card {
  border: 1.5px solid var(--border);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.plan-card.selected { border-color: var(--accent); background: rgba(232,52,28,0.04); }
.plan-name {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.plan-price { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.plan-note { font-size: 11px; color: var(--muted); }
.plan-card.selected .plan-name { color: var(--accent); }
.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.modal-input:focus { border-color: var(--accent); }
.btn-modal-subscribe {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-modal-subscribe:hover { background: var(--accent-hover); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(247,245,240,0.5);
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: rgba(247,245,240,0.9); }
.modal-terms { text-align: center; font-size: 11px; color: var(--muted-light); margin-top: 12px; }

/* ============================================
   SEARCH OVERLAY
============================================ */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.88);
  z-index: 8000;
  padding: 80px 28px;
  backdrop-filter: blur(4px);
}
.search-overlay.open { display: block; }
.search-box { max-width: 640px; margin: 0 auto; }
.search-input {
  width: 100%;
  background: var(--paper);
  border: none;
  padding: 20px 24px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  outline: none;
  letter-spacing: -0.5px;
}
.search-input::placeholder { color: var(--muted-light); }
.search-hint {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(247,245,240,0.4);
  margin-top: 14px;
  letter-spacing: 0.08em;
}

/* ============================================
   WORDPRESS NATIVE ELEMENTS
============================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-block-image { margin: 28px 0; }

/* Comments */
.comments-area { padding: 40px 28px; max-width: 800px; margin: 0 auto; border-top: 1.5px solid var(--border-solid); }
.comments-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
}
.comment-list { margin-bottom: 40px; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-author { font-weight: 500; margin-bottom: 4px; }
.comment-date { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.comment-content p { font-size: 15px; line-height: 1.65; color: var(--ink); }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: auto;
  padding: 12px 28px;
  transition: background 0.2s;
}
.comment-form input[type="submit"]:hover { background: var(--accent-hover); }

/* Pagination */
.pagination {
  padding: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.page-numbers {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}
.page-numbers.current,
.page-numbers:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .hero-headline { font-size: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .hero-headline { font-size: 34px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-band { grid-template-columns: 1fr; }
  .pricing-card { width: 100%; min-width: unset; }
  .nav-center { display: none; }
  .perks-grid { grid-template-columns: 1fr; }
  .top-bar-links { display: none; }
  .newsletter-strip { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; }
  .nl-input { flex: 1; width: auto; }
  .article-content-wrap { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 28px; letter-spacing: -0.5px; }
  .cards-grid { grid-template-columns: 1fr; }
  .article-card { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .premium-band { padding: 36px 20px; }
  .premium-headline { font-size: 30px; }
  .modal-plans { grid-template-columns: 1fr; }
  .article-title { font-size: 30px; }
  .nav-main { padding: 0 16px; }
  .section-header { padding: 14px 16px; }
}
