/* /old-bom-radar landing page styles
   Page structure:
   .lp-header → .lp-hero → .lp-section (capitals) → .lp-section (regionals) → .lp-engagement → .lp-faq
*/

.lp-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.lp-header h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.lp-subtitle {
  color: #4b5563;
  font-size: 1.1rem;
  margin: 0;
}

/* HERO */
.lp-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 800px;
  margin: 1rem auto 2rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.lp-hero-thumb {
  flex: 0 0 200px;
}
.lp-hero-thumb img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 6px;
}
.lp-hero-text {
  flex: 1;
  min-width: 0;
}
.lp-hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #4b5563;
}
.lp-hero-cta {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  background: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.lp-hero-cta:hover { background: #1d4ed8; }
.lp-hero-secondary {
  display: inline-block;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
}
.lp-hero-secondary:hover { color: #374151; text-decoration: underline; }

/* Smooth scroll for the in-page #closest anchor; scoped to the landing page
   target so we don't change global scroll behaviour. */
html:has(#closest) { scroll-behavior: smooth; }
#closest { scroll-margin-top: 1rem; }

/* SECTIONS (capitals + regionals) */
.lp-section {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}
.lp-section-title {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}
.lp-section-sub {
  color: #4b5563;
  margin: 0 0 1rem;
}
.lp-section-cta {
  text-align: center;
  margin: 1.5rem 0 0;
}
.lp-button-primary {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  background: #1f2937;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.lp-button-primary:hover { background: #111827; }

/* CAPITALS */
.lp-capitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.lp-capital-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
}
.lp-capital-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.lp-capital-card a {
  display: block;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
}
.lp-capital-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  margin-bottom: 4px;
}
.lp-capital-name { display: block; }

/* REGIONALS */
.lp-regional-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}
.lp-chip {
  padding: 0.4rem 0.8rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.9rem;
}
.lp-chip:hover { background: #f3f4f6; border-color: #9ca3af; }

.lp-state-links-title {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
  color: #4b5563;
  font-weight: 500;
}
.lp-state-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.lp-state-links li a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 2;
}
.lp-state-links li a:hover { text-decoration: underline; }

/* ENGAGEMENT BLOCKS */
.lp-engagement {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  border-top: 1px solid #e5e7eb;
}
.lp-block {
  margin: 2rem 0;
}
.lp-block h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.lp-block p {
  margin: 0 0 0.5rem;
  line-height: 1.65;
  color: #374151;
}
.lp-block-quiet h2 {
  font-size: 1.05rem;
  color: #4b5563;
}
.lp-block-quiet p {
  color: #6b7280;
}

/* dBZ legend */
.lp-dbz-legend {
  text-align: center;
  margin: 0.75rem 0;
}
.lp-dbz-legend img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* While-you're-here rail */
.lp-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-rail-card {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #1f2937;
  text-align: center;
}
.lp-rail-card:hover { background: #f3f4f6; }
.lp-rail-card img {
  display: block;
  /* Don't upscale the source thumbnails; they look fuzzy when stretched.
     Native size is 160x100, shown 1:1, centred inside the card. */
  max-width: 160px;
  width: auto;
  height: auto;
  margin: 0 auto 8px;
  border-radius: 4px;
  background: #e5e7eb;
}
.lp-rail-card strong { font-size: 1rem; margin: 0 0 2px; }
.lp-rail-card span { font-size: 0.85rem; color: #6b7280; }

/* FAQ */
.lp-faq {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  border-top: 1px solid #e5e7eb;
}
.lp-faq h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}
.lp-faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}
.lp-faq-item summary {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  padding: 0.25rem 0;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::before {
  content: "+ ";
  display: inline-block;
  width: 1rem;
  color: #6b7280;
}
.lp-faq-item[open] summary::before { content: "− "; }
.lp-faq-item p {
  margin: 0.5rem 0 0.75rem 1rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 640px) {
  .lp-header h1 { font-size: 1.5rem; }
  .lp-subtitle { font-size: 1rem; }
  .lp-hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .lp-hero-thumb { flex-basis: auto; }
  .lp-hero-cta { font-size: 1.1rem; padding: 0.7rem 1rem; }
  .lp-capitals-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-state-links { flex-direction: column; gap: 0; }
}
