/* ==========================================================================
   content.css — Long-form SEO / marketing page styling
   Monarca Parking Lot Services
   Used by the static silo pages (services, locations, blog, faq, about).
   Provides readable prose, breadcrumbs, and a zero-JS <details> FAQ/accordion
   that matches the brand. Does NOT affect the homepage SPA.
   ========================================================================== */

/* ----- Prose readability for long content blocks ----- */
.prose-monarca { max-width: 72ch; }
.prose-monarca p { margin-bottom: 1.25rem; line-height: 1.75; }
.prose-monarca h2 { margin-top: 2.75rem; margin-bottom: 1rem; }
.prose-monarca h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose-monarca ul { margin: 1rem 0 1.5rem; padding-left: 1.25rem; list-style: disc; }
.prose-monarca ol { margin: 1rem 0 1.5rem; padding-left: 1.25rem; list-style: decimal; }
.prose-monarca li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose-monarca a { color: #FF7A00; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose-monarca a:hover { color: #1B1B1B; }

/* ----- Breadcrumbs ----- */
.breadcrumb { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: #64748b; font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { color: #FF7A00; }
.breadcrumb [aria-current="page"] { color: #1B1B1B; font-weight: 700; }

/* ----- Zero-JS FAQ / accordion via <details> ----- */
details.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
details.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #1B1B1B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: #FF7A00;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item > summary:hover { color: #FF7A00; }
details.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  line-height: 1.75;
}

/* Respect reduced-motion for the marker rotation. */
@media (prefers-reduced-motion: reduce) {
  details.faq-item > summary::after { transition: none; }
}
