/* Rural Rideshare Directory — white with logo-orange accents, mobile-first */
:root {
  --ink: #111;
  --muted: #666;
  --line: #e2e2e2;
  --bg: #fff;
  --card: #fff;
  --accent: #e07b24;
  --accent-dark: #c4661a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: var(--ink); }
.container { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }

.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 2px solid var(--accent);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.brand { font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.brand-logo { height: 44px; width: auto; display: block; }
.menu-wrap { position: relative; }
.menu-btn {
  font-size: 1.4rem; line-height: 1; background: #fff; color: var(--ink);
  border: 1px solid #ddd; border-radius: 8px; padding: 8px 12px; cursor: pointer;
}
.menu-btn[aria-expanded="true"] { background: #f4f4f4; }
.menu-drop {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid #ddd; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14); min-width: 190px; z-index: 100;
  padding: 6px;
}
.menu-drop.open { display: block; }
.menu-drop a {
  display: block; text-decoration: none; padding: 12px 14px;
  border-radius: 8px; font-size: 0.95rem;
}
.menu-drop a:hover { background: #f4f4f4; }
.menu-drop a.menu-register {
  background: var(--accent); color: #fff; font-weight: 700; text-align: center; margin-top: 4px;
}
.menu-logout { margin: 0; border-top: 1px solid #eee; margin-top: 4px; padding-top: 4px; }
.menu-logout button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 12px 14px; font: inherit; color: var(--ink); cursor: pointer; border-radius: 8px;
}
.menu-logout button:hover { background: #f4f4f4; }
.inline { display: inline; margin: 0; }
.linklike { background: none; border: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }

.hero { text-align: center; padding: 28px 0 8px; }
.hero h1 { margin: 0 0 8px; font-size: 1.9rem; letter-spacing: -0.5px; }
.slogan { font-size: 1.1rem; color: var(--muted); margin: 0; }

.card {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; margin: 16px 0; background: var(--card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card h2 { margin-top: 0; font-size: 1.15rem; }
.muted { color: var(--muted); }
.error { color: #b00020; font-weight: 600; }

label { display: block; font-size: 0.95rem; margin: 12px 0; }
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="url"],
select, textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px; font-size: 1rem;
  border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(224,123,36,0.25); }

.btn {
  display: inline-block; padding: 12px 20px; margin: 4px 4px 4px 0;
  background: var(--accent); color: #fff; border: 1.5px solid var(--accent);
  border-radius: 8px; font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:active { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.call { width: 100%; padding: 14px; font-size: 1.05rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip {
  padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 0.9rem; cursor: pointer; text-decoration: none;
}
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
button.chip { font: inherit; }

.county-list { list-style: none; padding: 0; margin: 12px 0 0; }
.county-list li { margin: 0 0 8px; }
.county-list a {
  display: block; padding: 14px 16px; border: 1.5px solid var(--ink);
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.county-list a:active { background: var(--accent); border-color: var(--accent); color: #fff; }

.listing h3 { margin: 8px 0; font-size: 1.2rem; }
.listing h3 a { text-decoration: none; }
.listing.featured { border: 2px solid var(--accent); box-shadow: 0 2px 12px rgba(224,123,36,0.18); }
.listing-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 0.8rem; }
.tag {
  text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.72rem; font-weight: 700;
  border: 1px solid var(--ink); border-radius: 4px; padding: 2px 8px;
}
.verified { font-weight: 700; color: var(--accent-dark); }
.verified::before { content: "✓ "; }
.sponsored {
  background: var(--ink); color: #fff; border-radius: 4px; padding: 2px 8px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.facts { margin: 12px 0; }
.facts > div { display: flex; gap: 8px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.facts dt { font-weight: 700; min-width: 110px; }
.facts dd { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.correction { margin-top: 12px; font-size: 0.85rem; }
.correction a { color: var(--muted); }

.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ad-slot { border-style: dashed; text-align: center; }

.site-footer { border-top: 2px solid var(--accent); padding: 20px 16px 40px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: var(--muted); }

.prose h2 { font-size: 1.05rem; margin: 20px 0 8px; }
.prose ul { padding-left: 20px; }

@media (prefers-color-scheme: dark) {
  /* Keep the black-on-white brand even in dark mode */
  :root { color-scheme: light; }
}

/* County spotlight: map + weather (2026-10-09) */
.spotlight-grid { display: grid; gap: 12px; }
.spotlight-grid iframe { width: 100%; height: 220px; border: 0; border-radius: 8px; }
@media (min-width: 640px) { .spotlight-grid { grid-template-columns: 1fr 1fr; } }
