/* ==========================================================================
   Smith Dental Care — shared design system
   Warm-family, logo-grounded (tree/leaf/teal), restrained. See design-spec.md.
   ========================================================================== */

:root {
  --cream: #FBF3E7;
  --cream-alt: #F3E9D8;
  --pine: #2A5D42;
  --pine-dark: #1E4531;
  --teal: #2F6C7A;
  --gold: #8F5C16;
  --gold-light: #E0A94F;
  --ink: #332A22;
  --graphite: #5C5142;
  --sage: #7FA88A;
  --hairline: #E4D9C4;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --h2: clamp(1.65rem, 1.4rem + 1.2vw, 2.5rem);
  --h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem);
  --h4: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --body: 1.0625rem;
  --body-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --small: 0.875rem;
  --mono-label: 0.8125rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  --radius: 8px;
  --wrap-max: 1180px;
  --header-h: 84px;
  --header-h-condensed: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--pine); margin: 0 0 var(--space-2); font-weight: 600; }
h1 { font-size: var(--h1); font-weight: 600; line-height: 1.08; }
h2 { font-size: var(--h2); line-height: 1.15; }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
h4 { font-family: var(--font-body); font-size: var(--h4); font-weight: 800; margin: 0 0 var(--space-1); line-height: 1.3; color: var(--ink); }
p { margin: 0 0 var(--space-2); }
.lead { font-size: var(--body-lg); line-height: 1.55; color: var(--graphite); }
.mono-label {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--mono-label);
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold);
}
.eyebrow {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--mono-label);
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold); margin: 0 0 var(--space-1); display: block;
}
.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;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Container contract: every .sec's content sits inside .wrap. .sec/.sec.alt
   are full-bleed with vertical padding only, never a max-width. */
.sec { padding: var(--space-8) 0; position: relative; overflow: hidden; }
.sec.alt { background: var(--cream-alt); }
.sec.dark { background: var(--pine-dark); color: var(--cream); }
.sec.dark h1, .sec.dark h2, .sec.dark h3 { color: var(--white); }
.sec.dark p { color: #DCE7DF; }
.sec.tight { padding: var(--space-6) 0; }
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
@media (min-width: 1180px) { .wrap { padding: 0; } }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2, .prose h3 { margin-top: var(--space-4); }
.prose p { margin-bottom: var(--space-3); }
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: var(--space-4) 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--space-3); color: var(--ink); }
.prose li { margin-bottom: 8px; }

/* ---------------------------------------------------------------------
   Branch/leaf motif — abstracted from the real logo's tree mark
   --------------------------------------------------------------------- */
.motif-branch {
  position: absolute; pointer-events: none; z-index: 0; opacity: 0.08;
  color: var(--pine);
}
.sec.dark .motif-branch { opacity: 0.12; color: var(--sage); }
.motif-branch svg { width: 100%; height: 100%; display: block; }
.motif-corner { width: 420px; height: 420px; right: -80px; bottom: -80px; }
.motif-watermark { inset: 0; display: flex; align-items: center; justify-content: center; }
.motif-watermark svg { width: 60%; max-width: 380px; height: auto; }

/* ---------------------------------------------------------------------
   Icon sprite defaults
   --------------------------------------------------------------------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 28px; height: 28px; stroke: var(--teal); fill: none; }
.icon.on-dark { stroke: var(--cream); }
.icon.small { width: 16px; height: 16px; }
.chevron { width: 12px; height: 12px; stroke: currentColor; fill: none; transition: transform .15s ease; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9375rem;
  padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; min-height: 44px; line-height: 1;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #74480F; color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--cream); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); text-decoration: none; }
.sec.dark .btn-outline { color: var(--white); border-color: var(--white); }
.sec.dark .btn-outline:hover { background: var(--white); color: var(--pine-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ---------------------------------------------------------------------
   Preview banner
   --------------------------------------------------------------------- */
.preview-banner {
  background: var(--pine-dark); color: var(--cream); font-family: var(--font-body);
  font-size: 0.875rem; padding: 10px 20px; text-align: center;
}
.preview-banner a { color: var(--gold-light); font-weight: 700; }
.preview-banner strong { font-weight: 800; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  padding: 0 20px; min-height: var(--header-h);
  transition: min-height .2s ease, box-shadow .2s ease;
}
.site-header.is-condensed { min-height: var(--header-h-condensed); box-shadow: 0 1px 8px rgba(42,93,66,0.1); }
@media (min-width: 760px) { .site-header { padding: 0 32px; } }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap; margin-right: auto; min-width: 0;
}
.logo:hover { text-decoration: none; }
.logo img { height: 42px; width: auto; transition: height .2s ease; }
.site-header.is-condensed .logo img { height: 32px; }

.header-actions { display: none; align-items: center; gap: var(--space-2); }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 700; color: var(--pine); font-size: 0.9375rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); text-decoration: none; }

.hamburger {
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
  position: relative; flex-shrink: 0;
}
.hamburger .bar, .hamburger .bar::before, .hamburger .bar::after {
  content: ""; position: absolute; width: 22px; height: 2px; background: var(--pine); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger .bar::before { transform: translateY(-7px); }
.hamburger .bar::after { transform: translateY(7px); }
.hamburger[aria-expanded="true"] .bar { background: transparent; }
.hamburger[aria-expanded="true"] .bar::before { transform: translateY(0) rotate(45deg); background: var(--pine); }
.hamburger[aria-expanded="true"] .bar::after { transform: translateY(0) rotate(-45deg); background: var(--pine); }

.nav { display: none; width: 100%; }
.nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: var(--space-2) 0; display: flex; flex-direction: column; gap: 2px; }
.nav-link, .nav-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--pine);
  padding: 12px 4px; border: none; background: transparent; cursor: pointer; text-align: left;
  min-height: 44px;
}
.nav-link:hover, .nav-trigger:hover { color: var(--gold); text-decoration: none; }
.nav-link.active, .nav-trigger.active { color: var(--gold); }
.dropdown-panel { display: none; padding: 0 0 8px 12px; flex-direction: column; }
.nav-group.open .dropdown-panel { display: flex; }
.panel-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 4px; min-height: 40px;
  font-size: 0.9375rem; color: var(--graphite); border-left: 2px solid var(--hairline);
  padding-left: 12px;
}
.panel-item:hover, .panel-item.active { color: var(--gold); border-left-color: var(--gold); text-decoration: none; }
.panel-item-emergency { color: var(--pine); font-weight: 800; border-left-color: var(--teal); }
.panel-item-emergency:hover { color: var(--teal); border-left-color: var(--teal); }
.panel-group { border: none; }
.panel-group summary.panel-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 4px 10px 12px; font-weight: 700; color: var(--ink); cursor: pointer;
  list-style: none; min-height: 40px; border-left: 2px solid transparent;
}
.panel-group summary.panel-trigger::-webkit-details-marker { display: none; }
.panel-group[open] summary.panel-trigger .chevron { transform: rotate(180deg); }
.subpanel { display: flex; flex-direction: column; padding-left: 14px; }
.nav-book-btn { margin: var(--space-2) 0; width: 100%; }

@media (min-width: 760px) {
  .hamburger { display: none; }
  .header-actions { display: inline-flex; }
  .nav {
    display: flex !important; width: auto; align-items: center; margin-left: var(--space-3);
  }
  .nav-list { flex-direction: row; align-items: center; padding: 0; gap: var(--space-3); flex-wrap: wrap; }
  .nav-link, .nav-trigger { padding: 8px 2px; min-height: auto; width: auto; }
  .nav-link { position: relative; }
  .nav-link::after, .nav-trigger::after {
    content: ""; position: absolute; left: 2px; right: 2px; bottom: -6px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .15s ease;
  }
  .nav-link:hover::after, .nav-link.active::after,
  .nav-trigger:hover::after, .nav-trigger.active::after,
  .nav-group.active > .nav-trigger::after { transform: scaleX(1); }
  .nav-group { position: relative; }
  .nav-group .dropdown-panel {
    display: block; position: absolute; top: 100%; left: 0; margin-top: 10px;
    background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--gold);
    border-radius: var(--radius); padding: 14px; min-width: 280px;
    box-shadow: 0 12px 32px rgba(42,93,66,0.14);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
    max-height: 78vh; overflow-y: auto; overflow-x: hidden;
  }
  .nav-group:hover .dropdown-panel,
  .nav-group:focus-within .dropdown-panel,
  .nav-group.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
  .panel-item { padding-left: 8px; }
  .panel-group summary.panel-trigger { padding-left: 0; }
  .nav-book-btn { width: auto; margin: 0; }

  /* Services mega-panel: explicit 2-col CSS grid (not multi-column) so a tall
     category (General Dentistry, 10 items) can never spawn extra columns and
     force horizontal scroll -- the classic column-count + constrained-height bug. */
  .dropdown-panel.mega {
    width: 640px; max-width: 82vw;
    display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row;
    column-gap: 28px; align-content: start;
  }
  .dropdown-panel.mega .panel-overview,
  .dropdown-panel.mega .panel-item-emergency {
    grid-column: 1 / -1;
  }
  .dropdown-panel.mega .panel-overview { margin-bottom: 10px; font-weight: 800; }
  .dropdown-panel.mega .panel-item-emergency { margin-bottom: 10px; background: var(--cream-alt); border-radius: 6px; padding: 10px 12px; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { padding: var(--space-8) 0; }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) {
  .hero-grid.with-map { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { max-width: 18ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-2) 0 var(--space-3); }
.hero-chip {
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--hairline); color: var(--pine);
}
.hero-map .map-frame { box-shadow: 0 16px 40px rgba(42,93,66,0.16); }

/* ---------------------------------------------------------------------
   Grids: services, infocards, locations
   --------------------------------------------------------------------- */
.svc-grid, .infocards, .loc-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 541px) { .svc-grid, .infocards, .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .svc-grid.cols-3, .loc-grid.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .loc-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: var(--space-3); height: 100%;
}
.sec.alt .card { background: var(--white); }
.card .icon { margin-bottom: var(--space-2); }
.card .trust-line { font-size: var(--small); color: var(--graphite); margin-top: var(--space-1); }

/* Location cards */
.loc-card { display: flex; flex-direction: column; gap: 10px; }
.loc-card .mono-label { color: var(--teal); }
.loc-card h3 { margin-bottom: 4px; }
.loc-card address { font-style: normal; color: var(--graphite); }
.loc-card .loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }

/* Process steps */
.steps { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: left; }
.step-num { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.5rem; }

/* ---------------------------------------------------------------------
   FAQ accordion (native <details>)
   --------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 16px 20px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--ink);
  min-height: 44px;
}
.faq-item[open] .faq-q .chevron { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--graphite); }
.faq-a p:last-child { margin-bottom: 0; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------------------------------------------------------------------
   Insurance / payments strip
   --------------------------------------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pill {
  border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--pine); background: var(--white);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   Map + hours
   --------------------------------------------------------------------- */
.map-frame { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; position: relative; z-index: 0; isolation: isolate; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
.leaflet-map { width: 100%; height: 320px; background: var(--cream-alt); z-index: 0; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-top: 1px solid var(--hairline); font-size: 0.9375rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:first-child td { border-top: none; }
.live-status {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body);
  font-weight: 700; font-size: 0.9375rem; padding: 8px 14px; border-radius: 999px;
  background: var(--cream-alt); margin-bottom: var(--space-2);
}
.live-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--graphite); }
.live-status.is-open .dot { background: #3E7A4A; }
.live-status.is-open { color: #2C5C36; }
.live-status.is-closed .dot { background: var(--gold); }
.live-status.is-closed { color: #9C6A1E; }

/* ---------------------------------------------------------------------
   Trust strip (award badge, real only)
   --------------------------------------------------------------------- */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.award-badge { display: flex; align-items: center; gap: 12px; }
.award-badge img { width: 64px; height: auto; border-radius: 6px; }
.award-badge .award-text { font-size: var(--small); color: var(--graphite); max-width: 24ch; }
.award-badge .award-text strong { display: block; color: var(--ink); font-size: 0.9375rem; }

/* ---------------------------------------------------------------------
   Placeholder / deep page teaser
   --------------------------------------------------------------------- */
.placeholder-hero { padding: var(--space-6) 0 var(--space-4); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--graphite); }
.breadcrumb a { color: var(--teal); }
.placeholder-card {
  border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white);
  padding: var(--space-4); max-width: 620px; margin: var(--space-3) auto 0; text-align: left;
  position: relative; z-index: 1;
}
.placeholder-card .icon { margin-bottom: var(--space-2); }
.back-link { display: inline-block; margin-top: var(--space-2); font-weight: 700; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--pine-dark); color: var(--cream); padding: var(--space-8) 0 var(--space-4); }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); } }
.footer-heading { font-family: var(--font-mono); font-weight: 500; color: var(--gold-light); margin-bottom: 10px; font-size: var(--mono-label); text-transform: uppercase; letter-spacing: 0.07em; }
.site-footer a { color: #E4EFE9; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer p { color: #C9D9CE; }
.footer-locations { display: flex; flex-direction: column; gap: 4px; margin: 0 0 var(--space-2); font-size: var(--small); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: var(--space-4); padding-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; color: #A9BBAE; font-size: var(--small); }
.footer-bottom a { color: #A9BBAE; }

/* ---------------------------------------------------------------------
   Mobile fixed call/book bar
   --------------------------------------------------------------------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 12px rgba(42,93,66,0.16);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: 16px 8px; font-family: var(--font-body); font-weight: 800;
  min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mobile-cta-bar a:hover { text-decoration: none; }
.mobile-cta-bar .call { background: var(--gold); color: var(--white); }
.mobile-cta-bar .book { background: var(--pine-dark); color: var(--cream); }
body { padding-bottom: 60px; }
@media (min-width: 760px) {
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}
.nav-overlay-open { overflow: hidden; }
@media (max-width: 759px) {
  .nav.is-open {
    position: fixed; inset: 0; background: var(--pine-dark); overflow-y: auto;
    z-index: 95; padding: calc(var(--header-h) + var(--space-2)) 20px var(--space-8);
  }
  .nav.is-open .nav-link, .nav.is-open .nav-trigger, .nav.is-open .panel-group summary.panel-trigger { color: var(--cream); }
  .nav.is-open .nav-link.active, .nav.is-open .nav-trigger.active { color: var(--gold-light); }
  .nav.is-open .panel-item { color: #D9E5DC; border-left-color: rgba(255,255,255,0.2); }
  .nav.is-open .panel-item:hover, .nav.is-open .panel-item.active { color: var(--gold-light); border-left-color: var(--gold-light); }
  .nav.is-open .panel-item-emergency { color: var(--gold-light); border-left-color: var(--gold-light); }
  .nav.is-open .nav-book-btn { background: var(--gold); }
}

/* ---------------------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------------------- */
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.pre-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   Blog index (multi-column real article directory)
   --------------------------------------------------------------------- */
.blog-index-list {
  list-style: none; margin: 0; padding: 0;
  columns: 1; column-gap: var(--space-4);
}
@media (min-width: 640px) { .blog-index-list { columns: 2; } }
@media (min-width: 960px) { .blog-index-list { columns: 3; } }
.blog-index-list li { break-inside: avoid; margin-bottom: 4px; }
.blog-index-list a {
  display: block; padding: 8px 0; color: var(--ink); border-bottom: 1px solid var(--hairline);
  font-size: 0.9375rem;
}
.blog-index-list a:hover { color: var(--teal); text-decoration: none; }

/* ---------------------------------------------------------------------
   Misc utility
   --------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { border: none; border-top: 1px solid var(--hairline); margin: var(--space-4) 0; }
.no-js .js-only { display: none !important; }
