/* =========================================================
   Hisparadise Therapy — SEO / Location / Blog page extras
   Extends style.css + responsive.css for content-heavy pages
   (states, cities, blog, resources, assessments).
   ========================================================= */

.facts-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0 28px;
}
.facts-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.facts-panel dt { font-weight: 700; color: var(--text-color); }
.facts-panel dd { margin: 0; color: var(--text-muted); }

.zone-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.related-links {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
}
.related-links h2, .related-links h3 { margin-bottom: 14px; }
.related-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related-links a { font-weight: 600; }

.location-index-list {
  columns: 1;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.location-index-list li { break-inside: avoid; margin-bottom: 10px; }
.location-index-list a {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.location-index-list a:hover { border-color: var(--primary-color); background: var(--primary-light); text-decoration: none; }

@media (min-width: 640px) { .location-index-list { columns: 2; } }
@media (min-width: 1024px) { .location-index-list { columns: 3; } }

/* Blog / article cards */
.article-card { display: flex; flex-direction: column; }
.article-card .category-tag {
  align-self: flex-start;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.article-card h3 { margin-bottom: 8px; }
.article-card p { color: var(--text-muted); flex-grow: 1; }

.article-body { max-width: 72ch; margin: 0 auto; }
.article-body h2 { margin-top: 1.6em; }
.article-body ul { margin-bottom: 1.2em; }
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* Assessment pages */
.assessment-list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.assessment-list li {
  counter-increment: q;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 52px;
  margin-bottom: 14px;
  position: relative;
}
.assessment-list li::before {
  content: counter(q);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table wrapper for any tabular content, kept scrollable per responsive rules */
.table-scroll { overflow-x: auto; margin: 20px 0; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 480px; }
.table-scroll th, .table-scroll td { border: 1px solid var(--border-color); padding: 10px 14px; text-align: left; }
.table-scroll th { background: var(--bg-alt); }

/* 404 page */
.error-page { text-align: center; padding: 80px 0; }
.error-page .error-code { font-size: 5rem; font-weight: 800; color: var(--primary-light); margin: 0; }
.error-page h1 { margin-top: -1.2em; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
