/* =========================================================
   Indy Hot Tub Guide — Design System
   ========================================================= */
:root {
  --ink: #0b2438;
  --ink-2: #1f3a52;
  --muted: #6b7c8c;
  --line: #e2e8ef;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --surface-3: #e8eef5;

  /* Brand navy */
  --accent: #0E3A55;
  --accent-2: #082638;
  --accent-soft: #d9e4ed;
  --warm: #d8a64a;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 26, 36, .06);
  --shadow: 0 6px 24px rgba(15, 26, 36, .08);
  --shadow-lg: 0 20px 60px rgba(15, 26, 36, .15);

  --font-display: 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow--light {
  background: rgba(255, 255, 255, .15);
  color: white;
  backdrop-filter: blur(8px);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand-logo--sm { height: 44px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--accent); }
@media (max-width: 720px) {
  .site-nav { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; }
.hero-photo {
  padding: 120px 0 100px;
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero-couple.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 32, .88) 0%, rgba(4, 20, 32, .72) 55%, rgba(4, 20, 32, .45) 100%),
    linear-gradient(180deg, rgba(4, 20, 32, .35) 0%, rgba(4, 20, 32, .6) 100%);
  z-index: -1;
}
.hero-content {
  max-width: 720px;
}
.hero.hero-photo h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #ffffff;
  text-shadow: 0 2px 32px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .4);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, .92);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-photo .btn-primary { background: white; color: var(--accent); }
.hero-photo .btn-primary:hover { background: rgba(255, 255, 255, .92); color: var(--accent-2); }
.hero-photo .btn-ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  color: white;
  backdrop-filter: blur(8px);
}
.hero-photo .btn-ghost:hover {
  background: rgba(255, 255, 255, .2);
  border-color: white;
  color: white;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: white;
}
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (max-width: 720px) {
  .hero-photo { padding: 80px 0 60px; }
  .hero-stats { gap: 24px; }
}

/* =========================================================
   Section heads
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head--row {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

/* =========================================================
   Map
   ========================================================= */
.map-section { padding: 72px 0; background: var(--surface); }
.leaflet-map {
  height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
  margin: 0 24px;
}
.leaflet-map--small { height: 320px; margin: 0; }
@media (min-width: 1248px) {
  .leaflet-map { margin: 0 auto; max-width: 1200px; }
}
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow); }
.leaflet-popup-content {
  font-family: var(--font-body);
  margin: 14px 16px;
  font-size: 14px;
}
.leaflet-popup-content strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.leaflet-popup-content a { color: var(--accent); font-weight: 600; }
.map-placeholder {
  height: 320px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* =========================================================
   Directory + Filters
   ========================================================= */
.directory { padding: 64px 0 80px; background: var(--surface-2); }
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.filter > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.filter select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease;
}
.filter select:hover,
.filter select:focus { border-color: var(--accent); outline: none; }
.filter-actions { display: flex; gap: 8px; align-self: stretch; align-items: flex-end; }

/* =========================================================
   Cards
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  background: white;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
}
.empty-state h3 { font-family: var(--font-display); margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0; }
.empty-state a { color: var(--accent); font-weight: 600; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}
.card--verified {
  border-color: var(--accent-soft);
  background: linear-gradient(180deg, #f4f8fb 0%, white 50%);
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-verified {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: white;
}
.card-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  padding-right: 80px;
}
.card-head h3 a { color: inherit; }
.card-head h3 a:hover { color: var(--accent); }
.card-parent { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.card-loc { font-size: 13px; color: var(--muted); margin: 0; }
.chip-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row--lg .chip { padding: 6px 14px; font-size: 13px; }
.chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-weight: 500;
}
.chip--more { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.chip--soft { background: var(--accent-soft); color: var(--accent-2); }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.rating {
  font-weight: 700;
  color: var(--warm);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.rating small { color: var(--muted); font-weight: 400; font-size: 12px; }
.rating--none { color: var(--muted); font-weight: 400; }
.card-link { color: var(--accent); font-weight: 600; }
.card-link:hover { color: var(--accent-2); }

/* =========================================================
   Showcase
   ========================================================= */
.showcase {
  position: relative;
  padding: 0;
  background: var(--accent-2);
  color: white;
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.showcase-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.showcase-copy {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}
.showcase-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 16px 0 16px;
  color: white;
}
.showcase-copy p { color: rgba(255, 255, 255, .85); font-size: 17px; margin: 0 0 28px; }
.showcase .btn-primary { background: white; color: var(--accent); align-self: flex-start; }
.showcase .btn-primary:hover { background: rgba(255, 255, 255, .9); color: var(--accent-2); }
@media (max-width: 880px) {
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-copy { padding: 56px 24px; }
}

/* =========================================================
   Brands grid
   ========================================================= */
.brands { padding: 80px 0; background: var(--surface-2); }
.brand-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 96px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.brand-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.brand-count { font-size: 13px; color: var(--muted); }

/* =========================================================
   Dealer detail page
   ========================================================= */
.dealer-page { padding: 40px 0 80px; }
.breadcrumb { font-size: 14px; margin-bottom: 24px; }
.breadcrumb a { color: var(--accent); font-weight: 500; }
.dealer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.dealer-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 12px 0 8px;
  color: var(--ink);
}
.dealer-head .badge-verified { position: static; display: inline-block; }
.dealer-parent { color: var(--muted); margin: 0 0 8px; }
.dealer-rating { font-weight: 700; color: var(--warm); font-size: 18px; margin: 0; }
.dealer-rating span { color: var(--muted); font-weight: 400; font-size: 14px; }
.dealer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dealer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.dealer-info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--ink);
}
.dealer-info h2:first-child { margin-top: 0; }
.dealer-info address { font-style: normal; color: var(--ink-2); }
.dealer-source a { color: var(--accent); word-break: break-all; }
@media (max-width: 880px) {
  .dealer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   About / error pages
   ========================================================= */
.about-page, .error-page { padding: 64px 0; }
.about-page h1, .error-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.about-page .lede { font-size: 19px; color: var(--ink-2); margin: 0 0 32px; }
.about-page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 36px 0 12px;
}
.about-page p { color: var(--ink-2); margin: 0 0 16px; }
.about-page a { color: var(--accent); font-weight: 500; }
.error-page p a { color: var(--accent); font-weight: 600; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 56px 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-logo {
  margin-bottom: 16px;
  background: white;
  padding: 8px 14px;
  border-radius: 8px;
  height: 44px;
}
.footer-brand p { max-width: 320px; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-cols h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: white;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-cols a { color: rgba(255, 255, 255, .75); }
.footer-cols a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  color: rgba(255, 255, 255, .55);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Dealer photo gallery */
.dealer-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}
.dealer-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent-soft);
  aspect-ratio: 4 / 3;
}
.dealer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.dealer-photo:hover img { transform: scale(1.04); }

/* ---------- Featured dealers section ---------- */
.featured {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.featured .section-head h2 { color: #7C2D12; }

.section-head--center .eyebrow { margin: 0 0 14px; }
.directory .section-head .directory-meta {
  color: #7C2D12;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  margin: 0;
}
.eyebrow--gold {
  color: #8a6a1f;
  background: rgba(216, 166, 74, 0.18);
}
.cards--featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card--featured {
  background: linear-gradient(180deg, #fff7e6 0%, #ffffff 60%);
  border: 2px solid var(--warm);
  box-shadow: 0 6px 24px rgba(216, 166, 74, 0.18);
  position: relative;
}
.card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(216, 166, 74, 0.28);
  border-color: #c1903a;
}
.card--featured .card-head h3 a { color: var(--ink); }
.card--featured .card-head h3 a:hover { color: #8a6a1f; }
.badge-featured {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--warm);
  color: #2a1f08;
  box-shadow: 0 2px 8px rgba(216, 166, 74, 0.4);
}

/* ============ BLOG ============ */
.blog-hero {
  background: var(--accent-2);
  color: #fff;
  padding: 64px 0 40px;
  text-align: center;
}
.blog-hero .eyebrow--gold { color: var(--warm); }
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  margin: 8px 0 12px;
  color: #fff;
}
.blog-hero .lede {
  max-width: 640px;
  margin: 0 auto;
  color: #c8d6e1;
  font-size: 18px;
  line-height: 1.55;
}
.blog-grid-section { padding: 56px 0 80px; background: var(--surface-2); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--line);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.blog-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-3);
}
.blog-card-image--placeholder {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  position: relative;
}
.blog-card-image--placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/img/logo-mark.svg') center/80px no-repeat;
  opacity: .18;
}
.blog-card-body { padding: 20px 22px 24px; }
.blog-card-source {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 8px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--ink);
}
.blog-card-summary {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.pagination {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 15px;
}
.pagination-link {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.pagination-link:hover { background: var(--accent-2); }
.pagination-info { color: var(--muted); }
.empty-state { text-align: center; padding: 64px 16px; color: var(--muted); }

/* Single post */
.blog-post-page { padding: 48px 0 80px; }
.breadcrumb { margin-bottom: 24px; font-size: 14px; }
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.blog-post-source {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 12px;
}
.blog-post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 28px;
  color: var(--ink);
}
.blog-post-hero {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.blog-post-hero img { width: 100%; height: auto; display: block; }
.blog-post-summary { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 32px; }
.blog-post-summary p { margin: 0 0 16px; }
.blog-post-continue {
  margin: 32px 0;
  padding: 28px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}
.blog-post-continue-note { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.blog-post-continue .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.blog-post-continue .btn:hover { background: var(--accent-2); }
.blog-post-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 180px; }
}

/* Card badges — stacked column in top-right corner of each dealer card */
.card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.card-badges > * { pointer-events: auto; }
/* Override the legacy absolute positioning on verified/featured badges when inside .card-badges */
.card-badges .badge-verified,
.card-badges .badge-featured {
  position: static;
  top: auto;
  right: auto;
}
.badge-years {
  display: inline-block;
  line-height: 0;
  filter: drop-shadow(0 2px 4px rgba(11, 36, 56, 0.25));
}
.badge-years .years-badge-svg { width: 44px; height: auto; display: block; }
/* Reserve space on the right of card content for the stacked badges */
.card .card-head h3,
.card .card-loc,
.card .chip-row { padding-right: 64px; }
.dealer-head .card-badges { position: static; flex-direction: row; align-items: center; gap: 10px; margin-bottom: 8px; }
.dealer-head .badge-years { filter: none; }
.dealer-head .badge-years--lg .years-badge-svg { width: 90px; }
@media (max-width: 540px) {
  .badge-years .years-badge-svg { width: 46px; }
  .card .card-head h3 { padding-right: 80px; }
}
