/* The Map to MORE page (patterns/map-more.php). Ivory throughout, deep teal headings, sage for the
   upper map and terracotta/gold for the lower, generous spacing, as her brief asks. */

/* The intro opens the page close under the header, text and map level at the top. */
.mm-intro { padding-top: clamp(4px, 0.5vw, 8px); padding-bottom: clamp(20px, 2.5vw, 32px); }
.mm-intro .inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.mm-intro .stack { gap: 18px; }
.mm-intro .stack p { max-width: 560px; }
.mm-sub { font: italic 24px/1.3 var(--serif); color: var(--accent); margin: -4px 0 6px; }
.mm-strong { font-weight: 700; color: var(--ink); }
.mm-preview { max-width: 560px; width: 100%; margin: 0 auto; }
.mm-preview svg { width: 100%; height: auto; display: block; }
.mm-preview .mm-narrow { display: none; }
/* The two sides follow close under the map, and the RESET section close under them. */
.mm-sides { padding-top: clamp(20px, 2.5vw, 32px); padding-bottom: clamp(20px, 2.5vw, 32px); }
.mm-reset { padding-top: clamp(12px, 1.5vw, 20px); }
.mm-rights { text-align: center; font-size: 13px; color: var(--muted); margin: 14px auto 0; max-width: 46ch; }
.mm-caption { text-align: center; font: italic 22px/1.4 var(--serif); color: var(--accent); max-width: 34ch; margin: 20px auto 0; }

.mm-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.mm-side { padding: clamp(24px, 3.5vw, 44px); border-radius: 4px; }
.mm-side.above { background: #E4EAE0; border-top: 4px solid var(--soft); }
.mm-side.below { background: #F3E3DA; border-top: 4px solid var(--clay); }
.mm-side h2 { font-size: clamp(26px, 3vw, 34px); }
.mm-side.below h2 { color: #8F4A33; }
.mm-side p { margin: 14px 0 0; }
.mm-names { font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.mm-side.below .mm-names { color: #8F4A33; }
.mm-statement { text-align: center; font: italic 21px/1.45 var(--serif); color: var(--ink); max-width: 46ch; margin: clamp(32px, 5vw, 56px) auto 0; }

.mm-reset .inner { display: grid; gap: 34px; justify-items: center; }
.mm-centre { text-align: center; justify-items: center; }
.mm-centre p { max-width: 58ch; }
.mm-centre h2 { max-width: 20ch; }
/* Her RESET artwork; the crop trims the clear margin above and below it. */
.mm-bar { display: block; width: min(100%, 640px); height: auto; aspect-ratio: 1240 / 250; object-fit: cover; }

.mm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; max-width: 980px; }
.mm-step { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 0; }
.mm-step summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 22px 22px 20px; }
.mm-step summary::-webkit-details-marker { display: none; }
.mm-num { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 18px/1 var(--serif); color: var(--white); }
.mm-step:nth-child(1) .mm-num { background: var(--soft); }
.mm-step:nth-child(2) .mm-num { background: var(--gold); }
.mm-step:nth-child(3) .mm-num { background: var(--clay); }
.mm-step-title { font: 400 26px/1.1 var(--serif); color: var(--accent); }
.mm-step-line { font: 400 15px/1.45 var(--sans); color: var(--muted); margin-top: 4px; }
.mm-step summary::after { content: "Read more +"; grid-column: 2; justify-self: start; margin-top: 10px; font: 600 13px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.mm-step[open] summary::after { content: "Close"; }
.mm-step > p { margin: 0; padding: 0 22px 22px 80px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.mm-step summary:hover .mm-step-title, .mm-step summary:focus-visible .mm-step-title { color: var(--clay); }
.mm-aside { text-align: center; font-size: 15px; color: var(--muted); margin-top: -10px; }

.mm-coaching { background: #F1EDE3; }
.mm-coaching .inner { display: grid; gap: 36px; justify-items: center; }
.mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; max-width: 1040px; }
.mm-card { background: var(--white); border-radius: 4px; padding: 26px 24px 28px; border-top: 4px solid var(--accent); }
.mm-card:nth-child(2) { border-top-color: var(--gold); }
.mm-card:nth-child(3) { border-top-color: var(--clay); }
.mm-card h3 { margin: 8px 0 12px; }
.mm-card p:last-child { margin: 0; font-size: 16px; line-height: 1.55; }
.mm-coaching .mm-statement { margin-top: 8px; }

.mm-invite { background: linear-gradient(180deg, var(--bg), #F3E3DA); }
.mm-invite .inner { display: grid; justify-items: center; }
.mm-invite .stack { gap: 14px; }
.mm-invite h2 { max-width: 18ch; margin-bottom: 8px; }
.mm-invite .primary { margin-top: 12px; }

/* The cards and columns are block groups: cancel the editor's default gap between siblings. */
.mm-cards > *, .mm-steps > *, .mm-columns > *, .mm-intro .inner > *, .mm-reset .inner > *, .mm-coaching .inner > * { margin-block-start: 0 !important; }
.mm-figure > .mm-caption { margin-block-start: 20px !important; }
.mm-figure > .mm-rights { margin-block-start: 14px !important; }

@media (max-width: 900px) {
  .mm-intro .inner { grid-template-columns: 1fr; }
  .mm-steps, .mm-cards { grid-template-columns: 1fr; }
  .mm-columns { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mm-sub { font-size: 21px; }
  /* Phones: the compact geometry so the badge names stay readable. */
  .mm-preview .mm-wide { display: none; }
  .mm-preview .mm-narrow { display: block; }
  .mm-step > p { padding-left: 22px; }
}
