/* realhonestpolitics.org — modern editorial: depth, alternating bands, refined cards */

:root {
  --navy: #0b1f3b;
  --navy-2: #152d52;
  --navy-soft: #1e3a5f;
  --ink: #121418;
  --muted: #5c6470;
  --line: #e2e6ed;
  --line-strong: #c8d0dc;
  --bg: #eef1f6;
  --bg-warm: #f7f5f2;
  --bg-band: #e8ecf4;
  --bg-deep: #dfe6f2;
  --paper: #ffffff;
  --accent: #c41230;
  --accent-hover: #9e0e26;
  --accent-soft: rgba(196, 18, 48, 0.1);
  --accent-glow: rgba(196, 18, 48, 0.18);
  --teal-muted: #0f766e;
  --gold-line: rgba(180, 140, 60, 0.35);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 48px rgba(11, 31, 59, 0.1);
  --shadow-card-hover: 0 12px 32px rgba(15, 23, 42, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max: 1180px;
  --header-h: 72px;
  --live: #16a34a;
  --section-pad: 3rem;
  --section-gap: 3rem;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(
      ellipse 120% 80% at 100% -20%,
      rgba(196, 18, 48, 0.06) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 90% 60% at 0% 100%,
      rgba(15, 118, 110, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #f0f2f7 0%, #e9edf5 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[id] {
  scroll-margin-top: 80px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top strip */
.prebar {
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy-2) 45%,
    var(--navy-soft) 100%
  );
  color: #e8edf5;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(11, 31, 59, 0.2);
}

.prebar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0;
  flex-wrap: wrap;
}

.prebar strong {
  font-weight: 600;
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 230, 237, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
  line-height: 0;
  min-width: 0;
}

.logo-mark {
  flex-shrink: 0;
  height: 51px;
  width: auto;
  max-width: min(276px, 46vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (max-width: 520px) {
  .logo-mark {
    height: 41px;
    max-width: min(230px, 50vw);
  }
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-main a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.nav-main a:hover {
  background: rgba(196, 18, 48, 0.06);
}

.nav-main a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.nav-pill {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  box-shadow: var(--shadow-sm);
}

.nav-pill:hover {
  border-color: var(--navy-soft);
  box-shadow: var(--shadow-md);
}

/* Subnav (home) */
.subnav {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8f9fc 0%, #eef1f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.55rem 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.subnav a {
  text-decoration: none;
  color: var(--navy-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.subnav a:hover {
  color: var(--accent-hover);
  background: rgba(196, 18, 48, 0.08);
}

/* Breadcrumbs (blog + article) */
.breadcrumb-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.breadcrumb-inner {
  padding: 0.65rem 0;
  display: flex;
  justify-content: flex-start;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent-hover);
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
}

.breadcrumb-sep {
  color: #a8b0bd;
  font-weight: 500;
  user-select: none;
}

/* Ads — slots are visible placeholders; swap inner HTML for AdSense / GAM / Revive */
.ad-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  text-align: center;
}

.ad-wrap--footer {
  border-bottom: none;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.ad-wrap--inset {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: center;
}

.ad-wrap ins,
.article-body .ad-float ins {
  display: inline-block;
}

.ad-slot {
  box-sizing: border-box;
  max-width: 100%;
  margin-inline: auto;
}

.ad-slot__label {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-slot__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-inline: auto;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(
      -12deg,
      #f4f6fa,
      #f4f6fa 12px,
      #eceff5 12px,
      #eceff5 24px
    ),
    linear-gradient(180deg, #fafbfd 0%, #eef1f7 100%);
  color: #7a8494;
  font-size: 0.78rem;
  font-weight: 600;
}

.ad-slot--leaderboard .ad-slot__inner {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
}

.ad-slot--medrect .ad-slot__inner {
  width: 300px;
  max-width: 100%;
  height: 250px;
}

.ad-slot--banner .ad-slot__inner {
  width: 100%;
  max-width: 320px;
  min-height: 50px;
}

.article-ad-mobile {
  display: none;
  margin: 0 0 1.5rem;
}

@media (max-width: 979px) {
  .article-ad-mobile {
    display: block;
  }
}

/* Home hero — banner image (left) + headline block (right) */
.hero-home {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--line-strong);
  background: radial-gradient(
      ellipse 80% 60% at 85% 20%,
      rgba(196, 18, 48, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 10% 90%,
      rgba(21, 45, 82, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(165deg, #ffffff 0%, #f0f3f9 48%, #e8ecf4 100%);
  position: relative;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  opacity: 0.5;
  pointer-events: none;
}

.hero-home-inner {
  display: grid;
  grid-template-columns: minmax(220px, 400px) minmax(0, 1fr);
  gap: 2rem 2.75rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-banner {
  position: relative;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  max-width: 420px;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 208, 220, 0.9);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-copy {
  min-width: 0;
}

.hero-home h1 {
  margin: 0 0 0.75rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-lede {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .hero-home-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .hero-banner {
    justify-self: start;
    align-self: start;
    max-width: min(100%, 440px);
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
  }

  .hero-banner-img {
    position: absolute;
    inset: 0;
  }
}

/* Sections */
.section-block {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-block:last-of-type {
  border-bottom: none;
}

.page-home main > .section-block + .section-block {
  margin-top: 0;
}

/* Home: alternating bands + depth */
.page-home main > .section-block:nth-child(2) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    var(--bg-warm) 50%,
    #ebe6df 100%
  );
  border-bottom-color: rgba(200, 192, 180, 0.55);
}

.page-home main > .section-block:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--gold-line) 28%,
    transparent 70%
  );
  opacity: 0.85;
}

.page-home main > .section-block:nth-child(3) {
  background: linear-gradient(
    160deg,
    var(--bg-band) 0%,
    #d5dff0 42%,
    var(--bg-band) 100%
  );
  border-bottom-color: rgba(11, 31, 59, 0.1);
}

.page-home main > .section-block:nth-child(4) {
  background: linear-gradient(180deg, #fbfcff 0%, var(--paper) 55%, #f5f7fb 100%);
  border-bottom-color: var(--line);
}

.page-home main > .section-block:nth-child(5) {
  padding: calc(var(--section-pad) * 1.2) 0;
  background: linear-gradient(
    180deg,
    var(--bg-deep) 0%,
    var(--bg) 45%,
    #e4eaf4 100%
  );
  border-bottom: none;
}

.page-home main > .section-block:nth-child(5) .faq {
  box-shadow: var(--shadow-lg);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--navy);
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent);
  line-height: 1.28;
}

.section-head--wire {
  margin-bottom: 0.75rem;
  align-items: center;
}

.wire-heading {
  margin: 0;
  font-size: 1.15rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--navy);
  padding-left: 0.75rem;
  border-left: 3px solid var(--teal-muted);
  line-height: 1.3;
}

.feed-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h3 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--navy);
}

/* FAQ */
.faq {
  margin-top: 1.5rem;
  padding: 1.35rem 1.35rem 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--teal-muted) 100%);
  opacity: 0.85;
}

.faq h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.faq-item h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--navy);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* RSS grids */
.rss-grid {
  display: grid;
  gap: 0.65rem;
}

.rss-card {
  display: block;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(180deg, #fff 0%, #f9fafc 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.rss-card:hover {
  border-color: rgba(11, 31, 59, 0.18);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.rss-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.rss-card-title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--navy);
}

.rss-excerpt {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.feed-fallback,
.rss-fallback {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #fff 0%, #f1f3f8 100%);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06), var(--shadow-sm);
}

.ticker-wrap--spaced {
  margin: 1rem 0 1.25rem;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  padding: 0.65rem 0;
  animation: ticker 48s linear infinite;
  white-space: nowrap;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.ticker-item a {
  font-weight: 600;
  text-decoration: none;
}

.ticker-source {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

/* Blog layout */
.blog-hero {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.65);
  border-bottom: 1px solid var(--line-strong);
  background: radial-gradient(
      ellipse 70% 50% at 100% 0%,
      rgba(196, 18, 48, 0.06) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #fff 0%, #f2f5fa 100%);
}

.blog-hero h1 {
  margin: 0 0 0.5rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  color: var(--navy);
}

.blog-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: var(--section-gap) 0 calc(var(--section-pad) * 1.15);
}

@media (min-width: 980px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 2rem 2.25rem;
  }
}

.blog-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar .ad-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 0.65rem;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

.sidebar .ad-stack > div {
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  margin: 0;
}

.sidebar .ad-stack ins {
  display: inline-block;
  margin-inline: auto;
  vertical-align: top;
}

.sidebar-sky {
  display: none;
}

@media (min-width: 980px) {
  .sidebar-sky {
    display: block;
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
}

.filter-btn {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #fff 0%, #f4f6fa 100%);
  padding: 0.45rem 0.85rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  color: var(--navy-soft);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--navy-soft);
  box-shadow: var(--shadow-md);
}

.filter-btn[aria-pressed="true"] {
  border-color: var(--navy);
  background: linear-gradient(180deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.own-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.own-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fff 0%, #f7f8fc 100%);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.own-card:hover {
  border-color: rgba(11, 31, 59, 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.own-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  min-height: 96px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.own-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.own-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--navy);
}

.own-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.mixed-feed .rss-card[data-hidden="true"] {
  display: none;
}

/* Article */
.article-page .article-header {
  padding: 2rem 0 1rem;
  background: radial-gradient(
      ellipse 60% 80% at 0% 0%,
      rgba(196, 18, 48, 0.05) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
  border-bottom: 1px solid var(--line-strong);
}

.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.article-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.article-header h1 {
  margin: 0 0 0.5rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  color: var(--navy);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-soft);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  box-shadow: var(--shadow-sm);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0 3rem;
  align-items: start;
}

@media (min-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 2rem 2.25rem;
  }
}

.article-body {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #1b1f26;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  font-size: 3.1rem;
  line-height: 0.85;
  padding-right: 0.45rem;
  font-weight: 600;
  color: var(--navy);
}

.article-body h2 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.article-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-body h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy-soft);
}

.article-body .ad-float {
  float: right;
  margin: 0.25rem 0 1rem 1.25rem;
  max-width: 300px;
}

.article-body::after {
  content: "";
  display: table;
  clear: both;
}

.pull-quote {
  margin: 1.75rem 0;
  padding: 1rem 1.1rem 1rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
  border: 0;
}

.article-wire {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-band) 0%, var(--bg) 100%);
}

.article-wire .wire-title {
  margin: 0 0 1rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  color: var(--navy);
  padding-left: 0.75rem;
  border-left: 3px solid var(--teal-muted);
}

.wire-lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 68ch;
}

.read-more-lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 68ch;
}

.article-figure {
  margin: 1.5rem 0;
}

.article-figure figcaption {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.read-more {
  padding: var(--section-pad) 0 0;
  border-top: 1px solid var(--line);
}

.read-more h2 {
  margin: 0 0 1rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.35rem;
  color: var(--navy);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.read-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: linear-gradient(180deg, #fff 0%, #f9fafc 100%);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.read-card:hover {
  border-color: rgba(11, 31, 59, 0.18);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.read-card .src {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.read-card h3 {
  margin: 0;
  font-size: 1rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--navy);
}

.read-card .meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.read-card .cta {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, #0a1a33 0%, #071426 100%);
  color: #d5dce8;
  padding: calc(var(--section-pad) * 1.1) 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .footer-col--links {
    justify-self: end;
    text-align: right;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.footer-logo {
  height: 55px;
  width: auto;
  max-width: min(322px, 100%);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.footer-brand span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb0c9;
  margin-top: 0;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  max-width: 52ch;
  font-size: 0.92rem;
  color: #b8c4d6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-col--links .footer-copy {
  margin-top: 0.85rem;
}

.footer-nav a {
  color: #e8eef8;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #8fa0b8;
}

@media (max-width: 900px) {
  .blog-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .article-body .ad-float {
    float: none;
    margin: 1rem auto;
    text-align: center;
    max-width: none;
  }

  .own-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 979px) {
  .article-page .sidebar {
    display: none;
  }
}
