/* Mi Nueva Aurora — interactive Recursos widget */

.mna-tabs { margin-top: 2.2rem; }

/* Tab bar — segmented control with a sliding indicator */
.mna-tablist {
  display: none;
  position: sticky;
  top: .6rem;
  z-index: 5;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: .34rem;
  gap: .2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wp--preset--color--contrast) 7%, var(--wp--preset--color--nube));
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent);
  box-shadow: 0 1px 2px rgba(42,30,61,.05), 0 18px 40px -30px rgba(42,30,61,.55);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.mna-tablist::-webkit-scrollbar { display: none; }
.mna-tabs.mna-js .mna-tablist { display: flex; }

/* sliding thumb (positioned by JS) */
.mna-tab-thumb {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #E0785A 0%, #C24C42 55%, #9C4E67 100%);
  box-shadow: 0 6px 18px -6px rgba(224,120,90,.7);
  pointer-events: none;
}
.mna-tablist.is-ready .mna-tab-thumb {
  transition: transform .42s cubic-bezier(.34,1.3,.5,1), width .42s cubic-bezier(.34,1.3,.5,1);
}

.mna-tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .7em 1.15em;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--wp--preset--color--contrast) 72%, transparent);
  cursor: pointer;
  transition: color .3s ease;
}
.mna-tab-ico { display: inline-flex; }
.mna-tab-ico svg { display: block; width: 20px; height: 20px; }
.mna-tab:hover:not(.is-active) { color: var(--wp--preset--color--coral-tinta); }
.mna-tab.is-active { color: #fff; }
.mna-tab:focus-visible { outline: 3px solid var(--wp--preset--color--dorado); outline-offset: 2px; }
@media (max-width: 520px) {
  .mna-tab { font-size: .95rem; padding: .66em .95em; }
  .mna-tablist { margin: 0; }
}

/* Panels — horizontal slider */
.mna-panel { padding-top: .4rem; }
.mna-tabs.mna-js .mna-panels {
  overflow: hidden;
  touch-action: pan-y;
  transition: height .45s cubic-bezier(.4, 0, .2, 1);
}
.mna-tabs.mna-js .mna-panels-track {
  display: flex;
  align-items: flex-start;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.mna-tabs.mna-js .mna-panels-track.is-dragging { transition: none; }
.mna-tabs.mna-js .mna-panel { flex: 0 0 100%; min-width: 0; }

.mna-panel-lead {
  margin: .3rem 0 0;
  padding: .9rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(120deg, #FDEFE4 0%, #F7DEC9 100%);
  color: var(--wp--preset--color--contrast);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: .6em;
}
.mna-panel-lead::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: .12em;
  background: currentColor;
  color: var(--wp--preset--color--coral-tinta);
  -webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.5.4.9 1 .9 1.7v.5h5.4v-.5c0-.7.4-1.3.9-1.7A6 6 0 0 0 12 3Z"/></svg>');
  mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.5.4.9 1 .9 1.7v.5h5.4v-.5c0-.7.4-1.3.9-1.7A6 6 0 0 0 12 3Z"/></svg>');
}

/* Card grid (books, films) */
.mna-cardgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.mna-rescard {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  background: var(--wp--preset--color--nube);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
  border-radius: 18px;
  padding: 1.15rem 1.25rem 1.05rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(42,30,61,.05), 0 14px 32px -26px rgba(42,30,61,.4);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mna-rescard:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--wp--preset--color--coral) 45%, transparent);
  box-shadow: 0 1px 2px rgba(42,30,61,.06), 0 26px 50px -28px rgba(224,120,90,.5);
}
.mna-rescard .t { font-family: var(--wp--preset--font-family--vollkorn); font-weight: 600; font-size: 1.14rem; line-height: 1.22; }
.mna-rescard .m { font-size: .9rem; color: var(--wp--preset--color--ciruela); }
.mna-rescard .warn { font-size: .78rem; font-weight: 700; color: var(--wp--preset--color--coral-tinta); }
.mna-rescard .go { margin-top: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--wp--preset--color--coral-tinta); opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s; }
.mna-rescard:hover .go { opacity: 1; transform: none; }

/* Chips (music) */
.mna-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.mna-chip {
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
  padding: .55em 1em;
  border-radius: 999px;
  background: var(--wp--preset--color--nube);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mna-chip .a { font-weight: 500; opacity: .65; font-size: .85em; }
.mna-chip:hover { background: var(--wp--preset--color--coral-tinta); color: #fff; transform: translateY(-2px); }
.mna-chip:hover .a { opacity: .9; }

/* Accordion */
.mna-acc { margin-top: 1.4rem; border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent); border-radius: 18px; overflow: hidden; background: var(--wp--preset--color--nube); }
.mna-acc details { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent); }
.mna-acc details:first-child { border-top: 0; }
.mna-acc summary {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--wp--preset--color--contrast);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.mna-acc summary::-webkit-details-marker { display: none; }
.mna-acc summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--wp--preset--color--coral-tinta); transition: transform .3s ease; will-change: transform; }
.mna-acc details[open] summary::after { transform: rotate(45deg); }
.mna-acc summary:hover { color: var(--wp--preset--color--coral-tinta); }
.mna-acc .acc-body { box-sizing: border-box; padding: 0 1.3rem 1.15rem; color: var(--wp--preset--color--ciruela); line-height: 1.65; }
/* Native (no-JS) open uses a gentle fade-in; suppressed once JS drives the height animation */
@media (prefers-reduced-motion: no-preference) {
  .mna-acc:not(.mna-js-acc) details[open] .acc-body,
  .mna-tree:not(.mna-js-acc) details[open] .acc-body { animation: mnaAccIn .35s ease; }
}
@keyframes mnaAccIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- Tree of questions (alternating branches) ---- */
.mna-tree-hint { margin: .6rem 0 0; color: var(--wp--preset--color--ciruela); font-size: .98rem; }
.mna-tree { list-style: none; margin: 1.8rem 0 0; padding: 0; position: relative; }
/* the central trunk */
.mna-tree::before {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 10px; bottom: 10px;
  width: 3px; border-radius: 3px;
  background: var(--wp--preset--gradient--amanecer);
  opacity: .9;
}
.mna-branch { position: relative; width: 50%; box-sizing: border-box; margin: 0 0 1.1rem; }
.mna-branch:last-child { margin-bottom: 0; }
.mna-branch:nth-child(odd)  { margin-left: 50%; padding-left: 36px; }   /* right of trunk */
.mna-branch:nth-child(even) { margin-left: 0;   padding-right: 36px; }  /* left of trunk */

/* numbered node dot centered on the trunk */
.mna-branch .dot {
  position: absolute;
  top: .72rem;
  width: 31px; height: 31px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 800; font-size: .92rem;
  color: #fff;
  background: var(--wp--preset--color--coral-tinta);
  box-shadow: 0 0 0 5px var(--wp--preset--color--base);
  z-index: 1;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.mna-branch:nth-child(odd)  .dot { left: -15.5px; }
.mna-branch:nth-child(even) .dot { right: -15.5px; }
.mna-branch:has(details[open]) .dot { transform: scale(1.16); background: var(--wp--preset--color--coral); }

/* node card */
.mna-node {
  background: var(--wp--preset--color--nube);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(42,30,61,.05), 0 12px 26px -24px rgba(42,30,61,.4);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.mna-node[open] {
  border-color: color-mix(in srgb, var(--wp--preset--color--coral) 45%, transparent);
  box-shadow: 0 1px 2px rgba(42,30,61,.06), 0 22px 44px -28px rgba(224,120,90,.5);
}
/* connector from trunk to the node */
.mna-branch::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  width: 36px; height: 2px;
  background: color-mix(in srgb, var(--wp--preset--color--coral) 55%, transparent);
}
.mna-branch:nth-child(odd)::before  { left: 0; }
.mna-branch:nth-child(even)::before { right: 0; }
.mna-node > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1.1rem;
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 700; font-size: 1.02rem;
  color: var(--wp--preset--color--contrast);
}
.mna-node > summary::-webkit-details-marker { display: none; }
.mna-node > summary .q { flex: 1; }
.mna-node > summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--wp--preset--color--coral-tinta);
  border-bottom: 2.5px solid var(--wp--preset--color--coral-tinta);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.mna-node[open] > summary::after { transform: rotate(-135deg); }
.mna-node > summary:focus-visible { outline: 3px solid var(--wp--preset--color--dorado); outline-offset: -3px; border-radius: 12px; }
.mna-node .leaf {
  box-sizing: border-box;
  padding: 0 1.1rem 1rem;
  color: var(--wp--preset--color--ciruela);
  line-height: 1.65;
}
.mna-node .leaf::before {
  content: "🍃";
  margin-right: .4em;
  font-size: .95em;
}
/* Mobile: collapse the zig-zag into a single left-trunk column */
@media (max-width: 720px) {
  .mna-tree::before { left: 19px; transform: none; }
  .mna-branch,
  .mna-branch:nth-child(odd),
  .mna-branch:nth-child(even) {
    width: auto; margin-left: 0; padding-left: 56px; padding-right: 0;
  }
  .mna-branch:nth-child(odd) .dot,
  .mna-branch:nth-child(even) .dot { left: 5px; right: auto; }
  .mna-branch:nth-child(odd)::before,
  .mna-branch:nth-child(even)::before { left: 36px; right: auto; width: 20px; }
  .mna-node > summary { font-size: .96rem; }
}

/* Verse cards */
.mna-verses { display: grid; gap: 1rem; margin-top: 1.4rem; }
.mna-verse {
  background: linear-gradient(160deg, #FDEFE4 0%, #F7DEC9 100%);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  font-family: var(--wp--preset--font-family--vollkorn);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--wp--preset--color--contrast);
}
.mna-verse cite { display: block; margin-top: .55rem; font-style: normal; font-family: var(--wp--preset--font-family--manrope); font-size: .82rem; font-weight: 700; letter-spacing: .03em; color: var(--wp--preset--color--coral-tinta); }

.mna-panel h3.mna-sub { margin: 1.8rem 0 .2rem; font-size: 1.35rem; }

/* ---- Flip cards: "Antes de elegir, recordá" ---- */
.mna-flipgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.mna-flip {
  perspective: 1200px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  min-height: 200px;
  display: block;
}
.mna-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  min-height: 200px;
  -webkit-transition: -webkit-transform .6s cubic-bezier(.4, 0, .2, 1);
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
/* Flip on click/tap (is-flipped) or keyboard focus — no hover, so "Ver más" stays clickable and iOS taps work */
.mna-flip:focus-visible .mna-flip-inner,
.mna-flip.is-flipped .mna-flip-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.mna-flip .face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(42,30,61,.05), 0 16px 34px -26px rgba(42,30,61,.45);
}
.mna-flip .front {
  background: var(--wp--preset--color--nube);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent);
}
.mna-flip .front .fico { font-size: 1.8rem; line-height: 1; }
.mna-flip .front .ftitle {
  font-family: var(--wp--preset--font-family--vollkorn);
  font-weight: 600; font-size: 1.18rem; line-height: 1.25;
  color: var(--wp--preset--color--contrast);
  margin-top: auto;
}
.mna-flip .front .fhint {
  margin-top: .7rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wp--preset--color--coral-tinta);
  display: inline-flex; align-items: center; gap: .35em;
}
.mna-flip .back {
  background: linear-gradient(155deg, #E0785A 0%, #9C4E67 55%, #452A5C 100%);
  color: #FDF6EE;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  justify-content: center;
  font-size: 1rem; line-height: 1.55;
}
.mna-flip .back .bhint {
  margin-top: .8rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #FBE6C7;
}
.mna-flip:focus-visible { outline: none; }
.mna-flip:focus-visible .front { outline: 3px solid var(--wp--preset--color--dorado); outline-offset: 3px; border-radius: 18px; }

/* Reduced motion: swap the 3D flip for a gentle cross-fade */
@media (prefers-reduced-motion: reduce) {
  .mna-flip-inner { transition: none; transform: none !important; }
  .mna-flip .back { transform: none; opacity: 0; transition: opacity .25s ease; }
  .mna-flip .front { transition: opacity .25s ease; }
  .mna-flip:focus-visible .back, .mna-flip.is-flipped .back { opacity: 1; }
  .mna-flip:focus-visible .front, .mna-flip.is-flipped .front { opacity: 0; }
}

/* ---- Parallax band (fixed background revealed on scroll) ---- */
.mna-parallax {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #241A3C;
  background-image:
    linear-gradient(180deg, rgba(19,12,36,.80) 0%, rgba(19,12,36,.40) 34%, rgba(19,12,36,.30) 58%, rgba(19,12,36,.68) 100%),
    url(../img/circulo-apoyo.svg);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center bottom;
  background-attachment: fixed, fixed;
}
/* iOS / small screens don't support fixed backgrounds well — fall back to a static cover */
@media (max-width: 900px) {
  .mna-parallax {
    background-attachment: scroll, scroll;
    min-height: 46vh;
  }
}

/* ---- Mobile overlay menu: center the links ---- */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--wp--preset--color--base);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: center;
  justify-content: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: center;
  text-align: center;
  gap: 1.3rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  justify-content: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--wp--preset--font-family--vollkorn);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
}

/* ---- JS parallax layers (works on mobile too) ---- */
.mna-parallax { overflow: hidden; }
.mna-parallax > *:not(.mna-parallax-layer):not(.mna-parallax-scrim) {
  position: relative;
  z-index: 2;
}
.mna-parallax-layer {
  position: absolute;
  left: 0; right: 0; top: -16%;
  height: 132%;
  z-index: 0;
  background: url(../img/circulo-apoyo.svg) center / cover no-repeat;
  will-change: transform;
}
.mna-parallax-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19,12,36,.80) 0%, rgba(19,12,36,.40) 34%, rgba(19,12,36,.30) 58%, rgba(19,12,36,.68) 100%);
}
/* Once JS builds the moving layer, drop the container's own fixed background to avoid doubling */
.mna-js-parallax { background-image: none !important; }

/* ===== Guía Mitos: tarjetas "¿Mito o Realidad?" ===== */
.mna-mitos { display: grid; gap: .9rem; margin-top: 1.6rem; }
.mna-myth { margin-top: 0; }
.mna-myth > details > summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-areas: "num badge claim toggle" "hint hint hint hint";
  align-items: center;
  gap: .4rem .7rem;
  padding: 1rem 1.25rem;
}
.myth-num {
  grid-area: num; width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 800; font-size: .82rem; color: #fff;
  background: var(--wp--preset--color--ciruela);
  transition: background .3s ease;
}
.mna-myth details[open] .myth-num { background: var(--wp--preset--color--coral-tinta); }
.myth-badge {
  grid-area: badge; justify-self: start;
  font-family: var(--wp--preset--font-family--manrope);
  font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .28em .7em; border-radius: 999px;
  color: var(--wp--preset--color--ciruela);
  background: color-mix(in srgb, var(--wp--preset--color--ciruela) 12%, var(--wp--preset--color--base));
  border: 1px dashed color-mix(in srgb, var(--wp--preset--color--ciruela) 45%, transparent);
}
.myth-claim {
  grid-area: claim; min-width: 0;
  font-family: var(--wp--preset--font-family--vollkorn);
  font-weight: 600; font-size: 1.08rem; line-height: 1.3;
  color: var(--wp--preset--color--contrast);
}
.myth-hint {
  grid-area: hint;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--wp--preset--color--coral-tinta);
}
.mna-myth details[open] .myth-hint { visibility: hidden; }
.reality-badge {
  display: inline-flex; align-items: center; gap: .4em; margin: 0 0 .55rem;
  font-family: var(--wp--preset--font-family--manrope);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--wp--preset--color--coral-tinta);
  padding: .3em .8em; border-radius: 999px;
}
.reality-ico { width: 15px; height: 15px; display: block; }
.reality-text { margin: 0; }
.mna-myth .acc-body .mna-verse { margin-top: .9rem; }
@media (max-width: 520px) {
  .mna-myth > details > summary { grid-template-columns: auto 1fr auto; grid-template-areas: "num claim toggle" "badge badge badge" "hint hint hint"; }
  .myth-claim { font-size: 1rem; }
}

/* ===== Guía Derechos: "Carta de derechos" ===== */
.mna-carta { margin-top: 1.6rem; }
.mna-carta-head { text-align: center; max-width: 42rem; margin: 0 auto; }
.mna-carta-eyebrow {
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem; color: var(--wp--preset--color--coral-tinta); margin: 0 0 .4rem;
}
.mna-carta-lead {
  font-family: var(--wp--preset--font-family--vollkorn);
  font-size: 1.2rem; line-height: 1.55; font-style: italic;
  color: var(--wp--preset--color--ciruela); margin: 0;
}
.mna-carta-tree .mna-node > summary .q {
  margin: 0; font-family: var(--wp--preset--font-family--manrope);
  font-weight: 700; font-size: 1.02rem; line-height: 1.35;
  color: var(--wp--preset--color--contrast); flex: 1;
}
.mna-carta-tree .mna-node .leaf::before {
  content: ""; display: block; width: 34px; height: 3px; margin: 0 0 .7rem;
  background: var(--wp--preset--gradient--amanecer); border-radius: 3px;
}
.mna-carta-seal {
  margin: 2.6rem auto 0; max-width: 44rem; text-align: center;
  padding: 1.8rem 1.4rem; border-radius: 22px;
  background: linear-gradient(160deg, #FDEFE4 0%, #F7DEC9 100%);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--dorado) 45%, transparent);
}
.mna-seal { display: inline-flex; width: 62px; height: 62px; margin-bottom: .5rem; }
.mna-seal svg { width: 100%; height: 100%; }
.mna-carta-exige {
  font-family: var(--wp--preset--font-family--vollkorn);
  font-weight: 700; font-size: 1.2rem; line-height: 1.4;
  color: var(--wp--preset--color--ciruela); margin: 0 0 .6rem;
}
.mna-carta-fuente {
  display: block; font-style: normal;
  font-family: var(--wp--preset--font-family--manrope);
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  color: var(--wp--preset--color--coral-tinta);
}

/* ===== Guía Jóvenes: pasos + frases ===== */
.mna-stepchip {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 2.8rem 0 .2rem; padding: .34em .95em .34em .34em; border-radius: 999px;
  background: color-mix(in srgb, var(--wp--preset--color--coral) 12%, var(--wp--preset--color--nube));
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--coral) 30%, transparent);
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 800; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--wp--preset--color--coral-tinta);
}
.mna-stepchip .n {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--wp--preset--gradient--amanecer); color: #fff; font-size: .85rem; font-weight: 800;
}
.mna-saylist {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: .9rem; margin: 1.2rem 0 0;
}
.mna-say {
  position: relative; margin: 0;
  background: var(--wp--preset--color--nube);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
  border-radius: 14px; padding: 1rem 1.1rem 1rem 2rem;
  font-family: var(--wp--preset--font-family--vollkorn);
  font-size: 1.06rem; line-height: 1.5; color: var(--wp--preset--color--contrast);
}
.mna-say::before {
  content: "\201C"; position: absolute; top: .3rem; left: .55rem;
  font-family: var(--wp--preset--font-family--vollkorn); font-size: 2rem; line-height: 1;
  color: color-mix(in srgb, var(--wp--preset--color--coral) 55%, transparent);
}
.mna-instr {
  font-family: var(--wp--preset--font-family--manrope); font-weight: 700;
  color: var(--wp--preset--color--coral-tinta); margin: 1.4rem 0 .2rem; font-size: .95rem;
}
.mna-guide-note { font-size: .85rem; color: var(--wp--preset--color--ciruela); opacity: .85; margin-top: 2rem; }

/* ===== QA fixes (revisión multi-agente) ===== */
/* Foco de teclado visible en acordeones (no recortado por overflow:hidden) */
.mna-acc summary:focus-visible { outline: 3px solid var(--wp--preset--color--dorado); outline-offset: -3px; border-radius: 12px; }
/* Mitos: fijar el toggle en su celda y colapsar la fila del hint al abrir */
.mna-myth > details > summary::after { grid-area: toggle; justify-self: end; align-self: center; }
.mna-myth details[open] > summary { grid-template-areas: "num badge claim toggle"; }
.mna-myth details[open] .myth-hint { display: none; }
@media (max-width: 520px) { .mna-myth details[open] > summary { grid-template-areas: "num claim toggle" "badge badge badge"; } }
/* Contraste: nodo/árbol abierto (blanco sobre ciruela en vez de coral claro) */
.mna-branch:has(details[open]) .dot { background: var(--wp--preset--color--ciruela); }
/* Contraste: pestañas inactivas del control segmentado */
.mna-tab { color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent); }

/* Banda parallax: el título debe llenar el ancho (no "balancear" en líneas cortas) */
.mna-parallax h2 { text-wrap: wrap; text-wrap: pretty; }
/* Banda parallax: elementos de texto a ancho completo (no ancho de contenido) */
.mna-parallax > :not(.mna-parallax-layer):not(.mna-parallax-scrim) { width: 100%; }
