/* ==========================================================================
   Top10NearMe — Frontend Styles
   Clean, trustworthy design inspired by Forbes Advisor
   Mobile-first responsive · No framework · CSS custom properties
   ========================================================================== */

:root {
  --t10nm-text:        #1a1a2e;
  --t10nm-text-light:  #4a5568;
  --t10nm-text-muted:  #718096;
  --t10nm-blue:        #2563eb;
  --t10nm-blue-dark:   #1d4ed8;
  --t10nm-blue-light:  #eff6ff;
  --t10nm-bg:          #ffffff;
  --t10nm-bg-alt:      #f8fafc;
  --t10nm-border:      #e2e8f0;
  --t10nm-gold:        #d4a017;
  --t10nm-silver:      #6b7280;
  --t10nm-bronze:      #b45309;
  --t10nm-green:       #16a34a;
  --t10nm-orange:      #ea580c;
  --t10nm-star:        #f59e0b;
  --t10nm-red-light:   #fef2f2;
  --t10nm-green-light: #f0fdf4;
  --t10nm-radius:      8px;
  --t10nm-radius-sm:   4px;
  --t10nm-shadow:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --t10nm-shadow-md:   0 4px 12px rgba(0,0,0,.08);
  --t10nm-max-width:   860px;
  --t10nm-font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Base Layout ─────────────────────────────────────────────────────── */
.t10nm-wrap {
  max-width: var(--t10nm-max-width);
  margin: 0 auto;
  padding: 24px 16px 60px;
  font-family: var(--t10nm-font);
  color: var(--t10nm-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.t10nm-wrap *, .t10nm-wrap *::before, .t10nm-wrap *::after { box-sizing: border-box; }
.t10nm-wrap a { color: var(--t10nm-blue); text-decoration: none; }
.t10nm-wrap a:hover { color: var(--t10nm-blue-dark); text-decoration: underline; }

/* ── Star Rating Component ───────────────────────────────────────────── */
.t10nm-stars {
  display: inline-block;
  position: relative;
  font-size: 1.15em;
  line-height: 1;
  letter-spacing: 2px;
  color: #d1d5db;
  vertical-align: middle;
}
.t10nm-stars::before { content: "\2605\2605\2605\2605\2605"; }
.t10nm-stars-filled {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--t10nm-star);
}
.t10nm-stars-filled::before { content: "\2605\2605\2605\2605\2605"; letter-spacing: 2px; }

/* ── Score Badge ─────────────────────────────────────────────────────── */
.t10nm-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.t10nm-score--green  { background: var(--t10nm-green); }
.t10nm-score--blue   { background: var(--t10nm-blue); }
.t10nm-score--orange { background: var(--t10nm-orange); }

/* ── Category Badge ──────────────────────────────────────────────────── */
.t10nm-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t10nm-blue);
  background: var(--t10nm-blue-light);
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.t10nm-badge--price {
  color: var(--t10nm-text);
  background: var(--t10nm-bg-alt);
  border: 1px solid var(--t10nm-border);
}

/* ==========================================================================
   LIST PAGE — single-list.php
   ========================================================================== */

/* ── Hero ────────────────────────────────────────────────────────────── */
.t10nm-list-hero {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--t10nm-border);
}
.t10nm-list-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--t10nm-text);
}
.t10nm-list-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--t10nm-text-muted);
}
.t10nm-list-byline a { font-weight: 600; }

/* ── Intro ───────────────────────────────────────────────────────────── */
.t10nm-list-intro { margin-bottom: 32px; font-size: 16px; color: var(--t10nm-text-light); }
.t10nm-list-intro p:last-child { margin-bottom: 0; }

/* ── Top 3 Quick Picks ──────────────────────────────────────────────── */
.t10nm-top-picks { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
.t10nm-pick {
  position: relative;
  padding: 20px 20px 20px 60px;
  background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius);
  box-shadow: var(--t10nm-shadow);
}
.t10nm-pick-badge {
  position: absolute;
  left: 14px; top: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 800; font-size: 15px; color: #fff;
}
.t10nm-pick--gold   .t10nm-pick-badge { background: var(--t10nm-gold); }
.410nm-pick--silver .t10nm-pick-badge { background: var(--t10nm-silver); }
.t10nm-pick--bronze .t10nm-pick-badge { background: var(--t10nm-bronze); }
.t10nm-pick--gold   { border-left: 3px solid var(--t10nm-gold); }
.t10nm-pick--silver { border-left: 3px solid var(--t10nm-silver); }
.t10nm-pick--bronze { border-left: 3px solid var(--t10nm-bronze); }
.t10nm-pick-name { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.t10nm-pick-name a { color: var(--t10nm-text); }
.t10nm-pick-name a:hover { color: var(--t10nm-blue); }
.t10nm-pick-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.t10nm-pick-rating-num { font-weight: 700; font-size: 14px; color: var(--t10nm-text); }
.t10nm-pick-summary { margin: 0; font-size: 13px; color: var(--t10nm-text-light); line-height: 1.5; }

/* ── Full Ranked List ────────────────────────────────────────────────── */
.t10nm-ranked-list { margin-bottom: 48px; }
.t10nm-ranked-entry {
  display: flex;
  gap: 16px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--t10nm-border);
}
.t10nm-ranked-entry--alt { background: var(--t10nm-bg-alt); }
.t10nm-ranked-rank {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  color: var(--t10nm-blue);
  background: var(--t10nm-blue-light);
  border-radius: 50%;
}
.t10nm-ranked-body { flex: 1; min-width: 0; }
.t10nm-ranked-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 6px;
}
.t10nm-ranked-name { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.t10nm-ranked-name a { color: var(--t10nm-text); }
.t10nm-ranked-name a:hover { color: var(--t10nm-blue); }
.t10nm-ranked-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.t10nm-ranked-rating-text { font-size: 13px; color: var(--t10nm-text-muted); }
.t10nm-ranked-summary { font-size: 15px; color: var(--t10nm-text-light); margin: 0 0 12px; }
.t10nm-ranked-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t10nm-ranked-pros, .t10nm-ranked-cons { font-size: 13px; }
.t10nm-ranked-pros strong, .t10nm-ranked-cons strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.t10nm-ranked-pros strong { color: var(--t10nm-green); }
.t10nm-ranked-cons strong { color: var(--t10nm-orange); }
.t10nm-ranked-pros ul, .t10nm-ranked-cons ul { margin: 0; padding-left: 16px; list-style: none; }
.t10nm-ranked-pros li::before { content: "+"; display: inline-block; margin-left: -14px; margin-right: 6px; font-weight: 700; color: var(--t10nm-green); }
.t10nm-ranked-cons li::before { content: "\2013"; display: inline-block; margin-left: -14px; margin-right: 6px; font-weight: 700; color: var(--t10nm-orange); }
.t10nm-ranked-pros li, .t10nm-ranked-cons li { margin-bottom: 2px; line-height: 1.5; }

/* ── Methodology ─────────────────────────────────────────────────────── */
.t10nm-methodology {
  padding: 32px 0;
  border-top: 2px solid var(--t10nm-border);
  margin-bottom: 32px;
}
.t10nm-methodology h2 { font-size: 1.3rem; margin: 0 0 12px; }
.t10nm-methodology p { color: var(--t10nm-text-light); }

/* ── Related Lists ───────────────────────────────────────────────────── */
.t10nm-related h2 { font-size: 1.3rem; margin: 0 0 16px; }
.t10nm-related-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.t10nm-related-card {
  display: block;
  padding: 14px 18px;
  background: var(--t10nm-bg-alt);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius-sm);
  font-weight: 600; font-size: 14px;
  color: var(--t10nm-text);
  transition: border-color .15s, box-shadow .15s;
}
.t10nm-related-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; color: var(--t10nm-blue); }

/* ==========================================================================
   BUSINESS PROFILE — single-business.php
   ========================================================================== */
.t10nm-biz-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--t10nm-border); }
.t10nm-biz-name { font-size: 1.85rem; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.t10nm-biz-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.t10nm-biz-rating { display: flex; align-items: center; gap: 10px; }
.t10nm-biz-rating .t10nm-stars { font-size: 1.4em; }
.t10nm-biz-rating-text { font-size: 15px; color: var(--t10nm-text-light); }

/* ── Contact Card ────────────────────────────────────────────────────── */
.t10nm-biz-contact {
  background: var(--t10nm-bg-alt);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius);
  padding: 20px;
  margin-bottom: 32px;
}
.t10nm-biz-contact-row {
  display: flex; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--t10nm-border);
  font-size: 14px;
  align-items: flex-start;
}
.t10nm-biz-contact-row:last-child  { border-bottom: 0; padding-bottom: 0; }
.t10nm-biz-contact-row:first-child { padding-top: 0; }
.t10nm-biz-contact-icon { flex-shrink: 0; width: 20px; text-align: center; font-size: 15px; }

/* ── Hours ────────────────────────────────────────────────────────────── */
.t10nm-biz-hours-detail { flex: 1; }
.t10nm-open-indicator {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 8px;
}
.t10nm-open   { color: var(--t10nm-green);  background: var(--t10nm-green-light); }
.t10nm-closed { color: var(--t10nm-orange); background: var(--t10nm-red-light); }
.t10nm-biz-hours-list { font-size: 13px; }
.t10nm-biz-hours-line { display: flex; justify-content: space-between; padding: 2px 0; gap: 16px; }
.t10nm-biz-hours-today { font-weight: 700; color: var(--t10nm-text); }
.t10nm-hours-days  { color: var(--t10nm-text-light); min-width: 100px; }
.t10nm-hours-times { color: var(--t10nm-text); text-align: right; }

/* ── Editorial Sections ──────────────────────────────────────────────── */
.t10nm-biz-section { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--t10nm-border); }
.t10nm-biz-section:last-child { border-bottom: 0; }
.t10nm-biz-section h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 12px; color: var(--t10nm-text); }
.t10nm-biz-content { color: var(--t10nm-text-light); font-size: 15px; }
.t10nm-biz-content p:last-child { margin-bottom: 0; }
.t10nm-biz-established { font-size: 13px; color: var(--t10nm-text-muted); margin-top: 12px; }

/* ── Special Offers ──────────────────────────────────────────────────── */
.t10nm-offer-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.t10nm-offer-card {
  padding: 18px;
  background: var(--t10nm-blue-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--t10nm-radius);
  border-left: 4px solid var(--t10nm-blue);
}
.t10nm-offer-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--t10nm-text); }
.t10nm-offer-card p { margin: 0 0 6px; font-size: 13px; color: var(--t10nm-text-light); }
.t10nm-offer-validity { font-size: 12px !important; color: var(--t10nm-text-muted) !important; }
.t10nm-offer-link { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; }

/* ── Featured In ─────────────────────────────────────────────────────── */
.t10nm-featured-in { list-style: none; padding: 0; margin: 0; }
.t10nm-featured-in li { padding: 8px 0; border-bottom: 1px solid var(--t10nm-border); font-size: 14px; }
.t10nm-featured-in li:last-child { border-bottom: 0; }
.t10nm-featured-in a::before { content: "\2192"; margin-right: 8px; color: var(--t10nm-blue); }

/* ==========================================================================
   ARCHIVE PAGES — city hub, state hub
   ========================================================================== */
.t10nm-archive-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--t10nm-border); }
.t10nm-archive-header h1 { font-size: 1.85rem; font-weight: 800; margin: 0 0 6px; }
.t10nm-archive-subtitle { margin: 0 0 10px; font-size: 15px; color: var(--t10nm-text-light); }
.t10nm-breadcrumb-nav { font-size: 13px; color: var(--t10nm-text-muted); }
.t10nm-breadcrumb-nav a { color: var(--t10nm-text-muted); }
.t10nm-breadcrumb-nav a:hover { color: var(--t10nm-blue); }
.t10nm-empty { padding: 40px 0; text-align: center; color: var(--t10nm-text-muted); font-size: 15px; }

/* ── City Hub — category sections ────────────────────────────────────── */
.t10nm-city-section { margin-bottom: 32px; }
.t10nm-city-cat-heading {
  font-size: 1.15rem; font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--t10nm-border);
  color: var(--t10nm-text);
}

/* ── Card Grid (shared) ──────────────────────────────────────────────── */
.t10nm-card-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.t10nm-list-card {
  display: flex; flex-direction: column;
  padding: 16px 18px;
  background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius-sm);
  color: var(--t10nm-text);
  transition: border-color .15s, box-shadow .15s;
}
.t10nm-list-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; }
.t10nm-list-card-title { font-weight: 600; font-size: 14px; line-height: 1.4; }
.t10nm-list-card-count { font-size: 12px; color: var(--t10nm-text-muted); margin-top: 4px; }

/* ── State Hub — city grid ───────────────────────────────────────────── */
.t10nm-city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.t10nm-city-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 18px;
  background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius);
  color: var(--t10nm-text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.t10nm-city-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; transform: translateY(-2px); }
.t10nm-city-card-name  { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; }
.t10nm-city-card-count { font-size: 13px; color: var(--t10nm-text-muted); }

/* ==========================================================================
   RESPONSIVE — Tablet & Desktop
   ========================================================================== */
@media (min-width: 640px) {
  .t10nm-wrap { padding: 32px 24px 80px; }
  .t10nm-list-title, .t10nm-biz-name, .t10nm-archive-header h1 { font-size: 2.25rem; }
  .t10nm-top-picks { grid-template-columns: repeat(3, 1fr); }
  .t10nm-related-grid { grid-template-columns: repeat(2, 1fr); }
  .t10nm-offer-grid { grid-template-columns: repeat(2, 1fr); }
  .t10nm-card-grid { grid-template-columns: repeat(2, 1fr); }
  .t10nm-city-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .t10nm-wrap { padding: 40px 24px 100px; }
  .t10nm-ranked-entry { padding: 28px 24px; }
  .t10nm-ranked-proscons { grid-template-columns: 1fr 1fr; }
  .t10nm-related-grid { grid-template-columns: repeat(3, 1fr); }
  .t10nm-city-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) {
  .t10nm-ranked-proscons { grid-template-columns: 1fr; gap: 10px; }
  .t10nm-score-badge { width: 40px; height: 40px; font-size: 13px; }
  .t10nm-ranked-rank  { width: 36px; height: 36px; font-size: 18px; }
}

/* ==========================================================================
   HOMEPAGE — front-page.php
   ========================================================================== */
.t10nm-homepage {
  font-family: var(--t10nm-font);
  color: var(--t10nm-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.t10nm-homepage *, .t10nm-homepage *::before, .t10nm-homepage *::after { box-sizing: border-box; }
.t10nm-homepage a { color: var(--t10nm-blue); text-decoration: none; }
.t10nm-homepage a:hover { text-decoration: underline; }

.t10nm-hp-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.t10nm-hp-section { padding: 48px 0; }
.t10nm-hp-section--alt { background: var(--t10nm-bg-alt); }
.t10nm-hp-heading { font-size: 1.5rem; font-weight: 800; margin: 0 0 24px; color: var(--t10nm-text); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.t10nm-hero { background: var(--t10nm-text); color: #fff; padding: 56px 16px 48px; text-align: center; }
.t10nm-hero-inner { max-width: 720px; margin: 0 auto; }
.t10nm-hero h1 { font-size: 2rem; font-weight: 800; line-height: 1.15; margin: 0 0 12px; color: #fff; }
.t10nm-hero-sub { font-size: 16px; color: rgba(255,255,255,.7); margin: 0 0 28px; }
.t10nm-hero-search {
  display: flex; max-width: 540px; margin: 0 auto 28px;
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.t10nm-hero-search input[type="text"] {
  flex: 1; border: none; padding: 14px 16px; font-size: 15px;
  color: var(--t10nm-text); outline: none; min-width: 0;
  font-family: var(--t10nm-font);
}
.t10nm-hero-search button {
  background: var(--t10nm-blue); color: #fff; border: none;
  padding: 14px 24px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: var(--t10nm-font); white-space: nowrap;
  transition: background .15s;
}
.t10nm-hero-search button:hover { background: var(--t10nm-blue-dark); }
.t10nm-hero-featured {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--t10nm-radius);
  color: #fff; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.t10nm-hero-featured:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); text-decoration: none; color: #fff; }
.t10nm-hero-featured-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); font-weight: 700; }
.t10nm-hero-featured-title { font-size: 16px; font-weight: 700; }
.t10nm-hero-featured-meta  { font-size: 13px; color: rgba(255,255,255,.6); }
.t10nm-hero-featured-cta   { font-size: 13px; font-weight: 700; color: var(--t10nm-star); margin-top: 4px; }

/* ── Geo Section ─────────────────────────────────────────────────────── */
.t10nm-geo-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.t10nm-geo-indicator { font-size: 13px; color: var(--t10nm-text-muted); }
.t10nm-geo-pin { font-size: 14px; }
.t10nm-geo-viewall { font-weight: 700; margin-left: 8px; }

/* ── Shared card grid ────────────────────────────────────────────────── */
.t10nm-hp-grid { display: grid; gap: 12px; }
.t10nm-hp-grid--3 { grid-template-columns: 1fr; }
.t10nm-hp-list-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px;
  background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius);
  color: var(--t10nm-text);
  transition: border-color .15s, box-shadow .15s;
}
.t10nm-hp-list-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; }
.t10nm-hp-card-title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.t10nm-hp-card-meta, .t10nm-hp-card-count { font-size: 12px; color: var(--t10nm-text-muted); }
.t10nm-hp-card-bottom {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--t10nm-text-muted);
  margin-top: auto; padding-top: 6px;
  border-top: 1px solid var(--t10nm-border);
}

/* ── Category Grid ───────────────────────────────────────────────────── */
.t10nm-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.t10nm-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 12px;
  background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius);
  color: var(--t10nm-text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.t10nm-cat-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; transform: translateY(-2px); }
.t10nm-cat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--t10nm-blue-light); color: var(--t10nm-blue);
  border-radius: 14px; margin-bottom: 10px;
}
.t10nm-cat-name  { font-weight: 700; font-size: 14px; line-height: 1.3; }
.t10nm-cat-count { font-size: 12px; color: var(--t10nm-text-muted); margin-top: 2px; }

/* ── State Grid ──────────────────────────────────────────────────────── */
.t10nm-state-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.t10nm-state-card {
  display: flex; flex-direction: column;
  padding: 16px;
  background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius-sm);
  color: var(--t10nm-text);
  transition: border-color .15s, box-shadow .15s;
}
a.t10nm-state-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; }
.t10nm-state-card--empty { opacity: .45; cursor: default; }
.t10nm-state-name  { font-weight: 700; font-size: 14px; }
.t10nm-state-meta  { font-size: 12px; color: var(--t10nm-text-muted); margin-top: 2px; }
.t10nm-state-soon  { font-style: italic; }

/* ── How We Rank ─────────────────────────────────────────────────────── */
.t10nm-how-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.t10nm-how-card  { text-align: center; }
.t10nm-how-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  background: var(--t10nm-blue-light); color: var(--t10nm-blue);
  border-radius: 50%; margin-bottom: 14px;
}
.t10nm-how-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.t10nm-how-card p { font-size: 14px; color: var(--t10nm-text-light); margin: 0; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ── Homepage Responsive ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .t10nm-hero h1 { font-size: 2.6rem; }
  .t10nm-hp-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .t10nm-cat-grid   { grid-template-columns: repeat(3, 1fr); }
  .t10nm-state-grid { grid-template-columns: repeat(3, 1fr); }
  .t10nm-how-grid   { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .t10nm-hero { padding: 72px 24px 60px; }
  .t10nm-hero h1 { font-size: 3rem; }
  .t10nm-hp-section { padding: 56px 0; }
  .t10nm-hp-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .t10nm-cat-grid   { grid-template-columns: repeat(5, 1fr); }
  .t10nm-state-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   SITE HEADER — partials/header.php
   ========================================================================== */
body.t10nm-page {
  margin: 0; padding: 0;
  background: var(--t10nm-bg);
  font-family: var(--t10nm-font);
  color: var(--t10nm-text);
  -webkit-font-smoothing: antialiased;
}
.t10nm-main { min-height: 60vh; }

.t10nm-site-header {
  position: sticky; top: 0; z-index: 9990;
  background: #fff;
  border-bottom: 1px solid var(--t10nm-border);
}
body.admin-bar .t10nm-site-header { top: 32px; }
.t10nm-site-header-inner {
  display: flex; align-items: center; gap: 8px;
  max-width: 1100px; margin: 0 auto;
  padding: 0 16px; height: 60px;
}

/* ── Logo ────────────────────────────────────────────────────────────── */
.t10nm-logo {
  font-size: 20px; font-weight: 800;
  color: var(--t10nm-text); text-decoration: none;
  letter-spacing: -.02em; flex-shrink: 0; line-height: 1;
}
.t10nm-logo:hover { text-decoration: none; color: var(--t10nm-text); }
.t10nm-logo-bold   { font-weight: 800; }
.t10nm-logo-accent { font-weight: 400; color: var(--t10nm-blue); }

/* ── Hamburger (CSS-only) ────────────────────────────────────────────── */
.t10nm-menu-toggle-cb { display: none; }
.t10nm-hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; cursor: pointer; margin-left: auto;
  flex-shrink: 0; z-index: 10001;
}
.t10nm-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--t10nm-text); border-radius: 1px;
  transition: transform .25s, opacity .2s;
}
.t10nm-menu-toggle-cb:checked ~ .t10nm-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t10nm-menu-toggle-cb:checked ~ .t10nm-hamburger span:nth-child(2) { opacity: 0; }
.t10nm-menu-toggle-cb:checked ~ .t10nm-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.t10nm-menu-overlay { display: none; }
.t10nm-site-nav { display: none; }

.t10nm-nav-link { font-size: 14px; font-weight: 600; color: var(--t10nm-text); text-decoration: none; padding: 8px 0; display: block; }
.t10nm-nav-link:hover { color: var(--t10nm-blue); text-decoration: none; }
.t10nm-nav-parent { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.t10nm-nav-parent svg { opacity: .5; }
.t10nm-dropdown-panel a { display: block; padding: 6px 0; font-size: 13px; color: var(--t10nm-text-light); text-decoration: none; }
.t10nm-dropdown-panel a:hover { color: var(--t10nm-blue); }
.t10nm-nav-search-form { display: flex; border: 1px solid var(--t10nm-border); border-radius: 6px; overflow: hidden; }
.t10nm-nav-search-form input[type="text"] { border: none; padding: 8px 12px; font-size: 13px; width: 100%; outline: none; font-family: var(--t10nm-font); min-width: 0; }
.t10nm-nav-search-form button { background: var(--t10nm-blue); border: none; padding: 8px 12px; cursor: pointer; color: #fff; display: flex; align-items: center; flex-shrink: 0; }
.t10nm-nav-search-form button:hover { background: var(--t10nm-blue-dark); }

/* ── Mobile Nav ──────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .t10nm-site-nav {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
    background: #fff; padding: 72px 24px 24px; overflow-y: auto;
    z-index: 10000; transition: right .3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
  }
  .t10nm-menu-toggle-cb:checked ~ .t10nm-site-nav { right: 0; }
  .t10nm-menu-toggle-cb:checked ~ .t10nm-menu-overlay {
    display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.35); z-index: 9999;
  }
  .t10nm-nav-dropdown { border-bottom: 1px solid var(--t10nm-border); padding-bottom: 8px; margin-bottom: 4px; }
  .t10nm-nav-parent { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--t10nm-text-muted); padding: 10px 0 4px; }
  .t10nm-dropdown-panel { padding-left: 12px; }
  .t10nm-nav-search-wrap { margin-top: 12px; }
  .t10nm-nav-search-form input[type="text"] { flex: 1; }
  body.admin-bar .t10nm-site-header { top: 46px; }
}

/* ── Desktop Nav ─────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .t10nm-hamburger, .t10nm-menu-overlay { display: none !important; }
  .t10nm-site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .t10nm-nav-link { padding: 8px 12px; white-space: nowrap; }
  .t10nm-nav-dropdown { position: relative; }
  .t10nm-nav-parent { padding: 8px 12px; }
  .t10nm-dropdown-panel {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; border: 1px solid var(--t10nm-border);
    border-radius: var(--t10nm-radius); box-shadow: var(--t10nm-shadow-md);
    padding: 8px 0; min-width: 200px; z-index: 100;
  }
  .t10nm-dropdown-panel a { padding: 7px 16px; }
  .t10nm-dropdown-panel a:hover { background: var(--t10nm-bg-alt); }
  .t10nm-nav-dropdown:hover .t10nm-dropdown-panel,
  .t10nm-nav-dropdown:focus-within .t10nm-dropdown-panel { display: block; }
  .t10nm-nav-search-wrap { margin-left: 4px; }
  .t10nm-nav-search-form input[type="text"] { width: 140px; transition: width .2s; }
  .t10nm-nav-search-form input[type="text"]:focus { width: 200px; }
}

/* ==========================================================================
   SITE FOOTER — partials/footer.php
   ========================================================================== */
.t10nm-site-footer {
  background: var(--t10nm-text);
  color: rgba(255,255,255,.75);
  font-family: var(--t10nm-font);
  font-size: 13px; line-height: 1.6;
}
.t10nm-site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.t10nm-site-footer a:hover { color: #fff; text-decoration: underline; }
.t10nm-site-footer-inner { max-width: 1100px; margin: 0 auto; padding: 48px 16px 0; }
.t10nm-ft-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.t10nm-ft-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 12px; letter-spacing: .02em; }
.t10nm-ft-col p  { margin: 0; line-height: 1.7; }
.t10nm-ft-col ul { list-style: none; padding: 0; margin: 0; }
.t10nm-ft-col li { margin-bottom: 5px; }
.t10nm-ft-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.45);
}
.t10nm-ft-bottom a { color: rgba(255,255,255,.45); }
.t10nm-ft-bottom a:hover { color: #fff; }
.t10nm-ft-bottom-links { display: flex; gap: 16px; }
@media (min-width: 768px) {
  .t10nm-ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ==========================================================================
   SEARCH RESULTS — search.php
   ========================================================================== */
.t10nm-search-hero { background: var(--t10nm-bg-alt); padding: 40px 16px 36px; text-align: center; border-bottom: 1px solid var(--t10nm-border); }
.t10nm-search-hero-inner { max-width: 640px; margin: 0 auto; }
.t10nm-search-heading { font-size: 1.5rem; font-weight: 800; margin: 0 0 20px; color: var(--t10nm-text); line-height: 1.3; }
.t10nm-search-hero .t10nm-hero-search { box-shadow: var(--t10nm-shadow-md); }
.t10nm-search-section { padding: 32px 0; border-bottom: 1px solid var(--t10nm-border); }
.t10nm-search-section:last-child { border-bottom: 0; }
.t10nm-search-section-heading { font-size: 1.15rem; font-weight: 700; margin: 0 0 16px; color: var(--t10nm-text); }
.t10nm-search-biz-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.t10nm-search-biz-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; background: var(--t10nm-bg);
  border: 1px solid var(--t10nm-border); border-radius: var(--t10nm-radius);
  color: var(--t10nm-text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.t10nm-search-biz-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; }
.t10nm-search-biz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t10nm-search-biz-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.t10nm-search-biz-rating { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--t10nm-text); flex-shrink: 0; }
.t10nm-search-biz-rating .t10nm-stars { font-size: .95em; }
.t10nm-search-biz-loc  { font-size: 13px; color: var(--t10nm-text-muted); }
.t10nm-search-biz-cats { display: flex; gap: 4px; flex-wrap: wrap; }
.t10nm-search-biz-cats .t10nm-badge { font-size: 11px; padding: 2px 8px; }
.t10nm-search-biz-excerpt { font-size: 13px; color: var(--t10nm-text-light); line-height: 1.55; }
.t10nm-search-empty { text-align: center; padding: 48px 0; }
.t10nm-search-empty h2 { font-size: 1.5rem; margin: 0 0 8px; }
.t10nm-search-empty p  { color: var(--t10nm-text-light); margin: 0 0 4px; }
.t10nm-search-suggest  { color: var(--t10nm-text-muted) !important; font-size: 14px; }
.t10nm-search-empty .t10nm-cat-grid { max-width: 700px; margin: 0 auto; }
@media (min-width: 640px) {
  .t10nm-search-heading { font-size: 1.85rem; }
  .t10nm-search-biz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .t10nm-search-biz-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   STATIC PAGES — About, Contact, Press
   ========================================================================== */
.t10nm-page-hero { background: var(--t10nm-bg-alt); padding: 48px 16px 40px; text-align: center; border-bottom: 1px solid var(--t10nm-border); }
.t10nm-page-hero-inner { max-width: 640px; margin: 0 auto; }
.t10nm-page-hero h1 { font-size: 2rem; font-weight: 800; margin: 0 0 10px; color: var(--t10nm-text); }
.t10nm-page-hero p  { font-size: 16px; color: var(--t10nm-text-light); margin: 0; }
.t10nm-prose { max-width: var(--t10nm-max-width); }
.t10nm-content-section { padding: 36px 0; border-bottom: 1px solid var(--t10nm-border); }
.t10nm-content-section:last-child { border-bottom: 0; }
.t10nm-content-section h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 16px; color: var(--t10nm-text); }
.t10nm-content-section p  { color: var(--t10nm-text-light); line-height: 1.75; margin: 0 0 12px; }
.t10nm-diff-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.t10nm-diff-card { padding: 24px; background: var(--t10nm-bg-alt); border: 1px solid var(--t10nm-border); border-radius: var(--t10nm-radius); }
.t10nm-diff-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--t10nm-text); }
.t10nm-diff-card p  { margin: 0; font-size: 14px; }
.t10nm-cta-section  { text-align: center; }
a.t10nm-btn, .t10nm-btn {
  display: inline-block; padding: 12px 28px;
  background: var(--t10nm-blue); color: #ffffff;
  font-weight: 700; font-size: 14px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--t10nm-font); transition: background .15s;
}
a.t10nm-btn:hover, .t10nm-btn:hover { background: var(--t10nm-blue-dark); color: #ffffff; text-decoration: none; }

/* ── Contact Form ────────────────────────────────────────────────────── */
.t10nm-contact-layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 36px 0; }
.t10nm-form { display: flex; flex-direction: column; gap: 16px; }
.t10nm-form-field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; color: var(--t10nm-text); }
.t10nm-req { color: var(--t10nm-orange); }
.t10nm-form-field input[type="text"],
.t10nm-form-field input[type="email"],
.t10nm-form-field select,
.t10nm-form-field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--t10nm-border); border-radius: 6px;
  font-size: 14px; font-family: var(--t10nm-font);
  color: var(--t10nm-text); transition: border-color .15s;
}
.t10nm-form-field input:focus, .t10nm-form-field select:focus, .t10nm-form-field textarea:focus { border-color: var(--t10nm-blue); outline: none; }
.t10nm-notice { padding: 14px 18px; border-radius: var(--t10nm-radius); font-size: 14px; margin-bottom: 8px; }
.t10nm-notice--success { background: var(--t10nm-green-light); color: var(--t10nm-green); border: 1px solid #bbf7d0; }
.t10nm-notice--error   { background: var(--t10nm-red-light);   color: var(--t10nm-orange); border: 1px solid #fecaca; }
.t10nm-contact-info-card { padding: 24px; background: var(--t10nm-bg-alt); border: 1px solid var(--t10nm-border); border-radius: var(--t10nm-radius); }
.t10nm-contact-info-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.t10nm-contact-info-card p  { font-size: 14px; color: var(--t10nm-text-light); margin: 0 0 10px; }

/* ==========================================================================
   PRESS — Archive + Single
   ========================================================================== */
.t10nm-press-grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
.t10nm-press-card {
  display: flex; flex-direction: column; gap: 4px; padding: 20px;
  background: var(--t10nm-bg); border: 1px solid var(--t10nm-border);
  border-radius: var(--t10nm-radius); color: var(--t10nm-text);
  text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.t10nm-press-card:hover { border-color: var(--t10nm-blue); box-shadow: var(--t10nm-shadow-md); text-decoration: none; }
.t10nm-press-card-date     { font-size: 12px; font-weight: 600; color: var(--t10nm-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.t10nm-press-card-title    { font-weight: 700; font-size: 16px; line-height: 1.35; }
.t10nm-press-card-subtitle { font-size: 14px; color: var(--t10nm-text-light); }
.t10nm-press-card-excerpt  { font-size: 13px; color: var(--t10nm-text-muted); line-height: 1.5; }
.t10nm-press-card-link     { font-size: 13px; font-weight: 700; color: var(--t10nm-blue); margin-top: 4px; }
.t10nm-pagination { text-align: center; padding: 20px 0 40px; }
.t10nm-pagination .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border: 1px solid var(--t10nm-border); border-radius: 4px; font-size: 13px; color: var(--t10nm-text); text-decoration: none; }
.t10nm-pagination .current { background: var(--t10nm-blue); color: #fff; border-color: var(--t10nm-blue); }

/* ── Single Press Release ────────────────────────────────────────────── */
.t10nm-pr { padding: 40px 0; max-width: 720px; margin: 0 auto; }
.t10nm-pr-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--t10nm-text-muted); margin-bottom: 16px; }
.t10nm-pr-dateline { font-size: 14px; color: var(--t10nm-text); margin: 0 0 12px; }
.t10nm-pr-title { font-size: 2rem; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.t10nm-pr-subtitle { font-size: 1.15rem; font-weight: 400; color: var(--t10nm-text-light); margin: 0 0 28px; line-height: 1.5; }
.t10nm-pr-body { font-size: 15px; line-height: 1.8; color: var(--t10nm-text-light); margin-bottom: 32px; }
.t10nm-pr-body p { margin: 0 0 16px; }
.t10nm-pr-callout { padding: 18px 22px; background: var(--t10nm-blue-light); border: 1px solid #bfdbfe; border-radius: var(--t10nm-radius); border-left: 4px solid var(--t10nm-blue); margin-bottom: 32px; font-size: 14px; }
.t10nm-pr-callout a { font-weight: 700; }
.t10nm-pr-end { text-align: center; font-size: 16px; font-weight: 700; color: var(--t10nm-text-muted); padding: 20px 0; margin-bottom: 28px; letter-spacing: 4px; }
.t10nm-pr-contact-box, .t10nm-pr-boilerplate { padding: 20px; background: var(--t10nm-bg-alt); border: 1px solid var(--t10nm-border); border-radius: var(--t10nm-radius); margin-bottom: 20px; font-size: 14px; color: var(--t10nm-text-light); }
.t10nm-pr-contact-box h3, .t10nm-pr-boilerplate h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--t10nm-text-muted); margin: 0 0 8px; }
.t10nm-pr-contact-box p, .t10nm-pr-boilerplate p { margin: 0 0 4px; }
.t10nm-pr-nav { padding-top: 20px; font-size: 14px; font-weight: 600; }

/* ── Breadcrumb Navigation ───────────────────────────────────────────── */
.t10nm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--t10nm-text-muted);
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--t10nm-border);
}
.t10nm-breadcrumb a {
  color: var(--t10nm-blue);
  text-decoration: none;
}
.t10nm-breadcrumb a:hover { text-decoration: underline; }
.t10nm-breadcrumb-sep { color: var(--t10nm-border); font-size: 12px; }
.t10nm-breadcrumb [aria-current="page"] { color: var(--t10nm-text-muted); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .t10nm-page-hero h1 { font-size: 2.5rem; }
  .t10nm-diff-grid { grid-template-columns: repeat(3, 1fr); }
  .t10nm-contact-layout { grid-template-columns: 2fr 1fr; }
  .t10nm-press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .t10nm-press-grid { grid-template-columns: repeat(3, 1fr); }
}