/*
Theme Name: OUTLINED
Theme URI: https://outlined.in
Author: OUTLINED
Description: India's Business Surgeon — world-class editorial theme. Reader-first, AdSense-optimised, fully editor-friendly.
Version: 3.0
License: GNU General Public License v2
Tags: news, magazine, business, adsense, editorial
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ════════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════════ */
:root {
  /* Brand */
  --red:        #CC0000;
  --red-hover:  #a80000;
  --red-tint:   rgba(204,0,0,0.07);

  /* Neutrals — light mode */
  --bg:         #ffffff;
  --bg-off:     #f8f6f3;
  --bg-subtle:  #f2efeb;
  --border:     #e2ddd8;
  --border-strong: #c8c3be;

  /* Text — light mode */
  --ink-1:      #111111;   /* headlines */
  --ink-2:      #2d2d2d;   /* body */
  --ink-3:      #666260;   /* meta, muted */
  --ink-4:      #999693;   /* placeholder, dividers */

  /* Typography */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing */
  --nav-h:   60px;
  --max-w:   1200px;
  --article: 680px;   /* optimal reading column */

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --fast: 150ms;
  --mid:  250ms;
}

/* Dark mode */
[data-theme="dark"] {
  --bg:         #0f0f0f;
  --bg-off:     #161616;
  --bg-subtle:  #1d1d1d;
  --border:     #2a2a2a;
  --border-strong: #3a3a3a;
  --ink-1:      #f0ece6;
  --ink-2:      #ccc8c2;
  --ink-3:      #7a7672;
  --ink-4:      #4a4744;
}

/* ════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--mid) var(--ease), color var(--mid) var(--ease);
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
ul,ol { list-style:none; }
button,input,textarea,select { font-family:inherit; }
button { cursor:pointer; border:none; background:none; }

/* ════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════ */
.wrap { max-width:var(--max-w); margin:0 auto; padding:0 40px; }
.wrap-narrow { max-width:var(--article); margin:0 auto; padding:0 40px; }

/* ════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
════════════════════════════════════════════════ */
h1,h2,h3,h4,h5 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px,4.5vw,52px); }
h2 { font-size: clamp(22px,3vw,36px); }
h3 { font-size: clamp(18px,2vw,24px); }
h4 { font-size: 18px; }
h5 { font-size: 15px; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
p  { line-height: 1.8; color: var(--ink-2); }

/* Utility */
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
}
.meta-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.meta-sep { color: var(--border-strong); }

/* ════════════════════════════════════════════════
   PROGRESS BAR
════════════════════════════════════════════════ */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 9999;
  transition: width .1s linear;
}

/* ════════════════════════════════════════════════
   HEADER & NAV
════════════════════════════════════════════════ */
#masthead {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: background var(--mid) var(--ease), box-shadow var(--fast) var(--ease);
}
#masthead.is-scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.06); }

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
}

/* Logo */
.site-brand {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  color: var(--ink-1);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  margin-right: 32px;
  display: flex;
  align-items: center;
}
.site-brand .b { color: var(--red); }
.site-brand img { height: 36px; width: auto; }

/* Primary nav */
.nav-primary {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
  overflow: hidden;
}
.nav-primary a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 14px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--fast), border-color var(--fast);
}
.nav-primary a:hover,
.nav-primary a.current { color: var(--ink-1); border-bottom-color: var(--red); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  border-radius: 4px;
  transition: color var(--fast), background var(--fast);
}
.btn-icon:hover { color: var(--ink-1); background: var(--bg-off); }
.btn-icon svg { width: 18px; height: 18px; }

.btn-subscribe {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  transition: background var(--fast);
}
.btn-subscribe:hover { background: var(--red-hover); }

.btn-hamburger {
  display: none;
  color: var(--ink-1);
  font-size: 20px;
  padding: 8px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 499;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--fast), background var(--fast);
}
.mobile-nav a:hover { color: var(--red); background: var(--bg-off); }

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}
.search-overlay.open { display: flex; }
.search-box { width: 100%; max-width: 600px; padding: 0 20px; position: relative; }
.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--red);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  padding: 12px 0;
  outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,.3); }
.search-close-btn {
  position: absolute;
  top: -52px; right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 6px;
}

/* ════════════════════════════════════════════════
   TICKER
════════════════════════════════════════════════ */
.ticker {
  background: var(--red);
  padding: 8px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; }
.ticker-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.18);
  padding: 3px 14px 3px 40px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 20px;
}
.ticker-scroll-wrap { overflow: hidden; flex: 1; }
.ticker-scroll {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker-move 36s linear infinite;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.9);
  letter-spacing: 0.05em;
}
.ticker-scroll:hover { animation-play-state: paused; }
.ticker-scroll a { color: inherit; transition: color var(--fast); }
.ticker-scroll a:hover { color: #fff; text-decoration: underline; }
@keyframes ticker-move { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

/* ════════════════════════════════════════════════
   BREADCRUMBS
════════════════════════════════════════════════ */
.breadcrumb-bar {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.breadcrumb-inner a { color: var(--ink-3); transition: color var(--fast); }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--border-strong); font-size: 11px; }
.breadcrumb-current { color: var(--ink-2); }

/* ════════════════════════════════════════════════
   HOMEPAGE — HERO SECTION
════════════════════════════════════════════════ */
.home-hero {
  border-bottom: 1px solid var(--border);
  padding: 52px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
}

/* Featured story */
.hero-featured {
  padding-right: 40px;
  border-right: 1px solid var(--border);
  padding-bottom: 40px;
}
.hero-featured-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin-bottom: 20px;
}
.hero-featured .story-title {
  font-family: var(--serif);
  font-size: clamp(26px,3.5vw,40px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink-1);
  margin-bottom: 12px;
}
.hero-featured .story-title a { color: inherit; transition: color var(--fast); }
.hero-featured .story-title a:hover { color: var(--red); }
.hero-featured .story-dek {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 16px;
  max-width: 560px;
}

/* Hero sidebar — secondary stories */
.hero-sidebar {
  padding-left: 32px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-secondary-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.hero-secondary-item:first-child { padding-top: 0; }
.hero-secondary-item:last-child { border-bottom: none; }

/* ════════════════════════════════════════════════
   SECTION HEADERS
════════════════════════════════════════════════ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink-1);
  margin-bottom: 28px;
}
[data-theme="dark"] .section-head { border-bottom-color: var(--border-strong); }
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-1);
}
.section-more {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: opacity var(--fast);
}
.section-more:hover { opacity: .7; }

/* ════════════════════════════════════════════════
   ARTICLE CARDS
════════════════════════════════════════════════ */
/* Grid layouts */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
}
.card-grid-list { display: flex; flex-direction: column; }

/* Card base */
.story-card {
  padding: 24px 20px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--fast);
}
.story-card:hover { background: var(--bg-off); }
.story-card-img {
  width: calc(100% + 40px);
  margin: -24px -20px 16px;
  height: 180px;
  object-fit: cover;
}

/* Story item (compact list) */
.story-item {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.story-item:last-child { border-bottom: none; }
.story-item-thumb {
  width: 100px;
  height: 68px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Shared card elements */
.story-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
  transition: color var(--fast);
}
.story-cat:hover { color: var(--red-hover); }
.story-title {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-1);
  transition: color var(--fast);
}
.story-title:hover,
.story-title a:hover { color: var(--red); }
.story-title a { color: inherit; }
.story-title-lg { font-size: 20px; }
.story-title-md { font-size: 17px; }
.story-title-sm { font-size: 15px; }
.story-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
  margin: 8px 0;
}
.story-meta { margin-top: 10px; }

/* Verdict badge */
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin: 8px 0 0;
  border-left: 2px solid;
}
.verdict-bullish  { border-color: #16a34a; background: rgba(22,163,74,.06); color: #16a34a; }
.verdict-bearish  { border-color: var(--red); background: var(--red-tint); color: var(--red); }
.verdict-watch    { border-color: #b45309; background: rgba(180,83,9,.06); color: #b45309; }
.verdict-neutral  { border-color: var(--ink-3); background: var(--bg-off); color: var(--ink-3); }

/* ════════════════════════════════════════════════
   HOMEPAGE SECTIONS
════════════════════════════════════════════════ */
.home-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.home-section:last-of-type { border-bottom: none; }

/* Splits — two-column section */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split-col + .split-col { border-left: 1px solid var(--border); padding-left: 48px; }

/* ════════════════════════════════════════════════
   SHORTS / VIDEO SECTION
════════════════════════════════════════════════ */
.shorts-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.short-thumb-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink-1);
}
.short-thumb-wrap::before {
  content: '';
  display: block;
  padding-bottom: 177.78%; /* 9:16 */
}
.short-thumb-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--mid) var(--ease);
}
.short-thumb-wrap:hover img { transform: scale(1.04); }
.short-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px;
  background: rgba(204,0,0,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--fast), background var(--fast);
}
.short-thumb-wrap:hover .short-play-btn {
  transform: translate(-50%,-50%) scale(1.08);
  background: var(--red);
}
.short-play-btn svg { width:18px; height:18px; fill:#fff; margin-left:3px; }
.short-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
  padding: 16px 12px 12px;
}
.short-title {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Video lightbox */
.video-lb {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.video-lb.open { display: flex; }
.video-lb-inner { width: min(90vw, 560px); position: relative; }
.video-lb-close {
  position: absolute;
  top: -40px; right: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.video-lb-close:hover { color: #fff; }
.video-lb-frame { position: relative; padding-bottom: 177.78%; }
.video-lb-frame.wide { padding-bottom: 56.25%; }
.video-lb-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ════════════════════════════════════════════════
   AD SLOTS
════════════════════════════════════════════════ */
.ad-wrap {
  text-align: center;
  position: relative;
}
.ad-wrap::before {
  content: 'Advertisement';
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.ad-leaderboard { min-height: 90px; margin: 28px auto; max-width: 728px; }
.ad-rectangle   { min-height: 250px; width: 300px; margin: 0 auto; }
.ad-inline      { min-height: 250px; margin: 36px auto; max-width: 600px; }

/* Sticky sidebar ad */
.sidebar-sticky-ad { position: sticky; top: 80px; }

/* ════════════════════════════════════════════════
   SINGLE ARTICLE
════════════════════════════════════════════════ */
/* Article header */
.article-hero { padding: 44px 0 36px; border-bottom: 1px solid var(--border); }
.article-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  color: var(--ink-3);
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(26px,4vw,48px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--ink-1);
  margin-bottom: 16px;
  max-width: 800px;
}
.article-dek {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 680px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.byline-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.byline-name  { font-size: 13px; font-weight: 500; color: var(--ink-1); }
.byline-role  { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; margin-top: 1px; }
.byline-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }
.byline-date  { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.04em; }

/* Article body layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
  padding: 44px 0;
}

/* Article featured image */
.article-hero-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  margin-bottom: 8px;
}
.article-img-caption {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 6px 0 20px;
  border-bottom: 1px solid var(--border);
}

/* Article body typography — the most important thing on the page */
.article-body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.82;
  color: var(--ink-2);
  max-width: var(--article);
}
.article-body p { margin-bottom: 24px; }
.article-body p:first-child::first-letter {
  font-size: 3.6em;
  line-height: 0.8;
  float: left;
  margin: 4px 10px -4px 0;
  font-weight: 900;
  color: var(--red);
  font-family: var(--serif);
}
.article-body h2 {
  font-size: 24px;
  margin: 48px 0 18px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.article-body h3 { font-size: 20px; margin: 36px 0 14px; }
.article-body h4 { font-size: 17px; margin: 28px 0 10px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.article-body blockquote {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 28px;
  margin: 36px 0;
}
.article-body ul li,
.article-body ol li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--ink-2);
}
.article-body ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--red);
  font-weight: 700;
}
.article-body ol { counter-reset: ol; }
.article-body ol li::before {
  content: counter(ol) '.';
  counter-increment: ol;
  position: absolute; left: 0;
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  top: 3px;
}
.article-body strong { font-weight: 700; color: var(--ink-1); }
.article-body em { font-style: italic; }
.article-body a { color: var(--red); border-bottom: 1px solid rgba(204,0,0,.3); transition: border-color var(--fast); }
.article-body a:hover { border-bottom-color: var(--red); }
.article-body img { margin: 32px auto; border-radius: 0; }
.article-body figure { margin: 32px 0; }
.article-body figcaption { font-family: var(--mono); font-size: 10px; color: var(--ink-3); padding: 8px 0; }

/* Key takeaways box */
.takeaways-box {
  background: var(--bg-off);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px;
  margin: 32px 0;
}
.takeaways-box h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.takeaways-box ul li { margin-bottom: 8px; font-size: 15px; font-family: var(--sans); }
.takeaways-box ul li::before { content: '→'; color: var(--red); font-style: normal; }

/* Inline newsletter box */
.inline-newsletter {
  background: var(--bg-off);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  margin: 40px 0;
}
.inline-newsletter p { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; font-family: var(--sans); }
.inline-newsletter .sub-form { display: flex; }
.inline-newsletter .sub-input {
  flex: 1; border: 1px solid var(--border); border-right: none;
  padding: 10px 14px; font-size: 14px; background: var(--bg);
  color: var(--ink-1); outline: none;
}
.inline-newsletter .sub-input:focus { border-color: var(--red); }
.inline-newsletter .sub-btn {
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 16px; transition: background var(--fast);
}
.inline-newsletter .sub-btn:hover { background: var(--red-hover); }

/* Share bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
  flex-wrap: wrap;
}
.share-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.share-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border);
  color: var(--ink-3);
  transition: all var(--fast);
}
.share-btn:hover { color: var(--ink-1); border-color: var(--ink-1); }
.share-btn.wa:hover  { color: #16a34a; border-color: #16a34a; }
.share-btn.tw:hover  { color: #1d9bf0; border-color: #1d9bf0; }
.share-btn.li:hover  { color: #0a66c2; border-color: #0a66c2; }

/* Tags */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  color: var(--ink-3);
  transition: all var(--fast);
}
.tag:hover { background: var(--red-tint); border-color: var(--red); color: var(--red); }

/* Related posts */
.related-posts { padding: 44px 0 0; border-top: 2px solid var(--ink-1); }
[data-theme="dark"] .related-posts { border-top-color: var(--border-strong); }

/* ════════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════════ */
.sidebar { padding-top: 0; }
.widget { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.widget:last-child { border-bottom: none; }
.widget-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-1);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--ink-1);
}
[data-theme="dark"] .widget-title { border-bottom-color: var(--border-strong); }

/* ════════════════════════════════════════════════
   CATEGORY / ARCHIVE PAGE
════════════════════════════════════════════════ */
.archive-header { padding: 40px 0 28px; border-bottom: 2px solid var(--ink-1); margin-bottom: 40px; }
[data-theme="dark"] .archive-header { border-bottom-color: var(--border-strong); }
.archive-header .eyebrow { margin-bottom: 8px; }
.archive-header h1 { margin-bottom: 0; }
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 52px;
  padding: 40px 0 60px;
  align-items: start;
}
.archive-list { display: flex; flex-direction: column; }
.archive-item {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.archive-item:first-child { padding-top: 0; }
.archive-item-thumb {
  width: 120px; height: 80px;
  object-fit: cover;
}
.cat-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-pill {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: var(--ink-3);
  transition: all var(--fast);
  background: transparent;
}
.cat-pill:hover,
.cat-pill.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════ */
.about-lead {
  background: var(--ink-1);
  padding: 80px 0;
  border-bottom: 3px solid var(--red);
}
[data-theme="dark"] .about-lead { background: #080808; }
.about-lead h1 { color: #fff; max-width: 720px; }
.about-lead p { color: rgba(255,255,255,.55); font-size: 17px; font-weight: 300; max-width: 600px; margin-top: 20px; line-height: 1.8; }
.about-values {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
  margin: 48px 0;
}
.value-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
}
.team-card {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 900; color: #fff;
  margin-bottom: 14px;
}
.team-name  { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink-1); }
.team-role  { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.team-bio   { font-size: 12px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; font-weight: 300; }

/* ════════════════════════════════════════════════
   ADVERTISE PAGE
════════════════════════════════════════════════ */
.ad-page-hero {
  background: var(--ink-1);
  padding: 72px 0;
  border-bottom: 3px solid var(--red);
}
[data-theme="dark"] .ad-page-hero { background: #080808; }
.ad-page-hero h1 { color: #fff; }
.ad-page-hero p  { color: rgba(255,255,255,.5); font-size: 16px; font-weight: 300; margin-top: 16px; max-width: 520px; line-height: 1.8; }
.audience-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
  margin: 48px 0;
}
.audience-stat {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-stat-n { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink-1); }
.audience-stat-l { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.rate-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
}
.rate-card {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rate-card.highlight { background: var(--red); }
.rate-card.highlight .rate-title,
.rate-card.highlight .rate-price,
.rate-card.highlight .rate-desc,
.rate-card.highlight .rate-feat { color: #fff; }
.rate-card.highlight .rate-title { color: rgba(255,255,255,.7); }
.rate-title { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.rate-price { font-family: var(--serif); font-size: 32px; font-weight: 900; color: var(--ink-1); margin-bottom: 8px; }
.rate-price span { font-size: 14px; font-weight: 300; }
.rate-desc  { font-size: 13px; color: var(--ink-3); line-height: 1.7; font-weight: 300; }
.rate-feats { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.rate-feat  { font-family: var(--mono); font-size: 10px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.rate-feat::before { content: '·'; color: var(--red); font-size: 16px; }
.rate-card.highlight .rate-feat::before { color: rgba(255,255,255,.6); }

/* Contact form */
.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  width: 100%;
  background: var(--bg-off);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-1);
  outline: none;
  margin-bottom: 14px;
  transition: border-color var(--fast);
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { height: 130px; resize: vertical; }
.contact-form .btn-submit {
  background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 28px; transition: background var(--fast);
}
.contact-form .btn-submit:hover { background: var(--red-hover); }

/* ════════════════════════════════════════════════
   SUBSCRIBE PAGE
════════════════════════════════════════════════ */
.subscribe-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.subscribe-box { max-width: 540px; width: 100%; text-align: center; }
.subscribe-box h1 { margin-bottom: 12px; }
.subscribe-box .dek { font-size: 16px; color: var(--ink-3); font-weight: 300; margin-bottom: 32px; line-height: 1.7; }
.sub-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-right: none; border-bottom: none;
  margin: 32px 0;
}
.sub-stat-cell {
  padding: 18px 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sub-stat-n { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--ink-1); }
.sub-stat-l { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

/* ════════════════════════════════════════════════
   SUBSCRIBE FORM (global)
════════════════════════════════════════════════ */
.sub-form { display: flex; max-width: 420px; }
.sub-form.centered { margin: 0 auto; }
.sub-input {
  flex: 1; min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border); border-right: none;
  padding: 11px 16px; font-size: 14px;
  color: var(--ink-1); outline: none;
  transition: border-color var(--fast);
}
.sub-input:focus { border-color: var(--red); }
.sub-input::placeholder { color: var(--ink-4); }
.sub-btn {
  background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 18px; white-space: nowrap;
  transition: background var(--fast);
}
.sub-btn:hover { background: var(--red-hover); }
.sub-note {
  font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.06em;
  color: var(--ink-4); margin-top: 8px;
}

/* Whatsapp CTA */
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #16a34a; border: 1px solid rgba(22,163,74,.35);
  padding: 8px 16px; transition: background var(--fast);
}
.wa-btn:hover { background: rgba(22,163,74,.06); }
.wa-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
#colophon {
  background: var(--ink-1);
  border-top: 3px solid var(--red);
  padding: 56px 0 24px;
}
[data-theme="dark"] #colophon { background: #080808; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 20px; font-weight: 900;
  color: #fff; margin-bottom: 10px;
}
.footer-brand .b { color: var(--red); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-about   { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.7; font-weight: 300; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.social-link {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4);
  transition: all var(--fast);
}
.social-link:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.footer-col-title {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.45); transition: color var(--fast); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.15);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.15); transition: color var(--fast);
}
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ════════════════════════════════════════════════
   404
════════════════════════════════════════════════ */
.not-found-wrap {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px;
}
.not-found-num {
  font-family: var(--serif); font-size: 110px; font-weight: 900;
  color: var(--red); line-height: 1; margin-bottom: 16px;
}

/* ════════════════════════════════════════════════
   SEARCH RESULTS
════════════════════════════════════════════════ */
.search-header { padding: 40px 0; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.search-term   { font-family: var(--serif); color: var(--red); font-style: italic; }

/* ════════════════════════════════════════════════
   PAGINATION
════════════════════════════════════════════════ */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 40px 0; }
.page-numbers {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 8px 14px; border: 1px solid var(--border); color: var(--ink-3);
  transition: all var(--fast);
}
.page-numbers:hover,
.page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* ════════════════════════════════════════════════
   DARK MODE TOGGLE
════════════════════════════════════════════════ */
.theme-btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-3); border: 1px solid var(--border);
  padding: 5px 10px; display: flex; align-items: center; gap: 5px;
  border-radius: 3px; transition: all var(--fast);
}
.theme-btn:hover { color: var(--ink-1); border-color: var(--ink-1); }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media(max-width:1024px){
  .hero-grid         { grid-template-columns: 1fr; }
  .hero-featured     { padding-right:0; border-right:none; padding-bottom:32px; border-bottom:1px solid var(--border); }
  .hero-sidebar      { padding-left:0; flex-direction:row; flex-wrap:wrap; gap:0; }
  .hero-secondary-item { width:50%; padding:16px; border-bottom:1px solid var(--border); }
  .article-layout    { grid-template-columns:1fr; }
  .archive-layout    { grid-template-columns:1fr; }
  .footer-grid       { grid-template-columns:1fr 1fr; gap:32px; }
  .rate-grid         { grid-template-columns:1fr; }
  .audience-stats    { grid-template-columns:repeat(2,1fr); }
  .shorts-row        { grid-template-columns:repeat(3,1fr); }
  .split-grid        { grid-template-columns:1fr; }
  .split-col+.split-col { border-left:none; padding-left:0; border-top:1px solid var(--border); padding-top:32px; }
}
@media(max-width:768px){
  .wrap,.wrap-narrow { padding:0 20px; }
  .nav-primary,.btn-subscribe { display:none; }
  .btn-hamburger { display:flex; align-items:center; justify-content:center; }
  .card-grid-3,.card-grid-4 { grid-template-columns:1fr; }
  .shorts-row { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .archive-item { grid-template-columns:1fr; }
  .archive-item-thumb { display:none; }
  .hero-secondary-item { width:100%; }
  .sub-form { flex-direction:column; }
  .sub-input { border-right:1px solid var(--border); border-bottom:none; }
  .article-body { font-size:17px; }
  .about-values { grid-template-columns:1fr; }
  .audience-stats { grid-template-columns:repeat(2,1fr); }
  .sub-stats { grid-template-columns:1fr; }
}
@media(max-width:480px){
  .shorts-row { grid-template-columns:repeat(2,1fr); }
  .hero-secondary-item { width:100%; }
  .audience-stats { grid-template-columns:1fr 1fr; }
}
