/* ==========================================================================
   Prose — editor-written rich text (CMS rich_text blocks), styled as the live
   site's page content: navy headings, 18px text, orange round bullets and links.
   ========================================================================== */
.page-title {
  color: var(--c-heading);
  font-size: 40px;
  line-height: 48px;
  font-weight: var(--fw-extrabold);
}

.prose { font-size: 18px; line-height: 28px; font-weight: var(--fw-medium); color: var(--c-text); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.prose h2, .prose h3, .prose h4 { color: var(--c-heading); font-weight: var(--fw-extrabold); }
.prose h2 { font-size: 28px; line-height: 32px; margin: 32px 0 15px; }
.prose h3 { font-size: 22px; line-height: 28px; margin: 28px 0 12px; }
.prose h4 { font-size: 18px; line-height: 26px; margin: 24px 0 10px; }

.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin: 0 0 16px; }
.prose strong, .prose b { font-weight: var(--fw-bold); }

.prose a { color: var(--c-orange); }
.prose a:hover { text-decoration: underline; }

.prose ul { list-style: none; padding-left: 10px; }
.prose ul > li { position: relative; padding: 0 0 5px 20px; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
}
.prose ol { padding-left: 30px; list-style: decimal; }
.prose ol > li { padding: 0 0 5px 0; }

.prose blockquote { border-left: 4px solid var(--c-orange); padding: 4px 0 4px 16px; font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--c-input-border); margin: 24px 0; }
.prose img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  .page-title { font-size: 30px; line-height: 36px; }
  .prose { font-size: 16px; line-height: 26px; }
  .prose h2 { font-size: 24px; line-height: 30px; }
}

/* The "map" block (templates/blocks/map.html): as wide as the box it sits in, its height following the width. */
.map-embed {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  margin: 20px 0;
  border: 0;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .map-embed { aspect-ratio: 16 / 9; }
}
