/* Joomla/Bootstrap gallery modal styles. */
.mml-gallery-core-modal{z-index:2147482800;color:#141414}
.mml-gallery-core-modal .modal-dialog{max-width:min(1100px,95vw)}
.mml-gallery-core-modal .modal-content{background:#fdfdfd;border:1px solid #444;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.35);overflow:hidden}
.mml-gallery-core-modal .modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;padding:12px 18px}
.mml-gallery-core-modal .modal-title{color:#141414!important;font:600 17px/1.4 system-ui,sans-serif;margin:0}
.mml-gallery-core-modal .btn-close{border:0;background:transparent;color:#111;opacity:1;cursor:pointer;font-size:26px;line-height:1;width:38px;height:38px;padding:0;display:grid;place-items:center}
.mml-gallery-core-modal__body{background:#101010;color:#fff;display:grid;grid-template-columns:minmax(40px,60px) minmax(0,1fr) minmax(40px,60px);align-items:center;gap:8px;padding:18px!important;min-height:230px}
.mml-gallery-core-modal__figure{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;margin:0}
.mml-gallery-core-modal__image{display:block;max-width:100%;max-height:min(72vh,750px);object-fit:contain}
.mml-gallery-core-modal__counter{margin-top:12px;color:#fff;font:500 13px/1.4 system-ui,sans-serif}
.mml-gallery-core-modal [data-mml-gallery-step]{border:1px solid #777;border-radius:100%;background:#222;color:#fff;cursor:pointer;font:300 35px/1;width:40px;height:40px;display:grid;place-items:center;padding:0}
.mml-gallery-core-modal [data-mml-gallery-step][hidden]{display:none}
.mml-gallery-core-modal button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:600px){.mml-gallery-core-modal__body{padding:8px!important;grid-template-columns:35px minmax(0,1fr) 35px;gap:3px}.mml-gallery-core-modal [data-mml-gallery-step]{width:33px;height:33px;font-size:25px}}
@media(prefers-reduced-motion:reduce){.mml-gallery-core-modal.fade{transition:none!important}}
