/* All styles scoped to the gallery, including Elementor button overrides. */
.srmg{--srmg-blue:#1361cc;position:relative;width:100%;max-width:var(--srmg-width,1400px);margin:0 auto 24px;box-sizing:border-box;isolation:isolate}.srmg *,.srmg *:before,.srmg *:after{box-sizing:border-box}.srmg [hidden]{display:none!important}.srmg .srmg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:2/1;gap:10px}.srmg .srmg-tile,.srmg .srmg-thumb{display:block;position:relative;min-width:0;min-height:0;width:100%;height:100%;padding:0;border:0;border-radius:10px;overflow:hidden;background:#edf0f4;cursor:pointer;box-shadow:none}.srmg .srmg-main{grid-column:span 2;grid-row:span 2}.srmg .srmg-tile picture,.srmg .srmg-tile img,.srmg .srmg-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;margin:0;border-radius:0}.srmg .srmg-tile img{transition:transform .3s ease}.srmg .srmg-count-1 .srmg-main{grid-column:1/-1}.srmg .srmg-count-2 .srmg-tile:nth-child(2){grid-column:span 2;grid-row:span 2}.srmg .srmg-count-3 .srmg-tile:nth-child(n+2){grid-column:span 2}.srmg .srmg-count-4 .srmg-tile:nth-child(4){grid-column:span 2}.srmg .srmg-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;display:grid;place-items:center;padding-left:3px;border-radius:50%;background:rgba(0,0,0,.66);color:white;font:20px/1 system-ui,sans-serif;pointer-events:none}.srmg .srmg-all{position:absolute;bottom:18px;right:18px;display:flex;align-items:center;gap:7px;padding:10px 16px;background:rgba(0,0,0,.56);border:1px solid white;border-radius:8px;color:white;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer;box-shadow:none}.srmg .srmg-all:hover{background:var(--srmg-blue);color:#fff}.srmg button:focus-visible{outline:3px solid var(--srmg-blue);outline-offset:-3px}.srmg .srmg-dialog{position:fixed;inset:0;width:min(1400px,96vw);height:92vh;height:92dvh;max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:14px;background:#fff;color:#111;overflow:hidden;box-shadow:0 12px 60px #0003}.srmg .srmg-dialog:not([open]){display:none}.srmg .srmg-dialog::backdrop{background:#000d}.srmg .srmg-header{height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;border-bottom:1px solid #e5e7eb}.srmg .srmg-back{padding:6px 0;color:var(--srmg-blue);font:inherit;font-size:14px;font-weight:600;background:transparent;border:0;cursor:pointer;box-shadow:none}.srmg .srmg-counter{margin-left:auto;color:#62666c;font-size:13px;white-space:nowrap}.srmg .srmg-close,.srmg .srmg-prev,.srmg .srmg-next{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:0;border-radius:50%;font:28px/1 system-ui,sans-serif;cursor:pointer;box-shadow:none}.srmg .srmg-close{background:#edf0f4;color:#111}.srmg .srmg-thumbs{height:calc(100% - 64px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;gap:12px;padding:20px;overflow:auto;overscroll-behavior:contain}.srmg .srmg-thumb{aspect-ratio:1;height:auto}.srmg .srmg-viewer{position:relative;display:flex;align-items:center;justify-content:center;height:calc(100% - 64px);background:#101114}.srmg .srmg-display{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.srmg .srmg-display img,.srmg .srmg-display video{display:block;width:100%;height:100%;object-fit:contain;margin:0}.srmg .srmg-prev,.srmg .srmg-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:#000a;color:#fff}.srmg .srmg-prev{left:12px}.srmg .srmg-next{right:12px}.srmg .srmg-error{padding:20px;color:white;text-align:center}.srmg .srmg-error a{color:white;text-decoration:underline}
@media(hover:hover){.srmg .srmg-tile:hover img{transform:scale(1.035)}}
@media(max-width:1024px){.srmg .srmg-grid{gap:8px}.srmg .srmg-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}.srmg .srmg-play{width:44px;height:44px;font-size:17px}}
@media(max-width:767px){.srmg{margin-bottom:18px}.srmg .srmg-grid{display:flex;aspect-ratio:auto;height:clamp(260px,85vw,420px);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:8px}.srmg .srmg-grid::-webkit-scrollbar{display:none}.srmg .srmg-tile{flex:0 0 90%;height:100%;scroll-snap-align:start;border-radius:9px}.srmg .srmg-count-1 .srmg-tile{flex-basis:100%}.srmg .srmg-all{bottom:12px;right:12px;font-size:12px;padding:8px 11px}.srmg .srmg-dialog{width:100vw;height:100vh;height:100dvh;border-radius:0}.srmg .srmg-header{padding:10px 12px;height:60px}.srmg .srmg-back{font-size:12px}.srmg .srmg-thumbs{height:calc(100% - 60px);grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}.srmg .srmg-viewer{height:calc(100% - 60px)}.srmg .srmg-prev,.srmg .srmg-next{width:34px;height:34px;font-size:23px}}
@media(prefers-reduced-motion:reduce){.srmg .srmg-tile img{transition:none}}
