/* IndustrialBriefs Ghost Theme — screen.css */
/* Steps 2, 6, 7, 17 (responsive appended at bottom) */

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════════
   02 · CSS VARIABLES
   ═══════════════════════════════════════════ */
:root {
  /* ── Primary Brand ── */
  --navy:          #1a2e4a;
  --navy-dark:     #111d2e;
  --orange:        #e96d2e;
  --amber:         #d97706;

  /* ── Page Backgrounds ── */
  --bg-page:       #fafaf8;
  --bg-white:      #ffffff;
  --bg-light:      #f5f3ef;

  /* ── Text ── */
  --text-primary:  #1c1c1c;
  --text-mid:      #444444;
  --text-muted:    #777777;

  /* ── Borders ── */
  --border:        #e8e4de;
  --border-light:  #f0ede8;

  /* ── Sector Accents — TAG ELEMENTS ONLY ── */
  --sector-construction: #e96d2e;
  --sector-architecture: #3b82f6;
  --sector-engineering:  #16a34a;
  --sector-manufacturing:#d97706;
  --sector-ai:           #7c3aed;

  /* ── Fonts ── */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'DM Sans', -apple-system, 'Helvetica Neue', sans-serif;
}

/* ── Dark Mode ── */
[data-theme='dark'], .is-dark-mode {
  --bg-page:      #0d1b2e;
  --bg-white:     #111d2e;
  --bg-light:     #162236;
  --text-primary: #e2ddd5;
  --text-mid:     #b0c4d8;
  --text-muted:   #6a85a0;
  --border:       rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.05);
}

/* ── Base ── */
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════
   04 · TAG COMPONENT — CRITICAL BUG FIX
   ═══════════════════════════════════════════ */

/* ── CRITICAL: Article page white background ── */
.post-template,
.post-template body,
.post-full,
.post-content-wrap,
body.post-template {
  background-color: #ffffff !important;
  color: #1c1c1c !important;
}

/* ── Tag base ── */
.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--bg-page);
  color: var(--navy);
  border: 0.5px solid var(--border);
  text-decoration: none;
}

/* ── Sector accent: TEXT + LEFT BORDER ONLY ── */
.tag.tag-construction { color: #e96d2e; border-left: 2px solid #e96d2e; }
.tag.tag-architecture  { color: #3b82f6; border-left: 2px solid #3b82f6; }
.tag.tag-engineering   { color: #16a34a; border-left: 2px solid #16a34a; }
.tag.tag-manufacturing { color: #d97706; border-left: 2px solid #d97706; }
.tag.tag-ai            { color: #7c3aed; border-left: 2px solid #7c3aed; }

/* ═══════════════════════════════════════════
   05 · HEADER / NAVIGATION
   ═══════════════════════════════════════════ */

/* ── Row 1: Utility ── */
.header-utility {
  background: var(--navy-dark);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #6a85a0;
  letter-spacing: 0.01em;
}
.header-utility-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-utility a {
  color: #6a85a0;
  text-decoration: none;
  transition: color 0.15s;
  font-size: 11px;
}
.header-utility a:hover { color: #fff; }
.header-utility .util-advertise {
  color: var(--orange);
  font-weight: 600;
}

/* ── Row 2: Headlines Rail ── */
.header-rail {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.header-rail::-webkit-scrollbar { display: none; }
.header-rail-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  min-width: max-content;
}
.rail-today {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  padding-right: 16px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.rail-card {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 2px 0;
  border-right: 0.5px solid var(--border-light);
  padding-right: 16px;
}
.rail-card:last-child { border-right: none; padding-right: 0; }
.rail-card-img {
  width: 44px;
  height: 34px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--bg-light);
}
.rail-card-text { display: flex; flex-direction: column; gap: 3px; }
.rail-card-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.rail-card-title {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail-card:hover .rail-card-title { color: var(--orange); }

/* ═══════════════════════════════════════════
   ROW 2 · TRADINGVIEW MARKET RAIL
   ═══════════════════════════════════════════ */

/* ── Outer wrapper ── */
.tv-rail-wrap {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
}

[data-theme='dark'] .tv-rail-wrap {
  background: var(--bg-white);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* ── "Markets" label with live dot ── */
.tv-rail-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 0 24px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  height: 100%;
  white-space: nowrap;
}

.tv-rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: tv-dot-pulse 2s ease-in-out infinite;
}

@keyframes tv-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.tv-rail-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
}

/* ── TradingView widget container ── */
.tv-rail-widget {
  flex: 1;
  min-width: 0;
  height: 44px;
  overflow: hidden;
}

/* Force the TradingView iframe to fill the rail height */
.tv-rail-widget .tradingview-widget-container__widget {
  height: 44px !important;
}

.tv-rail-widget iframe {
  height: 44px !important;
  border: none;
}

/* Attribution link — keep small, muted */
.tv-rail-widget .tradingview-widget-copyright {
  display: none;
}

.tv-attr {
  font-size: 9px;
  color: var(--text-muted);
  text-decoration: none;
}

/* ── Responsive: hide label on tablet, show widget only ── */
@media (max-width: 1024px) {
  .tv-rail-label { display: none; }
}

/* ── Responsive: hide entire rail on mobile ── */
@media (max-width: 768px) {
  .tv-rail-wrap { display: none; }
}

/* ── Row 3: Main Nav (Sticky) ── */
.header-main {
  background: var(--navy);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-top: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.masthead {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  display: block;
  flex-shrink: 0;
}
.masthead em {
  color: #e96d2e;
  font-style: normal;
}
.header-main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.header-main-nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.65);
  padding: 8px 12px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.header-main-nav a:hover,
.header-main-nav a.nav-current { color: #fff; border-bottom-color: #e96d2e; }
.header-main-nav .nav-insights {
  color: #d97706;
  font-weight: 600;
}
.header-main-nav .nav-insights:hover { color: #d97706; border-bottom-color: #d97706; }
.nav-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.14);
  margin: 0 4px;
  flex-shrink: 0;
}
.header-main-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-dark-mode {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.15s, color 0.15s;
}
.btn-dark-mode svg { width: 14px; height: 14px; }
.btn-dark-mode:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-subscribe {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-subscribe:hover { background: #d45e1f; }
.btn-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.btn-hamburger svg { width: 22px; height: 22px; }

/* ── Row 3 Merged: Sector Tabs inside header-main ── */
.mainnav-sector {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.6);
  padding: 8px 11px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.mainnav-sector:hover { color: rgba(255,255,255,0.95); }
.mainnav-sector.active,
.mainnav-sector.nav-current { color: #fff; border-bottom-color: var(--orange); }
.mainnav-sector.tab-all.active { color: #fff; border-bottom-color: var(--orange); }
.mainnav-sector.tab-construction.active { color: #fff; border-bottom-color: #e96d2e; }
.mainnav-sector.tab-architecture.active  { color: #fff; border-bottom-color: #3b82f6; }
.mainnav-sector.tab-engineering.active   { color: #fff; border-bottom-color: #16a34a; }
.mainnav-sector.tab-manufacturing.active { color: #fff; border-bottom-color: #d97706; }
.mainnav-sector.tab-ai.active            { color: #fff; border-bottom-color: #7c3aed; }
.mainnav-sector.nav-insights { color: #d97706; font-weight: 700; }
.mainnav-sector.nav-insights:hover { color: #f59e0b; }

/* Search icon in main nav */
.section-search-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.section-search-inline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── Row 4: Ticker Strip ── */
.header-trending {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
  overflow: hidden;
}

/* Pulsing live dot */
.trending-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}

.trending-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #aaa;
  flex-shrink: 0;
  padding-right: 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

/* Viewport clips the scrolling track */
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Scrolling track — items duplicated in template for seamless loop */
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s;
}
.ticker-item:hover { color: var(--orange); }

.ticker-item-tag {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(233,109,46,0.09);
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ticker-sep {
  color: var(--border);
  font-size: 7px;
  flex-shrink: 0;
  user-select: none;
}

/* ── Mobile Drawer ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
}
.nav-overlay.is-open { display: block; }
.nav-drawer {
  position: fixed;
  top: 64px;
  right: 0;
  width: 280px;
  height: calc(100vh - 64px);
  background: #ffffff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  padding: 16px 0;
}
.nav-drawer.is-open { transform: translateX(0); }
.drawer-section { padding: 8px 20px; }
.drawer-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.drawer-link {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.drawer-link:hover { color: var(--orange); }
.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 20px;
}
.drawer-subscribe {
  margin: 12px 20px 0;
  display: block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   05b · LATEST NEWS BAND
   ═══════════════════════════════════════════ */
.latest-news-band {
  background: #fff;
  border-bottom: 2px solid var(--navy);
}
.latest-news-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.latest-news-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px 16px 0;
  border-right: 2px solid var(--navy);
  margin-right: 24px;
  min-width: 130px;
}
.latest-news-kicker {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 4px;
}
.latest-news-title-label {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.latest-news-scroll {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 14px 0;
}
.latest-news-scroll::-webkit-scrollbar { display: none; }
.latest-news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 0 20px;
  border-right: 0.5px solid var(--border);
  text-decoration: none;
  flex-shrink: 0;
  max-width: 210px;
  min-width: 160px;
  transition: opacity 0.15s;
}
.latest-news-card:last-child { border-right: none; }
.latest-news-card:hover { opacity: 0.78; }
.latest-news-card-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--orange);
}
.latest-news-card-headline {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-news-card-meta {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   06 · HOMEPAGE — HERO
   ═══════════════════════════════════════════ */
.hero-section {
  background: var(--navy);
  padding: 32px 24px 28px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  color: #8ea5be;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.hero-tag { margin-bottom: 12px; }
/* Hero feature image */
.hero-feat-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
  display: block;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero-headline a { color: #fff; text-decoration: none; }
.hero-headline a:hover { color: rgba(255,255,255,0.85); }
.hero-excerpt {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 12px;
}
.hero-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #6a85a0;
  margin-bottom: 16px;
}
.hero-read-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
  letter-spacing: 0.05em;
}
.hero-stories {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 16px;
}
.hero-stories-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.hero-story {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.hero-story:last-child { border-bottom: none; }
.hero-story-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  width: 20px;
}
.hero-story-content { flex: 1; min-width: 0; }
.hero-story-title {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin-bottom: 3px;
}
.hero-story-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════════
   06 · HOMEPAGE — ARTICLE GRID (loop.hbs)
   ═══════════════════════════════════════════ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
}
.article-card {
  background: #ffffff;
  border-right: 0.5px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.article-card:hover { background: #faf8f5; }
.article-card-link {
  display: block;
  text-decoration: none;
  padding: 20px;
  height: 100%;
}
.article-card-img {
  width: calc(100% - 32px);
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 16px 16px 12px;
  border-radius: 3px;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-card-date {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
}
.article-card-headline {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.article-card-excerpt {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.article-card-readtime {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Load More ── */
.load-more-wrap {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}
.load-more-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--navy);
  padding: 9px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.load-more-btn:hover { background: var(--navy); color: #fff; }
.load-more-btn:disabled { cursor: default; }
.load-more-end {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 16px 0;
}
.load-more-end a { color: var(--orange); text-decoration: underline; }

/* ═══════════════════════════════════════════
   06 · ZONE 5 — INDUSTRY INSIGHTS
   ═══════════════════════════════════════════ */
.industry-insights {
  border-top: 1px solid var(--border);
}
.industry-insights-header {
  background: #fffbeb;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.insights-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #92400e;
}
.insights-sponsored {
  background: #f59e0b;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fffbeb;
}
.insights-card {
  padding: 14px 24px;
  border-right: 0.5px solid rgba(146,64,14,0.15);
  text-decoration: none;
}
.insights-card:last-child { border-right: none; }
.insights-company {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.insights-title {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
}
.insights-readtime {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   06 · ZONE 6 — NEWSLETTER BAND
   ═══════════════════════════════════════════ */
.newsletter-band {
  background: var(--navy);
  padding: 28px 24px;
  text-align: center;
}
.newsletter-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.newsletter-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 20px;
}
.newsletter-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s;
}
.newsletter-btn:hover { background: #d45e1f; }

/* ═══════════════════════════════════════════
   06 · ZONE 7 — FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  padding: 40px 24px 0;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand-logo {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand-logo em {
  color: #e96d2e;
  font-style: normal;
}
.footer-brand-desc {
  font-family: var(--font-sans);
  font-size: 9px;
  line-height: 1.6;
  color: rgba(255,255,255,0.3);
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.footer-link {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.footer-link:hover { opacity: 1; color: #fff; }
.footer-bottom {
  background: #080f18;
  text-align: center;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 8px;
  color: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════
   07 · ARTICLE PAGE
   ═══════════════════════════════════════════ */
.article-header {
  background: #ffffff;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.article-breadcrumb {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--text-primary); }
.article-breadcrumb-sep { opacity: 0.5; }
.article-tag-wrap { margin-bottom: 10px; }
.article-h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.article-deck {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.article-meta-row {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

/* ── Article Layout Grid ── */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  background: #ffffff;
}

/* ── Reading Column ── */
.article-column {
  background: #ffffff !important;
  padding: 28px 32px 28px 24px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.article-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
}
.article-img-caption {
  font-family: var(--font-sans);
  font-size: 9px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── Ghost Card Width Classes (required by gscan) ── */
.kg-width-wide {
  margin-left: -40px;
  margin-right: -40px;
  max-width: calc(100% + 80px);
}
.kg-width-full {
  margin-left: calc(50% - 50vw + 12px);
  margin-right: calc(50% - 50vw + 12px);
  max-width: 100vw;
}
@media (max-width: 768px) {
  .kg-width-wide { margin-left: -14px; margin-right: -14px; max-width: calc(100% + 28px); }
  .kg-width-full { margin-left: -14px; margin-right: -14px; max-width: calc(100% + 28px); }
}

/* ── Ghost Content ── */
.gh-content {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 640px;
}
.gh-content p { margin-bottom: 1.2em; }
.gh-content h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 28px;
  margin-bottom: 12px;
}
.gh-content h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 10px;
}
.gh-content blockquote {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-mid);
  border-left: 3px solid var(--orange);
  padding: 10px 16px;
  background: #faf8f5;
  margin: 20px 0;
}
.gh-content a { color: var(--orange); text-decoration: underline; }
.gh-content ul, .gh-content ol {
  padding-left: 20px;
  margin-bottom: 1.2em;
}
.gh-content li { margin-bottom: 0.4em; }
.gh-content img {
  max-width: 100%;
  border-radius: 2px;
  margin: 16px 0;
}

/* ── Ad Units ── */
.ad-unit-mid, .ad-unit-post {
  background: #f8f7f4;
  border: 0.5px solid var(--border);
  margin: 24px 0;
  text-align: center;
  padding: 8px;
}
.ad-unit-label {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.ad-unit-mid { min-height: 268px; max-width: 316px; }
.ad-unit-post { min-height: 98px; }

/* ── Sidebar ── */
.article-sidebar {
  background: #ffffff !important;
  padding: 24px 16px;
  position: sticky;
  top: 64px;
  align-self: start;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

/* ── Key Facts Panel ── */
.key-facts-panel { margin-bottom: 20px; }
.key-facts-header {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.key-fact-item {
  border-bottom: 0.5px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.key-fact-item:last-child { border-bottom: none; }
.key-fact-stat {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.key-fact-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-mid);
  line-height: 1.4;
  margin-bottom: 2px;
}
.key-fact-sublabel {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-muted);
}

/* ── Key Facts Mobile Pills ── */
.key-facts-pills {
  display: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 14px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.key-facts-pills::-webkit-scrollbar { display: none; }
.key-facts-pill {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  flex-shrink: 0;
  text-align: center;
}
.key-facts-pill-stat {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 3px;
}
.key-facts-pill-label {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-muted);
  max-width: 80px;
  line-height: 1.3;
}

/* ── Share Strip ── */
.share-strip {
  border-top: 0.5px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.share-btn {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-mid);
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 3px;
  padding: 7px 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); }

/* ── Sidebar Newsletter Mini ── */
.sidebar-newsletter {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}
.sidebar-nl-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.sidebar-nl-desc {
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.sidebar-nl-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 11px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  margin-bottom: 8px;
  background: #fff;
  color: var(--text-primary);
}
.sidebar-nl-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-nl-btn:hover { background: #d45e1f; }

/* ── Sidebar Ad ── */
.sidebar-ad {
  background: #f8f7f4;
  border: 0.5px solid var(--border);
  min-height: 268px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* ── Related Stories ── */
.related-stories { margin-top: 32px; }
.related-stories-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card { text-decoration: none; }
.related-card-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 6px;
  background: var(--bg-light);
}
.related-card-tag { margin-bottom: 4px; }
.related-card-title {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}
.related-card-meta {
  font-family: var(--font-sans);
  font-size: 8px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   TAG / AUTHOR / PAGE TEMPLATES
   ═══════════════════════════════════════════ */
.section-hero {
  background: var(--navy);
  padding: 40px 24px;
  text-align: center;
}
.section-hero-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.section-hero-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 auto;
}
.archive-wrap { padding: 32px 0; }
.archive-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding: 0 24px;
}

/* ── Author Header ── */
.author-header {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
}
.author-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.author-bio {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Page Template ── */
.page-wrap {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 24px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.page-feature-image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   ERROR / 404 PAGE — "Updating Soon" Design
   ═══════════════════════════════════════════ */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background: var(--navy);
}

/* Brand mark */
.error-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.error-brand-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.error-brand-logo em {
  color: #e96d2e;
  font-style: normal;
}
.error-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* Status code — subtle, not dominating */
.error-code-wrap { margin-bottom: 16px; }
.error-code {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e96d2e;
  background: rgba(233,109,46,0.12);
  border: 0.5px solid rgba(233,109,46,0.3);
  border-radius: 3px;
  padding: 4px 12px;
  display: inline-block;
}

/* Headline */
.error-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 520px;
}
.error-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 28px;
}

/* Status pills */
.error-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.error-pill {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.error-pill-live { color: #4ade80; border-color: rgba(74,222,128,0.25); background: rgba(74,222,128,0.08); }
.error-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* CTA buttons */
.error-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.error-btn-primary {
  display: inline-block;
  background: #e96d2e;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 11px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s;
}
.error-btn-primary:hover { background: #d45e1f; }
.error-btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 11px 28px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.error-btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* Latest stories grid */
.error-latest { width: 100%; max-width: 860px; }
.error-latest-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-bottom: 16px;
}
.error-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}
.error-story-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.15s;
}
.error-story-card:hover { background: rgba(255,255,255,0.07); }
.error-story-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.error-story-body { padding: 10px 12px 12px; }
.error-story-title {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.35;
  margin: 6px 0 5px;
}
.error-story-meta {
  font-family: var(--font-sans);
  font-size: 8px;
  color: rgba(255,255,255,0.3);
}

/* Error page mobile */
@media (max-width: 768px) {
  .error-headline { font-size: 24px; }
  .error-latest-grid { grid-template-columns: 1fr; }
  .error-actions { flex-direction: column; align-items: center; }
  .error-btn-primary, .error-btn-secondary { width: 100%; max-width: 280px; text-align: center; }
}

/* ═══════════════════════════════════════════
   10 · MOBILE RESPONSIVE — STEP 17
   ═══════════════════════════════════════════ */

/* ── Tablet: 768px–1024px ── */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr 220px; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card-link {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 20px;
  }
  .article-card-img {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 3px;
  }
  .article-card-excerpt { display: none; }
}

/* ── Mobile: < 768px ── */
@media (max-width: 768px) {
  /* Row 1 Utility — hidden on mobile */
  .header-utility { display: none; }

  /* Row 3 Main — masthead + subscribe + hamburger only */
  .header-main { height: 52px; border-top-width: 2px; }
  .header-main-nav { display: none; }
  .btn-hamburger { display: block; }
  .nav-drawer { top: 52px; height: calc(100vh - 52px); }

  /* Hero — single column */
  .hero-section { padding: 20px 14px; }
  .hero-inner { grid-template-columns: 1fr; gap: 16px; }
  .hero-headline { font-size: 20px; }

  /* Article Grid — flex row cards (image left 90x90, text right) */
  .article-grid { grid-template-columns: 1fr; }
  .article-card-link {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
  }
  .article-card-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    margin-bottom: 0;
    border-radius: 2px;
  }
  .article-card-headline { font-size: 13px; }
  .article-card-excerpt { display: none; }

  /* Article Page — single column */
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .article-column {
    padding: 16px 14px;
    border-right: none;
  }
  .article-h1 { font-size: 20px; }
  .gh-content { font-size: 15px; }
  .gh-content h2 { font-size: 14px; }

  /* Key Facts — show pill strip, hide desktop panel */
  .key-facts-pills { display: flex; }
  .key-facts-panel { display: none; }

  /* Ad Unit 2 — 320x50 mobile banner */
  .ad-unit-post { min-height: 66px; }

  /* Related Stories — single column */
  .related-grid { grid-template-columns: 1fr; }
  .related-card {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
  }
  .related-card-img {
    width: 56px;
    height: 44px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* Footer — 2 cols, brand spans both */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* Industry Insights — single column */
  .insights-grid { grid-template-columns: 1fr; }

  /* Min tap target 44px — WCAG 2.1 AA */
  .drawer-link,
  .btn-subscribe,
  .load-more-btn,
  .newsletter-btn,
  .share-btn,
  .section-tab {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Newsletter band — single column centred */
  .newsletter-band { padding: 24px 14px; }

  /* Latest News band — hide on mobile (too narrow) */
  .latest-news-band { display: none; }

  /* Sector tabs in main nav — hide on mobile */
  .header-main-nav .mainnav-sector { display: none; }
}

/* ── Very small mobile: < 480px ── */
@media (max-width: 480px) {
  /* Row 5 Trending — hidden below 480px */
  .header-trending { display: none; }
}

/* ── Market Widget mobile — ticker only ── */
@media (max-width: 768px) {
  .market-cards { display: none; }
  .market-tabs { display: none; }
  .market-widget-expand-note {
    font-family: var(--font-sans);
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
    padding: 6px;
    cursor: pointer;
  }
}
