/* ============================================================
   Jeri & Penguin Design System
   Warm earthy palette · Georgia + Inter
   ============================================================ */

:root {
  --bg:            #f6f1e8;
  --bg-soft:       #ede5d4;
  --ink:           #2a2a28;
  --ink-soft:      #5a544a;
  --rule:          #ddd2bd;
  --orange:        #e86a1f;
  --orange-deep:   #b44a0e;
  --orange-soft:   #fbd9bd;
  --blue:          #1f5c8a;
  --blue-deep:     #123f63;
  --blue-soft:     #cfe0ee;
  --accent-sage:   #7a8a6d;

  --state-visited:      #f2a755;
  --state-visited-hov:  #e86a1f;
  --state-unvisited:    #b7c7ae;
  --state-unvisited-hov:#7a8a6d;
  --state-none:         #e5dfd1;
  --state-none-hov:     #d2cbb8;
  --state-stroke:       #fdfaf2;

  /* Kept as aliases for existing templates */
  --accent: var(--blue);
  --surface: #fff;
  --text: var(--ink);
  --muted: var(--ink-soft);
  --line: var(--rule);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--orange); }

/* ============================================================
   Site Nav
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  border-bottom: 1px dashed var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  font-weight: normal;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav-brand em { color: var(--orange); font-style: italic; }
.site-nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color 140ms ease;
}
.site-nav-links a:hover { color: var(--ink); }
.site-nav-links a.current { color: var(--orange); }
.site-nav-links a.current::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--orange); border-radius: 2px;
}
.site-nav-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-left: 4px;
  border-radius: 99px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.site-nav-ig:hover {
  color: #fff;
  background: linear-gradient(135deg, #e86a1f 0%, #c13584 60%, #5851db 100%);
  border-color: transparent;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .site-nav { padding: 12px 20px; }
  .site-nav-brand { font-size: 17px; }
  .site-nav-links { gap: 14px; }
  .site-nav-links a { font-size: 13px; }
}

/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
  border-top: 1px dashed var(--rule);
  margin-top: 60px;
  padding: 24px 0 40px;
  background: var(--bg);
}
.site-footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer-brand { letter-spacing: 0.01em; }
.site-footer-links { display: flex; gap: 18px; }
.site-footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color 140ms ease;
}
.site-footer-links a:hover { color: var(--orange); }

/* ============================================================
   Home page
   ============================================================ */
.home-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 80px;
}
@media (max-width: 720px) {
  .home-wrap { padding: 0 20px 60px; }
}

/* Hero */
.home-hero {
  padding: 64px 0 56px;
  max-width: 680px;
}
.home-hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 16px;
}
.home-hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.home-hero-title em { color: var(--orange); font-style: italic; }
.home-hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 28px;
}
/* Stats strip */
.home-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  width: fit-content;
  max-width: 100%;
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.home-stat-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  font-style: italic;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.home-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.home-stat-div {
  width: 1px;
  height: 40px;
  background: var(--rule);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .home-stats { gap: 0; padding: 20px 16px; }
  .home-stat { padding: 0 14px; }
  .home-stat-num { font-size: 26px; }
  .home-stat-div { height: 30px; }
}

/* Featured photo cards */
.home-featured { margin-bottom: 16px; }
.home-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .home-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .home-feat-grid { grid-template-columns: 1fr; }
}
.home-feat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.home-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(0,0,0,0.35);
}
.home-feat-body {
  padding: 22px 22px 24px;
  color: #fff;
}
.home-feat-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}
.home-feat-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}
.home-feat-date {
  font-size: 11px;
  opacity: 0.65;
}

/* "More recent" tiles */
.home-recent--more { margin-bottom: 48px; }
.home-more-link {
  text-align: center;
  margin-top: 24px;
}

.home-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 140ms ease;
}
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease;
}
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }

/* Section heading */
.home-section-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 20px;
}

/* Section cards */
.home-sections { margin-bottom: 60px; }
.home-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .home-section-grid { grid-template-columns: 1fr; }
}
.home-section-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: var(--card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.home-section-card-img {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: transform 400ms ease;
}
.home-section-card:hover .home-section-card-img {
  transform: scale(1.04);
}
.home-section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.18);
}
.home-section-card-body {
  padding: 16px 18px 20px;
  color: var(--ink);
}
.home-section-card-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.home-section-card-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: normal;
  font-style: italic;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}
.home-section-card-blurb {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* Recent posts */
.home-recent { margin-bottom: 56px; }
.home-recent-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.home-recent-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}
.home-recent-all:hover { color: var(--orange-deep); }
.home-recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .home-recent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .home-recent-grid { grid-template-columns: 1fr; }
}
.home-recent-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.home-recent-card:hover {
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.14);
  transform: translateY(-3px);
  color: var(--ink);
}
.home-recent-thumb {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: transform 400ms ease;
}
.home-recent-card:hover .home-recent-thumb {
  transform: scale(1.04);
}
.home-recent-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1;
}
.home-recent-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.home-recent-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.home-recent-date {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: 4px;
}

/* Instagram CTA */
.home-ig {
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.home-ig-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.home-ig-inner:hover {
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  color: var(--ink);
}
.home-ig-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.home-ig-handle {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.home-ig-arrow {
  color: var(--orange);
  font-size: 18px;
  margin-left: 8px;
}

/* Override main padding for home page */
body.home main { max-width: none; padding-left: 0; padding-right: 0; padding-top: 0; }

/* ============================================================
   Page wrapper
   ============================================================ */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
}
@media (max-width: 720px) {
  .page-wrap { padding: 28px 20px 60px; }
}

/* Legacy main element layout (single / list pages) */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 48px 80px;
}
@media (max-width: 720px) {
  main { padding: 24px 20px 60px; }
}

/* ============================================================
   Typography (shared page elements)
   ============================================================ */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: 36px; margin: 0 0 16px; }
h2 { font-size: 26px; margin: 32px 0 12px; }
h3 { font-size: 20px; margin: 24px 0 8px; }

p { margin: 0 0 16px; }
strong { font-weight: 600; }

.meta {
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 24px;
}

/* ============================================================
   Content area (article bodies)
   ============================================================ */
.content { overflow-wrap: anywhere; }
.content p { margin-bottom: 1em; }
.content ul, .content ol { padding-left: 1.4em; margin-bottom: 1em; }
.content li { margin-bottom: 0.35em; }
.content img { max-width: 100%; height: auto; border-radius: 6px; }
.content figure { margin: 24px 0; }
.content figcaption {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  font-style: italic;
}
.content h2 { font-size: 22px; }
.content h3 { font-size: 18px; }
.caption-image img { max-width: 100%; border-radius: 6px; }
.caption-image figcaption {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  font-style: italic;
}

/* ============================================================
   List pages (generic section)
   ============================================================ */
.list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.list li { border-top: 1px solid var(--rule); padding: 12px 0; }
.list li:first-child { border-top: 0; }
.list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.list a:hover { color: var(--orange); }

/* ============================================================
   Archive view
   ============================================================ */
.archive-intro { margin-bottom: 1.5rem; color: var(--ink-soft); }
.archive-groups { display: grid; gap: 1.5rem; }
.archive-group {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
}
.archive-group h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li {
  display: grid;
  grid-template-columns: minmax(7rem, 8.5rem) 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.35rem 0;
}
.archive-list li + li { border-top: 1px solid var(--rule); }
.archive-date { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }

@media (max-width: 640px) {
  .archive-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ============================================================
   State / RV Travel pages
   ============================================================ */
.state-map-card,
.state-directory-listing {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.25rem;
  background: var(--bg-soft);
  margin-top: 2rem;
}
.state-map-copy h2, .state-directory-heading h2 { margin: 0 0 0.35rem; }
.state-map-copy p, .state-directory-heading p,
.state-summary, .state-intro, .state-back-link { color: var(--ink-soft); }
.state-back-link a { color: var(--blue); text-decoration: none; }
.state-back-link a:hover { color: var(--orange); }
.state-map-shell { position: relative; margin-top: 1rem; }
.state-map-image {
  display: block; width: 100%;
  border-radius: 10px;
  border: 1px solid var(--rule);
}
.state-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 2.2rem; min-height: 2.2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(31,92,138,0.35);
  background: rgba(255,255,255,0.92);
  color: var(--blue);
  font-size: 0.78rem; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 0.35rem 0.9rem rgba(15,23,42,0.14);
  transition: background 140ms, color 140ms;
}
.state-hotspot:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.85rem; margin-top: 1rem;
}
.state-card {
  display: flex; justify-content: space-between; gap: 0.75rem; align-items: center;
  border: 1px solid var(--rule); border-radius: 10px;
  padding: 0.8rem 0.95rem; background: var(--bg);
  text-decoration: none;
  transition: border-color 140ms, transform 140ms;
}
.state-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.state-card-name { color: var(--ink); font-weight: 600; }
.state-card-meta { color: var(--ink-soft); font-size: 0.9rem; }
.state-article-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.state-article-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 12rem) 1fr;
  gap: 1rem; padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}
.state-article-list li:first-child { border-top: 0; padding-top: 0; }
.state-article-date, .state-article-tags { color: var(--ink-soft); }
.state-article-tags { font-size: 0.92rem; margin-top: 0.2rem; }

@media (max-width: 640px) {
  .state-hotspot { min-width: 1.9rem; min-height: 1.9rem; font-size: 0.68rem; }
  .state-article-list li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ============================================================
   Page intro lockup (RV Living, Resources)
   ============================================================ */
.intro-lockup {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.intro-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}
.intro-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.intro-title em { color: var(--orange); font-style: italic; }
.intro-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.intro-sub strong { color: var(--ink); }

/* ============================================================
   RV Living — Category Grid
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.cat-tile {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, border-color 180ms ease;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.25);
  border-color: rgba(0,0,0,0.18);
}
.cat-tile:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.cat-tile.feat  { grid-column: span 6; min-height: 380px; }
.cat-tile.med   { grid-column: span 6; min-height: 280px; }
.cat-tile.small { grid-column: span 3; min-height: 240px; }

@media (max-width: 1100px) {
  .cat-tile.feat, .cat-tile.med { grid-column: span 12; min-height: 280px; }
  .cat-tile.small { grid-column: span 6; }
}
@media (max-width: 640px) {
  .cat-tile.small { grid-column: span 12; }
}

.cat-art {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.cat-tile:hover .cat-art { transform: scale(1.04); }

/* Photo tiles: full image, no cropping, no text overlay */
.cat-tile--photo { min-height: 0 !important; }
.cat-tile-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.cat-tile:hover .cat-tile-img { transform: scale(1.04); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
}
.cat-body {
  position: relative; z-index: 2;
  margin-top: auto;
  padding: 22px 22px 20px;
  color: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.cat-script {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; font-weight: 500;
  font-size: 44px; line-height: 0.95;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.cat-tile.feat .cat-script { font-size: 64px; }
.cat-tile.small .cat-script { font-size: 30px; }
.cat-blurb {
  font-size: 13px; line-height: 1.4; opacity: 0.92;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.cat-tile.feat .cat-blurb { font-size: 15px; }
.cat-count {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px;
  align-self: flex-start;
}
.cat-pin {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 99px;
}

/* Expanded article panel */
.cat-articles {
  grid-column: 1 / -1;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px 28px 26px;
  margin-top: -4px;
  position: relative;
  animation: fadeUp 280ms cubic-bezier(.2,.8,.2,1);
}
.cat-articles::before {
  content: '';
  position: absolute; top: -8px; width: 14px; height: 14px;
  background: var(--bg-soft);
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  transform: rotate(45deg);
  left: var(--arrow-x, 60px);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cat-articles-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 14px; margin-bottom: 14px;
}
.cat-articles-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; font-size: 28px; font-weight: 500; margin: 0;
}
.cat-articles-title-orange { color: var(--orange); }
.cat-articles-meta { font-size: 13px; color: var(--ink-soft); }
.cat-articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 28px;
}
@media (max-width: 800px) { .cat-articles-list { grid-template-columns: 1fr; } }
.cat-article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline; gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--rule);
  text-decoration: none; color: inherit;
  transition: padding 180ms ease;
}
.cat-article:last-child { border-bottom: 0; }
.cat-article:hover { padding-left: 10px; }
.cat-article:hover .cat-article-arrow { transform: translateX(4px); color: var(--orange); }
.cat-article-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.cat-article-meta { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.cat-article-arrow { color: var(--ink-soft); font-size: 18px; transition: transform 200ms ease, color 200ms ease; }

/* ============================================================
   National Parks Map page — full-width override
   ============================================================ */
body[data-section="national-parks"] main {
  max-width: none;
  padding: 0;
}

/* App root wrapper */
.np-page {
  width: 100%;
}
.np-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}
@media (max-width: 720px) {
  .np-inner { padding: 24px 16px 60px; }
}

/* Page header */
.hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 40px;
  flex-wrap: wrap;
}
.hdr-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.hdr-title em { font-style: italic; color: var(--orange); }
.hdr-sub { color: var(--ink-soft); max-width: 640px; font-size: 16px; margin: 0; }
.hdr-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hdr-brand b { color: var(--blue); font-style: normal; font-weight: 600; }

/* Two-col map + sidebar layout */
.layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
}

/* Map card */
.map-card {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 20px 20px 16px;
  position: relative;
  overflow: hidden;
}
.map-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(31,92,138,0.07), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(232,106,31,0.06), transparent 70%);
  pointer-events: none;
}
.map-wrap { position: relative; }
.us-map { display: block; width: 100%; height: auto; }
.map-loading {
  height: 520px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}

/* Legend */
.legend {
  display: flex; gap: 18px; justify-content: center;
  padding: 8px 0 4px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--rule);
  margin-top: 10px;
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-swatch { width: 18px; height: 14px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.08); }
.legend-swatch.visited   { background: var(--state-visited); }
.legend-swatch.unvisited { background: var(--state-unvisited); }
.legend-swatch.none      { background: var(--state-none); }

/* Sidebar */
.sidebar {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 0; overflow: hidden;
  max-height: var(--map-h, 680px);
}
.stats { border-bottom: 1px dashed var(--rule); padding-bottom: 10px; }
.stat-big { display: flex; align-items: baseline; gap: 10px; }
.stat-number {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px; font-weight: 500; line-height: 1;
  color: var(--orange);
}
.stat-label { color: var(--ink-soft); font-size: 13px; }
.stat-meter { height: 5px; border-radius: 99px; background: var(--bg); margin: 8px 0 5px; overflow: hidden; }
.stat-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  transition: width 600ms ease;
}
.stat-fine { font-size: 11.5px; color: var(--ink-soft); }

/* Filter chips */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font: inherit;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  padding: 7px 12px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  transition: all 140ms ease;
}
.chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.chip-dot-all       { background: linear-gradient(135deg, var(--orange), var(--blue)); }
.chip-dot-visited   { background: var(--state-visited-hov); }
.chip-dot-unvisited { background: var(--state-unvisited-hov); }

/* Search bar */
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--ink-soft);
}
.search:focus-within { border-color: var(--orange); color: var(--ink); }
.search input {
  border: 0; background: transparent; outline: 0;
  flex: 1; font: inherit; color: var(--ink); padding: 2px 0;
}
.search-clear {
  border: 0; background: transparent; color: var(--ink-soft);
  cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px;
}

/* Park list */
.park-list {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  margin: 0 -10px; padding: 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.park-list::-webkit-scrollbar { width: 6px; }
.park-list::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.empty { color: var(--ink-soft); font-size: 13px; text-align: center; padding: 24px 0; }

.park-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px; align-items: center;
  padding: 6px 8px;
  border: 0; background: transparent;
  border-radius: 10px;
  text-align: left; font: inherit; color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease;
  width: 100%;
}
.park-row:hover { background: var(--bg); }
.park-row.active { background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); }
.park-row-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.park-row-name { font-weight: 600; font-size: 13px; line-height: 1.2; }
.park-row.unvisited .park-row-name { color: var(--ink-soft); font-weight: 500; }
.park-row-sub { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.park-row-check { color: var(--state-visited-hov); }
.park-row-body { min-width: 0; }

/* Detail panel */
.dp-overlay {
  position: fixed; inset: 0;
  background: rgba(20,18,12,0.35);
  backdrop-filter: blur(2px);
  z-index: 200;
  animation: fade 180ms ease;
}
.dp-panel {
  position: fixed; top: 0; right: 0; height: 100vh; width: 460px;
  background: var(--bg); border-left: 1px solid var(--rule);
  z-index: 201;
  box-shadow: -30px 0 60px rgba(0,0,0,0.15);
  animation: slide 260ms cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.dp-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 99px; border: 1px solid var(--rule);
  background: var(--bg-soft); font-size: 22px; line-height: 1;
  cursor: pointer; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
}
.dp-close:hover { color: var(--ink); background: var(--bg); }
.dp-content { overflow-y: auto; padding: 36px 36px 40px; flex: 1; }
.dp-kicker {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 11px; font-weight: 600; color: var(--orange); margin-bottom: 10px;
}
.dp-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px; font-weight: 500; line-height: 1.05;
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.dp-meta { color: var(--ink-soft); margin-bottom: 18px; }
.dp-section { margin-top: 20px; }
.dp-section-title {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px dashed var(--rule);
}
.dp-park-link {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 14px; align-items: center;
  padding: 12px; border-radius: 12px;
  text-decoration: none; color: var(--ink);
  transition: background 140ms ease; margin-bottom: 4px;
}
a.dp-park-link { cursor: pointer; }
a.dp-park-link:hover { background: var(--bg-soft); }
.dp-park-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.dp-park-name { font-weight: 600; font-size: 15px; }
.dp-park-blurb { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.dp-arrow { color: var(--orange); font-size: 18px; }
.dp-park-link.unvisited .dp-park-name { color: var(--ink-soft); }
.dp-hero {
  width: 100%; aspect-ratio: 2/1;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 6px 0 18px;
}
.dp-park-blurb-big {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px; line-height: 1.4; color: var(--ink);
  font-style: italic; margin-bottom: 16px;
}
.dp-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-top: 1px dashed var(--rule);
  font-size: 14px; color: var(--ink-soft);
}
.dp-row b { color: var(--ink); font-weight: 600; }
.dp-cta {
  display: block; margin-top: 18px; width: 100%;
  padding: 12px 16px; border-radius: 12px; border: 0;
  background: var(--orange); color: #fff;
  font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background 140ms ease;
  text-align: center; text-decoration: none;
}
.dp-cta:hover { background: var(--orange-deep); color: #fff; }

@keyframes fade  { from { opacity: 0 } to { opacity: 1 } }
@keyframes slide { from { transform: translateX(100%) } to { transform: translateX(0) } }

@media (max-width: 480px) {
  .dp-panel { width: 100%; }
}

/* ============================================================
   States page: full-width map layout
   ============================================================ */
body[data-section="states"] main { max-width: none; padding: 0; }

/* RV Living — let page-wrap handle width, not the narrow main constraint */
body[data-section="rv-living"] main { max-width: none; padding-left: 0; padding-right: 0; }

/* Resources & Videos — same treatment */
body[data-section="resources"] main { max-width: none; padding-left: 0; padding-right: 0; }
body[data-section="videos"] main { max-width: none; padding-left: 0; padding-right: 0; }

/* ============================================================
   Resources page: page wrap + components
   ============================================================ */
.affiliate-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.affiliate-note-icon {
  font-size: 18px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Toolbar: search + filters + count */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto 28px;
  padding: 0 4px;
}
.toolbar-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Section rules */
.section-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 860px;
  margin: 40px auto 20px;
  padding: 0 4px;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 10px;
}
.section-rule h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.section-rule h2 em { color: var(--orange); font-style: italic; }
.section-rule-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: 2px 9px;
  margin-left: auto;
}

/* Resources grid */
.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 4px;
}

.res-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.res-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  color: var(--ink);
}

.res-art {
  position: relative;
  height: 110px;
  background-size: cover;
}
.res-savings {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.res-cost {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.03em;
}
.res-cost.free { background: rgba(40,120,60,0.85); }

.res-body { padding: 14px 16px 10px; flex: 1; }
.res-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.res-cat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.res-cat[data-cat="memberships"] .res-cat-dot { background: var(--orange); }
.res-cat[data-cat="apps"]        .res-cat-dot { background: var(--blue); }
.res-cat[data-cat="money"]       .res-cat-dot { background: #5a8a3a; }
.res-cat[data-cat="goods"]       .res-cat-dot { background: #8a3a3a; }

.res-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
}
.res-blurb {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.res-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
}
.res-author { color: var(--ink-soft); font-weight: 600; }
.res-affiliate {
  margin-left: auto;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.06em;
}

/* ============================================================
   Styles from styles-blog.css — State Travel Blog Map
   ============================================================ */

/* Stat strip in header */
.stat-strip {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-shrink: 0;
}
.stat-strip .stat-cell {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}
.stat-strip .stat-cell:first-child { border-left: 0; padding-left: 0; }
.stat-strip .stat-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--orange);
}
.stat-strip .stat-cap {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Sidebar view toggle */
.sidebar-blog { gap: 10px; }
.view-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.view-tab {
  font: inherit;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 120ms ease, color 120ms ease;
}
.view-tab:hover { color: var(--ink); }
.view-tab.on { background: var(--ink); color: var(--bg); }
.view-tab-count {
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
}
.view-tab.on .view-tab-count {
  background: rgba(255,255,255,0.15);
  color: var(--bg);
}

.filters-tight { flex-wrap: wrap; gap: 4px; }
.filters-tight .chip { padding: 4px 9px; font-size: 12px; }

/* State row in sidebar */
.state-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 7px 8px;
  border: 0; background: transparent;
  border-radius: 10px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease;
  position: relative;
  width: 100%;
}
.state-row:hover { background: var(--bg); }
.state-row.active { background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); }
.state-row-code {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.01em;
  text-align: center;
}
.state-row-name { font-weight: 600; font-size: 13px; line-height: 1.2; }
.state-row-sub { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.state-row-bar {
  grid-column: 2 / 3;
  height: 3px;
  background: var(--bg);
  border-radius: 99px;
  margin-top: 4px;
  overflow: hidden;
}
.state-row-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
}

/* Post row in sidebar */
.post-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 8px;
  border: 0; background: transparent;
  border-radius: 10px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease;
  width: 100%;
}
.post-row:hover { background: var(--bg); }
.post-row-kind {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.kind-park      { background: #e86a1f; color: #fff; }
.kind-town      { background: #1f5c8a; color: #fff; }
.kind-feature   { background: #8a6a2a; color: #fff; }
.kind-overnight { background: #c5b896; color: #4a3e22; }

.post-row-title { font-weight: 600; font-size: 13px; line-height: 1.25; }
.post-row-sub {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post-row-state {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

/* Detail panel post entries */
.dp-post {
  width: 100%;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: var(--ink);
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 140ms ease;
}
.dp-post:hover { background: var(--bg-soft); }
.dp-post-kind {
  width: 4px;
  height: 100%;
  min-height: 36px;
  border-radius: 99px;
  margin-top: 2px;
}
.dp-post-kind.kind-park      { background: #e86a1f; }
.dp-post-kind.kind-town      { background: #1f5c8a; }
.dp-post-kind.kind-feature   { background: #8a6a2a; }
.dp-post-kind.kind-overnight { background: #c5b896; }
.dp-post-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.dp-post-sub { font-size: 12px; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0.01em; }
.dp-post-blurb { font-size: 14px; color: var(--ink-soft); margin-top: 6px; line-height: 1.45; }

/* Heat-map legend */
.heat-legend {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 12px; color: var(--ink-soft);
  padding: 8px 0 4px;
  border-top: 1px dashed var(--rule);
  margin-top: 10px;
}
.heat-legend-bar {
  display: flex; height: 12px; border-radius: 3px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.heat-legend-bar > span { width: 22px; height: 100%; }

/* ============================================================
   Videos page
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 8px;
  padding: 0 4px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 10px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.video-section-note {
  max-width: 1000px;
  margin: -10px auto 20px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
}
