/* ============================================================
   pages.css — Styles for city + FAQ programmatic pages
   ============================================================ */

/* Page Content */
.page-content {
  padding: 2rem 0 4rem;
  min-height: 70vh;
}

.page-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: '>';
  margin-left: 0.4rem;
  color: #888;
}

.breadcrumbs a {
  color: #22c55e;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: #999;
}

/* Article */
article h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

article h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

article p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
  margin-bottom: 1rem;
}

article ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

article li {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

/* TL;DR Box */
.tldr {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #d1d5db;
}

.tldr strong {
  color: #22c55e;
}

/* Tables */
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

article th {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

article td {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d1d5db;
}

article tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

article tr.highlight td {
  background: rgba(34, 197, 94, 0.08);
  font-weight: 500;
}

td.savings {
  color: #22c55e;
  font-weight: 700;
}

td.expensive {
  color: #ef4444;
  font-weight: 600;
}

.table-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
}

/* Cost Table */
.cost-table {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Review Cards */
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.review-card p {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.review-card .reviewer {
  font-style: normal;
  font-size: 0.85rem;
  color: #888;
}

/* City Links */
.city-links {
  list-style: none;
  padding: 0;
}

.city-links li {
  margin-bottom: 0.5rem;
}

.city-links a {
  color: #22c55e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.city-links a:hover {
  color: #4ade80;
  text-decoration: underline;
}

/* FAQ Category */
.faq-category {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.faq-body p {
  margin-bottom: 1rem;
}

.faq-links {
  list-style: none;
  padding: 0;
}

.faq-links li {
  margin-bottom: 0.5rem;
}

.faq-links a {
  color: #22c55e;
  text-decoration: none;
}

.faq-links a:hover {
  text-decoration: underline;
}

.back-link {
  margin-top: 2rem;
}

.back-link a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link a:hover {
  color: #22c55e;
}

/* Data Table (FAQ) */
.data-table {
  margin: 2rem 0;
}

/* Page CTA Section */
.page-cta {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.page-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.page-cta p {
  color: #999;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: #22c55e;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

/* Cities Grid (Hub Page) */
.cities-grid {
  columns: 2;
  column-gap: 3rem;
  margin-top: 2rem;
}

.state-group {
  break-inside: avoid;
  margin-bottom: 2rem;
}

.state-group h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #22c55e;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  padding-bottom: 0.3rem;
}

.state-group ul {
  list-style: none;
  padding: 0;
}

.state-group li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #999;
}

.state-group a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
}

.state-group a:hover {
  color: #22c55e;
}

/* FAQ Category Groups (Hub Page) */
.faq-category-group {
  margin-bottom: 2.5rem;
}

.faq-category-group h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  padding-bottom: 0.5rem;
}

.faq-category-group ul {
  list-style: none;
  padding: 0;
}

.faq-category-group li {
  margin-bottom: 0.5rem;
}

.faq-category-group a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
}

.faq-category-group a:hover {
  color: #22c55e;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.affiliate-disclosure {
  font-size: 0.75rem !important;
  color: #555 !important;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

/* Nav */
.nav {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #22c55e;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-links a {
  color: #999;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: #22c55e !important;
  color: #000 !important;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: #16a34a !important;
}

/* Mobile */
@media (max-width: 768px) {
  article h1 { font-size: 1.5rem; }
  article h2 { font-size: 1.2rem; }
  .cities-grid { columns: 1; }
  .page-cta { padding: 1.5rem; }
  .nav-links { display: none; }

  article table {
    display: block;
    overflow-x: auto;
  }
}

/* Dark background (match main site) */
body {
  background: #0a0a0a;
  color: #d1d5db;
  margin: 0;
  padding: 0;
}
