.malafi-place-gallery{width:100%;min-width:0;background:#f3f1e9;overflow:hidden}
.mpg-stage{position:relative;aspect-ratio:16/10;max-height:440px;min-height:180px;touch-action:pan-y;display:grid;place-items:center;background:#e6e7df}
.mpg-stage>img,.mpg-stage>video{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}
.mpg-stage>img{animation:mpg-reveal .16s ease-out}
.mpg-controls{display:flex;align-items:center;justify-content:center;gap:10px;padding:4px 8px;min-height:52px}
.mpg-controls[hidden]{display:none}.mpg-controls button,.mpg-play{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #a9b9b0;border-radius:50%;background:#faf7ef;color:#173a31;cursor:pointer}
.mpg-dots{display:flex;flex:1;justify-content:center;flex-wrap:wrap;gap:0}.mpg-dots button{min-width:16px;min-height:32px;border:0;background:transparent;border-radius:0;padding:0}.mpg-dots button:after{content:'';width:6px;height:6px;border-radius:50%;background:#a9b9b0}.mpg-dots button[aria-current=true]:after{background:#173a31}.mpg-counter{font-size:12px;white-space:nowrap}.mpg-play{z-index:1;width:60px;height:60px}.mpg-credit{position:absolute;bottom:8px;inset-inline-end:8px;background:#faf7efe8;padding:4px 8px;font-size:12px;color:#173a31;max-width:80%;overflow-wrap:anywhere}
.malafi-place-gallery button:focus-visible{outline:3px solid #987438;outline-offset:2px}
@keyframes mpg-reveal{from{opacity:.6}to{opacity:1}}@media(prefers-reduced-motion:reduce){.mpg-stage>img{animation:none}}
