/* ============================================================
   703 Business Directory — warm editorial design system (2026)
   Tokenized. Re-themes all legacy class names warm + adds new
   components. Mobile-first. Distinct from cold corporate dirs.
   ============================================================ */

:root {
  --paper: #FBF7EF;
  --paper-2: #F4EDE0;
  --surface: #FFFFFF;
  --white: #FFFFFF;
  --ink: #241E17;
  --text: #241E17;
  --text-secondary: #6B6256;
  --ink-soft: #6B6256;
  --ink-faint: #9A9080;
  --primary: #C0552F;            /* warm terracotta */
  --primary-deep: #9E3F20;
  --primary-tint: #FBEDE6;
  --accent: #C0552F;
  --accent-light: #FBEDE6;
  --amber: #C99A3F;
  --gold: #C99A3F;
  --gold-tint: #F8EFD9;
  --trust: #2F7D5B;
  --trust-tint: #E4F0EA;
  --success: #2F7D5B;
  --danger: #C0392B;
  --border: #ECE3D5;
  --line: #ECE3D5;
  --line-strong: #DFD3C0;
  --soft: #F8EFD9;
  --surface-2: #F4EDE0;
  --star: #E0A82E;

  --shadow-sm: 0 1px 2px rgba(60,40,20,.05);
  --shadow-md: 0 6px 20px -8px rgba(60,40,20,.18);
  --shadow-lg: 0 22px 55px -24px rgba(60,40,20,.32);

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-xl: 24px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 10000; padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--ink); color: var(--paper); font-weight: 800; transform: translateY(-180%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); text-decoration: none; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #005FCC; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
main:focus { outline: none; }
::selection { background: var(--primary); color: #fff; }
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--ink-soft); font-size: .94rem; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ─── buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 700; font-size: .95rem; padding: .8rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold); color: #2c2410; }
.btn-gold:hover { background: #b98a2f; color: #2c2410; }
.btn-success { background: var(--trust); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.light-cta { background: #fff !important; color: var(--primary-deep) !important; border: 1.5px solid var(--line-strong); }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ─── header ─── */
.site-header { background: rgba(251,247,239,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: .8rem 0; position: sticky; top: 0; z-index: 100; }
/* Header: single-row layout. Logo + search + nav all on one row. (Round 5, 2026-06-17) */
.site-header { padding: 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 14px 0 12px; }
.logo { white-space: nowrap; flex-shrink: 0; }
.logo-img { width: 38px; height: 38px; }
.nav-search { display: flex; align-items: stretch; flex: 1 1 auto; max-width: 540px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow-sm); padding: 4px 4px 4px 22px; }
.nav-search-q, .nav-search input { flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: 1rem; padding: .6rem .25rem; color: var(--ink); }
.nav-search-q::placeholder, .nav-search input::placeholder { color: var(--ink-faint); }
.nav-search-btn { background: var(--primary); color: #fff; border: none; padding: .55rem 1.4rem; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 700; font-size: .9rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; flex-shrink: 0; transition: background .2s; }
.nav-search-btn:hover { background: var(--primary-deep); }
.nav-search-btn svg { flex-shrink: 0; }
@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; row-gap: 10px; padding: 12px 0 10px; }
  .nav-search { order: 3; flex-basis: 100%; max-width: 100%; }
  .nav-search-btn-label, .nav-search-btn span { display: none; }
}
.nav-search-q { flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: .95rem; color: var(--ink); padding: .5rem .25rem; }
.nav-search-q::placeholder { color: var(--ink-faint); }
.nav-search-city { border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: .875rem; color: var(--ink-soft); border-left: 1px solid var(--line); padding: .5rem .75rem; cursor: pointer; max-width: 130px; flex: 0 0 auto; }
.nav-search-btn { display: inline-flex; align-items: center; gap: .35rem; background: var(--primary); color: #fff; border: none; padding: .55rem 1.1rem; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 700; font-size: .9rem; cursor: pointer; flex: 0 0 auto; transition: background .2s; }
.nav-search-btn:hover { background: var(--primary-deep); }
.nav-search-btn-label { display: inline; }
@media (max-width: 900px) {
  .nav-search { order: 3; flex-basis: 100%; margin: .5rem 0 0; max-width: 100%; }
  .nav-search-city { max-width: 110px; }
  .nav-search-btn-label { display: none; }
  .nav-search-btn { padding: .55rem .7rem; }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-img { height: 36px; width: 36px; object-fit: cover; border-radius: 9px; box-shadow: var(--shadow-sm); }
.logo-text { letter-spacing: -.01em; color: var(--ink); font-weight: 700; }
.logo-text span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 1.35rem; flex-shrink: 0; }
.nav-link { color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav-link:hover { color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; color: var(--ink); }
.nav-toggle svg { display: block; }
.admin-badge, .admin-header { background: var(--ink) !important; }
.admin-header { color: #fff; border-radius: var(--r-md); margin: 1rem 0; padding: 1rem 1.25rem; }
.admin-header .logo, .admin-header .logo-text, .admin-header .nav-link { color: #fff; }

/* ─── hero (homepage) ─── */
.hero { position: relative; padding: clamp(3rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,3.5rem); overflow: hidden; background: transparent; color: var(--ink); text-align: left; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 55% 50% at 85% -5%, var(--gold-tint), transparent 60%), radial-gradient(ellipse 70% 60% at -5% 25%, var(--primary-tint), transparent 55%); opacity: .85; }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow, .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-deep); background: var(--primary-tint); padding: .4rem .9rem; border-radius: var(--r-pill); margin-bottom: 1.1rem; }
.hero h1, .hero-title { font-family: var(--font-heading); font-size: clamp(2.4rem,6vw,4.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; max-width: 18ch; color: var(--ink); }
.hero h1 .accent, .hero-title .accent { color: var(--primary); font-style: italic; }
.hero-sub { margin-top: 1.1rem; font-size: clamp(1.05rem,1.6vw,1.25rem); color: var(--ink-soft); max-width: 56ch; }

/* search bar */
.searchbar, .search-box { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: .55rem; display: flex; gap: .5rem; max-width: 740px; align-items: stretch; }
.searchbar input, .searchbar select, .search-input, .search-city { font-family: var(--font-body); font-size: 1rem; border: none; outline: none; background: transparent; padding: .8rem .9rem; color: var(--ink); border-radius: var(--r-md); }
.searchbar .sb-q, .search-input { flex: 1 1 auto; min-width: 0; }
.searchbar .sb-city, .search-city { flex: 0 0 auto; border-left: 1px solid var(--line); color: var(--ink-soft); width: 170px; }
.searchbar .btn { flex: 0 0 auto; }
.hero-promise, .hero-trust-row { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1.1rem; }
.hero-promise span, .hero-trust-row span { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.hero-promise span::before { content: "✓"; color: var(--trust); font-weight: 800; }

/* ─── stat / trust strip ─── */
.stat-strip, .trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2.5rem; }
.trust-section { margin-top: 0; }
.stat, .trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.stat b, .trust-card strong { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem,3vw,2.1rem); color: var(--primary); line-height: 1; }
.stat span, .trust-card span { font-size: .82rem; color: var(--ink-soft); font-weight: 700; }

/* ─── sections ─── */
.section, .premium-section, .categories-section, .featured-section, .recent-section, .cities-section, .cta-section, .spotlight-section, .newsletter-upgrade-section, .best-of-section { padding: clamp(2.75rem,6vw,4.5rem) 0; }
.section.alt, .recent-section, .categories-section { background: var(--paper-2); }
.featured-section, .cities-section, .cta-section { background: var(--paper); }
.section-head, .section-heading { margin-bottom: 1.8rem; max-width: 760px; }
.section-head .kicker, .section-heading .eyebrow { color: var(--primary-deep); }
.section-title, .section-head h2 { font-family: var(--font-heading); font-size: clamp(1.8rem,3.4vw,2.6rem); letter-spacing: -.02em; margin: .3rem 0 .4rem; color: var(--ink); }
.section-head p, .section-heading p:not(.eyebrow) { color: var(--ink-soft); }

/* page header (inner pages) */
.page-header { padding: clamp(1.5rem,4vw,2.5rem) 0 1rem; }
.premium-page-header, .category-hero, .city-hero, .upgrade-hero, .search-form-large { border-radius: var(--r-lg, 16px); padding: 1.25rem 1.5rem; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.premium-page-header { background: linear-gradient(135deg,#fff,var(--gold-tint)); }
.page-title { font-family: var(--font-heading); font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 600; color: var(--ink); }
.page-desc { color: var(--ink-soft); margin-top: .5rem; max-width: 62ch; }
.breadcrumb, .breadcrumbs { font-size: .85rem; color: var(--ink-faint); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb a, .breadcrumbs a { color: var(--ink-soft); }

/* hero/city/category image heroes -> warm overlay so text stays legible on any photo */
.category-hero, .city-hero { color: #fff; background-size: cover; background-position: center; min-height: 140px; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; background-color: var(--primary); position: relative; border-radius: var(--r-xl, 16px); overflow: hidden; }
.category-hero::after, .city-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(122,19,34,.78) 0%, rgba(166,25,46,.55) 100%); border-radius: inherit; pointer-events: none; }
.category-hero > *, .city-hero > * { position: relative; z-index: 1; }
.category-hero-title, .city-hero h1 { font-family: var(--font-heading); font-size: clamp(1.5rem,3vw,2.1rem); color: #fff; line-height: 1.1; text-shadow: 0 1px 6px rgba(0,0,0,.4); margin: 0; }
.category-hero-desc, .city-hero p { color: rgba(255,255,255,.92); max-width: 640px; font-size: 0.95rem; margin: 0.35rem 0 0; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.page-icon { width: 78px; height: 78px; object-fit: contain; border-radius: var(--r-md); margin-bottom: .9rem; background: #fff; padding: 8px; }
.page-icon.on-dark { background: #fff; }

/* ─── category grid ─── */
.cat-grid, .categories-grid, .premium-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 1.1rem; }
/* Variant E: dark filled glyph, centered, uniform height, no count (2026-06-17) */
.cat-card, .category-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; height: 150px; padding: 22px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .25s ease, border-color .2s; box-sizing: border-box; }
.cat-card:hover, .category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); text-decoration: none; }
.cat-card .ico, .cat-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex-shrink: 0; }
.cat-card .ico svg { width: 22px; height: 22px; }
.cat-card .cc-name, .cat-name { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; line-height: 1.2; color: var(--ink); text-align: center; letter-spacing: -.01em; }
/* Count badge hidden per user request. If restored, remove this line. */
.cat-card .cc-count { display: none; }
/* Category hero icon (on /category/{slug}) — was unconstrained, expanded full-width. */
.category-hero-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: #fff; margin-bottom: .75rem; }
.category-hero-ico svg { width: 40px; height: 40px; }
/* legacy visual category card (image bg) -> warm card */
.category-card-visual { min-height: 150px; border-radius: var(--r-lg); background-color: var(--surface); background-size: cover; background-position: center; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1rem; box-shadow: var(--shadow-sm); transition: .2s; position: relative; overflow: hidden; }
.category-card-visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,54,93,.55), rgba(8,145,178,.4)); z-index: 0; transition: opacity .2s; }
.category-card-visual:hover::before { opacity: .8; }
.category-card-visual:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.category-card-visual .cat-name { position: relative; margin: 0 !important; color: var(--ink) !important; font-weight: 600; font-size: 1.1rem; z-index: 1; }

/* ─── city grid ─── */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1rem; }
.city-card { position: relative; overflow: hidden; min-height: auto; background: radial-gradient(130% 120% at 0% 0%, var(--primary-tint) 0%, rgba(251,237,230,0) 48%), linear-gradient(160deg, #FFFFFF 0%, var(--surface-2) 150%); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem 1.25rem 1.25rem 3.7rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .25s ease, border-color .2s; color: var(--ink); display: flex; flex-direction: column; gap: .25rem; font-size: 1rem; font-weight: 400; align-items: flex-start; }
.city-card::before { content: "📍"; position: absolute; left: 1rem; top: 1.15rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; border-radius: 11px; background: radial-gradient(circle at 32% 26%, var(--gold-tint), var(--primary-tint)); box-shadow: inset 0 0 0 1px var(--line-strong), 0 5px 14px -8px rgba(192,85,47,.45); transition: transform .2s ease; }
.city-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); opacity: 0; transition: opacity .22s ease; }
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); border-color: var(--primary); }
.city-card:hover::before { transform: scale(1.08) rotate(-3deg); }
.city-card:hover::after { opacity: .95; }
.city-card .cn { font-family: var(--font-heading); font-weight: 600; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.city-card .cd { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }

/* ─── business cards / lists ─── */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px),1fr)); gap: 1rem; max-width: 1100px; }
.biz-list { display: flex; flex-direction: column; gap: 1rem; }
.biz-card, .biz-list-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: .5rem; text-decoration: none; }
.biz-card:hover, .biz-list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); text-decoration: none; }
.biz-card.is-featured, .biz-list-item.featured, .elite-card { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-md); background: linear-gradient(180deg, var(--gold-tint), var(--surface) 40%); }
.biz-card h3, .biz-list-name, .biz-card-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 0; }
.biz-card h3 a, .biz-list-name a { color: var(--ink); }
.biz-card h3 a:hover { color: var(--primary-deep); text-decoration: none; }
.biz-cat, .biz-card-cat, .biz-list-cat { font-size: .78rem; color: var(--primary-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.biz-meta, .biz-card-info, .biz-card-location, .biz-list-location, .biz-city { font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.biz-desc, .biz-tagline, .biz-card-tagline, .biz-list-tagline { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.biz-phone, .biz-card-phone, .biz-list-phone, .biz-list-website { font-size: .85rem; color: var(--primary-deep); font-weight: 600; }
.biz-actions, .biz-list-actions, .biz-card-actions { margin-top: auto; display: flex; gap: .5rem; padding-top: .5rem; flex-wrap: wrap; }
.biz-card-body { padding: 0; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .25rem .6rem; border-radius: var(--r-pill); text-transform: uppercase; }
.badge-featured, .biz-card-badge, .badge-best { background: var(--gold); color: #2c2410; font-size: .7rem; font-weight: 800; padding: .25rem .6rem; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .03em; }
.badge-best { position: absolute; top: .75rem; right: .75rem; background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.biz-card-badge { position: absolute; top: .75rem; left: .75rem; }
.badge-verified, .verified-badge, .verified-label, .badge-active, .status-replied, .claimed-badge, .claim-badge { background: var(--trust-tint); color: var(--trust); }
.badge-claimed { background: var(--primary-tint); color: var(--primary-deep); }
.badge-tier, .listing-badge-tier, .tier-badge, .lead-source, .status-closed { background: var(--paper-2); color: var(--ink-soft); font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .03em; display: inline-flex; }
.tier-badge-free { background: var(--paper-2); color: var(--ink-soft); }
.tier-badge-starter { background: var(--gold-tint); color: #8a6d1f; }
.tier-badge-pro, .badge-pending, .status-read, .lead-type { background: var(--primary-tint); color: var(--primary-deep); }
.tier-badge-elite { background: var(--gold); color: #2c2410; }
.status-new { background: var(--trust-tint); color: var(--trust); }
.badge-suspended, .status-suspended { background: #fbe9e7; color: var(--danger); }

/* stars / ratings */
.stars, .rating-stars, .review-stars { color: var(--star); font-size: .95rem; letter-spacing: .04em; display: inline-flex; }
.stars .rv-count, .rating-count a { color: var(--ink-faint); font-size: .82rem; margin-left: .35rem; font-family: var(--font-body); }
.star-filled { color: var(--star); } .star-empty { color: var(--line-strong); }
.rating-summary { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .75rem; background: var(--gold-tint); border-radius: var(--r-md); }
.rating-value { font-weight: 700; font-size: 1.1rem; color: var(--ink); }

/* ─── answer block (AEO) ─── */
.answer-block { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--r-md); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.answer-block p { color: var(--ink); font-size: 1.02rem; margin: 0; }
.answer-block .ab-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); display: block; margin-bottom: .4rem; }

/* ─── FAQ ─── */
.faq { display: flex; flex-direction: column; gap: .5rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .1rem 1.1rem; }
.faq summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; padding: .85rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1rem; color: var(--ink-soft); }

/* ─── listing detail ─── */
.listing-page, .listing-layout { padding: 0; }
.listing-hero-card, .listing-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(135deg,#fff,var(--gold-tint)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.listing-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 1.75rem; align-items: start; max-width: 1100px; }
.listing-name, .listing-title { font-family: var(--font-heading); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 600; color: var(--ink); }
.listing-tagline, .listing-sub { color: var(--ink-soft); margin-top: .3rem; }
.listing-cat a { color: var(--primary-deep); font-weight: 600; }
.listing-section, .panel, .card, .contact-form-box, .quote-box, .card-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.listing-section h2, .panel h2, .contact-form-box h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: .75rem; }
.quote-box { border: 2px solid var(--primary); box-shadow: 0 18px 44px -20px rgba(192,85,47,.35); }
.contact-form-box, .card-sidebar, .sidecard { position: sticky; top: 90px; }
.info-item, .contact-row { font-size: .95rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-child, .contact-row:last-child { border-bottom: none; }
.verified-badge-sidebar, .featured-badge-sidebar { display: block; padding: .5rem .85rem; border-radius: var(--r-sm); font-size: .85rem; font-weight: 700; margin-bottom: .75rem; }
.verified-badge-sidebar { background: var(--trust-tint); color: var(--trust); }
.featured-badge-sidebar { background: var(--gold-tint); color: #8a6d1f; }
.listing-photo { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-md); }
.listing-photos { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.listing-photo.listing-logo { width: 100%; max-width: 480px; height: 240px; margin: 0 auto 1.25rem; background: var(--paper-2); padding: 1rem; }
.listing-photo-placeholder { width: 100%; min-height: 200px; background: var(--paper-2); border: 2px dashed var(--line-strong); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 3rem; margin-bottom: 1.25rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.service-item { padding: 1rem; background: var(--paper-2, #faf6ee); border: 1px solid var(--line); border-radius: var(--r-sm, 6px); }
.service-name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0 0 .35rem 0; }
.service-desc { font-size: .9rem; color: var(--ink-soft); margin: 0; line-height: 1.4; }
.listing-social .social-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.listing-social .social-link:hover { text-decoration: underline; }
.listing-hours .hours-spec { color: var(--ink); }
.claim-banner, .claim-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--primary-tint); border: 1px solid #f0d3c6; border-radius: var(--r-md); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.claim-banner p, .claim-cta p { margin: 0; color: var(--primary-deep); }
.owner-response { margin-top: .8rem; background: var(--paper-2); border-left: 4px solid var(--primary); padding: .8rem; border-radius: var(--r-sm); }

/* ─── forms ─── */
.field, .form-group { margin-bottom: 1rem; }
.field label, .form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
/* hero search inputs on dark bg */
.hero-search input, .hero-search select { background: rgba(255,255,255,0.96); color: var(--ink); border-color: rgba(255,255,255,0.5); }
.hero-search input::placeholder { color: var(--ink-soft); opacity: 0.7; }

/* hero quick picks on dark bg */
.hero-quick-picks a { background: rgba(255,255,255,0.12) !important; color: #fff !important; border-color: rgba(255,255,255,0.25) !important; }
.hero-quick-picks a:hover { background: rgba(255,255,255,0.22) !important; }
.hero-quick-picks > span:first-child { color: rgba(255,255,255,0.85) !important; }

/* form-section: dashboard edit form sections — proper card padding + spacing */
.form-section { background: var(--surface, #fff); border: 1px solid var(--line, #e6dccb); border-radius: var(--r-md, 8px); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.form-section h2 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 0 0 .75rem 0; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.form-section h2 + .muted, .form-section > .muted:first-of-type { margin-top: -.25rem; margin-bottom: 1rem; font-size: .9rem; }
.form-section .form-group:last-child { margin-bottom: 0; }
.form-section small.muted { display: block; margin-top: .35rem; line-height: 1.4; }
/* Repeater: friendly UI for hours / services / social links */
.repeater { margin-top: .25rem; }
.repeater-rows { display: flex; flex-direction: column; gap: .65rem; margin-bottom: .75rem; }
.repeater-row { display: flex; align-items: flex-start; gap: .5rem; background: var(--paper-2, #faf6ee); border: 1px solid var(--line); border-radius: var(--r-sm, 6px); padding: .75rem; position: relative; }
.repeater-row:hover { border-color: var(--line-strong, #d6c9b0); }
.repeater-cols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.repeater-cols .repeater-field-grow + .repeater-field-grow { grid-column: 1 / -1; }
.repeater-cols .repeater-field { display: flex; flex-direction: column; }
.repeater-cols .repeater-field span { font-size: .75rem; font-weight: 700; color: var(--ink); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .03em; }
.repeater-cols input { padding: .55rem .7rem; font-size: .95rem; }
.repeater-remove { background: transparent; border: 1px solid var(--line-strong, #d6c9b0); color: var(--ink-soft, #6B5A3E); width: 28px; height: 28px; border-radius: var(--r-sm); font-size: 1.2rem; line-height: 1; cursor: pointer; flex-shrink: 0; padding: 0; transition: .15s; }
.repeater-remove:hover { background: var(--danger, #c0392b); border-color: var(--danger, #c0392b); color: #fff; }
@media (max-width: 640px) { .repeater-cols { grid-template-columns: 1fr; } }
.input, .form-control, .filter-form input, .filter-form select, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url], input[type=number], select, textarea { width: 100%; font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: .7rem .85rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus, .form-control:focus, input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(192,85,47,.12); }
textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 1rem; }
.form-actions { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 2rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.form-actions .btn { padding: .75rem 1.5rem; font-size: 1rem; }
.checkbox-label { display: flex; flex-direction: row !important; align-items: center !important; gap: .5rem; }
.checkbox-label input { width: auto; margin: 0; }
.search-form-large { background: linear-gradient(135deg,#fff,var(--primary-tint)); margin-bottom: 2rem; }
.search-form-large .search-box { max-width: 100%; margin: 0; }
.search-page-title { font-size: clamp(1.75rem, 4vw, 2.35rem); margin-bottom: .45rem; }
.search-page-intro { color: var(--ink-soft); margin-bottom: 1rem; max-width: 62ch; }
.biz-list-name, .biz-list-tagline, .biz-list-website { overflow-wrap: anywhere; }
.filter-cat-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.filter-cat-list a { display: block; padding: .45rem .55rem; border-radius: var(--r-sm); color: var(--ink); font-weight: 600; }
.filter-cat-list a:hover { background: var(--paper-2); text-decoration: none; color: var(--primary-deep); }

/* notices / alerts */
.notice, .alert { padding: .85rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: .92rem; font-weight: 600; }
.notice-success, .alert-success { background: var(--trust-tint); color: var(--trust); }
.notice-error, .alert-error { background: #fbe9e7; color: var(--danger); }

/* ─── pricing tiers ─── */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tier-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; text-align: left; position: relative; transition: transform .15s, box-shadow .2s; }
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-card.popular, .tier-card.tier-pro, .featured-tier { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-md); }
.tier-card.tier-elite { border-color: var(--gold); background: linear-gradient(180deg, var(--gold-tint), var(--surface) 35%); }
.tier-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.tier-price { font-family: var(--font-heading); font-size: 2.4rem; color: var(--primary); margin: .4rem 0; }
.tier-price span, .tier-price small { font-family: var(--font-body); font-size: .9rem; color: var(--ink-faint); font-weight: 600; }
.tier-blurb { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1rem; }
.tier-features, .tier-card ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin: 0 0 1.5rem; padding: 0; }
.tier-features li, .tier-card li { font-size: .9rem; color: var(--ink); display: flex; gap: .5rem; border: none; padding: 0; }
.tier-features li::before, .tier-card li::before { content: "✓"; color: var(--trust); font-weight: 800; }
.tier-card .btn { margin-top: auto; }
.tier-pop-label, .tier-badge-elite, .tier-badge-pro { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: .5rem; display: inline-block; }
.comparison-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; margin: 2rem 0; box-shadow: var(--shadow-sm); }
.comparison-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: .5rem; align-items: center; }
.comparison-grid > * { padding: .75rem; background: var(--paper-2); border-radius: var(--r-sm); }
.upgrade-hero { color: #fff; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); text-align: center; border: none; }
.upgrade-hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.6rem); max-width: 900px; margin: 0 auto 1rem; }
.upgrade-hero p { color: rgba(255,255,255,.92); max-width: 720px; margin: 0 auto 1.5rem; }
.premium-tiers { margin-top: 0; }

/* plan selector */
.plan-selector { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: .85rem; align-items: stretch; }
.plan-selector > .plan-option { display: block; }
.plan-selector .plan-blurb { font-size: .82rem; color: var(--ink-soft); margin-top: .35rem; line-height: 1.3; min-height: 2.5em; }
.plan-selector .plan-features { list-style: none; display: flex; flex-direction: column; gap: .35rem; margin: .5rem 0; padding: 0; text-align: left; }
.plan-selector .plan-features li { font-size: .82rem; color: var(--ink-soft); display: flex; gap: .35rem; border: none; padding: 0; }
.plan-selector .plan-features li::before { content: "✓"; color: var(--trust); font-weight: 800; }
.plan-popular { border-color: var(--primary) !important; box-shadow: 0 0 0 1px var(--primary); }
.plan-popular-label { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); display: inline-block; margin-bottom: .35rem; }
.plan-option input { display: none; }
.plan-box { border: 2px solid var(--line-strong); border-radius: var(--r-md); padding: 1rem; transition: .15s; text-align: center; min-height: 175px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: .35rem; }
.plan-option input:checked + .plan-box { border-color: var(--primary); background: var(--primary-tint); }
.plan-option:hover .plan-box { border-color: var(--primary); }
.plan-name { font-weight: 700; color: var(--ink); }
.plan-price { font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary); margin: .25rem 0; }

/* ─── spotlight / steps / best-of (homepage legacy) ─── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step-card b { color: var(--primary); font-family: var(--font-heading); font-size: 2rem; }
.step-card h3 { color: var(--ink); margin: .3rem 0; }
.premium-spotlight, .best-of-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: center; padding: 2rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.spotlight-meta { border-radius: var(--r-md); background: linear-gradient(135deg, var(--primary-deep), var(--primary)); color: #fff; padding: 1.5rem; }
.spotlight-meta strong { display: block; font-size: 1.5rem; margin: .5rem 0; font-family: var(--font-heading); }
.spotlight-section { background: linear-gradient(135deg, var(--gold-tint), var(--paper)); }
.best-of-section { background: linear-gradient(135deg, var(--primary-tint), var(--paper)); }
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── CTA band ─── */
.cta-band, .cta-box { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(2rem,4vw,3rem); text-align: center; }
.cta-band h2, .cta-box h2 { color: var(--paper); font-family: var(--font-heading); font-size: clamp(1.6rem,3.4vw,2.4rem); }
.cta-band p, .cta-box p { color: rgba(251,247,239,.78); margin: .6rem auto 1.5rem; max-width: 52ch; }

/* ─── reviews ─── */
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem; margin-bottom: .8rem; }
.review-header { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.review-author { font-weight: 700; color: var(--ink); }
.review-date { color: var(--ink-faint); font-size: .85rem; }
.review-text { color: var(--ink-soft); line-height: 1.6; margin-top: .5rem; }

/* ─── blog ─── */
.blog-article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem,4vw,2.4rem); box-shadow: var(--shadow-sm); }
.blog-meta { color: var(--ink-faint); font-size: .85rem; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.blog-title { font-family: var(--font-heading); font-size: clamp(2rem,4vw,3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); margin-bottom: 1rem; }
.blog-content { font-size: 1.05rem; line-height: 1.8; color: var(--ink); }
.blog-content p { margin-bottom: 1.2rem; }
.blog-content h2 { font-family: var(--font-heading); margin: 2rem 0 .7rem; color: var(--ink); }
.blog-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.blog-content a { color: var(--primary-deep); text-decoration: underline; }
.blog-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ─── dashboard / admin / stats ─── */
.dashboard-page, .admin-page, .form-page, .auth-page, .blog-article-page { padding: 2rem 0; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dashboard-header h1, .form-card h1, .auth-title { font-family: var(--font-heading); font-size: clamp(1.7rem,3.5vw,2.4rem); font-weight: 600; color: var(--ink); }
.quick-links { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: .75rem; }
.quick-link-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .85rem 1rem; font-weight: 600; font-size: .9rem; display: block; transition: .15s; }
.quick-link-card:hover { background: var(--primary-tint); border-color: var(--primary); text-decoration: none; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 1rem; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-number { font-family: var(--font-heading); font-size: 2rem; color: var(--primary); }
.stat-label { font-size: .82rem; color: var(--ink-soft); font-weight: 600; margin-top: .25rem; }
.stat-pending .stat-number { color: var(--gold); }
.about-stats { padding-top: clamp(2rem,5vw,3.5rem); padding-bottom: clamp(2rem,5vw,3.5rem); }
.about-stats > h2 { margin: 0 0 1.25rem; font-size: clamp(1.55rem,3vw,2rem); }
.about-stats .stats-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.about-stats .stat-card { display: flex; min-width: 0; min-height: 118px; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; color: var(--ink); text-decoration: none; }
.about-stats .stat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); text-decoration: none; }
.about-stats .stat-number, .about-stats .stat-label { display: block; }
.about-stats .stat-number { line-height: 1; }
.about-stats .stat-label { margin-top: 0; line-height: 1.35; }
.about-content { padding-top: clamp(1rem,3vw,2rem); padding-bottom: clamp(2.5rem,6vw,4rem); }
.about-content h2 { margin: 2.25rem 0 .8rem; }
.about-content h2:first-child { margin-top: 0; }
.about-content h3 { margin: 1.6rem 0 .6rem; }
.about-content ul { margin: .5rem 0 1.25rem 1.25rem; }
@media (max-width: 760px) { .about-stats .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .about-stats .stats-grid { grid-template-columns: 1fr; } }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.admin-table th { background: var(--paper-2); padding: .85rem 1rem; text-align: left; font-weight: 700; font-size: .82rem; color: var(--ink-soft); border-bottom: 2px solid var(--line); }
.admin-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); font-size: .88rem; vertical-align: middle; }
.admin-table tr:hover td { background: var(--paper-2); }
.pending-item, .lead-item, .analytics-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; }
.lead-message { background: var(--paper-2); padding: .75rem; border-radius: var(--r-sm); margin-bottom: .75rem; line-height: 1.5; font-size: .95rem; color: var(--ink-soft); }
.auth-card, .form-card { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem,4vw,2.5rem); box-shadow: var(--shadow-md); }
.auth-card { max-width: 440px; }
.auth-sub, .form-sub { color: var(--ink-soft); margin-bottom: 1.5rem; }
.auth-footer { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 1.25rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }

/* ─── pagination ─── */
.pagination { display: flex; gap: .4rem; justify-content: center; margin: 2rem 0 0; flex-wrap: wrap; align-items: center; }
.pagination a, .pagination span { padding: .5rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a:hover { border-color: var(--primary); text-decoration: none; }

/* ─── footer ─── */
.site-footer { background: var(--ink); color: rgba(251,247,239,.82); padding: 3rem 0 0; margin-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; margin-bottom: 0; }
.site-footer .logo, .footer-brand .logo, .site-footer .logo-text { color: var(--paper); }
.site-footer .logo-text span { color: var(--gold); }
.footer-brand p { margin-top: .75rem; font-size: .9rem; color: rgba(251,247,239,.6); max-width: 38ch; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links strong { color: var(--paper); font-family: var(--font-heading); font-weight: 600; margin-bottom: .3rem; }
.footer-links a { color: rgba(251,247,239,.72); font-size: .9rem; }
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-newsletter strong { color: var(--paper); font-family: var(--font-heading); display: block; margin-bottom: .3rem; }
.footer-newsletter p { font-size: .88rem; color: rgba(251,247,239,.6); margin-bottom: .75rem; }
.newsletter-form { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter-form input { flex: 1; padding: .75rem .9rem; border-radius: var(--r-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--paper); }
.newsletter-form input::placeholder { color: rgba(251,247,239,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding: 1.25rem 0; }
.footer-bottom p { text-align: center; font-size: .82rem; color: rgba(251,247,239,.5); }
.footer-bottom a { color: rgba(251,247,239,.86); text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom a:hover { color: var(--paper); }

/* ─── chips / misc ─── */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-size: .85rem; font-weight: 600; padding: .4rem .85rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.chip:hover { border-color: var(--primary); color: var(--primary-deep); text-decoration: none; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.flex { display: flex; gap: 1rem; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; gap: .75rem; }
.results-count { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.content-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }

/* ─── responsive ─── */
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 58px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1.25rem; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .25s ease; z-index: 99; }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .75rem; }
  .sidecard, .contact-form-box, .card-sidebar { position: static; }
  .hero-grid, .premium-spotlight, .best-of-grid, .split-cta, .steps-grid { grid-template-columns: 1fr; }
  .listing-hero-card, .claim-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 640px) {
  .stat-strip, .trust-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .searchbar, .search-box { flex-wrap: wrap; }
  .searchbar .sb-q, .searchbar .sb-city, .searchbar .btn, .search-input, .search-city { width: 100%; }
  .searchbar .sb-city, .search-city { border-left: none; border-top: 1px solid var(--line); }
}
.alerts-stack { display: flex; flex-direction: column; gap: .25rem; max-width: 720px; margin: 0 auto 1.5rem; padding: 0 1rem; }

.listing-hero-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.listing-hero-actions .btn-ghost { background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.listing-hero-actions .btn-ghost:hover { background: #fff; }

/* ─── user-menu (logged-in nav dropdown) ─── */
.user-menu { position: relative; }
.user-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .85rem;
  font-weight: 600;
  font-size: .85rem;
  border-radius: 999px;
}
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu[open] > summary,
.user-menu > summary:hover {
  background: var(--paper-2);
  border-color: var(--ink);
}
.user-menu[open] > summary svg { transform: rotate(180deg); transition: transform .15s ease; }
.user-menu-trigger svg { transition: transform .15s ease; }
.user-menu-name {
  max-width: 11ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.user-menu-pop {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(36,30,23,.16), 0 2px 6px rgba(36,30,23,.06);
  padding: .5rem;
  z-index: 50;
}
.user-menu-email {
  font-size: .78rem;
  color: var(--text-secondary);
  padding: .5rem .75rem .25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .25rem;
  word-break: break-all;
}
.user-menu-link {
  display: block;
  padding: .55rem .75rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.user-menu-link:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.user-menu-logout {
  color: var(--primary-deep);
  border-top: 1px solid var(--line);
  margin-top: .25rem;
  border-radius: 0 0 8px 8px;
}
.user-menu-logout:hover {
  background: var(--primary-tint);
  color: var(--primary-deep);
}
@media (max-width: 768px) {
  .user-menu-pop {
    right: auto;
    left: 0;
    min-width: 200px;
  }
  .user-menu-name { max-width: 8ch; }
}

/* ─── user-menu: admin role accents ─── */
.user-menu-trigger-admin {
  border-color: var(--amber);
  background: var(--gold-tint);
  color: var(--ink);
}
.user-menu-trigger-admin:hover,
.user-menu[open] > .user-menu-trigger-admin {
  background: var(--gold-tint);
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(201,154,63,.18);
}
.user-menu-role-badge {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--amber);
  color: #fff;
  padding: .15rem .45rem;
  border-radius: 999px;
  margin-left: .1rem;
  line-height: 1;
}
.user-menu-section-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-faint);
  padding: .5rem .75rem .25rem;
  margin-top: .25rem;
}
.user-menu-section-label:first-of-type { margin-top: 0; }
.user-menu-link-admin {
  font-weight: 600;
  color: var(--ink);
}
.user-menu-link-admin:hover {
  background: var(--gold-tint);
  color: var(--ink);
}

/* ─── events-strip (homepage "upcoming local events") ─── */
.events-strip .events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .events-strip .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .events-strip .events-grid { grid-template-columns: 1fr; }
}

/* ─── events-filter form ─── */
.events-filter {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 12px);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.events-filter .filter-row {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr auto;
  gap: 1rem;
  align-items: end;
}
@media (max-width: 768px) {
  .events-filter .filter-row {
    grid-template-columns: 1fr;
  }
}
.events-filter .filter-group {
  display: flex;
  flex-direction: column;
}
.events-filter .filter-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary, #6B6256);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.events-filter .filter-submit button {
  width: 100%;
  padding: .65rem 1.5rem;
  white-space: nowrap;
}
.events-filter .filter-clear {
  margin-top: .75rem;
  font-size: .85rem;
}

/* ─── events-grid (standalone — used on /events page) ─── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .events-grid { grid-template-columns: 1fr; }
}
/* ─── event-card (shared by strip and /events page) ─── */
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 12px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(36,30,23,.12));
  border-color: var(--line-strong, var(--ink-soft));
  color: inherit;
}
.event-card-img {
  width: 100%;
  max-height: 200px;
  aspect-ratio: 16 / 9;
  background-color: var(--paper-2, #F4EDE0);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.event-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint, #9A9080);
}
.event-card-body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.event-date {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  font-family: var(--font-head, inherit);
  color: var(--primary);
  margin-bottom: .15rem;
}
.event-date-month {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.event-date-day {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.event-date-weekday {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft, #6B6256);
  text-transform: uppercase;
}
.event-title {
  font-family: var(--font-head, inherit);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  margin: .1rem 0 .25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-meta {
  font-size: .82rem;
  color: var(--text-secondary, #6B6256);
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .55rem;
  margin-top: .15rem;
}
.event-venue::after {
  content: " · ";
  color: var(--ink-faint);
  margin-left: .25rem;
}
.event-time {
  font-size: .8rem;
  color: var(--ink-faint);
  margin-top: auto;
  padding-top: .35rem;
  font-weight: 500;
}
.events-empty {
  padding: 2rem 1rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg, 12px);
}

/* ─── SEO landing pages ─── */
.seo-landing .hero {
  /* Reuse hero from .homepage, no override needed */
}
.seo-landing .faq-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-width: 880px;
  margin: 0 auto;
}
.seo-landing .faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 12px);
  padding: 1rem 1.25rem;
  transition: border-color .15s ease;
}
.seo-landing .faq-item:hover {
  border-color: var(--line-strong, var(--ink-soft));
}
.seo-landing .faq-item summary {
  font-family: var(--font-head, inherit);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.seo-landing .faq-item summary::-webkit-details-marker { display: none; }
.seo-landing .faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
  width: 1.2rem;
  text-align: center;
}
.seo-landing .faq-item[open] summary::after {
  content: "−";
}
.seo-landing .faq-a {
  margin-top: .65rem;
  color: var(--text, var(--ink));
  font-size: .95rem;
  line-height: 1.55;
}
.seo-landing .faq-a p { margin: 0; }

/* === city-events sidebar (/city/:slug) === */
.city-events {
  padding: 1.75rem 0 1.25rem 0;
  max-width: 1280px;
  margin: 0 auto;
}
.city-events h2.section-title {
  font-family: var(--font-heading, Fraunces, serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  color: var(--ink, #2a1f10);
  font-weight: 600;
}
.city-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.city-event-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #fff 0%, var(--surface-2, #faf6ee) 150%);
  border: 1px solid var(--line, #e2d8c8);
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s;
  font-size: 14px;
}
.city-event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.08));
  border-color: var(--primary, #C0552F);
  color: inherit;
  text-decoration: none;
}
.city-event-img {
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2, #f0e9d4);
  flex-shrink: 0;
}
.city-event-img-placeholder {
  background-image: linear-gradient(135deg, rgba(192,85,47,.15), rgba(192,85,47,.35));
  background-size: cover;
  position: relative;
}
.city-event-img-placeholder::before {
  content: '📅';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  opacity: 0.5;
}
.city-event-body {
  padding: 0.85rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.city-event-date {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary, #C0552F);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.city-event-month { color: var(--primary, #C0552F); }
.city-event-day { color: var(--ink, #2a1f10); font-size: 0.95rem; }
.city-event-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0.1rem 0 0.2rem 0;
  color: var(--ink, #2a1f10);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.city-event-venue {
  font-size: 0.82rem;
  color: var(--ink-soft, #6B5A3E);
}
.city-event-time {
  font-size: 0.78rem;
  color: var(--ink-soft, #6B5A3E);
  font-weight: 500;
  margin-top: auto;
  padding-top: 0.3rem;
}
.see-all-events-link {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: var(--surface-2, #faf6ee);
  border: 1px solid var(--line, #e2d8c8);
  border-radius: var(--r-md, 10px);
  color: var(--primary, #C0552F);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background .15s ease;
}
.see-all-events-link:hover {
  background: var(--primary-tint, #fbecd5);
  text-decoration: none;
  color: var(--primary, #C0552F);
}

@media (max-width: 700px) {
  .city-events-grid { grid-template-columns: 1fr; }
  .city-event-img { height: 110px; }
}

/* === featured event badge === */
.event-card-featured { position: relative; border: 2px solid var(--primary, #C0552F); }
.event-featured-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--primary, #C0552F);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* === featured events section on /events page === */
.events-featured-section { padding: 1.5rem 0; background: var(--surface-2, #faf6ee); }
.events-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .events-featured-grid { grid-template-columns: 1fr; } }

/* === related guides section on blog posts === */
.related-guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.related-guide-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.06); text-decoration: none; color: inherit; }
@media (max-width: 700px) { .related-guides-grid { grid-template-columns: 1fr; } }

/* === /local-guides page === */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.guide-card { display: flex; flex-direction: column; padding: 1.5rem; background: linear-gradient(160deg, #fff 0%, var(--surface-2, #faf6ee) 150%); border: 1px solid var(--line, #e2d8c8); border-radius: 12px; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .25s ease, border-color .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--primary, #C0552F); text-decoration: none; }
.guide-card-meta { font-size: 0.78rem; color: var(--ink-soft, #6B5A3E); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 0.5rem; }
.guide-card-title { font-family: var(--font-heading, Fraunces, serif); font-size: 1.15rem; line-height: 1.25; margin: 0 0 0.6rem 0; color: var(--ink, #2a1f10); }
.guide-card-desc { font-size: 0.92rem; color: var(--ink-soft, #6B5A3E); margin: 0 0 1rem 0; line-height: 1.45; }
.guide-card-arrow { margin-top: auto; color: var(--primary, #C0552F); font-weight: 600; font-size: 0.92rem; }
.guides-cta-box { background: var(--primary-tint, #fbecd5); border: 1px solid var(--primary, #C0552F); border-radius: 12px; padding: 2rem; text-align: center; margin: 3rem 0; }
.guides-cta-box h2 { font-family: var(--font-heading, Fraunces, serif); margin: 0 0 0.5rem 0; }
.guides-cta-box p { color: var(--ink-soft, #6B5A3E); margin: 0 0 1.5rem 0; }
@media (max-width: 700px) { .guides-grid { grid-template-columns: 1fr; } }

/* City page category card count badge */
.cat-card { position: relative; }
.cat-card .cat-count { position: absolute; top: 8px; right: 8px; background: var(--surface-2, #faf6ee); color: var(--ink-soft, #6B5A3E); font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 9999px; }

/* GSC dashboard priority badges */
.priority-badge { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.priority-high { background: #fde2e1; color: #b71c1c; border: 1px solid #f5b7b3; }
.priority-medium { background: #fff4d6; color: #8a6d0c; border: 1px solid #f0d68a; }
.priority-low { background: #e6f4ea; color: #1e6c34; border: 1px solid #b6dec1; }
.type-tag { background: var(--paper-2); color: var(--ink-soft); padding: 0.1rem 0.45rem; border-radius: 3px; font-size: 0.78rem; }
.action-cell { font-size: 0.82rem; color: var(--ink-soft); max-width: 320px; }
.stat-meta { font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge { display: inline-block; padding: 0.15rem 0.55rem; background: var(--primary); color: #fff; border-radius: 999px; font-size: 0.75rem; font-weight: 700; margin-left: 0.4rem; vertical-align: middle; }
.nav-link.active { color: var(--primary); font-weight: 700; }

/* ============================================================
   THE 301 LEDGER — editorial layer (2026-07-07)
   Maryland hometown-paper structure over the warm token base.
   Appended last so it overrides earlier rules.
   ============================================================ */
body { overflow-x: hidden; }
.content-layout > * { min-width: 0; }

/* masthead */
.masthead-strip { background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.masthead-strip-inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: .35rem; padding-bottom: .35rem; }
.masthead-strip-right { color: #CBBFA9; }
@media (max-width: 640px) { .masthead-strip-right { display: none; } }
.site-header { border-bottom: none; box-shadow: 0 1px 0 var(--line-strong), 0 4px 0 -1px var(--paper), 0 5px 0 -1px var(--line-strong); }
.logo-text { font-family: var(--font-heading); font-size: 1.45rem; }

/* terracotta discipline: labels ink, orange = action */
.kicker, .category-hero-eyebrow, .hero-eyebrow, .eyebrow { color: var(--ink-soft); }
.guide-card-arrow { color: var(--ink-faint); }

/* homepage hero: editorial */
.hero { position: relative; overflow: hidden; }
.hero-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .8rem; }
.hero-stamp { position: absolute; right: -1rem; top: 50%; transform: translateY(-54%); font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: clamp(11rem, 24vw, 20rem); line-height: 1; color: var(--primary); opacity: .07; pointer-events: none; user-select: none; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 21ch; }

/* inner-page hero */
.category-hero-title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.hero-city-em { font-style: italic; color: var(--primary); }

/* the short answer */
.answer-block { border-left: 6px solid var(--primary); }
.answer-block .ab-label { font-family: var(--font-heading); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ranking byline */
.rank-byline { font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .45rem 0; margin: .35rem 0 1.1rem; }

/* ranked money-page list */
.biz-list-ranked { list-style: none; counter-reset: rank; margin: 0; padding: 0; }
.biz-list-ranked .biz-card { counter-increment: rank; display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 0 1.1rem; align-items: start; position: relative; box-shadow: none; border: 1px solid var(--line-strong); }
.biz-list-ranked .biz-card::before { content: counter(rank, decimal-leading-zero); grid-row: 1; font-family: var(--font-heading); font-size: 2.05rem; font-weight: 600; line-height: 1; color: var(--ink-faint); padding-top: .15rem; }
.biz-list-ranked .biz-card:nth-child(-n+3)::before { color: var(--primary); }
.biz-list-ranked .biz-card:nth-child(-n+3) { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.biz-list-ranked .biz-card:hover { box-shadow: var(--shadow-md); }
.biz-card-main { min-width: 0; }
.biz-card-side { display: flex; flex-direction: column; gap: .45rem; align-items: stretch; min-width: 8.2rem; }
.biz-chiprow { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .4rem; }
.chip-verified { background: var(--trust-tint); color: var(--trust); font-size: .7rem; padding: .12rem .5rem; border-radius: 4px; font-weight: 700; }
.chip-claimed { background: var(--gold-tint); color: #8a6d1f; font-size: .7rem; padding: .12rem .5rem; border-radius: 4px; font-weight: 700; }
.meta-phone { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .biz-list-ranked .biz-card { grid-template-columns: 2.4rem 1fr; }
  .biz-list-ranked .biz-card::before { font-size: 1.5rem; }
  .biz-card-side { grid-column: 2; flex-direction: row; margin-top: .6rem; }
}

/* money pages on mobile: results first, no overflow */
.category-hero-cta .btn { white-space: normal; }
@media (max-width: 900px) {
  .content-layout { display: flex; flex-direction: column; }
  .content-layout { align-items: stretch; }
  .content-layout > * { width: 100%; }
  .card-sidebar { order: 2; }
}

/* ledger rules instead of shadow chrome */
.biz-card, .city-card, .cat-card { box-shadow: none; border: 1px solid var(--line-strong); }
.biz-card:hover, .city-card:hover, .cat-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }

/* cities index counts + hours */
.city-card .cd { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-spec { white-space: nowrap; }

/* footer responsive collapse */
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

/* hero quick-picks: readable on the light editorial hero (override old white-on-dark) */
.hero .hero-quick-picks a { background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important; padding: .2rem .7rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.hero .hero-quick-picks a:hover { border-color: var(--primary) !important; color: var(--primary) !important; background: var(--surface) !important; }
.hero .hero-quick-picks > span:first-child, .hero .hero-picks-label { color: var(--ink-soft) !important; }

/* 2026-07-15 UI trust, accessibility, and responsive review */
.category-hero.compact .hero-city-em { color: #fff; }
.category-hero.compact .btn-ghost { color: #fff; border-color: rgba(255,255,255,.72); background: rgba(70,15,27,.18); }
.chip-contact { background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line-strong); font-size: .7rem; padding: .12rem .5rem; border-radius: 4px; font-weight: 700; }
.listing-layout > *, .listing-main, .listing-sidebar { min-width: 0; max-width: 100%; }
.press-page .container, .press-page .widget-snippet { min-width: 0; }
.press-page pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.claim-recovery { max-width: 740px; margin-top: .8rem; }
.claim-recovery a { font-weight: 800; }
.claim-recovery p { color: var(--ink-soft); font-size: .88rem; margin: .3rem 0 0; max-width: 65ch; }
.event-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.event-form-grid-wide { grid-template-columns: 2fr 1fr; }
.event-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mobile-filter-panel { display: none; }
.nav-link-mobile-search { display: none; }

@media (max-width: 860px) {
  .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open { overflow: hidden; }
  .nav { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 94px); overflow-y: auto; }
  .header-row { flex-wrap: nowrap; row-gap: 0; padding: 10px 16px; }
  .nav-search { display: none; }
  .logo, .nav-toggle { min-width: 44px; min-height: 44px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 9px; }
  .nav-toggle svg line { transform-box: fill-box; transform-origin: center; transition: transform .18s ease, opacity .18s ease; }
  .nav-toggle[aria-expanded="true"] svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-link-mobile-search { display: flex; }
  .nav-link, .nav .btn { min-height: 44px; display: flex; align-items: center; }
  .homepage .hero { padding: 1.35rem 0 1.5rem; }
  .homepage .hero h1 { font-size: clamp(2.05rem, 10vw, 2.75rem); }
  .homepage .hero-sub { margin-top: .7rem; font-size: 1rem; line-height: 1.5; }
  .homepage .hero-promise { margin-top: .8rem; gap: .45rem 1rem; }
  .homepage .hero-search { margin-top: 1rem; }
  .hero-quick-picks a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .75rem !important; }
  .category-hero { margin: .65rem 0 .8rem !important; padding: 1rem !important; min-height: 0 !important; }
  .category-hero-emoji, .category-hero-ico, .category-hero-eyebrow { display: none !important; }
  .category-hero-title { font-size: clamp(1.65rem, 8vw, 2.1rem); }
  .category-hero-desc { font-size: .9rem; }
  .category-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .category-hero-cta .btn { min-height: 44px; width: 100%; padding: .55rem .7rem; }
  .answer-block { padding: .8rem .9rem; margin-bottom: .85rem; }
  .answer-block p { font-size: .94rem; line-height: 1.45; }
  .answer-block .ab-label { font-size: .75rem; margin-bottom: .25rem; }
  .results-header { margin-bottom: .55rem; }
  .rank-byline { margin-bottom: .8rem; letter-spacing: .04em; line-height: 1.45; }
  .btn-sm, .hero-search input, .hero-search select, .hero-search button, .searchbar input, .searchbar select, .searchbar .btn, .form-control { min-height: 44px; }
}

@media (max-width: 640px) {
  .event-form-grid, .event-form-grid-wide { grid-template-columns: 1fr; }
  .category-hero-cta { grid-template-columns: 1fr; }
  .claim-cta-strip .claim-cta-card { min-width: 0; }
  .claim-cta-strip .claim-cta-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; width: 100%; }
  .claim-cta-strip .claim-cta-actions .btn { width: 100%; max-width: 100%; white-space: normal; }
  .hero-search { display: grid !important; grid-template-columns: 1fr; }
  .hero-search > * { width: 100%; min-width: 0 !important; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; }
  .newsletter-form .btn { width: 100%; }
  .homepage .cta-band .btn, .homepage .claim-cta-card .btn { width: 100%; max-width: 100%; white-space: normal; }
}

@media (max-width: 360px) {
  .site-footer .logo-text > span { display: block; line-height: 1.15; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
