/* MaoniMom — The Village page.
   Design tokens scoped to this page only, per spec. AA contrast: all real
   text sits on --paper/--cream, never on the gradient — the gradient is a
   thin decorative rule only, never a text background. */

/* The theme renders its own page title (.entry-header .entry-title); this
   page supplies its own hero heading below the gradient rule, so hide the
   theme's duplicate. This file only loads on the village page, so an
   unscoped selector here is safe. */
.entry-header .entry-title {
  display: none;
}

.maonimom-village {
  --cream: #F7EDE1;
  --amber: #E5A87E;
  --rose: #C4809A;
  --dusk: #6B4E70;
  --indigo: #2E2846;
  --ink: #241F2B;
  --brass: #A98455;
  --paper: #FAF6F0;

  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  padding: 0 20px 80px;
}

.maonimom-village-inner {
  max-width: 640px;
  margin: 0 auto;
}

.maonimom-village-rule {
  height: 5px;
  width: 100%;
  max-width: 220px;
  margin: 0 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3F3757 0%, #6B4E70 25%, #B0728A 50%, #E0A489 75%, #F2CDAE 100%);
}

.maonimom-village h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin: 40px 0 18px;
  color: var(--indigo);
}

.maonimom-village-lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 40px;
  max-width: 520px;
}

/* Signup */
.maonimom-village-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.maonimom-village-signup input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 16px;
  border: 1px solid var(--brass);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
}

.maonimom-village-signup button {
  display: inline-block;
  background: var(--dusk);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.maonimom-village-signup button:hover { background: var(--indigo); }
.maonimom-village-signup button:disabled { opacity: 0.6; cursor: default; }

.maonimom-village-msg {
  width: 100%;
  font-size: 0.85rem;
  margin-top: 4px;
}
.maonimom-village-msg.is-success { color: #3d6b4f; }
.maonimom-village-msg.is-error { color: #9a3b3b; }

/* Resources — always rendered, never behind JS or an accordion */
.maonimom-village-resources {
  background: var(--cream);
  border: 1px solid var(--brass);
  border-radius: 14px;
  padding: 28px 24px;
}

.maonimom-village-resources h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--indigo);
}

.maonimom-village-resources p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 10px;
}
.maonimom-village-resources p:last-child { margin-bottom: 0; }

.maonimom-village-resources a {
  color: var(--dusk);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .maonimom-village { padding: 0 16px 60px; }
  .maonimom-village h1 { margin-top: 28px; }
}
