/* Mundi Testimonials 1.0.6 - top-aligned identity cards */
.mundi-testimonials{--mt-accent:#3667b0;--mt-text:#232b37;--mt-muted:#647084;--mt-surface:#fff;--mt-line:#e3e8ef;position:relative;width:100%;color:var(--mt-text);font-family:inherit}
.mundi-testimonials *{box-sizing:border-box}.mundi-testimonials .mt-viewport{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;outline-offset:4px}
.mundi-testimonials .mt-viewport::-webkit-scrollbar{display:none}.mundi-testimonials .mt-track{display:flex;align-items:stretch;gap:var(--mt-gap);padding:4px 2px 12px}
.mundi-testimonials .mt-card{flex:0 0 calc((100% - (var(--mt-desktop) - 1)*var(--mt-gap))/var(--mt-desktop));min-width:0;min-height:var(--mt-min-height);scroll-snap-align:start;background:var(--mt-surface);border:1px solid var(--mt-line);border-radius:16px;padding:clamp(20px,2.5vw,30px);display:flex;flex-direction:column;box-shadow:0 8px 30px rgba(21,40,70,.055)}
.mundi-testimonials .mt-stars{color:#e3a941;letter-spacing:.075em;margin-bottom:12px;font-size:20px}.mundi-testimonials .mt-star-off{color:#c7cdd4}.mundi-testimonials .mt-quote{margin:0;padding:0;border:0;font-size:clamp(16px,1.6vw,19px);line-height:1.6;overflow-wrap:anywhere}
/* Identity stays in the first row, independent of the optional metadata. */
.mundi-testimonials .mt-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;min-width:0;margin:0 0 12px}
.mundi-testimonials .mt-identity{display:flex;align-items:center;gap:14px;min-height:56px;min-width:0;flex:1}
.mundi-testimonials .mt-photo{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:0 0 56px}
.mundi-testimonials .mt-identity-text{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:3px;overflow-wrap:anywhere}
.mundi-testimonials .mt-name{font-size:16px;font-weight:700;line-height:1.35}
.mundi-testimonials .mt-company{font-size:13px;color:var(--mt-muted);line-height:1.4}
.mundi-testimonials .mt-logo{width:auto;max-width:74px;max-height:44px;object-fit:contain;flex:none;align-self:center}
.mundi-testimonials .mt-extra{display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:13px;line-height:1.45;color:var(--mt-muted);margin:0 0 20px;overflow-wrap:anywhere}
.mundi-testimonials .mt-extra .mt-address{white-space:normal}
.mundi-testimonials .mt-link{display:inline-block;align-self:flex-start;color:var(--mt-accent);margin-top:5px;text-decoration:none;font-size:13px;font-weight:600}
.mundi-testimonials .mt-link:hover{text-decoration:underline}
.mundi-testimonials .mt-testimonial-body{border-top:1px solid var(--mt-line);padding-top:18px;min-width:0;flex:1}
.mundi-testimonials .mt-controls{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}.mundi-testimonials .mt-controls button{all:unset;box-sizing:border-box;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--mt-line);border-radius:50%;background:var(--mt-surface);cursor:pointer;color:var(--mt-text);font-size:20px}.mundi-testimonials button:focus-visible{outline:2px solid var(--mt-accent);outline-offset:3px}.mundi-testimonials .mt-controls button:hover{background:var(--mt-accent);color:white}
.mundi-testimonials .mt-dots{display:flex;justify-content:center;gap:8px;margin-top:14px;flex-wrap:wrap}.mundi-testimonials .mt-dots button{height:9px;width:9px;border-radius:50%;background:#ccd2dc;border:0;padding:0;cursor:pointer}.mundi-testimonials .mt-dots button[aria-current="true"]{background:var(--mt-accent);width:24px;border-radius:6px}
.mundi-testimonials.mt-minimal .mt-card{box-shadow:none;border-radius:6px}.mundi-testimonials.mt-accent .mt-card{background:#f4f7fc;border-color:#d6e1f2}.mundi-testimonials.mt-accent .mt-quote:before{content:'“';display:block;color:var(--mt-accent);font-family:Georgia,serif;font-size:55px;line-height:.75;margin-bottom:10px}
@media(max-width:980px){.mundi-testimonials .mt-card{flex-basis:calc((100% - (var(--mt-tablet) - 1)*var(--mt-gap))/var(--mt-tablet))}}
@media(max-width:600px){.mundi-testimonials .mt-card{flex-basis:calc((100% - (var(--mt-mobile) - 1)*var(--mt-gap))/var(--mt-mobile));padding:20px}}
@media(prefers-reduced-motion:reduce){.mundi-testimonials .mt-viewport{scroll-behavior:auto}}
