/* MultithumbNeo 2.0.3 | GNU GPL v2 or later */
.mtneo-image { max-width: 100%; height: auto; }
.mtneo-link { display: inline-block; cursor: zoom-in; }
.mtneo-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.mtneo-figure { display: inline-block; max-width: 100%; margin: .5rem; }
.mtneo-figure figcaption { text-align: center; overflow-wrap: anywhere; }
.mtneo-modal .modal-body { text-align: center; }
.mtneo-modal .mtneo-full { display: block; max-width: 100%; max-height: 75vh; width: auto; height: auto; margin: auto; }
.mtneo-modal .mtneo-full[hidden] { display: none; }
.mtneo-modal .modal-title { overflow-wrap: anywhere; }
.mtneo-modal .modal-footer { justify-content: center; }
.mtneo-counter { min-width: 5rem; text-align: center; }
.mtneo-viewer[hidden] { display: none; }
.mtneo-viewer { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 1rem; }
.mtneo-viewer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); }
.mtneo-viewer-panel { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .75rem; width: min(96vw, 1500px); max-height: 96vh; color: #fff; }
.mtneo-viewer-toolbar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.mtneo-viewer-close, .mtneo-viewer-prev, .mtneo-viewer-next { color: #fff; background: rgba(30,30,30,.88); border: 1px solid #aaa; border-radius: .25rem; padding: .65rem .9rem; cursor: pointer; font: inherit; }
.mtneo-viewer-close { margin-left: auto; }
.mtneo-viewer-prev, .mtneo-viewer-next { font-size: 2rem; min-width: 3rem; }
.mtneo-viewer-prev:disabled, .mtneo-viewer-next:disabled { opacity: .4; cursor: default; }
.mtneo-viewer-content { min-width: 0; text-align: center; }
.mtneo-viewer-image { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; margin: auto; object-fit: contain; }
.mtneo-viewer-caption { margin: .5rem 0 0; overflow-wrap: anywhere; }
.mtneo-viewer-error { color: #fff; }
body.mtneo-viewer-open { overflow: hidden; }
@media (max-width: 600px) { .mtneo-viewer { padding: .35rem; } .mtneo-viewer-panel { gap: .25rem; width: 100%; } .mtneo-viewer-prev, .mtneo-viewer-next { min-width: 2.25rem; padding: .4rem; font-size: 1.5rem; } }
.mtneo-gallery { display: grid; grid-template-columns: repeat(var(--mtneo-columns, 3), minmax(0, 1fr)); gap: .75rem; margin-block: 1rem; }
.mtneo-gallery-source-wrap { display: none; }
.mtneo-gallery-cell { min-width: 0; }
.mtneo-gallery-cell img { display: block; max-width: 100%; height: auto; }
.mtneo-gallery-hidden { display: none; }
.mtneo-gallery-more { grid-column: 1 / -1; justify-self: center; }
.mtneo-gallery-source { max-width: 100%; height: auto; }
@media (max-width: 600px) { .mtneo-gallery { grid-template-columns: repeat(min(var(--mtneo-columns, 3), 2), minmax(0, 1fr)); } }
