/* Waco Local App — burnt orange, sunny yellow, deep navy | Eventbrite-adjacent rhythm */

:root {
  --orange: #c45a1a;
  --orange-dark: #9c4512;
  --yellow: #f5c542;
  --yellow-soft: #fff4d6;
  --navy: #0f1f3a;
  --navy-soft: #1a2d4f;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e8e4df;
  --bg: #f7f6f3;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 31, 58, 0.08);
  --nav-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 31, 58, 0.04);
  isolation: isolate;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: auto;
  height: 60px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-soft);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange-dark);
}

.site-nav a.is-active {
  color: var(--orange);
  border-bottom-color: var(--yellow);
}

.nav-pill {
  background: var(--yellow-soft);
  color: var(--navy) !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px;
  border-bottom: none !important;
}

.nav-pill.is-active {
  background: var(--orange);
  color: #fff !important;
}

.ad-leader {
  background: var(--line);
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-block: 1px solid #ddd8d2;
}

.ad-leader ins {
  display: block;
  min-height: 90px;
}

.hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, #fff 0%, var(--yellow-soft) 45%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 18ch;
}

.hero-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.section {
  padding: 2.75rem 0;
  scroll-margin-top: 80px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.feed-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 31, 58, 0.12);
}

.card a.card-link {
  display: block;
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-dark);
  background: var(--yellow-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height:1.35;
  color: var(--navy);
}

.card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.card-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.ticker-wrap {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.65rem 0;
  margin-top: 0.5rem;
}

.ticker {
  display: flex;
  gap: 2.5rem;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
  padding-left: 1rem;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.ticker a:hover {
  text-decoration: underline;
  color: var(--yellow);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.feed-fallback {
  padding: 1.25rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

/* Footer: wave accent, editorial columns, CTA card */
.site-footer {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  color: #e8edf5;
  background: var(--navy);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 90, 26, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(245, 197, 66, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, rgba(26, 45, 79, 0.9) 0%, var(--navy) 45%, #0a1428 100%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.85fr)) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-block {
  position: relative;
  padding-right: 0.5rem;
}

.footer-brand-block::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0;
  width: 3px;
  height: 3rem;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  opacity: 0.85;
}

@media (max-width: 960px) {
  .footer-brand-block::after {
    display: none;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-brand:hover {
  color: var(--yellow);
  transform: translateX(2px);
}

.footer-brand img {
  width: auto;
  height: 60px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.footer-tagline {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(232, 237, 245, 0.88);
  max-width: 36ch;
}

.footer-pins {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.footer-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(245, 197, 66, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(245, 197, 66, 0.35);
}

.footer-pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid transparent;
}

.footer-nav a::before {
  content: "";
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--yellow);
  padding-left: 0.25rem;
  transform: translateX(4px);
}

.footer-nav a:hover::before,
.footer-nav a:focus-visible::before {
  width: 14px;
}

.footer-cta-card {
  position: relative;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(245, 197, 66, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.footer-cta-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(196, 90, 26, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta-kicker {
  position: relative;
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.footer-cta-text {
  position: relative;
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd873 100%);
  box-shadow: 0 4px 0 var(--orange-dark), 0 8px 24px rgba(196, 90, 26, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--orange-dark), 0 14px 32px rgba(196, 90, 26, 0.4);
  filter: brightness(1.03);
}

.footer-cta-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--orange-dark), 0 4px 16px rgba(196, 90, 26, 0.3);
}

.footer-cta-btn .footer-cta-arrow {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-cta-btn:hover .footer-cta-arrow {
  transform: translateX(4px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  padding: 1.1rem 0 calc(1.1rem + env(safe-area-inset-bottom, 0px));
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(232, 237, 245, 0.55);
  line-height: 1.5;
  max-width: 42ch;
}

.footer-made {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 197, 66, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .footer-brand:hover {
    transform: none;
  }

  .footer-nav a:hover,
  .footer-nav a:focus-visible {
    transform: none;
    padding-left: 0;
  }

  .footer-cta-btn:hover,
  .footer-cta-btn:active,
  .footer-cta-btn:hover .footer-cta-arrow {
    transform: none;
  }
}

.faq-block {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
  margin-top: 1rem;
}

.faq-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.faq-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Blog layout */
.page-hero {
  padding: 2rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--navy);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span.sep {
  color: #b0a99f;
  user-select: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

/* Blog: featured own post + wire section */
.blog-own-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.blog-own-root[hidden] {
  display: none !important;
}

.blog-own-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
  color: #e8edf5;
  box-shadow: 0 20px 50px rgba(15, 31, 58, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (max-width: 720px) {
  .blog-own-card {
    grid-template-columns: 1fr;
  }

  .blog-own-media {
    order: -1;
    min-height: 200px;
  }
}

.blog-own-body {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, #152a4d 0%, var(--navy) 55%, #0c182e 100%);
}

.blog-own-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  opacity: 0.95;
}

.blog-own-eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.blog-own-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.blog-own-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-own-title a:hover,
.blog-own-title a:focus-visible {
  color: var(--yellow);
}

.blog-own-meta {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(232, 237, 245, 0.65);
  font-weight: 600;
}

.blog-own-excerpt {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(232, 237, 245, 0.88);
  max-width: 48ch;
}

.blog-own-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd873 100%);
  box-shadow: 0 3px 0 var(--orange-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.blog-own-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 5px 0 var(--orange-dark);
}

.blog-own-cta:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.blog-own-media {
  position: relative;
  min-height: 240px;
  background: #0a1428;
}

.blog-own-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-own-media-fallback {
  background: linear-gradient(135deg, var(--orange) 0%, var(--navy-soft) 45%, var(--yellow-soft) 100%);
  opacity: 0.85;
}

.blog-wire-block {
  padding-top: 0.25rem;
}

.blog-wire-head {
  margin-bottom: 1.25rem;
}

.blog-wire-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.blog-wire-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-soft);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.sidebar-ad-top {
  margin-bottom: 1rem;
}

.sidebar-ad-top ins,
.sidebar-sticky ins {
  display: block;
  margin-inline: auto;
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
}

.sidebar-sticky ins {
  min-height: 600px;
}

@media (max-width: 900px) {
  .sidebar-sticky {
    display: none;
  }
}

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.article-header {
  padding-top: 0.5rem;
}

.article-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.article-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  color: var(--navy);
}

.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.article-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--yellow-soft);
  color: var(--navy-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0 0;
  border: 1px solid var(--line);
}

.article-hero-img figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  background: #fff;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

.article-body::after {
  content: "";
  display: block;
  clear: both;
}

.article-body p {
  margin: 0 0 1.1rem;
}

.article-body h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.article-body h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy-soft);
}

.article-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
  margin: 2rem 0;
  opacity: 0.35;
}

.pull-quote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--orange);
  background: var(--yellow-soft);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}

.ad-float {
  float: right;
  width: 300px;
  max-width: 45%;
  margin: 0 0 1rem 1.25rem;
}

.ad-float ins {
  display: block;
}

@media (max-width: 640px) {
  .ad-float {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
  }
}

.read-more {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.read-more h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.read-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .read-more-grid {
    grid-template-columns: 1fr;
  }
}

.read-more .card h3 {
  font-size: 1rem;
}

/* Mobile nav: full-bleed panel under header, comfortable tap targets */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    box-sizing: border-box;
    z-index: 60;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(15, 31, 58, 0.12);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.2s ease, visibility 0s linear 0.35s;
  }

  .site-nav.is-open {
    max-height: min(85vh, 28rem);
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.2s ease, visibility 0s linear 0s;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: min(1120px, 92vw);
    margin-inline: auto;
    padding: 0.5rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: none;
    font-size: 1rem;
    line-height: 1.35;
  }

  .site-nav a.is-active {
    border-bottom: none;
    background: rgba(196, 90, 26, 0.06);
    padding-left: 0.35rem;
    margin-left: -0.35rem;
    border-radius: 6px;
  }

  .site-nav .nav-pill {
    display: block;
    text-align: center;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
    border-bottom: none !important;
  }

  .site-nav .nav-pill.is-active {
    background: var(--orange);
    color: #fff !important;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}
