.matlacha{max-width:960px;margin:2rem auto;color:inherit}.matlacha h3{text-align:center;font:inherit;font-size:clamp(1.25rem,2.8vw,1.8rem);font-weight:600;margin:0 0 1rem}.matlacha figure{margin:0}.matlacha-stage{position:relative;width:100%;height:clamp(240px,42vw,460px);overflow:hidden;background:#edf0eb;border-radius:12px}.matlacha-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--focal-desktop,50% 50%);opacity:1;background:#edf0eb;transition:opacity 1100ms ease-in-out;animation:matlacha-pan var(--motion-duration,4600ms) linear both;animation-play-state:paused;transform-origin:50% 50%}.matlacha-photo.is-entering{opacity:0}.matlacha figcaption{display:flex;justify-content:space-between;gap:1rem;padding:.5rem .1rem;font-size:.8rem;min-height:1.5em}.matlacha-controls{display:flex;justify-content:center;gap:.5rem}.matlacha-controls button{font:inherit;font-size:.85rem;min-width:64px;min-height:44px;border:1px solid currentColor;border-radius:100px;background:transparent;color:inherit;padding:.4rem .9rem;cursor:pointer}.matlacha-controls button:focus-visible{outline:3px solid #b56622;outline-offset:3px}.matlacha-controls button:disabled{opacity:.55;cursor:default}.matlacha-status{font-size:.85rem;text-align:center;margin:.4rem 0;min-height:1em}.matlacha-status:empty{display:none}@media(prefers-reduced-motion:reduce){.matlacha-photo{transition:none}}@media(max-width:480px){.matlacha{margin:1.5rem 0}.matlacha-stage{height:280px;border-radius:8px}}

.matlacha[data-motion="running"] .matlacha-photo:not(.is-outgoing){animation-play-state:running}.matlacha-photo.is-outgoing{animation-play-state:paused!important}@keyframes matlacha-pan{from{transform:scale(1.04) translateX(0)}to{transform:scale(var(--zoom-end,1.16)) translateX(var(--pan-end,3%))}}@media(prefers-reduced-motion:reduce){.matlacha-photo{animation:none!important;transform:none;transition:none}}

@media(max-width:480px){.matlacha-photo{object-position:var(--focal-mobile,50% 50%)}}

.matlacha figcaption{flex-wrap:wrap}.matlacha-credit{color:inherit;text-underline-offset:3px;font-size:.75rem}.matlacha-credit[hidden]{display:none}

/* Quiet carousel: no visible metadata or permanent controls row. */
.matlacha{position:relative;margin-bottom:0}
.matlacha figcaption{display:none}
.matlacha+.beyond-grid{margin-top:12px}
.matlacha-controls{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.matlacha-controls:focus-within,.matlacha:has(.matlacha-status:not(:empty)) .matlacha-controls{width:max-content;height:auto;margin:0;clip:auto;overflow:visible;white-space:normal;left:50%;bottom:12px;transform:translateX(-50%);z-index:3;padding:6px;border-radius:8px;background:#fff;color:#153e56;box-shadow:0 1px 8px #153e5633}
.matlacha-status:not(:empty){position:absolute;bottom:76px;left:8px;right:8px;z-index:3;margin:0;padding:6px 8px;background:#fff;color:#153e56;border-radius:4px}
