/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a6bb5;
  --primary-dark: #145291;
  --text: #222;
  --muted: #555;
  --border: #ddd;
  --bg-alt: #f5f7fa;
  --max-width: 1100px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Header ---- */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a { color: rgba(255,255,255,.9); font-size: 0.95rem; }
.site-header nav a:hover { color: #fff; text-decoration: none; }

/* ---- Hero ---- */
.hero {
  background: var(--bg-alt);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.hero-desc { color: var(--muted); font-size: 1.1rem; }

/* ---- Main ---- */
main.container { padding-top: 2rem; padding-bottom: 3rem; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---- Page content (markdown) ---- */
.page-content h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.page-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.35rem; }

/* ---- City hero image ---- */
.city-hero {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}
.city-hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 100%);
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  color: #fff;
}
.city-hero-overlay h1 { font-size: 2rem; margin-bottom: 0.25rem; color: #fff; }
.city-hero-overlay p { opacity: 0.85; font-size: 1rem; }

/* ---- Cities grid ---- */
.cities-grid { margin-top: 2.5rem; }
.cities-grid h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.city-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
  color: var(--text);
  overflow: hidden;
  min-height: 120px;
  position: relative;
}
.city-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.15); transform: translateY(-2px); text-decoration: none; }
.city-card h3 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--primary); }
.city-card p { font-size: 0.8rem; color: var(--muted); }

/* Photo city cards */
.city-card.has-image {
  background-size: cover;
  background-position: center;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: #fff;
}
.city-card.has-image .city-card-content {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  border-radius: 0 0 8px 8px;
}
.city-card.has-image h3 { color: #fff; }
.city-card.has-image p { color: rgba(255,255,255,.85); }

/* ---- Business listings ---- */
.business-listings { margin-top: 2.5rem; }
.business-listings h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.business-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  background: #fff;
}
.business-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.business-card .rating { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; }
.business-card .address, .business-card .phone { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.25rem; }

/* ---- Business detail ---- */
.business-detail .business-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 0.9rem;
}
.cta-button {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
}
.cta-button:hover { background: var(--primary-dark); text-decoration: none; }
.back-link { margin-top: 2rem; }

/* ---- Guide article ---- */
.guide-article h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.article-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ---- Guide list ---- */
.guide-list { list-style: none; padding: 0; }
.guide-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.guide-list--full li { padding: 0.8rem 0; }
.tag {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---- Ad container ---- */
.ad-container { margin: 1.5rem 0; }

/* ---- Related sections ---- */
.related-guides, .related-articles, .recent-guides { margin-top: 2.5rem; }
.related-guides h2, .related-articles h2, .recent-guides h2 { margin-bottom: 0.75rem; font-size: 1.3rem; }

/* ---- Footer ---- */
.site-footer {
  background: #222;
  color: rgba(255,255,255,.7);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.88rem;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer p + p { margin-top: 0.4rem; }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  .business-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
