/* ============================================================
   MAYAWEB — EDITABLE SECTIONS
   Styles for the block-based sections (patterns). Loaded on the site
   and inside the WordPress editor so both look the same.
============================================================ */

/* Editable pages run edge to edge; sections set their own width. */
.mm-blocks { width: 100%; }
.mm-blocks > * { margin-top: 0; margin-bottom: 0; }

/* ---------- Sections (Group → Styles) ---------- */
.wp-block-group.is-style-mm-dark-1,
.wp-block-group.is-style-mm-dark-2,
.wp-block-group.is-style-mm-dark-3,
.wp-block-group.is-style-mm-light {
  width: 100%;
  max-width: none;
  padding: var(--section-pad);
  margin: 0;
}
.wp-block-group.is-style-mm-dark-1 { background: var(--dark-1); color: var(--cream); }
.wp-block-group.is-style-mm-dark-2 { background: var(--dark-2); color: var(--cream); }
.wp-block-group.is-style-mm-dark-3 { background: var(--dark-3); color: var(--cream); }
.wp-block-group.is-style-mm-light  { background: var(--light);  color: var(--dark-1); }

/* First section on the page clears the fixed navigation. */
.wp-block-group.mm-hero { padding-top: 140px; }

/* Text colours inside sections */
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) :is(h1, h2, h3, h4) { color: var(--cream); }
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) :is(p, li) { color: var(--pale); }
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) strong { color: var(--cream); }
.is-style-mm-light :is(h1, h2, h3, h4) { color: var(--dark-1); }
.is-style-mm-light :is(p, li) { color: var(--mid); }

.mm-blocks :is(h1, h2, h3), .editor-styles-wrapper :is(h1, h2, h3) { margin-top: 0; margin-bottom: 1.5rem; }
.mm-blocks h1, .editor-styles-wrapper h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.mm-blocks h2, .editor-styles-wrapper h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.mm-blocks h3, .editor-styles-wrapper h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.mm-blocks ul:not(.is-style-mm-steps),
.mm-blocks ol:not(.is-style-mm-steps) { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.mm-blocks li { margin-bottom: 0.4rem; }
.mm-blocks a:not(.wp-block-button__link) { color: var(--orange); }
.mm-blocks a:not(.wp-block-button__link):hover { color: var(--orange-h); }

/* ---------- Inner widths (Group with class mm-inner) ---------- */
.wp-block-group.mm-inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.wp-block-group.mm-narrow > * { max-width: 680px; }
.wp-block-group.mm-center { text-align: center; }
.wp-block-group.mm-center.mm-narrow > * { margin-left: auto; margin-right: auto; }
.wp-block-group.mm-center .wp-block-buttons { justify-content: center; }
.wp-block-group.mm-reading > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.wp-block-group.mm-reading p { line-height: 1.85; margin-bottom: 1.2rem; }

/* ---------- Grids (Group with class mm-grid) ---------- */
.wp-block-group.mm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin: 2rem 0;
}
.wp-block-group.mm-grid.mm-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 760px;
}
.wp-block-group.mm-grid > * { margin: 0; }

/* ---------- Card and price box (Group → Styles) ---------- */
.wp-block-group.is-style-mm-card {
  background: var(--dark-2);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 3px solid var(--orange);
}
.is-style-mm-dark-2 .wp-block-group.is-style-mm-card { background: var(--dark-1); }
.is-style-mm-light .wp-block-group.is-style-mm-card { background: #fff; }
.is-style-mm-light .wp-block-group.is-style-mm-card :is(h3, h4) { color: var(--dark-1); }
.is-style-mm-light .wp-block-group.is-style-mm-card p { color: var(--mid); }
.wp-block-group.is-style-mm-card.mm-lilac { border-left-color: var(--lilac); }
.wp-block-group.is-style-mm-card h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); margin-bottom: 0.75rem; }
.wp-block-group.is-style-mm-card .wp-block-buttons { margin-top: 1.5rem; }

.wp-block-group.is-style-mm-price {
  background: var(--dark-2);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border-dark);
}
.wp-block-group.is-style-mm-price h3 { margin-bottom: 0.5rem; }

/* ---------- Paragraph styles ---------- */
p.is-style-mm-eyebrow,
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3, .is-style-mm-light) p.is-style-mm-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
p.is-style-mm-accent,
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) p.is-style-mm-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--cream);
  margin-top: 1.5rem;
}
.is-style-mm-light p.is-style-mm-accent { color: var(--dark-1); }
p.is-style-mm-lead { font-size: 1.15rem; }
p.is-style-mm-price,
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) p.is-style-mm-price {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--cream);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}
p.is-style-mm-price-note { font-size: 0.85rem; }
p.is-style-mm-small { font-size: 0.8rem; }

/* ---------- Buttons ---------- */
.mm-blocks .wp-block-buttons,
.editor-styles-wrapper .wp-block-buttons { gap: 1rem; margin-top: 2rem; }
.wp-block-button .wp-block-button__link { text-decoration: none; border: 2px solid var(--orange); }
.wp-block-button.is-style-mm-ghost .wp-block-button__link {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(244, 237, 236, 0.4);
}
.wp-block-button.is-style-mm-ghost .wp-block-button__link:hover { border-color: var(--lilac); color: var(--lilac); }
.is-style-mm-light .wp-block-button.is-style-mm-ghost .wp-block-button__link { color: var(--dark-1); border-color: var(--mid); }
.is-style-mm-light .wp-block-button.is-style-mm-ghost .wp-block-button__link:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Quotes ---------- */
.wp-block-quote.is-style-mm-testimonial {
  background: var(--dark-2);
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-left: 4px solid var(--orange);
  max-width: 760px;
  margin: 0;
}
.is-style-mm-dark-2 .wp-block-quote.is-style-mm-testimonial { background: var(--dark-1); }
.wp-block-quote.is-style-mm-testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.wp-block-quote.is-style-mm-testimonial cite {
  display: block;
  font-size: 0.82rem;
  color: var(--pale);
  font-style: normal;
}
.wp-block-quote.is-style-mm-pullquote {
  border: 0;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  text-align: center;
}
.wp-block-quote.is-style-mm-pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 1rem;
}
.is-style-mm-light .wp-block-quote.is-style-mm-pullquote p { color: var(--dark-1); }
.wp-block-quote.is-style-mm-pullquote cite { color: var(--pale); font-size: 0.9rem; font-style: normal; }

/* ---------- Numbered steps (List → Styles) ---------- */
ol.is-style-mm-steps,
ul.is-style-mm-steps {
  list-style: none;
  counter-reset: mmsteps;
  padding: 0;
  margin: 2rem 0;
  max-width: 640px;
}
.is-style-mm-steps > li {
  counter-increment: mmsteps;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
  min-height: 36px;
}
.is-style-mm-steps > li::before {
  content: counter(mmsteps);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.is-style-mm-steps > li strong { display: block; font-size: 1rem; margin-bottom: 0.3rem; }

/* ---------- Video ---------- */
.mm-blocks .wp-block-embed,
.mm-video { max-width: 960px; margin: 2rem auto 0; }
.mm-video iframe,
.mm-blocks .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; display: block; }

/* ---------- Live lists inside sections ---------- */
.mm-blocks .episodes-list,
.mm-blocks .posts-grid { margin-top: 2rem; }

/* ---------- Forms ---------- */
.mm-form { max-width: 640px; margin-top: 2rem; }
.mm-form--footer { margin-top: 0; }
.mm-form__label { display: block; font-size: 0.82rem; color: var(--pale); margin-bottom: 0.4rem; }
.is-style-mm-light .mm-form__label { color: var(--mid); }
.mm-form__note { font-size: 0.78rem; color: var(--pale); margin-top: 1rem; }
.mm-form__done { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--cream); }
.mm-form__error { color: var(--orange-h); margin-bottom: 1rem; }
.mm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Support box ---------- */
.wp-block-group.mm-support {
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .wp-block-group.mm-hero { padding-top: 110px; }
  .wp-block-group.mm-grid.mm-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Editor only: give dark sections room to breathe ---------- */
.editor-styles-wrapper { background: var(--light); font-family: var(--font-body); }
.editor-styles-wrapper .wp-block-group.mm-hero { padding-top: clamp(60px, 8vw, 120px); }

/* ---------- "What leaves" rows (Group with class mm-gone) ---------- */
.wp-block-group.mm-gone {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border-dark);
  max-width: 760px;
}
.wp-block-group.mm-gone:last-child { border-bottom: none; }
.wp-block-group.mm-gone h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }
.wp-block-group.mm-gone p.mm-gone-word,
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) .wp-block-group.mm-gone p.mm-gone-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  margin-top: 1rem;
}

/* ---------- Fix: mobile menu button showed as a white box ---------- */
.nav-toggle { background: transparent; border: 0; }

/* ---------- Fix: mobile menu opened behind the page ----------
   The nav's blur effect makes it the reference box for the menu,
   so the menu needs an explicit height. */
@media (max-width: 768px) {
  .nav-links.is-open { bottom: auto; height: calc(100vh - 70px); height: calc(100dvh - 70px); }
}

/* ---------- Menu built in Appearance → Menus ---------- */
.mm-menu { list-style: none; }
.mm-menu .menu-item-has-children { position: relative; }
.mm-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 0.5rem 0;
}
.mm-menu .sub-menu a { display: block; padding: 0.5rem 1rem; color: var(--pale); font-size: 0.85rem; }
.mm-menu .sub-menu a:hover { color: var(--cream); }
.mm-menu .menu-item-has-children:hover > .sub-menu { display: block; }
/* The last item in the menu is the orange "Say Hello" button. */
.mm-menu > li:last-child > a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--cream);
  padding: 0.6em 1.4em;
  border-radius: 100px;
}
.mm-menu > li:last-child > a:hover { background: var(--orange-h); color: var(--cream); }
@media (max-width: 768px) {
  .mm-menu .sub-menu { position: static; border: 0; padding-left: 1rem; background: transparent; }
  .mm-menu .menu-item-has-children:hover > .sub-menu { display: none; }
  .mm-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
}

/* Editor: let sections run full width, as they do on the site. */
.editor-styles-wrapper .is-root-container > .wp-block-group[class*="is-style-mm-"] { max-width: none !important; }

/* ============================================================
   1.2 — SHARED PARTS (one design everywhere)
============================================================ */

/* Meta line under a title (date, guest) */
p.mm-meta,
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) p.mm-meta { opacity: 0.8; margin-top: 0.5rem; }

/* Back link */
p.mm-back { margin-top: 1.5rem; font-size: 0.85rem; font-weight: 600; }
.mm-blocks p.mm-back a { color: var(--pale); }
.mm-blocks p.mm-back a:hover { color: var(--cream); }

/* Audio */
.mm-audio { max-width: 960px; margin: 2rem auto 0; display: block; width: 100%; }
.mm-video + .mm-audio { margin-top: 1.5rem; }

/* Filter bar */
.mm-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.mm-center .mm-filters { justify-content: center; }
.is-style-mm-light .mm-filters .filter-tag { color: var(--mid); border-color: var(--border-light); }
.is-style-mm-light .mm-filters .filter-tag:hover,
.is-style-mm-light .mm-filters .filter-tag--active { background: var(--dark-1); color: var(--cream); border-color: var(--dark-1); }

/* Episode row — used on Home, Broadcast and episode lists */
.mm-ep-list { margin-top: 1rem; }
.mm-ep {
  display: grid;
  grid-template-columns: 80px 160px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.mm-ep:last-child { border-bottom: 0; }
.mm-ep__meta { display: flex; flex-direction: column; gap: 0.3rem; }
.mm-ep__num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pale); }
.mm-ep__date { font-size: 0.75rem; color: var(--pale); opacity: 0.65; }
.mm-ep__thumb { display: block; width: 160px; height: 160px; border-radius: 12px; overflow: hidden; }
.mm-ep__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-ep__body p.is-style-mm-eyebrow { margin-bottom: 0.5rem; font-size: 0.72rem; }
.mm-blocks .mm-ep__title { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.5rem; }
.mm-blocks .mm-ep__title a { color: var(--cream); }
.mm-blocks .mm-ep__title a:hover { color: var(--pale); }
.mm-ep__excerpt { font-size: 0.9rem; line-height: 1.6; }
.mm-ep__guest { font-size: 0.8rem; opacity: 0.7; margin-top: 0.3rem; }
.is-style-mm-light .mm-ep { border-bottom-color: var(--border-light); }
.is-style-mm-light .mm-ep__num,
.is-style-mm-light .mm-ep__date { color: var(--mid); }
.is-style-mm-light .mm-blocks .mm-ep__title a,
.is-style-mm-light .mm-ep__title a { color: var(--dark-1); }
@media (max-width: 700px) {
  .mm-ep { grid-template-columns: 96px 1fr; gap: 1rem 1.25rem; padding: 1.75rem 0; }
  .mm-ep__meta { grid-column: 1 / -1; flex-direction: row; gap: 0.75rem; }
  .mm-ep__thumb { width: 96px; height: 96px; }
}

/* Article cards keep their own white card on any band */
.mm-blocks .writing-grid { margin-top: 1rem; }
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) .writing-card__excerpt { color: var(--mid); }
:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3) .writing-card__title { color: var(--dark-1); }

/* Pagination */
.mm-pagination { margin-top: 3rem; text-align: center; }
.mm-pagination .page-numbers { display: inline-block; padding: 0.4em 0.9em; margin: 0 0.15rem; border-radius: 100px; font-size: 0.85rem; }
.mm-pagination .page-numbers.current { background: var(--orange); color: var(--cream); }

/* Reading width: articles, stories, plain pages, episode notes */
.mm-reading > h1 { margin-bottom: 2rem; }
.mm-reading :is(h2) { margin-top: 3rem; margin-bottom: 1rem; }
.mm-reading :is(h3) { margin-top: 2rem; margin-bottom: 0.75rem; }
.mm-reading > :is(h2, h3):first-child { margin-top: 0; }
.mm-reading ul, .mm-reading ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.mm-reading li { margin-bottom: 0.5rem; }
.mm-reading img { border-radius: 12px; }
.mm-reading hr { border: 0; border-top: 1px solid var(--border-light); margin: 3rem auto; }
.mm-reading .wp-block-quote:not([class*="is-style-mm-"]) {
  border-left: 4px solid var(--orange);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
}
.mm-reading .wp-block-quote:not([class*="is-style-mm-"]) p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dark-1);
}
figure.mm-feature-image { margin: 0 0 2.5rem; }
figure.mm-feature-image img { width: 100%; border-radius: 12px; }

/* Portrait (Meet the Host) */
.wp-block-image.mm-portrait img {
  width: 100%;
  max-width: 322px;
  aspect-ratio: 322 / 391;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}
.mm-blocks .wp-block-columns { gap: clamp(2rem, 5vw, 4rem); margin-top: 2rem; }

/* Author bio card under articles */
.wp-block-group.mm-bio {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}
.wp-block-group.mm-bio p { font-size: 0.95rem; }

/* Two cream bands in a row (title, then text) read as one: no double gap. */
.wp-block-group.is-style-mm-light + .wp-block-group.is-style-mm-light { padding-top: 0; }

/* ============================================================
   1.3 — PHOTOS
============================================================ */
/* Text + photo sections */
.wp-block-group.mm-split .wp-block-columns { margin-top: 0; align-items: center; }
.wp-block-image.mm-photo { margin: 0; }
.wp-block-image.mm-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  display: block;
}
/* A photo hero's headline sits left-aligned beside the photo (the one exception to centred titles). */
.wp-block-group.mm-split h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
/* On phones: photo first, then words — for both layouts */
@media (max-width: 781px) {
  .wp-block-group.mm-split .wp-block-columns { flex-direction: column-reverse; }
  .wp-block-group.mm-split.mm-split--left .wp-block-columns { flex-direction: column; }
  .wp-block-image.mm-photo img { max-width: 420px; margin: 0 auto; }
}
/* Galleries (Media page press photos) */
.mm-blocks .wp-block-gallery img { border-radius: 12px; }
/* Phones: keep hero photos short so the headline is in the first screen. */
@media (max-width: 781px) {
  .wp-block-group.mm-hero.mm-split .wp-block-image.mm-photo img,
  .wp-block-group.mm-hero .mm-split .wp-block-image.mm-photo img { aspect-ratio: 1 / 1; max-height: 300px; max-width: 300px; }
  .wp-block-group.mm-hero .wp-block-columns { gap: 1.5rem; }
}

/* ---------- 1.4: footer photo ---------- */
img.mm-footer-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
  border: 2px solid var(--border-dark);
}

/* ---------- Photo sections never show a caption (queued for next release) ---------- */
.wp-block-image.mm-photo figcaption,
.wp-block-image.mm-portrait figcaption { display: none; }

/* ---------- 1.4.1: when a page ends on a dark section, leave a cream gap before the footer ---------- */
main.mm-blocks { background: var(--light); }
main.mm-blocks { display: flow-root; }
main.mm-blocks > div.wp-block-group:is(.is-style-mm-dark-1, .is-style-mm-dark-2, .is-style-mm-dark-3):last-of-type {
  margin-bottom: clamp(56px, 7vw, 96px);
}

/* ---------- 1.5: Home page ---------- */
.is-style-mm-light .wp-block-quote.is-style-mm-pullquote cite { color: var(--mid); }
.mm-form--page form:not(:has(textarea)) { max-width: 520px; margin-left: auto; margin-right: auto; }
.mm-center .mm-form__note { text-align: center; }

/* ---------- 1.5.1: footer "You are not a project" lines ---------- */
.footer-not-project { margin-bottom: 0.5rem; }
.footer-not-project-lines {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--pale);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.footer-not-project-lines strong { color: var(--cream); font-weight: 500; opacity: 1; }

/* 1.5.4 — Home "Broadcast": Listen and Read side by side */
.mm-broadcast-cols { margin-top: clamp(2rem, 4vw, 3rem); gap: clamp(2rem, 5vw, 4rem); }
.mm-broadcast-cols .writing-grid { grid-template-columns: 1fr; gap: 1rem; }
.mm-broadcast-cols .mm-ep { grid-template-columns: 96px 1fr; gap: 0.75rem 1.25rem; padding: 1.25rem 0; }
.mm-broadcast-cols .mm-ep__meta { grid-column: 1 / -1; flex-direction: row; gap: 0.75rem; }
.mm-broadcast-cols .mm-ep__thumb { width: 96px; height: 96px; }

/* 1.5.6 — Home "Broadcast": calmer intro, Listen and Read as matching compact lists */
.wp-block-group > .mm-inner.mm-narrow + .mm-inner { padding-top: 0; }
.mm-broadcast-cols .wp-block-heading { font-size: 1.4rem; margin-bottom: 0.25rem; }
.mm-broadcast-cols .writing-grid { display: block; }
.mm-broadcast-cols .writing-card { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: start; background: none; border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0; box-shadow: none; padding: 1.25rem 0; transform: none; }
.mm-broadcast-cols .writing-card:hover { transform: none; box-shadow: none; }
.mm-broadcast-cols .writing-card__image { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; margin: 0; aspect-ratio: auto; }
.mm-broadcast-cols .writing-card__image img { width: 100%; height: 100%; object-fit: cover; }
.mm-broadcast-cols .writing-card__body { padding: 0; }
.mm-broadcast-cols .writing-card__tag { font-size: 0.68rem; padding: 0.2rem 0.6rem; margin-bottom: 0.5rem; }
.mm-broadcast-cols .writing-card__title { font-size: 1.15rem; font-style: normal; line-height: 1.3; margin: 0 0 0.4rem; }
.mm-broadcast-cols .writing-card__title a { color: var(--dark-1); }
.mm-broadcast-cols .writing-card__excerpt,
.mm-broadcast-cols .mm-ep__excerpt { font-size: 0.88rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 1.5.6 — Broadcast sits on a dark band */
[class*="is-style-mm-dark"] .mm-broadcast-cols .writing-card { border-bottom-color: var(--border-dark); }
[class*="is-style-mm-dark"] .mm-broadcast-cols .writing-card__title a { color: var(--cream); }
[class*="is-style-mm-dark"] .mm-broadcast-cols .writing-card__title a:hover { color: var(--pale); }
[class*="is-style-mm-dark"] .mm-broadcast-cols .writing-card__excerpt { color: var(--pale); }
[class*="is-style-mm-dark"] .mm-broadcast-cols .writing-card__tag { background: rgba(196,158,216,0.12); color: var(--pale); }

/* 1.5.7 — the egg illustration */
.wp-block-image.mm-egg { margin: 0 auto; max-width: 420px; }
.wp-block-image.mm-egg img { width: 100%; height: auto; border-radius: 0; box-shadow: none; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 780px) { .wp-block-image.mm-egg { max-width: 240px; } }

/* 1.5.7 — story photo: smaller, sits quietly beside the story */
.wp-block-image.mm-photo--story { max-width: 360px; margin-left: auto; margin-right: auto; }
.wp-block-image.mm-photo--story img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 780px) { .wp-block-image.mm-photo--story { max-width: 260px; } }

/* 1.5.7 — forms line up with left-aligned text */
.wp-block-group.mm-narrow:not(.mm-center) .mm-form { margin-left: 0; margin-right: auto; text-align: left; }
.wp-block-group.mm-narrow:not(.mm-center) .mm-form__note { text-align: left; }
.wp-block-group.mm-narrow:not(.mm-center) .mm-form .form-submit,
.wp-block-group.mm-narrow:not(.mm-center) .mm-form button { margin-left: 0; }
.wp-block-group.mm-narrow:not(.mm-center) .mm-form--page form { margin-left: 0; margin-right: auto; }

/* 1.5.7 — First Breath thank-you */
.mm-gift-thanks { margin-top: 1rem; }
.mm-gift-thanks h2 { margin: 0.5rem 0 1rem; }
.mm-gift-player { margin: 1.5rem 0 0.75rem; max-width: 520px; }
.mm-gift-download { font-weight: 600; }
/* 2.0.32 skip buttons */
.mm-skip { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.mm-skip-btn { font: inherit; font-size: 1rem; font-weight: 600; color: var(--cream, #f4edec); background: transparent; border: 1.5px solid currentColor; border-radius: 999px; padding: 0.55rem 1.1rem; cursor: pointer; min-height: 44px; }
.mm-skip-btn:hover, .mm-skip-btn:focus-visible { background: rgba(244,237,236,0.12); }
.mm-gift-thanks .wp-block-buttons { margin-top: 1.5rem; }

/* 1.5.7 — Take it further (shop holding page) */
.wp-block-group.mm-shop-card { background: var(--dark-2); border: 1px solid var(--border-dark); border-radius: 12px; padding: clamp(24px, 3vw, 36px); height: 100%; }
.wp-block-group.mm-shop-card h3 { margin: 0.4rem 0 0.6rem; }
.wp-block-group.mm-shop-card .mm-form { margin-top: 1.25rem; }
.wp-block-group.mm-shop-card .form-field { padding: 0.65rem 1rem; font-size: 0.9rem; margin-bottom: 0.6rem; }
.wp-block-group.mm-shop-card .mm-form--page form { max-width: none; margin: 0; }
.wp-block-columns + .wp-block-columns { margin-top: clamp(1.5rem, 3vw, 2rem); }

/* 1.6.5 Privacy page only */
.mm-blocks > .mm-privacy{margin-bottom:0 !important;margin-block-end:0 !important}
.mm-privacy h2.wp-block-heading{font-size:clamp(1.35rem,2.2vw,1.7rem);margin-top:2.4em;margin-bottom:.6em;line-height:1.25}

/* 1.6.7 Contact + Podcast pages */
.mm-blocks > .mm-contact-end{margin-bottom:0 !important;margin-block-end:0 !important}
.mm-blocks .mm-form--page input[type=text],.mm-blocks .mm-form--page input[type=url]{width:100%}
.mm-email{font-size:.92em;white-space:nowrap;color:var(--cream)}

/* 1.6.9 Article text column wider (Maya, 23 Nov): about 770px of text */
.post-body .container-narrow{max-width:960px}

/* Home: host introduction */
.mm-narrow .wp-block-columns.mm-host { width: min(1120px, 100%); max-width: none; margin: 2.5rem 0; gap: 3.5rem; }
@media (min-width: 900px) { .mm-narrow .wp-block-columns.mm-host { width: 1120px; max-width: calc(100vw - 10%); } }
.mm-host .wp-block-quote.mm-host-quote { text-align: left; margin: 0 0 2rem; max-width: 640px; margin-top: 0; }
.mm-host .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.mm-host .wp-block-quote.mm-host-quote p,
.mm-host .wp-block-quote.mm-host-quote cite { font-size: 18px; line-height: 1.7; color: var(--pale); font-style: normal; font-weight: 400; font-family: var(--font-body); }
.mm-host .wp-block-quote.mm-host-quote cite { display: block; margin-top: 1rem; }
/* Home: story section, photo at the top right */
.mm-story .wp-block-columns > .wp-block-column:last-child { align-self: flex-start; }
.mm-story .wp-block-quote { border: 0; border-left: 3px solid var(--orange, #B8480F); background: rgba(0,0,0,.28); border-radius: 0 12px 12px 0; padding: 1.4rem 1.75rem; margin: 2rem 0; }
.mm-story .wp-block-quote p { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--cream); font-style: normal; }
.mm-story .wp-block-quote cite { display: block; margin: 0; font-size: 1rem; color: var(--pale); font-style: normal; }
/* Home: Start reading here card */
.mm-narrow .mm-start-here { width: min(1120px, 100%); max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: rgba(0,0,0,.28); border-radius: 16px; padding: 2rem; margin: 2rem 0 2.5rem; text-align: left; }
@media (min-width: 900px) { .mm-narrow .mm-start-here { width: 1120px; max-width: calc(100vw - 10%); } }
.mm-start-here__img img { width: 100%; height: auto; border-radius: 12px; display: block; }
.mm-start-here h3, :is(.is-style-mm-dark-1,.is-style-mm-dark-2,.is-style-mm-dark-3) .mm-start-here h3 a, :is(.is-style-mm-dark-1,.is-style-mm-dark-2,.is-style-mm-dark-3) .mm-start-here h3 a:visited { color: var(--cream); text-decoration: none; margin: 0 0 1rem; }
.mm-start-here__excerpt { font-size: 18px; line-height: 1.7; color: var(--pale); margin: 0 0 1.5rem; }
@media (max-width: 899px) { .mm-narrow .mm-start-here { grid-template-columns: 1fr; } }
.mm-narrow .mm-writing-intro { font-size: 18px; line-height: 1.7; color: var(--pale); max-width: 720px; text-align: left; }
.mm-narrow .mm-start-here { grid-template-columns: 340px 1fr; }
@media (max-width: 899px) { .mm-narrow .mm-start-here { grid-template-columns: 1fr; } }
.mm-narrow .mm-writing-lead { font-size: 22px; color: var(--cream); font-weight: 600; }
.mm-start-here__time { font-size: 16px; color: var(--pale); margin: -0.25rem 0 1.25rem; }
/* Home: How to work with me testimonial (same box as the Meet Maya quote) */
.mm-narrow .wp-block-quote.mm-wwm-quote { text-align: left; border: 0; border-left: 3px solid var(--orange, #B8480F); background: rgba(0,0,0,.28); border-radius: 0 12px 12px 0; padding: 1.4rem 1.75rem; margin: 2rem 0; max-width: 760px; }
.mm-wwm-quote p { margin: 0 0 0.75rem; font-size: 1.15rem; line-height: 1.7; color: var(--cream); font-style: normal; }
.mm-wwm-quote cite { display: block; margin: 0; font-size: 1rem; color: var(--pale); font-style: normal; }
.mm-soundwave { display: block; margin: 4px 0 26px; max-width: 100%; height: auto; }
/* Home: Meet Maya read more */
.mm-story .mm-readmore { margin: 0 0 1.5rem; }
.mm-story .mm-readmore > summary { cursor: pointer; list-style: none; display: inline-block; color: var(--orange, #B8480F); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; margin: .25rem 0 1rem; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.mm-story .mm-readmore > summary::-webkit-details-marker { display: none; }
.mm-story .mm-readmore > summary::after { content: " ↓"; }
.mm-story .mm-readmore[open] > summary { font-size: 0; border: 0; }
.mm-story .mm-readmore[open] > summary::after { content: "Read less ↑"; font-size: .95rem; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.mm-story .mm-readmore[open] { display: flex; flex-direction: column; }
.mm-story .mm-readmore[open] > summary { order: 2; }
/* Home opening: voice player */
.mm-voice-inner > h1 { max-width: 900px; }
.mm-voice-inner .mm-voice-lead, .mm-voice-inner .mm-voice-rest { max-width: 760px; }
.mm-voice-hero h1 { margin-bottom: 1.75rem; }
.mm-voice-lead p, .mm-voice-rest p { transition: color .35s, opacity .35s; }
.mm-player { display: flex; align-items: center; gap: 16px; background: rgba(0,0,0,.3); border-radius: 999px; padding: 10px 24px 10px 10px; margin: 0.5rem 0 2rem; max-width: 600px; }
.mm-player__avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange, #B8480F); }
.mm-player__play { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--orange, #B8480F); color: var(--cream, #f4edec); cursor: pointer; display: grid; place-items: center; padding: 0; }
.mm-player__play:focus-visible { outline: 3px solid #E7A93A; outline-offset: 3px; }
.mm-player__play svg { width: 22px; height: 22px; fill: currentColor; }
.mm-player__text { flex: 1; min-width: 0; }
.mm-player__text b { display: block; font-size: 16px; letter-spacing: .04em; color: var(--cream, #f4edec); }
.mm-player__status { display: block; font-size: 14px; color: var(--pale, #C49ED8); }
.mm-player__bar { display: block; height: 4px; background: rgba(196,158,216,.2); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.mm-player__bar i { display: block; height: 100%; width: 0; background: var(--orange, #B8480F); transition: width .3s linear; }
.mm-player__ctl { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.mm-player__ctl button { font: inherit; font-size: 15px; min-height: 40px; padding: 6px 18px; border-radius: 999px; border: 2px solid var(--pale, #C49ED8); background: transparent; color: var(--cream, #f4edec); cursor: pointer; }
.mm-player__ctl button:hover { background: rgba(196,158,216,.18); }
.mm-player__ctl button:focus-visible { outline: 3px solid #E7A93A; outline-offset: 3px; }
.mm-player__wave { display: flex; gap: 4px; align-items: center; height: 28px; flex: none; }
.mm-player__wave i { width: 4px; height: 6px; border-radius: 2px; background: var(--pale, #C49ED8); }
.mm-player__wave i:nth-child(2n) { background: var(--orange, #B8480F); }
.mm-player.is-playing .mm-player__wave i { animation: mmwave .9s ease-in-out infinite; }
.mm-player__wave i:nth-child(2) { animation-delay: -.5s; } .mm-player__wave i:nth-child(3) { animation-delay: -.3s; } .mm-player__wave i:nth-child(4) { animation-delay: -.7s; } .mm-player__wave i:nth-child(5) { animation-delay: -.2s; }
@keyframes mmwave { 0%,100% { height: 6px; } 50% { height: 26px; } }
.mm-voice-on .mm-voice-rest { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 1.4s ease, opacity .9s ease; }
.mm-voice-on.mm-open .mm-voice-rest { max-height: 3000px; opacity: 1; }
.mm-voice-on h1, .mm-voice-on .mm-voice-lead > p, .mm-voice-on .mm-voice-rest > p { color: var(--cream, #f4edec); }
.mm-w { border-radius: 3px; }
.mm-voice-on.mm-open .mm-voice-inner > .wp-block-buttons { margin-bottom: 400px; }
.mm-voice-on .mm-player { margin-bottom: 0.5rem; }
.mm-voice-on:not(.mm-open) .mm-voice-rest { margin-top: 0; }
.mm-voice-on:not(.mm-open) .mm-voice-inner > .wp-block-buttons { margin-top: 0.75rem; }
@media (max-width: 600px) {
  .mm-voice-on.mm-open .mm-player { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; row-gap: 0; padding: 8px 14px 8px 8px; border-radius: 22px; top: 74px; align-items: center; }
  .mm-voice-on.mm-open .mm-player__avatar, .mm-voice-on.mm-open .mm-player__text b, .mm-voice-on.mm-open .mm-player__wave, .mm-voice-on.mm-open .mm-player__pp { display: none; }
  .mm-voice-on.mm-open .mm-player__text { display: contents; }
  .mm-voice-on.mm-open .mm-player__play { grid-column: 1; grid-row: 1 / 3; }
  .mm-voice-on.mm-open .mm-player__status { grid-column: 2; grid-row: 1; align-self: end; }
  .mm-voice-on.mm-open .mm-player__bar { grid-column: 2; grid-row: 2; align-self: start; margin-top: 6px; }
  .mm-voice-on.mm-open .mm-player__ctl { grid-column: 3; grid-row: 1 / 3; margin: 0; }
}
.mm-voice-on.mm-open .mm-player { position: sticky; top: 84px; z-index: 20; background: #120a1b; box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.mm-live .mm-w { opacity: .55; transition: opacity .3s ease; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.mm-live .mm-w.mm-wd { opacity: 1; }
.mm-live .mm-w.mm-wo { opacity: 1; color: #fff; text-decoration-color: #E7A93A; }
@media (max-width: 600px) { .mm-player { gap: 10px; padding-right: 14px; } .mm-player__avatar { width: 52px; height: 52px; } .mm-player__play { width: 48px; height: 48px; } .mm-player__wave { display: none; } }
@media (prefers-reduced-motion: reduce) { .mm-player.is-playing .mm-player__wave i { animation: none; height: 14px; } .mm-voice-on .mm-voice-rest { transition: none; } }
/* Home: Crack the egg photo, smaller to sit in proportion with the other photos */
.mm-photo--egg { max-width: 380px; margin-left: auto; margin-right: auto; }
/* Home: all photos sit at the top of their section, not centred */
.wp-block-column:has(> .mm-photo), .wp-block-column:has(> .mm-portrait), .wp-block-column:has(> .wp-block-image) { align-self: flex-start !important; }
.mm-host.wp-block-columns { align-items: flex-start !important; }
.mm-narrow .mm-start-here { align-items: start; }

/* 1.8.7: the egg-in-a-cage picture is square and must show in full, so the open cage door is not cropped */
.mm-photo--egg { max-width: 460px; }
.wp-block-image.mm-photo--egg img { aspect-ratio: 1 / 1; object-fit: contain; object-position: center; }
@media (max-width: 780px) { .mm-photo--egg { max-width: 320px; } }

/* 1.8.8: hero portrait on the right of the opening words (stays beside them as the words open) */
.mm-voice-inner:has(.mm-photo--hero) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; align-items: start; }
.mm-voice-inner:has(.mm-photo--hero) > * { grid-column: 1; }
.mm-voice-inner > .mm-photo--hero { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 96px; margin: 0; align-self: start; }
.mm-photo--hero img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 18px; display: block; }
@media (max-width: 900px) {
  .mm-voice-inner:has(.mm-photo--hero) { display: block; }
  .mm-voice-inner > .mm-photo--hero { position: static; max-width: 260px; margin: 0 0 1.5rem; }
}

/* 1.9.0: "How to work with me" picture on the right-hand side */
.mm-wwm:has(.mm-photo--path) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 56px; align-items: start; }
.wp-block-group.mm-wwm:has(.mm-photo--path) > * { grid-column: 1; max-width: 680px; }
.wp-block-group.mm-wwm > .mm-photo--path { grid-column: 2; grid-row: 1 / span 10; max-width: none; margin: 0; align-self: center; }
.wp-block-image.mm-photo.mm-photo--path img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; display: block; }
@media (max-width: 900px) {
  .mm-wwm:has(.mm-photo--path) { display: block; }
  .wp-block-group.mm-wwm > .mm-photo--path { max-width: 320px; margin: 0 0 1.5rem; }
}
