/*
Theme Name: Mahina Site Repairs
Description: Child theme for the installed Mahina Emotional Alchemy theme. Repairs audited public journeys without replacing the parent theme or learning plugins.
Author: Mahina Perrot
Template: mahina-emotional-alchemy
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: mahina-audit-repair
License: GPL-2.0-or-later
*/

.mp-repair-support-steps { margin: 1rem 0; padding: 1rem 1.25rem; border: 1px solid #b2a478; border-radius: 12px; background: #fffdf7; color: #243b34; line-height: 1.65; }
.mp-repair-support-steps ol { margin: .5rem 0 0; padding-left: 1.4rem; }
.mp-repair-support-steps a { color: inherit; text-decoration: underline; }
.mea-j2-support .mea-j2-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mea-j32-plan-price strong { font-variant-numeric: tabular-nums; }

.mp-repair-client-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mp-repair-client-quotes blockquote { min-width: 0; margin: 0; padding: clamp(1.25rem, 3vw, 2rem); background: #fffdf8; color: #243b34; border: 1px solid #d8d4c5; border-radius: 12px; }
.mp-repair-client-quotes blockquote p { margin: 0 0 1.25rem; font-size: .93rem; line-height: 1.68; }
.mp-repair-client-quotes footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; color: #405c50; }
.mp-repair-client-quotes footer strong { color: #243b34; }
.mp-repair-client-quotes footer small { flex-basis: 100%; }
.mp-repair-client-quotes blockquote:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Reserve active-page styling for the actual page, not the promoted portal. */
.mp-menu-world > a:not([aria-current="page"])::after { display: none !important; }

@media (max-width: 600px) {
  .mp-repair-client-quotes { grid-template-columns: minmax(0, 1fr); }
  .mea-j32-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .mea-j32-plan { min-width: 0; }
  .mea-j2-support .mea-j2-actions a { max-width: 100%; white-space: normal; }
}

/* Native disclosure keeps the additional reviews collapsed until requested. */
.mp-repair-more-testimonials { padding: 0 0 clamp(2rem, 5vw, 4rem); }
.mp-repair-testimonial-dropdown > summary { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 44px; padding: .75rem 1rem; color: #243b34; cursor: pointer; list-style: none; font-size: 1rem; }
.mp-repair-testimonial-dropdown > summary::-webkit-details-marker { display: none; }
.mp-repair-testimonial-dropdown > summary:focus-visible { outline: 2px solid #405c50; outline-offset: 4px; border-radius: 4px; }
.mp-repair-testimonial-arrow { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex: 0 0 auto; margin-top: -4px; }
.mp-repair-testimonial-dropdown[open] > summary .mp-repair-testimonial-arrow { transform: rotate(225deg); margin-top: 4px; }
.mp-repair-testimonial-dropdown > .mp-repair-client-quotes { margin-top: 1.25rem; }
.mp-repair-testimonial-dropdown:not([open]) > .mp-repair-client-quotes { display: none; }

/* 1.1.2: keep legacy/static testimonial typography aligned with catalogue cards. */
[data-mprv-legacy] > p { font-size: .93rem !important; line-height: 1.68 !important; }


/* 1.2.1 contextual SEO navigation. Deliberately quiet so the existing design remains primary. */
.mpseo-links{margin:clamp(2rem,5vw,4.5rem) auto 0;padding:0 1.25rem;max-width:1180px}
.mpseo-links-inner{border:1px solid rgba(30,53,45,.14);border-radius:22px;padding:clamp(1.35rem,3vw,2.25rem);background:rgba(255,255,255,.72);box-shadow:0 14px 34px rgba(30,53,45,.06)}
.mpseo-links h2{margin:.3rem 0 .65rem;font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.2}
.mpseo-links p{max-width:760px;margin:.55rem 0;line-height:1.7}
.mpseo-kicker{font-size:.78rem!important;letter-spacing:.12em;text-transform:uppercase;font-weight:700;opacity:.72}
.mpseo-link-row{display:flex;gap:.75rem 1.25rem;flex-wrap:wrap;margin-top:1rem!important}
.mpseo-link-row a{font-weight:700;text-underline-offset:.2em}
@media(max-width:640px){.mpseo-link-row{display:grid}.mpseo-links{padding:0 .9rem}}
