/*
Theme Name: The Journey Within
Theme URI: https://webnewsforus.com
Author: WebNewsForUs
Description: Editorial science magazine theme for The Journey Within.
Version: 6.0.0
Requires at least: 6.0
License: GNU General Public License v2 or later
Text Domain: journey-within
*/

/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --ink:    #0d0d0b;
  --paper:  #f5f0e8;
  --cream:  #ede8dc;
  --warm:   #faf7f2;
  --accent: #c8401a;
  --gold:   #d4a853;
  --mid:    #6b6458;
  --light:  #c4bdb0;
  --rule:   rgba(13,13,11,0.1);
  --ch-bg:  #060510;
  --ch-dim: rgba(245,240,232,0.35);
  --ch-txt: rgba(245,240,232,0.82);
  --max-w:  1400px;
}

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.5;
}

/* Custom cursor */
.cursor { position: fixed; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .15s,height .15s; }
.cursor-ring { position: fixed; width: 34px; height: 34px; border: 1px solid rgba(13,13,11,.3); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 1rem; background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 99999; font-size: .8rem; }
.skip-link:focus { left: 1rem; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes orbitPulse { 0%,100%{box-shadow:0 0 40px rgba(200,64,26,.4)}50%{box-shadow:0 0 80px rgba(200,64,26,.7)} }
@keyframes orbitSpin { from{transform:translate(-50%,-50%) rotate(0deg) translateX(var(--r)) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg) translateX(var(--r)) rotate(-360deg)} }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* ══════════════════════════════════════════
   COSMIC HEADER BAR
══════════════════════════════════════════ */
.cosmic-header {
  background: var(--ch-bg);
  width: 100%;
  position: relative;
  z-index: 600;
}

/* Row 1 */
.ch-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .42rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 1rem;
  flex-wrap: wrap;
}
.ch-welcome { display: flex; align-items: center; gap: .5rem; font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .07em; }
.ch-greeting { color: var(--gold); font-weight: 500; }
.ch-sep { color: rgba(255,255,255,.15); }
.ch-date { color: var(--ch-dim); }
.ch-links { display: flex; align-items: center; gap: 1.4rem; font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .08em; }
.ch-links a { color: var(--ch-dim); text-decoration: none; transition: color .2s; }
.ch-links a:hover { color: var(--paper); }

/* Row 2 - Quote */
.ch-quote-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  min-height: 38px;
  overflow: hidden;
}
.ch-quote-badge { flex-shrink: 0; background: rgba(212,168,83,.1); border: 1px solid rgba(212,168,83,.2); border-radius: 3px; padding: .1rem .5rem; font-family: 'DM Mono',monospace; font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.ch-quote-mark { color: var(--accent); font-family: 'Playfair Display',serif; font-size: 1rem; line-height: 1; flex-shrink: 0; }
.ch-quote-text { display: flex; align-items: baseline; gap: .3rem; flex: 1; min-width: 0; overflow: hidden; }
.ch-quote-body { font-family: 'Playfair Display',serif; font-style: italic; font-size: .82rem; color: var(--ch-txt); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .35s,transform .35s; flex: 1; min-width: 0; }
.ch-quote-author { flex-shrink: 0; white-space: nowrap; font-family: 'DM Mono',monospace; font-size: .6rem; color: var(--ch-dim); letter-spacing: .05em; }
.ch-quote-refresh { flex-shrink: 0; background: none; border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.3); border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-size: .72rem; display: flex; align-items: center; justify-content: center; transition: all .25s; padding: 0; }
.ch-quote-refresh:hover { color: var(--gold); border-color: var(--gold); transform: rotate(180deg); }

/* Row 3 - Cosmic dashboard */
.ch-cosmic-row {
  display: grid;
  grid-template-columns: 200px 240px 1fr;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ch-cosmic-card { padding: .65rem 1.5rem; border-right: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ch-cosmic-card:last-child { border-right: none; }
.ch-card-label { font-family: 'DM Mono',monospace; font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,240,232,.28); margin-bottom: .4rem; display: block; }
.ch-card-main { display: flex; align-items: center; gap: .6rem; }
.ch-moon-emoji { font-size: 1.5rem; flex-shrink: 0; }
.ch-card-info { display: flex; flex-direction: column; gap: .1rem; }
.ch-card-value { font-family: 'Playfair Display',serif; font-size: .88rem; font-weight: 700; color: var(--paper); display: block; }
.ch-card-sub { font-family: 'DM Mono',monospace; font-size: .58rem; color: rgba(245,240,232,.32); display: block; letter-spacing: .04em; }
.ch-moon-bar { height: 2px; background: rgba(255,255,255,.06); border-radius: 2px; margin-top: .45rem; overflow: hidden; }
.ch-moon-bar-fill { height: 100%; background: linear-gradient(90deg,rgba(232,228,216,.25),rgba(232,228,216,.85)); border-radius: 2px; }

.ch-events-list { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 0; }
.ch-event-item { display: flex; align-items: center; gap: .4rem; padding: .2rem 1rem .2rem 0; margin-right: .7rem; border-right: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
.ch-event-item:last-child { border-right: none; margin-right: 0; }
.ch-event-emoji { font-size: .9rem; }
.ch-event-info { display: flex; flex-direction: column; gap: .06rem; }
.ch-event-name { font-size: .68rem; color: var(--ch-txt); font-weight: 500; }
.ch-event-date { font-family: 'DM Mono',monospace; font-size: .55rem; color: rgba(245,240,232,.3); }
.ch-event-countdown { font-family: 'DM Mono',monospace; font-size: .56rem; color: var(--gold); background: rgba(212,168,83,.08); border: 1px solid rgba(212,168,83,.15); padding: .07rem .35rem; border-radius: 2px; white-space: nowrap; flex-shrink: 0; }

.ch-toggle { display: block; width: 100%; background: rgba(255,255,255,.02); border: none; border-top: 1px solid rgba(255,255,255,.04); color: rgba(255,255,255,.2); font-family: 'DM Mono',monospace; font-size: .52rem; letter-spacing: .1em; padding: .28rem; cursor: pointer; text-align: center; transition: all .2s; }
.ch-toggle:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.5); }
.ch-toggle-icon { display: inline-block; transition: transform .35s; margin-right: .3rem; }
.cosmic-header.collapsed .ch-quote-row,
.cosmic-header.collapsed .ch-cosmic-row { display: none; }
.cosmic-header.collapsed .ch-toggle-icon { transform: rotate(180deg); }

/* Mobile cosmic strip inside menu */
.mobile-cosmic-strip { display: flex; justify-content: space-around; flex-wrap: wrap; gap: .5rem; padding: .8rem 1.5rem; background: var(--ch-bg); font-family: 'DM Mono',monospace; font-size: .65rem; color: rgba(245,240,232,.55); }


/* ══════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 590;
  width: 100%;
  background: rgba(245,240,232,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  height: 62px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.site-branding { flex-shrink: 0; line-height: 1; }
.site-branding a { text-decoration: none; display: flex; align-items: center; }

/* Logo IMAGE — constrain it */
.site-branding img,
.custom-logo { max-height: 40px !important; width: auto !important; max-width: 160px !important; object-fit: contain; }

/* Logo TEXT fallback */
.logo-text { font-family: 'Playfair Display',serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.logo-accent { color: var(--accent); }

/* Nav */
.main-navigation { flex: 1; overflow: hidden; }
.nav-menu { display: flex; align-items: center; list-style: none; gap: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: .4rem .8rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--mid); text-decoration: none; transition: color .2s; white-space: nowrap; font-family: 'DM Sans',sans-serif; }
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--ink); }
.nav-menu > li > ul { position: absolute; top: 100%; left: 0; background: var(--warm); border: 1px solid var(--rule); border-top: 2px solid var(--accent); min-width: 190px; list-style: none; padding: .4rem 0; box-shadow: 0 8px 28px rgba(0,0,0,.1); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 100; }
.nav-menu > li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu > li > ul > li > a { display: block; padding: .5rem 1.1rem; font-size: .78rem; color: var(--mid); text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav-menu > li > ul > li > a:hover { color: var(--accent); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.search-toggle { background: none; border: none; color: var(--mid); cursor: pointer; padding: .3rem; display: flex; align-items: center; transition: color .2s; }
.search-toggle:hover { color: var(--ink); }
.nav-subscribe { background: var(--ink); color: var(--paper); padding: .38rem 1rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; font-family: 'DM Sans',sans-serif; text-decoration: none; transition: background .2s; white-space: nowrap; display: inline-block; }
.nav-subscribe:hover { background: var(--accent); color: #fff; }

/* Search bar */
.header-search { background: var(--warm); border-top: 1px solid var(--rule); max-height: 0; overflow: hidden; transition: max-height .3s,padding .3s; }
.header-search.open { max-height: 70px; padding: .7rem 2.5rem; }
.search-form { display: flex; gap: .5rem; max-width: 540px; margin: 0 auto; }
.search-field { flex: 1; background: none; border: none; border-bottom: 1px solid var(--ink); padding: .4rem 0; font-family: 'DM Sans',sans-serif; font-size: .9rem; color: var(--ink); outline: none; }
.search-field::placeholder { color: var(--light); }
.search-submit { background: none; border: none; font-size: 1rem; color: var(--accent); cursor: pointer; padding: 0 .5rem; transition: transform .2s; }
.search-submit:hover { transform: translateX(3px); }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: .3rem; }
.hamburger-bar { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 1px; transition: all .25s; }
.menu-toggle.open .hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open .hamburger-bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ══════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════ */
.mobile-overlay { position: fixed; inset: 0; background: rgba(13,13,11,.5); z-index: 800; opacity: 0; visibility: hidden; transition: all .3s; }
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: -310px; width: 290px; height: 100vh; background: var(--warm); z-index: 900; overflow-y: auto; transition: right .3s ease; display: flex; flex-direction: column; }
.mobile-menu.open { right: 0; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--rule); }
.mobile-close { background: none; border: none; font-size: 1rem; color: var(--mid); cursor: pointer; }
.mobile-nav-list { list-style: none; padding: .5rem 0; flex: 1; }
.mobile-nav-list li a { display: block; padding: .85rem 1.5rem; font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); transition: color .2s; }
.mobile-nav-list li a:hover { color: var(--accent); }
.mobile-nav-list ul { list-style: none; }
.mobile-nav-list ul li a { font-size: .78rem; color: var(--mid); padding-left: 2rem; border-bottom: none; }
.mobile-menu-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--rule); }
.mobile-menu-links a { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-family: 'DM Mono',monospace; text-decoration: none; color: var(--light); transition: color .2s; }
.mobile-menu-links a:hover { color: var(--accent); }
.mobile-menu-links a + a::before { content: '·'; margin-right: .5rem; color: var(--light); }


/* ══════════════════════════════════════════
   BREADCRUMBS
══════════════════════════════════════════ */
.breadcrumb-wrap { background: var(--cream); border-bottom: 1px solid var(--rule); width: 100%; }
.breadcrumbs { max-width: var(--max-w); margin: 0 auto; padding: .65rem 2.5rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; list-style: none; }
.breadcrumbs li { font-size: .65rem; font-family: 'DM Mono',monospace; color: var(--light); letter-spacing: .04em; }
.breadcrumbs li a { color: var(--mid); text-decoration: none; transition: color .2s; }
.breadcrumbs li a:hover { color: var(--accent); }
.bc-sep { color: var(--light); margin: 0 .2rem; }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem 2.5rem 5rem;
  overflow: hidden;
  background: var(--paper);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; }
.hero-kicker { position: relative; z-index: 2; font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; animation: fadeUp 1s .2s both; }
.hero-title { position: relative; z-index: 2; font-family: 'Playfair Display',serif; font-size: clamp(3rem,8vw,8rem); font-weight: 900; line-height: .92; letter-spacing: -.02em; max-width: 900px; animation: fadeUp 1s .4s both; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-rule { position: relative; z-index: 2; width: 70px; height: 2px; background: var(--ink); margin: 1.8rem 0; animation: fadeUp 1s .55s both; }
.hero-sub { position: relative; z-index: 2; font-size: 1rem; max-width: 500px; color: var(--mid); line-height: 1.65; animation: fadeUp 1s .7s both; }
.hero-meta { position: relative; z-index: 2; display: flex; align-items: center; gap: 2rem; margin-top: 2rem; animation: fadeUp 1s .85s both; }
.hero-date { font-family: 'DM Mono',monospace; font-size: .68rem; color: var(--mid); letter-spacing: .06em; }
.hero-cta { display: flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s,border-color .2s; }
.hero-cta:hover { color: var(--accent); border-color: var(--accent); }

/* Ticker */
.ticker-bar { background: var(--ink); color: var(--paper); padding: .65rem 0; overflow: hidden; white-space: nowrap; width: 100%; }
.ticker-inner { display: inline-block; animation: ticker 45s linear infinite; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-family: 'DM Mono',monospace; padding-left: 100%; }
.ticker-inner .sep { margin: 0 1.5rem; color: var(--accent); }


/* ══════════════════════════════════════════
   MAIN CONTENT LAYOUT
   All sections get padding, full width
══════════════════════════════════════════ */
.site-main {
  width: 100%;
  display: block;
}

/* Inner wrapper for padded sections */
.site-main > section,
.site-main > div:not(.bleed-feature):not(.cat-strip):not(.ticker-bar):not(.newsletter-section) {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 3.5rem 2.5rem;
  width: 100%;
}

/* Full-bleed sections — edge to edge */
.bleed-feature,
.cat-strip,
.ticker-bar,
.newsletter-section { width: 100%; }

/* Section header */
.section-header { display: flex; align-items: baseline; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: .9rem; margin-bottom: 2.5rem; }
.section-label { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; }
.section-all { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--mid); font-weight: 500; transition: color .2s; }
.section-all:hover { color: var(--accent); }


/* ══════════════════════════════════════════
   FEATURED GRID
══════════════════════════════════════════ */
.featured-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  width: 100%;
}
.card-main { border-right: 1px solid var(--rule); padding-right: 2.5rem; }
.card-side { padding-left: 2.5rem; border-bottom: 1px solid var(--rule); padding-bottom: 2rem; }
.card-side + .card-side { border-bottom: none; padding-top: 2rem; }

.card-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); margin-bottom: 1.3rem; }
.card-img a { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-img:hover img { transform: scale(1.03); }
.card-img-sm { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--cream); margin-bottom: .9rem; }
.card-img-sm a { display: block; width: 100%; height: 100%; }
.card-img-sm img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-img-sm:hover img { transform: scale(1.03); }

.card-category { font-family: 'DM Mono',monospace; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.card-category a { color: inherit; text-decoration: none; }
.card-title { font-family: 'Playfair Display',serif; font-weight: 700; line-height: 1.15; text-decoration: none; color: var(--ink); display: block; transition: color .2s; }
.card-title:hover { color: var(--accent); }
.card-title-lg { font-size: clamp(1.3rem,2.2vw,1.85rem); margin-bottom: .9rem; }
.card-title-md { font-size: 1.1rem; margin-bottom: .6rem; }
.card-title-sm { font-size: .95rem; margin-bottom: .5rem; }
.card-excerpt { font-size: .88rem; color: var(--mid); line-height: 1.65; margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; gap: .8rem; font-family: 'DM Mono',monospace; font-size: .62rem; color: var(--light); letter-spacing: .05em; flex-wrap: wrap; }
.card-meta-dot { width: 3px; height: 3px; background: var(--light); border-radius: 50%; display: inline-block; }


/* ══════════════════════════════════════════
   CATEGORY STRIP — full width
══════════════════════════════════════════ */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  border-top: 2px solid var(--ink);
  width: 100%;
}
.cat-item { padding: 1.8rem 1.4rem; border-right: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: background .2s,color .2s; display: block; }
.cat-item:last-child { border-right: none; }
.cat-item:hover { background: var(--ink); color: var(--paper); }
.cat-item:hover .cat-count { color: rgba(245,240,232,.35); }
.cat-item:hover .cat-arrow { opacity: 1; transform: translateX(4px); }
.cat-icon { font-size: 1.6rem; margin-bottom: .8rem; display: block; }
.cat-name { font-family: 'Playfair Display',serif; font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.cat-count { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); }
.cat-arrow { font-size: .75rem; margin-top: .7rem; display: block; opacity: 0; transition: all .2s; }


/* ══════════════════════════════════════════
   BLEED FEATURE — full width
══════════════════════════════════════════ */
.bleed-feature {
  background: var(--ink); color: var(--paper);
  padding: 5rem 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  width: 100%;
}
.bleed-label { font-family: 'DM Mono',monospace; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.bleed-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3.5vw,3rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.2rem; }
.bleed-title em { font-style: italic; color: var(--accent); }
.bleed-body { color: rgba(245,240,232,.6); font-size: .92rem; line-height: 1.75; margin-bottom: 1.8rem; }
.bleed-btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--accent); color: #fff; padding: .8rem 1.8rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; text-decoration: none; transition: background .2s; }
.bleed-btn:hover { background: #a8330d; }
.orbit-system { position: relative; width: 280px; height: 280px; margin: auto; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(245,240,232,.07); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.orbit-core { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle,#f5c842,#c8401a); top: 50%; left: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 50px rgba(200,64,26,.4); animation: orbitPulse 3s ease-in-out infinite; }
.orbit-planet { position: absolute; border-radius: 50%; top: 50%; left: 50%; animation: orbitSpin linear infinite; }


/* ══════════════════════════════════════════
   ESSENTIAL READING (list grid)
══════════════════════════════════════════ */
.list-section { background: var(--cream); }
.list-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.list-card { border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.list-number { font-family: 'DM Mono',monospace; font-size: .6rem; color: var(--light); letter-spacing: .1em; margin-bottom: .7rem; }


/* ══════════════════════════════════════════
   LATEST ARTICLES
══════════════════════════════════════════ */
.latest-list { border-top: 1px solid var(--rule); }
.latest-item { display: grid; grid-template-columns: 36px 1fr 150px; gap: 1.3rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.latest-num { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); padding-top: 3px; }
.latest-title { font-family: 'Playfair Display',serif; font-size: 1rem; font-weight: 700; line-height: 1.25; text-decoration: none; color: var(--ink); transition: color .2s; display: block; }
.latest-title:hover { color: var(--accent); }
.latest-meta { display: flex; flex-direction: column; gap: .25rem; align-items: flex-end; }
.latest-category { font-family: 'DM Mono',monospace; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.latest-category a { color: inherit; text-decoration: none; }
.latest-date { font-family: 'DM Mono',monospace; font-size: .6rem; color: var(--light); }


/* ══════════════════════════════════════════
   NEWSLETTER — full width
══════════════════════════════════════════ */
.newsletter-section {
  background: var(--warm);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 4.5rem 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  width: 100%;
}
.newsletter-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 900; line-height: 1.1; margin-bottom: .7rem; }
.newsletter-sub { color: var(--mid); font-size: .88rem; line-height: 1.7; }
.newsletter-form { display: flex; flex-direction: column; gap: .9rem; }
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] { background: none; border: none; border-bottom: 1px solid var(--ink); padding: .7rem 0; font-family: 'DM Sans',sans-serif; font-size: .9rem; color: var(--ink); outline: none; transition: border-color .2s; width: 100%; }
.newsletter-form input::placeholder { color: var(--light); }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button { background: var(--ink); color: var(--paper); border: none; padding: .9rem 2rem; font-family: 'DM Sans',sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; cursor: pointer; align-self: flex-start; transition: background .2s; }
.newsletter-form button:hover { background: var(--accent); }
.newsletter-fine { font-size: .63rem; color: var(--light); line-height: 1.6; }
.newsletter-fine a { color: inherit; text-decoration: underline; }


/* ══════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════ */
.single-post-hero {
  padding: 3rem 2.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}
.post-kicker { font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.post-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,4.5vw,3.2rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.2rem; }
.post-meta { display: flex; align-items: center; gap: .8rem; font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }

/* Featured image — FULL WIDTH */
.single .post-featured-img {
  width: 100%;
  max-width: 100%;
  margin: 0 0 0 0;
}
.single .post-featured-img img,
.post-thumbnail {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Article body */
.entry-content {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
/* Text elements centered and readable */
.entry-content > p,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > table,
.entry-content > hr {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  box-sizing: border-box;
}
.entry-content > p:first-child { padding-top: 2.5rem; }
.entry-content > *:last-child { padding-bottom: 4rem; }
/* Images go full width */
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > img,
.entry-content > .alignfull,
.entry-content > .alignwide,
.entry-content > .ad-container,
.ad-container { max-width: 100%; width: 100%; padding: 0; }
.entry-content figure img,
.entry-content .wp-block-image img,
.entry-content > img { width: 100%; height: auto; display: block; }

.entry-content p { font-size: 1rem; line-height: 1.82; margin-bottom: 1.4rem; color: #2a2a27; }
.entry-content h2 { font-family: 'Playfair Display',serif; font-size: 1.65rem; font-weight: 700; margin: 2.5rem auto .9rem; }
.entry-content h3 { font-family: 'Playfair Display',serif; font-size: 1.2rem; font-weight: 700; margin: 2rem auto .7rem; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.5rem; margin: 2rem auto; font-style: italic; color: var(--mid); font-size: 1.05rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(200,64,26,.3); }
.entry-content ul, .entry-content ol { margin: .8rem auto 1.4rem; }
.entry-content li { font-size: .97rem; line-height: 1.7; margin-bottom: .4rem; }

/* Ad slots */
.ad-container { margin: 2.5rem auto; text-align: center; overflow: hidden; }
.ad-container::before { content: 'Advertisement'; display: block; font-family: 'DM Mono',monospace; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--light); margin-bottom: .3rem; }
.ad-placeholder { background: var(--cream); border: 1px dashed var(--light); min-height: 90px; display: flex; align-items: center; justify-content: center; margin: 0 auto; max-width: 728px; }
.ad-placeholder span { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); letter-spacing: .1em; text-transform: uppercase; }


/* ══════════════════════════════════════════
   ARCHIVE / CATEGORY PAGES
══════════════════════════════════════════ */
.archive-header { padding: 3rem 2.5rem 2rem; max-width: var(--max-w); margin: 0 auto; border-bottom: 2px solid var(--ink); }
.archive-kicker { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.archive-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; }

.latest-list { border-top: 1px solid var(--rule); }
.pagination { padding: 2rem 0; display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rule); font-family: 'DM Mono',monospace; font-size: .72rem; text-decoration: none; color: var(--mid); transition: all .2s; }
.pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination .prev, .pagination .next { width: auto; padding: 0 .9rem; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--ink); color: var(--paper); width: 100%; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding: 3.5rem 2.5rem 2.5rem; max-width: var(--max-w); margin: 0 auto; }
.footer-brand { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 900; margin-bottom: .7rem; }
.footer-brand span { color: var(--accent); }
.footer-brand a { text-decoration: none; color: inherit; }
.footer-tagline { color: rgba(245,240,232,.4); font-size: .83rem; line-height: 1.7; max-width: 260px; }
.footer-col-title { font-family: 'DM Mono',monospace; font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-links li a { text-decoration: none; color: rgba(245,240,232,.45); font-size: .83rem; transition: color .2s; }
.footer-links li a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 2.5rem; max-width: var(--max-w); margin: 0 auto; border-top: 1px solid rgba(245,240,232,.07); font-family: 'DM Mono',monospace; font-size: .62rem; color: rgba(245,240,232,.25); letter-spacing: .06em; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(245,240,232,.6); }


/* ══════════════════════════════════════════
   PAGE TEMPLATES
══════════════════════════════════════════ */
.page-article { width: 100%; }
.page-hero { background: var(--ink); color: var(--paper); padding: 4.5rem 2.5rem 3.5rem; width: 100%; }
.page-hero--sm { padding: 3.5rem 2.5rem 2.5rem; }
.page-hero-inner { max-width: 700px; }
.page-kicker { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.page-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,4.5vw,3.2rem); font-weight: 900; line-height: 1.05; margin-bottom: .7rem; }
.page-title em { font-style: italic; color: var(--accent); }
.page-subtitle { color: rgba(245,240,232,.6); font-size: .95rem; line-height: 1.65; }
.page-body { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2.5rem 5rem; }

.legal-content { max-width: 720px; }
.legal-content h2 { font-family: 'Playfair Display',serif; font-size: 1.35rem; font-weight: 700; margin: 2.5rem 0 .8rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content p { font-size: .93rem; line-height: 1.8; color: #2a2a27; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin: .5rem 0 1rem 1.5rem; }
.legal-content li { font-size: .93rem; line-height: 1.7; margin-bottom: .3rem; color: #2a2a27; }
.legal-content a { color: var(--accent); }
.legal-toc { background: var(--cream); border: 1px solid var(--rule); padding: 1.4rem; margin-bottom: 2.5rem; }
.legal-toc h3 { font-family: 'Playfair Display',serif; font-size: .95rem; font-weight: 700; margin-bottom: .7rem; }
.legal-toc ol { margin: 0 0 0 1.2rem; }
.legal-toc li { font-size: .83rem; line-height: 1.8; }
.legal-toc a { color: var(--accent); text-decoration: none; }

.btn-primary { display: inline-block; background: var(--ink); color: var(--paper); padding: .75rem 1.7rem; text-decoration: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; transition: background .2s; border: none; cursor: pointer; font-family: 'DM Sans',sans-serif; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-secondary { display: inline-block; background: none; color: var(--ink); padding: .75rem 1.7rem; text-decoration: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--ink); transition: all .2s; font-family: 'DM Sans',sans-serif; }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 260px; gap: 3.5rem; margin-bottom: 3.5rem; }
.about-text h2 { font-family: 'Playfair Display',serif; font-size: 1.6rem; font-weight: 700; margin-bottom: .9rem; }
.about-text p { font-size: .93rem; line-height: 1.8; color: #2a2a27; margin-bottom: .9rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; align-content: start; }
.stat-box { background: var(--cream); border: 1px solid var(--rule); padding: 1.4rem; text-align: center; }
.stat-number { display: block; font-family: 'Playfair Display',serif; font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.stat-label { font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .08em; color: var(--mid); text-transform: uppercase; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; margin-bottom: 3rem; }
.value-card { border: 1px solid var(--rule); padding: 1.4rem; }
.value-icon { font-size: 1.4rem; margin-bottom: .7rem; display: block; }
.value-card h3 { font-family: 'Playfair Display',serif; font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.value-card p { font-size: .8rem; color: var(--mid); line-height: 1.6; }
.topics-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.topic-pill { display: flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: .83rem; font-weight: 500; transition: all .2s; }
.topic-pill:hover { border-color: var(--accent); color: var(--accent); }
.topic-count { font-family: 'DM Mono',monospace; font-size: .62rem; color: var(--light); }
.about-cta-links { display: flex; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 280px; gap: 3.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-row { display: flex; gap: 1.4rem; }
.form-row--half > .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.form-group label span { color: var(--accent); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea { background: none; border: none; border-bottom: 1px solid var(--ink); padding: .65rem 0; font-family: 'DM Sans',sans-serif; font-size: .9rem; color: var(--ink); outline: none; transition: border-color .2s; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-notice { padding: .9rem 1.1rem; margin-bottom: .9rem; font-size: .85rem; }
.form-notice--success { background: rgba(76,175,80,.1); border-left: 3px solid #4caf50; color: #2e7d32; }
.form-notice--error { background: rgba(200,64,26,.1); border-left: 3px solid var(--accent); color: var(--accent); }
.form-note { font-size: .7rem; color: var(--light); line-height: 1.6; }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-info-card { border: 1px solid var(--rule); padding: 1.1rem; }
.contact-info-card h3 { font-family: 'Playfair Display',serif; font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.contact-info-card p { font-size: .8rem; color: var(--mid); line-height: 1.6; }
.contact-info-card a { color: var(--accent); }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.sitemap-section--wide { grid-column: 1 / -1; }
.sitemap-section h2 { font-family: 'Playfair Display',serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: .45rem; }
.sitemap-count { font-family: 'DM Mono',monospace; font-size: .62rem; color: var(--light); margin-left: auto; }
.sitemap-list { list-style: none; }
.sitemap-list li { padding: .4rem 0; border-bottom: 1px solid rgba(13,13,11,.05); display: flex; align-items: baseline; gap: .5rem; }
.sitemap-list a { font-size: .85rem; text-decoration: none; color: var(--mid); transition: color .2s; flex: 1; }
.sitemap-list a:hover { color: var(--accent); }
.sitemap-date { font-family: 'DM Mono',monospace; font-size: .6rem; color: var(--light); white-space: nowrap; }
.sitemap-recent-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.sitemap-recent-item { padding: .55rem 0; border-bottom: 1px solid rgba(13,13,11,.06); }
.sitemap-recent-item a { font-family: 'Playfair Display',serif; font-size: .83rem; font-weight: 600; text-decoration: none; color: var(--ink); display: block; margin-bottom: .2rem; transition: color .2s; }
.sitemap-recent-item a:hover { color: var(--accent); }
.sitemap-meta { font-family: 'DM Mono',monospace; font-size: .6rem; color: var(--light); }

/* Write */
.write-grid { display: grid; grid-template-columns: 1fr 250px; gap: 3.5rem; }
.write-sidebar { display: flex; flex-direction: column; gap: 1.1rem; }
.write-sidebar-card { border: 1px solid var(--rule); padding: 1.1rem; }
.write-sidebar-card h3 { font-family: 'Playfair Display',serif; font-size: .9rem; font-weight: 700; margin-bottom: .55rem; }
.write-sidebar-card p { font-size: .8rem; color: var(--mid); line-height: 1.6; }
.write-sidebar-card ul { list-style: none; }
.write-sidebar-card ul li { font-size: .8rem; color: var(--mid); padding: .2rem 0; }
.write-topics { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.3rem 0; }
.write-topic-card { border: 1px solid var(--rule); padding: .9rem; }
.write-topic-card span { font-size: 1.2rem; display: block; margin-bottom: .35rem; }
.write-topic-card strong { font-family: 'Playfair Display',serif; font-size: .9rem; display: block; margin-bottom: .25rem; }
.write-topic-card p { font-size: .78rem; color: var(--mid); line-height: 1.5; margin: 0; }
.guidelines-list { background: var(--cream); padding: 1.3rem 1.3rem 1.3rem 2.2rem; }
.guidelines-list li { font-size: .88rem; line-height: 1.7; margin-bottom: .45rem; }

/* Comments */
.comments-area { max-width: 680px; margin: 0 auto; padding: 0 2.5rem 4rem; width: 100%; box-sizing: border-box; }
.comments-title { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--rule); }
.comment-body { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.comment-author .fn { font-family: 'Playfair Display',serif; font-weight: 700; }
.comment-metadata a { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); text-decoration: none; }
.comment-content p { margin-top: .7rem; font-size: .92rem; color: var(--mid); line-height: 1.7; }
.reply a { font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); text-decoration: none; }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ch-cosmic-row { grid-template-columns: 1fr 1fr; }
  .ch-cosmic-card--wide { grid-column: 1 / -1; border-right: none; border-top: 1px solid rgba(255,255,255,.06); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .list-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Nav */
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 0 1.2rem; gap: .8rem; }

  /* Cosmic bar */
  .ch-cosmic-row, .ch-toggle { display: none; }
  .ch-links { display: none; }
  .ch-toprow { padding: .4rem 1rem; }
  .ch-quote-row { padding: .45rem 1rem; }
  .ch-quote-body { white-space: normal; font-size: .76rem; }
  .ch-quote-author { display: none; }

  /* Layout */
  .site-main > section,
  .site-main > div:not(.bleed-feature):not(.cat-strip):not(.ticker-bar):not(.newsletter-section) {
    padding: 2.5rem 1.5rem;
  }

  /* Featured */
  .featured-grid { grid-template-columns: 1fr; }
  .card-main { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 2rem; margin-bottom: 2rem; }
  .card-side { padding-left: 0; }

  /* Cat strip */
  .cat-strip { grid-template-columns: repeat(3,1fr); }

  /* Bleed */
  .bleed-feature { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .orbit-system { width: 200px; height: 200px; }

  /* Newsletter */
  .newsletter-section { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }

  /* Latest */
  .latest-item { grid-template-columns: 30px 1fr; }
  .latest-meta { display: none; }

  /* Single */
  .single-post-hero { padding: 2rem 1.5rem 1.5rem; }
  .entry-content > p, .entry-content > h2, .entry-content > h3,
  .entry-content > ul, .entry-content > ol, .entry-content > blockquote {
    padding-left: 1.5rem; padding-right: 1.5rem;
  }

  /* Pages */
  .page-hero, .page-hero--sm { padding: 3rem 1.5rem 2.5rem; }
  .page-body { padding: 2.5rem 1.5rem 3.5rem; }
  .contact-grid, .about-grid, .write-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-recent-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-top { padding: 2.5rem 1.5rem 2rem; grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; padding: 1rem 1.5rem; text-align: center; }
  .footer-bottom nav { flex-wrap: wrap; justify-content: center; }

  /* Search */
  .header-search.open { padding: .7rem 1.2rem; }
}

@media (max-width: 600px) {
  .cat-strip { grid-template-columns: 1fr 1fr; }
  .cat-item:nth-child(5) { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--rule); }
  .list-grid { grid-template-columns: 1fr; }
  .values-grid, .write-topics { grid-template-columns: 1fr; }
  .sitemap-recent-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero-title { font-size: clamp(2.4rem,10vw,4.5rem); }
  .footer-top { grid-template-columns: 1fr; }
  .ch-quote-badge { display: none; }
  .site-branding img, .custom-logo { max-height: 34px !important; }
}

/* ══════════════════════════════════════════
   SINGLE POST — additional classes
══════════════════════════════════════════ */
.post-featured-img {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
}
.post-featured-img img,
.post-thumbnail {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.post-featured-caption {
  font-size: .7rem; font-family: 'DM Mono',monospace;
  color: var(--light); margin-top: .4rem; text-align: center;
  padding: .4rem 2.5rem .5rem;
}
.post-tags {
  max-width: 680px; margin: 0 auto;
  padding: 0 2.5rem 1.5rem;
  box-sizing: border-box;
}
.post-ad-bottom { padding: 0 2.5rem; }
.post-navigation {
  max-width: 760px; margin: 0 auto;
  padding: 0 2.5rem;
  box-sizing: border-box;
}
.related-posts {
  padding: 2.5rem 2.5rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .post-tags, .post-ad-bottom, .post-navigation { padding-left: 1.5rem; padding-right: 1.5rem; }
  .related-posts { padding: 2rem 1.5rem 3rem; }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   CRITICAL OVERRIDES — Logo + Layout
══════════════════════════════════════════ */

/* Logo: hard-cap the portrait image */
.site-branding img,
.site-branding .custom-logo,
.custom-logo-link img,
.custom-logo-link,
.site-branding a img {
  height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Ensure header never overflows due to logo */
.site-branding {
  flex-shrink: 0 !important;
  max-width: 160px !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

/* Single post: entry-content should be full width wrapper
   Only TEXT children get centered, not the wrapper itself */
.single .entry-content,
article .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Images in entry content — truly full width */
.entry-content img,
.entry-content figure,
.entry-content .wp-block-image {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Post featured image — full bleed */
.post-featured-img,
.post-featured-img img,
.post-thumbnail,
.single .post-thumbnail img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Body text gets readable max-width */
.entry-content p,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  box-sizing: border-box !important;
}

/* Single post hero text area */
.single-post-hero {
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 2.5rem 2rem !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Ensure main is truly full viewport width */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.site-main {
  width: 100% !important;
  max-width: 100% !important;
}


/* ══════════════════════════════════════════
   FRONT PAGE — NEW COMPONENTS
══════════════════════════════════════════ */

/* Section wrapper */
.fp-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
}
.fp-section--cream { background: var(--cream); max-width: 100%; }
.fp-section--cream > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.fp-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 2px solid var(--ink); padding-top: .8rem; margin-bottom: 2rem;
}
.fp-label { font-family: 'Playfair Display',serif; font-size: 1.3rem; font-weight: 700; }
.fp-all { font-family: 'DM Mono',monospace; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--mid); transition: color .2s; }
.fp-all:hover { color: var(--accent); }

/* Category + meta shared */
.fp-cat { font-family: 'DM Mono',monospace; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.fp-cat a { color: inherit; text-decoration: none; }
.fp-cat--sm { font-size: .6rem; }
.fp-dot { color: var(--light); margin: 0 .3rem; }
.fp-meta { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); display: flex; align-items: center; flex-wrap: wrap; }
.fp-meta--sm { font-size: .6rem; }

/* ── Featured Grid ── */
.fp-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Hero card */
.fp-hero { display: flex; flex-direction: column; }
.fp-hero-img {
  display: block; width: 100%; aspect-ratio: 16/10;
  overflow: hidden; background: var(--cream); position: relative; margin-bottom: 1.4rem;
}
.fp-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.fp-hero-img:hover img { transform: scale(1.03); }
.fp-hero-img--placeholder { background: linear-gradient(135deg,#1a1a2e,#0f3460); display: flex; align-items: center; justify-content: center; }
.fp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.25), transparent); }
.fp-hero-title {
  font-family: 'Playfair Display',serif; font-size: clamp(1.3rem,2.2vw,1.9rem);
  font-weight: 800; line-height: 1.15; color: var(--ink); text-decoration: none;
  display: block; margin-bottom: .8rem; transition: color .2s;
}
.fp-hero-title:hover { color: var(--accent); }
.fp-hero-excerpt { font-size: .9rem; color: var(--mid); line-height: 1.65; margin-bottom: .9rem; }

/* Side cards */
.fp-side {
  display: grid; grid-template-rows: repeat(4, auto);
  gap: 0;
}
.fp-side-card {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 1rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule); align-items: start;
}
.fp-side-card:first-child { border-top: 1px solid var(--rule); }
.fp-side-img { display: block; width: 110px; height: 76px; overflow: hidden; background: var(--cream); flex-shrink: 0; }
.fp-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.fp-side-img:hover img { transform: scale(1.05); }
.fp-side-title {
  font-family: 'Playfair Display',serif; font-size: .92rem; font-weight: 700;
  line-height: 1.2; color: var(--ink); text-decoration: none; display: block;
  margin-bottom: .5rem; transition: color .2s;
}
.fp-side-title:hover { color: var(--accent); }

/* ── Category strip ── */
.fp-cats {
  display: grid; grid-template-columns: repeat(5,1fr);
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
  width: 100%;
}
.fp-cat-item {
  display: flex; flex-direction: column; padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s;
}
.fp-cat-item:last-child { border-right: none; }
.fp-cat-item:hover { background: var(--ink); color: var(--paper); }
.fp-cat-item:hover .fp-cat-count { color: rgba(245,240,232,.35); }
.fp-cat-icon { font-size: 1.6rem; margin-bottom: .6rem; }
.fp-cat-name { font-family: 'Playfair Display',serif; font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.fp-cat-count { font-family: 'DM Mono',monospace; font-size: .62rem; color: var(--light); }

/* ── Card Grid ── */
.fp-card-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}
.fp-card { display: flex; flex-direction: column; background: var(--warm); }
.fp-card-img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.fp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.fp-card-img:hover img { transform: scale(1.04); }
.fp-card-img--empty { display: flex; align-items: center; justify-content: center; font-size: 2rem; background: var(--cream); aspect-ratio: 16/10; text-decoration: none; color: var(--mid); }
.fp-card-body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.fp-card-title {
  font-family: 'Playfair Display',serif; font-size: 1.05rem; font-weight: 700;
  line-height: 1.2; color: var(--ink); text-decoration: none; display: block; transition: color .2s;
}
.fp-card-title:hover { color: var(--accent); }
.fp-card-excerpt { font-size: .82rem; color: var(--mid); line-height: 1.6; flex: 1; margin-top: .2rem; }
.fp-section--cream .fp-card { background: var(--warm); }

/* ── Deep Dive ── */
.fp-deepdive {
  background: var(--ink); color: var(--paper);
  width: 100%; padding: 4.5rem 2.5rem;
}
.fp-deepdive-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center;
}
.fp-deepdive-kicker { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.fp-deepdive-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.1rem; }
.fp-deepdive-body { color: rgba(245,240,232,.65); font-size: .92rem; line-height: 1.75; margin-bottom: 1.6rem; }
.fp-deepdive-btn { display: inline-block; background: var(--accent); color: #fff; padding: .8rem 1.8rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; text-decoration: none; transition: background .2s; }
.fp-deepdive-btn:hover { background: #a8330d; }
.fp-deepdive-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.fp-deepdive-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Article List ── */
.fp-list { border-top: 1px solid var(--rule); }
.fp-list-item {
  display: grid; grid-template-columns: 40px 1fr 100px;
  gap: 1.2rem; align-items: center;
  padding: 1.3rem 0; border-bottom: 1px solid var(--rule);
}
.fp-list-num { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); }
.fp-list-title {
  font-family: 'Playfair Display',serif; font-size: 1rem; font-weight: 700;
  line-height: 1.25; text-decoration: none; color: var(--ink); display: block; transition: color .2s;
}
.fp-list-title:hover { color: var(--accent); }
.fp-list-cat { font-family: 'DM Mono',monospace; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.fp-list-thumb { display: block; width: 100px; height: 66px; overflow: hidden; flex-shrink: 0; }
.fp-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.fp-list-thumb:hover img { transform: scale(1.05); }

/* ── Pagination ── */
.fp-pagination { padding: 2.5rem 0; display: flex; justify-content: center; }
.fp-pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.fp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 .6rem; border: 1px solid var(--rule); font-family: 'DM Mono',monospace; font-size: .72rem; text-decoration: none; color: var(--mid); transition: all .2s; }
.fp-pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.fp-pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fp-pagination .prev, .fp-pagination .next { font-size: .65rem; letter-spacing: .06em; }

/* ══════════════════════════════════════════
   ARCHIVE PAGE
══════════════════════════════════════════ */
.arc-hero {
  background: var(--ink); color: var(--paper);
  padding: 4rem 2.5rem 3rem; width: 100%;
}
.arc-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.arc-kicker { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.arc-title { font-family: 'Playfair Display',serif; font-size: clamp(2rem,5vw,3.5rem); font-weight: 900; line-height: 1; margin-bottom: .7rem; }
.arc-desc { color: rgba(245,240,232,.6); font-size: .92rem; line-height: 1.65; max-width: 560px; margin-bottom: .7rem; }
.arc-count { font-family: 'DM Mono',monospace; font-size: .68rem; color: rgba(245,240,232,.3); letter-spacing: .08em; }

/* ══════════════════════════════════════════
   SINGLE POST — REDESIGNED
══════════════════════════════════════════ */
.single-article { width: 100%; }

.post-header {
  background: var(--ink); color: var(--paper);
  padding: 3.5rem 2.5rem 2.5rem; width: 100%;
}
.post-header-inner { max-width: 800px; margin: 0 auto; }

.post-kicker-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.post-cat-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: .25rem .8rem; font-family: 'DM Mono',monospace;
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: background .2s;
}
.post-cat-badge:hover { background: #a8330d; }
.post-readtime { font-family: 'DM Mono',monospace; font-size: .65rem; color: rgba(245,240,232,.4); letter-spacing: .06em; }

.post-title {
  font-family: 'Playfair Display',serif;
  font-size: clamp(1.9rem,4.5vw,3rem);
  font-weight: 900; line-height: 1.08; margin-bottom: 1.1rem; color: var(--paper);
}
.post-intro { font-size: 1.05rem; color: rgba(245,240,232,.7); line-height: 1.65; margin-bottom: 1.5rem; }

.post-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; gap: 1rem;
}
.post-author-block { display: flex; align-items: center; gap: .75rem; }
.post-author-avatar { border-radius: 50%; width: 36px !important; height: 36px !important; flex-shrink: 0; }
.post-author-info { display: flex; flex-direction: column; gap: .15rem; }
.post-author-name { font-size: .82rem; font-weight: 500; color: var(--paper); }
.post-author-dates { font-family: 'DM Mono',monospace; font-size: .62rem; color: rgba(245,240,232,.4); }

/* Share buttons */
.post-share { display: flex; align-items: center; gap: .5rem; }
.post-share-label { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,240,232,.35); margin-right: .3rem; }
.post-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6); text-decoration: none; font-size: .75rem; font-weight: 700;
  transition: all .2s; border-radius: 2px;
}
.post-share-btn:hover { border-color: var(--accent); color: var(--accent); }
.post-share--lg .post-share-btn { width: 38px; height: 38px; border-color: var(--rule); color: var(--mid); }
.post-share--lg .post-share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Featured image — truly full width */
.post-featured-wrap { width: 100%; margin: 0; padding: 0; display: block; line-height: 0; }
.post-featured-wrap img { width: 100%; height: auto; max-height: 580px; object-fit: cover; display: block; }
.post-featured-caption { font-family: 'DM Mono',monospace; font-size: .68rem; color: var(--light); text-align: center; padding: .5rem 2rem; background: var(--cream); }

/* Post body */
.post-body { width: 100%; }
.post-content-wrap {
  max-width: 740px; margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
  box-sizing: border-box;
}
.post-content-wrap p { font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.4rem; color: #1f1f1c; }
.post-content-wrap h2 { font-family: 'Playfair Display',serif; font-size: 1.7rem; font-weight: 700; margin: 2.8rem 0 .9rem; color: var(--ink); line-height: 1.15; }
.post-content-wrap h3 { font-family: 'Playfair Display',serif; font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .7rem; color: var(--ink); }
.post-content-wrap h4 { font-family: 'Playfair Display',serif; font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.post-content-wrap blockquote { border-left: 3px solid var(--accent); padding: .5rem 0 .5rem 1.5rem; margin: 2rem 0; font-style: italic; color: var(--mid); font-size: 1.05rem; line-height: 1.6; }
.post-content-wrap a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(200,64,26,.3); }
.post-content-wrap ul, .post-content-wrap ol { margin: .8rem 0 1.5rem 1.5rem; }
.post-content-wrap li { font-size: .98rem; line-height: 1.75; margin-bottom: .4rem; color: #1f1f1c; }
.post-content-wrap img { max-width: 100%; height: auto; margin: 1.5rem auto; display: block; }
.post-content-wrap figure { margin: 2rem 0; }
.post-content-wrap figcaption { font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--light); text-align: center; margin-top: .4rem; }
.post-content-wrap strong { font-weight: 700; color: var(--ink); }
.post-content-wrap em { font-style: italic; }
.post-content-wrap table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.post-content-wrap table th { background: var(--ink); color: var(--paper); padding: .6rem .9rem; font-family: 'DM Mono',monospace; font-size: .7rem; letter-spacing: .06em; text-align: left; }
.post-content-wrap table td { padding: .6rem .9rem; border-bottom: 1px solid var(--rule); }
.post-content-wrap table tr:hover td { background: var(--cream); }

/* Mid-article ad */
.post-mid-ad { margin: 2.5rem 0; text-align: center; }

/* Tags */
.post-tags-row { max-width: 740px; margin: 0 auto; padding: 1rem 2rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.post-tags-label { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--light); margin-right: .3rem; }
.post-tag { display: inline-block; border: 1px solid var(--rule); padding: .18rem .65rem; font-family: 'DM Mono',monospace; font-size: .65rem; color: var(--mid); text-decoration: none; transition: all .2s; }
.post-tag:hover { border-color: var(--accent); color: var(--accent); }

/* Share bottom */
.post-share-bottom { max-width: 740px; margin: 0 auto; padding: 1.5rem 2rem; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--mid); }

/* Ad wrap */
.post-ad-wrap { max-width: 740px; margin: 0 auto; padding: 0 2rem; text-align: center; }

/* Post nav */
.post-nav { border-top: 1px solid var(--rule); width: 100%; }
.post-nav-inner { display: grid; grid-template-columns: 1fr 1fr; max-width: 860px; margin: 0 auto; }
.post-nav-item { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 2rem; text-decoration: none; color: var(--ink); transition: background .2s; }
.post-nav-item:hover { background: var(--cream); }
.post-nav-item--prev { border-right: 1px solid var(--rule); }
.post-nav-item--next { text-align: right; }
.post-nav-dir { font-family: 'DM Mono',monospace; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--light); }
.post-nav-ttl { font-family: 'Playfair Display',serif; font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--ink); }

/* Related */
.related-section { background: var(--cream); width: 100%; padding: 3rem 0; }
.related-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* Comments */
.comments-area { max-width: 740px; margin: 0 auto; padding: 2rem 2rem 4rem; }
.comments-title { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.comment-author .fn { font-family: 'Playfair Display',serif; font-weight: 700; font-style: normal; }
.comment-metadata { margin-top: .2rem; }
.comment-metadata a { font-family: 'DM Mono',monospace; font-size: .62rem; color: var(--light); text-decoration: none; }
.comment-content p { margin-top: .7rem; font-size: .92rem; color: var(--mid); line-height: 1.7; }
.reply a { font-family: 'DM Mono',monospace; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none; display: inline-block; margin-top: .5rem; }

/* ══════════════════════════════════════════
   RESPONSIVE — NEW COMPONENTS
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .fp-card-grid { grid-template-columns: repeat(2,1fr); }
  .fp-deepdive-inner { grid-template-columns: 1fr; }
  .fp-deepdive-img { max-width: 480px; }
}

@media (max-width: 900px) {
  .fp-section { padding: 2.5rem 1.5rem; }
  .fp-grid { grid-template-columns: 1fr; }
  .fp-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .fp-side-card { grid-template-columns: 90px 1fr; }
  .fp-side-card:first-child { border-top: none; }
  .fp-cats { grid-template-columns: repeat(3,1fr); }
  .fp-card-grid { grid-template-columns: repeat(2,1fr); }
  .fp-deepdive { padding: 3rem 1.5rem; }
  .fp-list-item { grid-template-columns: 32px 1fr; }
  .fp-list-thumb { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .post-header { padding: 2.5rem 1.5rem 2rem; }
  .post-header-inner { max-width: 100%; }
  .post-content-wrap { padding: 2rem 1.5rem 1rem; max-width: 100%; }
  .post-tags-row, .post-share-bottom, .post-ad-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
  .post-nav-inner { max-width: 100%; }
  .post-nav-item { padding: 1.2rem 1.5rem; }
  .related-inner { padding: 0 1.5rem; }
  .arc-hero { padding: 3rem 1.5rem 2rem; }
}

@media (max-width: 600px) {
  .fp-grid { grid-template-columns: 1fr; }
  .fp-side { grid-template-columns: 1fr; }
  .fp-cats { grid-template-columns: 1fr 1fr; }
  .fp-cat-item:nth-child(5) { grid-column: 1/-1; border-right: none; border-top: 1px solid var(--rule); }
  .fp-card-grid { grid-template-columns: 1fr; }
  .fp-deepdive-inner { grid-template-columns: 1fr; gap: 2rem; }
  .related-grid { grid-template-columns: 1fr; }
  .post-meta-row { flex-direction: column; align-items: flex-start; }
  .post-nav-inner { grid-template-columns: 1fr; }
  .post-nav-item--prev { border-right: none; border-bottom: 1px solid var(--rule); }
  .post-nav-item--next { text-align: left; }
  .post-share-bottom { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* ══════════════════════════════════════════
   ADSENSE COMPLIANCE + CONTENT CLEANUP
══════════════════════════════════════════ */

/* Hide any WordPress auto-injected subscribe/share blocks */
.sharedaddy,
.jp-relatedposts,
.wpcnt,
.jetpack-likes-widget-wrapper,
#jp-post-flair,
.sd-like-enabled,
.wp-block-jetpack-subscriptions,
.jetpack_subscription_widget,
.entry-content .sharedaddy,
.entry-content .jp-relatedposts { display: none !important; }

/* AdSense placeholder styling */
.adsense-unit {
  display: block;
  width: 100%;
  text-align: center;
  margin: 1.5rem auto;
  overflow: hidden;
}
.adsense-unit ins { display: block; margin: 0 auto; }

/* Ensure content area is clean and readable for AdSense review */
.post-content-wrap {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #1a1a18;
}

/* AdSense requires clear separation between ads and content */
.post-mid-ad {
  margin: 2.5rem auto;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  clear: both;
}
.post-mid-ad::before {
  content: 'Advertisement';
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: .5rem;
}

/* Clean footer for AdSense - no overlap with ad units */
.site-footer { clear: both; }

/* Ensure all images have defined dimensions (AdSense requirement) */
.post-content-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Table of contents styling (posts have these) */
.post-content-wrap .wp-block-table-of-contents,
.post-content-wrap .ez-toc-container,
.post-content-wrap #ez-toc-container,
[id*="toc"] {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0;
}
[id*="toc"] summary,
[id*="toc"] .ez-toc-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  color: var(--ink);
}
[id*="toc"] ul { margin: .6rem 0 0 1rem; }
[id*="toc"] li { font-size: .85rem; line-height: 1.7; margin-bottom: .2rem; }
[id*="toc"] a { color: var(--accent); text-decoration: none; }
[id*="toc"] a:hover { text-decoration: underline; }
