/* South Bay chapter page (/chapters/south-bay/). */

.wwmb-chapter {
  --ink: #141513;
  --paper: #f7f6f1;
  --yellow: #F4EE35;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.wwmb-chapter * { box-sizing: border-box; }

.wwmb-chapter-hero,
.wwmb-chapter-wrap {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.wwmb-chapter-hero {
  padding: clamp(48px, 8vw, 88px) 0 28px;
}

.wwmb-chapter h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.wwmb-chapter h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 16px;
  background: var(--yellow);
}

.wwmb-chapter p { margin: 0 0 1em; }

.wwmb-chapter a {
  color: inherit;
  font-weight: 700;
}

.wwmb-chapter-photo {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 28px;
}

.wwmb-chapter-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
}

.wwmb-chapter-facts {
  display: grid;
  gap: 16px;
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
}

.wwmb-chapter-facts li {
  padding-top: 12px;
  border-top: 6px solid var(--yellow);
}

.wwmb-chapter-facts strong {
  display: block;
  margin-bottom: 4px;
}

.wwmb-chapter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 28px;
}

.wwmb-chapter-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--yellow);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.wwmb-chapter-crisis {
  margin: 0 0 48px;
  padding: 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
}

.wwmb-chapter-crisis a { color: var(--yellow); }

@media (max-width: 640px) {
  .wwmb-chapter-hero,
  .wwmb-chapter-wrap,
  .wwmb-chapter-photo { width: min(760px, calc(100% - 32px)); }
  .wwmb-chapter-actions a { width: 100%; }
}
