/* ══════════════════════════════════════════════════════
   SECTION 1: RESET + VARIABLES
══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #dc2626;
  --primary-dark:   #991b1b;
  --primary-dim:    rgba(220,38,38,0.10);
  --primary-border: rgba(220,38,38,0.30);
  --primary-glow:   rgba(220,38,38,0.15);
  --bg:             #f5f4f0;
  --bg2:            #eeecea;
  --bg3:            #e5e3df;
  --border:         #e5e5e5;
  --border2:        #d5d5d5;
  --text:           #444444;
  --muted:          #777777;
  --faint:          #888888;
  --ink:            #0d0d0d;
  --ink2:           #111111;
  --white:          #ffffff;
  --surface:        #ffffff;
  --radius:         10px;
  --radius-sm:      8px;
  --radius-xs:      2px;
  /* widget aliases */
  --orange:         var(--primary);
  --orange-dim:     var(--primary-dim);
  --orange-mid:     var(--primary-border);
  --box-shadow-2:   0 4px 20px 0 rgba(15,15,15,0.06);
  --box-shadow-3:   0 4px 20px 0 rgba(15,15,15,0.14);
}

html, body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
}
html { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
body.all-pages { display: flex; flex-direction: column; min-height: 100vh; }
body.all-pages .container.main { margin-top: 32px; }

/* ══════════════════════════════════════════════════════
   SECTION 2: TYPOGRAPHY
══════════════════════════════════════════════════════ */
h1, h2, h3 { font-family: 'Georgia', serif; font-weight: 700; line-height: 1.15; }
h1 { font-weight: 900; line-height: 1.1; }
h4, h5, h6 { font-family: 'Segoe UI', sans-serif; font-weight: 700; line-height: 1.25; }
p { font-family: 'Segoe UI', sans-serif; }

/* ══════════════════════════════════════════════════════
   SECTION 3: NAVIGATION
══════════════════════════════════════════════════════ */

/* — MASTHEAD — */
.masthead {
  background: var(--ink);
  border-bottom: 3px solid var(--primary);
  padding: 14px 0 10px;
}
.masthead-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.masthead-left { display: flex; flex-direction: column; gap: 6px; }
.ms-sections { display: flex; gap: 14px; flex-wrap: wrap; }
.ms-sec {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.ms-sec:hover { color: #fff; }
.masthead-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.masthead-name {
  font-family: 'Georgia', serif;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.masthead-name .red { color: var(--primary); }
.masthead-tagline {
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}
.logo { height: 40px; display: block; flex-shrink: 0; }
.footer-logo { height: 24px; display: block; }
.masthead-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: right;
}
.masthead-meta .day {
  display: block;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-bottom: 2px;
}

/* — BREAKING TICKER — */
.breaking {
  background: var(--primary);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}
.breaking-inner {
  display: inline-flex;
  gap: 0;
  animation: btick 40s linear infinite;
}
.b-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: #7f1d1d;
  padding: 0 16px;
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  height: 22px;
  flex-shrink: 0;
}
.b-item {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 0 40px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.b-sep {
  color: rgba(255,255,255,0.35);
  font-size: 16px;
  flex-shrink: 0;
}
@keyframes btick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* — SECTION NAV — */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 46px;
}
.nav-cats {
  display: flex;
  align-items: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  height: 100%;
}
.nav-cats::-webkit-scrollbar { display: none; }
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}
.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  padding: 0 16px;
  height: 46px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  letter-spacing: 0.2px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.nav-link:hover { color: var(--ink); border-bottom-color: var(--primary); }
.nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--white); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 46px;
  left: 0;
  width: 100%;
  background: var(--ink);
  z-index: 9999;
  padding: 8px 0 16px;
  max-height: calc(100vh - 46px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════
   SECTION 4: LAYOUT CONTENT
══════════════════════════════════════════════════════ */

/* — HERO (newspaper grid) — */
.hero {
  background: var(--white);
  border-bottom: 3px solid var(--ink);
  padding: 28px 0 0;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 0;
}

/* lead story */
.lead-story {
  padding-right: 32px;
  padding-bottom: 28px;
  border-right: 1px solid var(--border);
}
.lead-story a { display: block; }
.lead-story a:hover .lead-h1 { color: var(--primary); }
.lead-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.lead-h1 {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.15s;
}
.lead-p {
  display: block;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}
.lead-visual {
  height: 200px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  margin-bottom: 16px;
}
.lead-byline {
  font-size: 12px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lead-tag {
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

/* side story stacks */
.side-stories {
  display: flex;
  flex-direction: column;
  padding: 0 24px 28px;
  border-right: 1px solid var(--border);
}
.side-stories:last-child { border-right: none; }
.side-story {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: block;
}
.side-story:last-child { border-bottom: none; margin-bottom: 0; }
.side-story:hover .ss-title { color: var(--primary); }
.ss-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 5px;
}
.ss-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 5px;
  transition: color 0.15s;
}
.ss-desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* — SECTION RULE HEADERS — */
.section-rule {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.rule-hd {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  padding-top: 40px;
}
.rule-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 6px 16px;
  white-space: nowrap;
}
.rule-line { flex: 1; height: 2px; background: var(--ink); }
.rule-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-left: 16px;
  white-space: nowrap;
}
.rule-link:hover { text-decoration: underline; }
.pb-40 { padding-bottom: 40px; }

/* — 4-COL ARTICLE GRID — */
.art-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.art-4-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.15s;
}
.art-4-card:hover { background: #fafaf8; border-color: var(--ink); }
.a4-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
}
.a4-title { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.a4-desc { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.a4-read {
  display: block;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

/* — EXPLAINED BAND (dark) — */
.explained-band {
  background: var(--ink);
  padding: 48px 0;
  margin-top: 40px;
}
.explained-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.explained-hd {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
}
.explained-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.explained-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-left: 16px;
}
.explained-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-left: auto;
}
.explained-link:hover { text-decoration: underline; }
.explained-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.exp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: background 0.15s;
}
.exp-card:hover { background: rgba(255,255,255,0.10); }
.exp-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fca5a5;
  margin-bottom: 8px;
}
.exp-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.exp-desc { display: block; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* — TWO-COL EDITORIAL + SIDEBAR — */
.two-ed {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.ed-main-col { display: flex; flex-direction: column; gap: 24px; }
.ed-article {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.ed-article:last-child { border-bottom: none; padding-bottom: 0; }
.ed-article:hover .ea-title { color: var(--primary); }
.ea-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--border);
  flex-shrink: 0;
  line-height: 1;
  min-width: 36px;
}
.ea-body { display: block; flex: 1; }
.ea-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 5px;
}
.ea-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.15s;
  margin-bottom: 5px;
}
.ea-desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; }
.ed-sidebar { display: flex; flex-direction: column; }
.sidebar-hd {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 16px;
}
.sb-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-item:last-child { border-bottom: none; }
.sb-item:hover .sb-title { color: var(--primary); }
.sb-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
}
.sb-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.15s;
}

/* — TOPIC TILES — */
.topic-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.topic-tile {
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}
.topic-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.tt-icon { display: block; font-size: 24px; line-height: 1; }
.tt-name { display: block; font-size: 14px; font-weight: 800; color: #fff; line-height: 1.2; }
.tt-count { display: block; font-size: 11px; color: rgba(255,255,255,0.6); }
.tt-pol  { background: linear-gradient(145deg,#1a0a0a,#7f1d1d); }
.tt-tech { background: linear-gradient(145deg,#0a1628,#1e3a8a); }
.tt-biz  { background: linear-gradient(145deg,#0a2010,#15803d); }
.tt-hlth { background: linear-gradient(145deg,#1a0a20,#6d28d9); }
.tt-sci  { background: linear-gradient(145deg,#001a2e,#0369a1); }
.tt-world{ background: linear-gradient(145deg,#1a1000,#d97706); }
.tt-env  { background: linear-gradient(145deg,#041a0a,#166534); }
.tt-soc  { background: linear-gradient(145deg,#1a0a14,#be185d); }
.tt-edu  { background: linear-gradient(145deg,#0a0a1a,#4338ca); }
.tt-con  { background: linear-gradient(145deg,#1a0f00,#92400e); }

/* — CONTEXT STRIP — */
.context-strip {
  background: #fafaf8;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 32px 0;
  margin-top: 40px;
}
.context-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.ctx-label {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.ctx-label .red { color: var(--primary); }
.ctx-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ctx-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 14px;
  border-left: 3px solid var(--border);
  transition: border-color 0.15s;
}
.ctx-link:hover { border-left-color: var(--primary); }
.ctx-link:hover .ctx-link-title { color: var(--primary); }
.ctx-link-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
}
.ctx-link-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.15s;
}

/* — 3-COL ARTICLE CARDS — */
.art-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.art-3-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.art-3-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); }
.a3-vis {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.a3-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a3-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
}
.a3-hed { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.a3-dek { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.a3-read { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--primary); }

/* ══════════════════════════════════════════════════════
   SECTION 5: FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 48px 24px 28px;
  margin-top: 56px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-masthead {
  font-family: 'Georgia', serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.footer-masthead .red { color: var(--primary); }
.footer-tagline {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--primary); }
.footer-rule {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.25); }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   SECTION 6: CONTACT FORM
══════════════════════════════════════════════════════ */
.contact {
  max-width: 560px;
  margin: 40px auto;
  padding: 0 16px;
}
.contact p { margin-bottom: 14px; }
.contact input,
.contact textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}
.contact textarea { min-height: 130px; resize: vertical; }
.contact button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.contact button[type="submit"]:hover { background: var(--primary-dark); }

/* ══════════════════════════════════════════════════════
   SECTION 7: WIDGETS
══════════════════════════════════════════════════════ */

/* SUBLIST */
.item-sublist { margin-bottom: 8px; }
.sublist.card {
  border: none !important;
  box-shadow: var(--box-shadow-2);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.sublist.card:hover {
  box-shadow: var(--box-shadow-3);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

/* BUBBLES */
.item-bubbles { width: 100%; }
.bubbles-chip { display: block; width: 100%; margin-bottom: 4px; }
.bubbles-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  transition: all 0.18s;
  position: relative;
}
.bubbles-link:hover {
  padding-left: 18px;
  background: var(--primary-dim);
  border-color: var(--primary-border);
}
.bubbles-link .bubbles-outer { height: auto; padding: 3px 0; display: flex; align-items: center; width: 100%; }
.bubbles-chip-text { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.bubbles-link::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.sibling.link-button {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: auto !important;
  min-height: 0 !important;
}
repeat {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
}
.col-gap:has(> .item-bubbles)::before { display: none !important; }

/* ══════════════════════════════════════════════════════
   SECTION 8: LAYOUT RESET (hero full-width = YES)
══════════════════════════════════════════════════════ */
body.home-page .container.main { width: 100%; max-width: 100% !important; padding: 0; }
.container.layout { max-width: 100%; padding: 0 !important; }
.container.layout .row.layout { margin: 0 !important; }
body.home-page .container.layout .row.layout > .cols { padding: 0 !important; }
body.home-page .container.layout .col-gap { padding: 0 !important; }

body.all-pages .content .container.main { padding: 24px 16px; }
.dir-content {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 52px 48px;
  background: var(--bg);
}
.container.main { max-width: 1600px !important; }

/* ══════════════════════════════════════════════════════
   SECTION 9: RESPONSIVE
══════════════════════════════════════════════════════ */

/* Tablet ≤1199px */
@media (max-width: 1199.98px) {
  .masthead-inner,
  .hero-inner,
  .explained-inner,
  .context-inner,
  .footer-inner { padding: 0 16px; }
  .section-rule { padding: 0 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .lead-story { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .side-stories { padding: 16px 0; border-right: none; border-top: 1px solid var(--border); }
  .art-4 { grid-template-columns: repeat(2, 1fr); }
  .two-ed { grid-template-columns: 1fr; }
  .topic-mosaic { grid-template-columns: repeat(3, 1fr); }
  .explained-grid { grid-template-columns: repeat(2, 1fr); }
  .ctx-links { grid-template-columns: repeat(2, 1fr); }
  .context-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile ≤767px */
@media (max-width: 767.98px) {
  .nav-inner { padding: 0 16px; }
  .nav-link { display: none; }
  .nav-right { border-left: none; margin-left: 0; }
  .hamburger { display: flex; }
  .masthead-name { font-size: 24px; }
  .masthead-left { display: none; }
  .masthead-meta { display: none; }
  .masthead-inner { justify-content: center; padding: 0 16px; }
  .art-4, .art-3, .topic-mosaic, .explained-grid { grid-template-columns: 1fr; }
  .ctx-links { grid-template-columns: 1fr; }
  .explained-band { padding: 32px 0; margin-top: 24px; }
  .context-strip { padding: 24px 0; margin-top: 24px; }
  footer { padding: 32px 16px 20px; margin-top: 32px; text-align: center; }
  .footer-masthead { text-align: center; }
  .footer-tagline { text-align: center; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-col { text-align: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .dir-content { padding: 32px 16px; }
}

/* Small mobile ≤640px */
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .masthead-name { font-size: 20px; }
  .lead-story h1 { font-size: 28px; }
  .topic-mosaic { grid-template-columns: repeat(2, 1fr); }
}
