.mg-gallery{--mg-bg:#0b0b0b;--mg-text:#fff;--mg-accent:#fff;--mg-arrow:#ff3333;--mg-on-accent:#111;background:var(--mg-bg);color:var(--mg-text);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;width:100%;max-width:none;position:relative;isolation:isolate;padding-bottom:24px}
.mg-gallery *{box-sizing:border-box}.mg-gallery [hidden]{display:none!important}.mg-gallery p{margin:8px 0}.mg-gallery button,.mg-gallery a{font-family:inherit}.mg-gallery button{cursor:pointer}.mg-gallery button:disabled{opacity:.5;cursor:wait}.mg-gallery button:focus-visible,.mg-gallery a:focus-visible{outline:3px solid var(--mg-arrow);outline-offset:4px}
.mg-gallery .mg-hero{height:clamp(310px,55vw,680px);position:relative;background:#181818;overflow:hidden}.mg-gallery .mg-hero-photo{width:100%;height:100%;object-fit:cover;display:block}.mg-gallery .mg-hero-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(24px,4vw,56px);background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff}.mg-gallery .mg-hero-content h2{margin:4px 0 12px;color:#fff;font-size:clamp(30px,5vw,68px);line-height:1.1;font-weight:700;overflow-wrap:anywhere}.mg-gallery .mg-eyebrow{font-size:12px;letter-spacing:3px}.mg-gallery .mg-hero-content p{color:#fff}
.mg-gallery .mg-intro{text-align:center;padding:40px 20px 12px}.mg-gallery .mg-intro h2,.mg-gallery .mg-intro h3{color:var(--mg-text);margin:0 0 12px;overflow-wrap:anywhere}.mg-gallery .mg-intro h3{font-size:clamp(19px,2.5vw,28px)}.mg-gallery .mg-intro p{opacity:.78;max-width:760px;margin:0 auto}
.mg-gallery .mg-upload{margin:20px auto 26px;padding:22px;border:1px solid color-mix(in srgb,var(--mg-text) 22%,transparent);border-radius:10px;background:color-mix(in srgb,var(--mg-bg) 94%,var(--mg-text));width:calc(100% - 32px);max-width:760px}.mg-gallery .mg-upload strong{font-weight:600}.mg-gallery .mg-upload p{font-size:14px}.mg-gallery .mg-upload-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.mg-gallery .mg-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;border:1px solid color-mix(in srgb,var(--mg-text) 30%,transparent);border-radius:8px;padding:10px 18px;background:var(--mg-bg);color:var(--mg-text);font-size:14px;line-height:1.4;font-weight:500;box-shadow:none}.mg-gallery .mg-primary{background:var(--mg-accent);color:var(--mg-on-accent);border-color:var(--mg-accent)}.mg-gallery .mg-quota{opacity:.8}.mg-gallery progress{display:block;width:100%;accent-color:var(--mg-accent);height:8px}.mg-gallery .mg-status{text-align:center;padding:0 16px;font-size:14px}.mg-gallery .mg-more{display:flex;margin:16px auto}
.mg-gallery .mg-grid{columns:4;column-gap:12px;padding:20px 24px 0;max-width:1600px;margin:0 auto}.mg-gallery .mg-photo{display:block;break-inside:avoid;width:100%;margin:0 0 12px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;overflow:hidden}.mg-gallery .mg-photo img{width:100%;height:auto;display:block;border-radius:0;margin:0;transition:filter .2s}.mg-gallery .mg-photo:hover img{filter:brightness(.92)}
.mg-gallery .mg-viewer{background:#080808;color:#fff;position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:48px 12px 16px;border:0;border-radius:0;overflow:hidden}.mg-gallery .mg-viewer::backdrop{background:rgba(0,0,0,.92)}.mg-gallery .mg-viewer[open]{display:flex;flex-direction:column;align-items:center}.mg-gallery .mg-close{position:absolute;right:12px;top:4px;z-index:3;border:0;background:transparent;color:#fff;font-size:36px;width:44px;height:44px;line-height:1;padding:0}.mg-gallery .mg-image-stage{position:relative;width:100%;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.mg-gallery .mg-image-stage>img{display:block;width:100%;height:100%;object-fit:contain;touch-action:pan-y;user-select:none}.mg-gallery .mg-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(25,0,0,.15);color:var(--mg-arrow);opacity:.65;border:0;border-radius:8px;width:52px;height:66px;padding:0;line-height:1;font-size:64px;z-index:2;box-shadow:none}.mg-gallery .mg-arrow:hover,.mg-gallery .mg-arrow:focus-visible{opacity:1;background:rgba(25,0,0,.35)}.mg-gallery .mg-prev{left:0}.mg-gallery .mg-next{right:0}.mg-gallery .mg-viewer-footer{padding-top:14px;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;width:100%;flex-shrink:0}.mg-gallery .mg-viewer-footer span{font-size:13px;color:#ccc}.mg-gallery .mg-download{background:#171717;color:#fff;border:1px solid #444}
@media(max-width:1000px){.mg-gallery .mg-grid{columns:3;padding-left:16px;padding-right:16px}}
@media(max-width:600px){.mg-gallery .mg-grid{columns:2;column-gap:8px;padding:18px 10px 0}.mg-gallery .mg-photo{margin-bottom:8px}.mg-gallery .mg-intro{padding-top:28px}.mg-gallery .mg-upload{padding:16px}.mg-gallery .mg-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mg-gallery .mg-button{padding:10px 8px}.mg-gallery .mg-arrow{width:44px;height:58px;font-size:58px}.mg-gallery .mg-viewer{padding-left:4px;padding-right:4px}}
@media(prefers-reduced-motion:reduce){.mg-gallery .mg-photo img{transition:none}}
/* Configurable event design. Defaults preserve the original masonry. */
.mg-gallery{padding-top:var(--mg-top-space,0px)}
.mg-gallery .mg-hero{height:var(--mg-cover-height,680px)}
.mg-gallery .mg-hero-photo{object-position:var(--mg-cover-position,50% 50%)}
.mg-gallery .mg-grid{columns:var(--mg-cols,4);column-gap:var(--mg-gap,12px);max-width:var(--mg-gallery-width,1600px);padding-left:var(--mg-side-space,24px);padding-right:var(--mg-side-space,24px)}
.mg-gallery .mg-photo{margin-bottom:var(--mg-gap,12px);border-radius:var(--mg-radius,0px)}
.mg-gallery .mg-photo img{border-radius:var(--mg-radius,0px)}
.mg-gallery.mg-align-left .mg-grid{margin-left:0;margin-right:auto}
.mg-gallery.mg-align-right .mg-grid{margin-left:auto;margin-right:0}
.mg-gallery.mg-layout-grid .mg-grid,.mg-gallery.mg-layout-featured .mg-grid{columns:auto;display:grid;grid-template-columns:repeat(var(--mg-cols,4),minmax(0,1fr));gap:var(--mg-gap,12px)}
.mg-gallery.mg-layout-grid .mg-photo,.mg-gallery.mg-layout-featured .mg-photo{margin:0;aspect-ratio:var(--mg-ratio,1/1);height:100%}
.mg-gallery.mg-layout-grid .mg-photo img,.mg-gallery.mg-layout-featured .mg-photo img{height:100%;object-fit:cover}
.mg-gallery.mg-layout-featured .mg-photo:first-child{grid-column:span var(--mg-feature-span,2);grid-row:span 2}
.mg-gallery.mg-layout-rows .mg-grid{columns:auto;display:flex;flex-wrap:wrap;gap:var(--mg-gap,12px)}
.mg-gallery.mg-layout-rows .mg-photo{flex:var(--mg-photo-ratio,1) 1 calc(var(--mg-photo-ratio,1)*210px);height:210px;width:auto;min-width:0;margin:0}
.mg-gallery.mg-layout-rows .mg-photo img{height:100%;object-fit:cover}
.mg-gallery .mg-upload-actions.mg-single-action{grid-template-columns:1fr}
.mg-gallery.mg-animation-fade .mg-photo.mg-enter{animation:mg-fade .35s ease both}
.mg-gallery.mg-animation-rise .mg-photo.mg-enter{animation:mg-rise .4s ease both}
.mg-gallery.mg-animation-zoom .mg-photo.mg-enter{animation:mg-zoom .35s ease both}
@keyframes mg-fade{from{opacity:.4}to{opacity:1}}
@keyframes mg-rise{from{opacity:.5;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes mg-zoom{from{opacity:.5;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:1000px){.mg-gallery .mg-grid{columns:var(--mg-cols-tablet,3)}.mg-gallery.mg-layout-grid .mg-grid,.mg-gallery.mg-layout-featured .mg-grid{columns:auto;grid-template-columns:repeat(var(--mg-cols-tablet,3),minmax(0,1fr))}.mg-gallery.mg-layout-featured .mg-photo:first-child{grid-column:span var(--mg-feature-span-tablet,2)}}
@media(max-width:600px){.mg-gallery .mg-hero{height:var(--mg-cover-mobile,340px)}.mg-gallery .mg-grid{columns:var(--mg-cols-mobile,2);padding-left:min(var(--mg-side-space,24px),24px);padding-right:min(var(--mg-side-space,24px),24px)}.mg-gallery.mg-layout-grid .mg-grid,.mg-gallery.mg-layout-featured .mg-grid{columns:auto;grid-template-columns:repeat(var(--mg-cols-mobile,2),minmax(0,1fr))}.mg-gallery.mg-layout-featured .mg-photo:first-child{grid-column:span var(--mg-feature-span-mobile,2)}.mg-gallery.mg-layout-rows .mg-grid{columns:auto}.mg-gallery.mg-layout-rows .mg-photo{height:160px;flex-basis:calc(var(--mg-photo-ratio,1)*160px)}}
@media(prefers-reduced-motion:reduce){.mg-gallery .mg-photo.mg-enter{animation:none!important}}
/* QHD reference: full-width cover, centered photo area and aligned cover text.
   Uses CSS viewport width, not physical monitor resolution. */
@media(min-width:2200px){
 .mg-gallery.mg-desktop-reference .mg-grid{max-width:1600px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
 .mg-gallery.mg-desktop-reference .mg-hero-content{padding-left:max(24px,calc((100% - 1600px)/2 + 24px));padding-right:max(24px,calc((100% - 1600px)/2 + 24px))}
}
/* Optional professional tools. */
.mg-gallery .mg-proof-form{background:var(--mg-proof-form-bg,#181818);color:var(--mg-proof-form-text,#fff);border-color:var(--mg-proof-form-border,#555);border-radius:var(--mg-proof-form-radius,16px)}
.mg-gallery .mg-proof-form h3,.mg-gallery .mg-proof-form label,.mg-gallery .mg-proof-form p{color:var(--mg-proof-form-text,#fff)}
.mg-gallery .mg-proof-instructions{box-sizing:border-box;max-width:1000px;width:calc(100% - 32px);margin:24px auto;padding:24px 28px;background:var(--mg-proof-instructions-bg,#ffe08a);color:var(--mg-proof-instructions-color,#2b2100);border:2px solid var(--mg-proof-instructions-border,#e32935);border-radius:var(--mg-proof-instructions-radius,18px);font-family:var(--mg-proof-instructions-font,system-ui);font-size:var(--mg-proof-instructions-size,17px);line-height:1.65;box-shadow:0 8px 24px #0002}
.mg-gallery .mg-proof-instructions h3{font:700 1.18em/1.4 var(--mg-proof-instructions-font,system-ui);color:inherit;margin:0 0 12px;display:flex;align-items:center;gap:12px}.mg-gallery .mg-proof-instructions h3:before{content:'✦';display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:50%;background:var(--mg-proof-instructions-border,#e32935);color:white;font-family:system-ui}.mg-gallery .mg-proof-instructions p{color:inherit;margin:0;white-space:normal}
.mg-gallery .mg-category-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:24px 16px 10px}.mg-gallery .mg-category{border-radius:24px}.mg-gallery .mg-category[aria-pressed=true]{background:var(--mg-arrow);color:white;border-color:var(--mg-arrow)}.mg-gallery .mg-category-description{max-width:900px;padding:0 16px;margin:0 auto 18px;text-align:center;opacity:.85}
.mg-gallery .mg-type-custom .mg-hero-content{font-family:var(--mg-title-font,inherit);text-align:var(--mg-title-align,left);align-items:stretch;justify-content:var(--mg-title-position,flex-end)}
.mg-gallery .mg-type-custom .mg-hero-content h2{font-family:var(--mg-title-font,inherit);font-size:var(--mg-title-size,64px)}
.mg-gallery .mg-proof-tools{display:flex;gap:16px;align-items:center;justify-content:center;padding:20px}
.mg-gallery .mg-proof-form{max-width:760px;margin:20px auto;padding:24px;border:1px solid #555;border-radius:12px}
.mg-gallery .mg-proof-form label{display:block;margin:12px 0}.mg-gallery .mg-proof-form input:not([type=checkbox]),.mg-gallery .mg-proof-form textarea{display:block;width:100%;min-height:42px;padding:10px;border:1px solid #666;border-radius:6px;background:var(--mg-bg);color:var(--mg-text)}
.mg-gallery form.mg-proof-form{background:var(--mg-proof-form-bg,#181818);color:var(--mg-proof-form-text,#fff);border-color:var(--mg-proof-form-border,#555);border-radius:var(--mg-proof-form-radius,16px)}
.mg-gallery form.mg-proof-form input:not([type=checkbox]),.mg-gallery form.mg-proof-form textarea{background:var(--mg-proof-form-field,#0b0b0b);color:var(--mg-proof-form-text,#fff)}.mg-gallery form.mg-proof-form button[type=submit]{background:var(--mg-proof-form-button,#e32935);color:var(--mg-proof-form-button-text,#fff);border-color:var(--mg-proof-form-button,#e32935)}
.mg-gallery .mg-proof-card{position:relative;break-inside:avoid;margin-bottom:var(--mg-gap,12px);min-width:0}.mg-gallery .mg-proof-card>.mg-photo{margin:0;width:100%}
.mg-gallery .mg-favorite{position:absolute;right:8px;top:8px;z-index:1;background:#0009;color:#fff;border:1px solid #fff8;border-radius:50%;width:44px;height:44px;line-height:1;font-size:28px;padding:0}.mg-gallery .mg-favorite[aria-pressed=true]{color:#ff3333;background:#fff}
.mg-gallery .mg-photo-label{display:block;padding:6px 4px;font-size:12px;overflow-wrap:anywhere}
.mg-gallery.mg-layout-grid .mg-proof-card,.mg-gallery.mg-layout-featured .mg-proof-card{margin:0}.mg-gallery.mg-layout-grid .mg-proof-card .mg-photo,.mg-gallery.mg-layout-featured .mg-proof-card .mg-photo{height:auto}
.mg-gallery.mg-layout-featured .mg-proof-card:first-child{grid-column:span var(--mg-feature-span,2);grid-row:span 2}.mg-gallery.mg-layout-featured .mg-proof-card:first-child .mg-photo{height:100%}
.mg-gallery.mg-layout-rows .mg-proof-card{flex:var(--mg-photo-ratio,1) 1 calc(var(--mg-photo-ratio,1)*210px);height:210px;margin:0}.mg-gallery.mg-layout-rows .mg-proof-card>.mg-photo{width:100%;height:100%}
.mg-gallery .mg-honeypot{position:absolute;left:-10000px;opacity:0;pointer-events:none}
.mg-access{max-width:480px;margin:40px auto;padding:28px;background:#111;color:white;border-radius:12px;font:16px/1.5 system-ui}.mg-access label{display:block}.mg-access input{display:block;width:100%;box-sizing:border-box;margin:12px 0;padding:12px}.mg-access button{padding:12px 20px;background:#e32935;color:white;border:0;border-radius:6px}
@media(max-width:1000px){.mg-gallery.mg-layout-featured .mg-proof-card:first-child{grid-column:span var(--mg-feature-span-tablet,2)}}
@media(max-width:600px){.mg-gallery .mg-type-custom .mg-hero-content h2{font-size:var(--mg-title-mobile,34px)}.mg-gallery .mg-proof-form{margin:20px 12px;padding:16px}.mg-gallery.mg-layout-featured .mg-proof-card:first-child{grid-column:span var(--mg-feature-span-mobile,2)}.mg-gallery.mg-layout-rows .mg-proof-card{height:160px;flex-basis:calc(var(--mg-photo-ratio,1)*160px)}}
/* Event cover variants. Gallery distribution stays independent. */
.mg-gallery .mg-cover-centered .mg-hero-content{text-align:center;align-items:center;justify-content:center}
.mg-gallery .mg-cover-centered .mg-hero-content{background:linear-gradient(transparent,rgba(0,0,0,.65))}
.mg-gallery .mg-hero-images{min-width:0;min-height:0;height:100%;overflow:hidden}
.mg-gallery .mg-cover-split,.mg-gallery .mg-cover-collage{display:grid;grid-template-columns:40% 60%;grid-template-rows:minmax(0,1fr);background:var(--mg-bg)}
.mg-gallery .mg-cover-split .mg-hero-content,.mg-gallery .mg-cover-collage .mg-hero-content{position:relative;inset:auto;justify-content:center;background:none;color:var(--mg-text);padding:clamp(24px,4vw,72px);min-width:0}
.mg-gallery .mg-cover-split .mg-hero-content h2,.mg-gallery .mg-cover-collage .mg-hero-content h2,.mg-gallery .mg-cover-split .mg-hero-content p,.mg-gallery .mg-cover-collage .mg-hero-content p{color:var(--mg-text)}
.mg-gallery .mg-cover-split .mg-hero-content h2,.mg-gallery .mg-cover-collage .mg-hero-content h2{font-size:clamp(30px,3.5vw,68px)}
.mg-gallery .mg-cover-split.mg-cover-photo-left,.mg-gallery .mg-cover-collage.mg-cover-photo-left{grid-template-columns:60% 40%}
.mg-gallery .mg-cover-photo-left .mg-hero-images{order:-1}
.mg-gallery .mg-cover-collage .mg-hero-images{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:24px}
.mg-gallery .mg-cover-collage .mg-hero-images .mg-hero-photo{min-height:0;border-radius:12px}
.mg-gallery .mg-cover-collage .mg-hero-images .mg-hero-photo:first-child{grid-row:span 2}
.mg-gallery .mg-cover-collage.mg-cover-count-2 .mg-hero-photo{grid-row:span 2}
.mg-gallery .mg-cover-collage.mg-cover-count-1 .mg-hero-photo{grid-row:span 2;grid-column:span 2}
.mg-gallery .mg-hero.mg-type-custom .mg-hero-content{font-family:var(--mg-title-font,inherit);text-align:var(--mg-title-align,left);align-items:stretch;justify-content:var(--mg-title-position,flex-end)}
.mg-gallery .mg-hero.mg-type-custom .mg-hero-content h2{font-family:var(--mg-title-font,inherit);font-size:var(--mg-title-size,64px)}
@media(max-width:600px){.mg-gallery .mg-hero.mg-type-custom .mg-hero-content h2{font-size:var(--mg-title-mobile,34px)}}
@media(max-width:800px){
 .mg-gallery .mg-cover-split,.mg-gallery .mg-cover-collage,.mg-gallery .mg-cover-split.mg-cover-photo-left,.mg-gallery .mg-cover-collage.mg-cover-photo-left{grid-template-columns:1fr;grid-template-rows:auto auto;height:auto}
 .mg-gallery .mg-cover-split .mg-hero-content,.mg-gallery .mg-cover-collage .mg-hero-content{padding:28px 24px;min-height:180px}
 .mg-gallery .mg-cover-split .mg-hero-images,.mg-gallery .mg-cover-collage .mg-hero-images{height:var(--mg-cover-mobile,340px);order:0}
 .mg-gallery .mg-cover-collage .mg-hero-images{padding:0 16px 16px;gap:8px}
}
/* Sections keep each category's masonry/grid independent. */
.mg-gallery .mg-sections{display:block;width:100%}.mg-gallery .mg-category-section{margin:0 0 var(--mg-category-section-gap,48px);padding:0;break-inside:avoid}.mg-gallery .mg-category-section-heading{max-width:var(--mg-gallery-width,1600px);margin:28px auto 0;padding:0 var(--mg-side-space,24px)}.mg-gallery .mg-category-section-heading h3{font:inherit;font-size:clamp(22px,3vw,32px);font-weight:650;line-height:1.2;color:var(--mg-text);margin:0 0 12px;overflow-wrap:anywhere}.mg-gallery .mg-category-section-description{margin:0;line-height:1.5;opacity:.78;overflow-wrap:anywhere}.mg-gallery .mg-category-section-description.mg-empty-description{min-height:var(--mg-category-description-space,32px)}.mg-gallery .mg-section-grid{padding-top:18px}.mg-gallery.mg-align-left .mg-category-section-heading{margin-left:0;margin-right:auto}.mg-gallery.mg-align-right .mg-category-section-heading{margin-left:auto;margin-right:0}@media(max-width:600px){.mg-gallery .mg-category-section-heading{padding-left:min(var(--mg-side-space,24px),24px);padding-right:min(var(--mg-side-space,24px),24px)}}@media(min-width:2200px){.mg-gallery.mg-desktop-reference .mg-category-section-heading{max-width:1600px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}}

.mg-gallery .mg-category-section-heading h3.mg-category-title-custom{font-family:var(--mg-cat-title-font)!important;font-size:var(--mg-cat-title-size)!important;font-weight:var(--mg-cat-title-weight)!important;font-style:var(--mg-cat-title-style)!important;text-decoration:var(--mg-cat-title-decoration)!important;color:var(--mg-cat-title-color)!important;text-align:var(--mg-cat-title-align)!important;letter-spacing:var(--mg-cat-title-tracking)!important;line-height:var(--mg-cat-title-line)!important;margin-bottom:var(--mg-cat-title-space)!important}@media(max-width:600px){.mg-gallery .mg-category-section-heading h3.mg-category-title-custom{font-size:var(--mg-cat-title-mobile)!important}}
.mg-gallery .mg-viewer [data-prev],.mg-gallery .mg-viewer [data-next],.mg-gallery .mg-viewer [data-close],.mg-gallery .mg-viewer [data-download]{touch-action:manipulation;user-select:none;-webkit-user-select:none}
.mg-gallery .mg-viewer .mg-image-stage>img{touch-action:pan-y pinch-zoom}
.mg-gallery .mg-video{max-width:1000px;margin:24px auto;padding:0 16px;text-align:center}.mg-gallery .mg-video iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;min-height:200px;border:0;border-radius:12px}.mg-gallery .mg-video h3{color:inherit}.mg-gallery .mg-video a{touch-action:manipulation}
.mg-gallery .mg-video-download-row{display:flex;justify-content:center;margin:20px auto 8px!important;padding:0 8px;position:relative;z-index:1}.mg-gallery .mg-video .mg-video-download{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;gap:12px;min-height:52px;max-width:100%;padding:17px 30px;border:1px solid #777;border-radius:var(--mg-zip-radius,8px);background:var(--mg-zip-bg,#fff);color:var(--mg-zip-text,#111);font:600 16px/1.4 system-ui,sans-serif;text-decoration:none;touch-action:manipulation}.mg-gallery .mg-video .mg-video-download:disabled{opacity:.55!important;cursor:not-allowed}.mg-gallery .mg-video-download-note{font-size:13px;opacity:.75;text-align:center}@media(max-width:600px){.mg-gallery .mg-video .mg-video-download{width:100%}}

/* Only the guest group may collapse; native details supports touch and keyboard. */
.mg-gallery details.mg-category-section>summary{cursor:pointer;touch-action:manipulation;list-style:disclosure-closed;padding:16px;border:1px solid currentColor;border-radius:10px;}
.mg-gallery details.mg-category-section[open]>summary{list-style:disclosure-open;}
.mg-gallery details.mg-category-section>summary h3{display:inline;margin:0;}
.mg-gallery details.mg-category-section:not([open])>.mg-section-grid{display:none!important;}
.mg-gallery details.mg-category-section>summary:focus-visible{outline:2px solid currentColor;outline-offset:4px;}
.mg-gallery .mg-section-grid:empty{display:none;}

.mg-gallery .mg-video-stage{position:relative;aspect-ratio:16/9;background:#111;overflow:hidden;border-radius:12px}
.mg-gallery .mg-video-stage iframe{width:100%;height:100%;aspect-ratio:auto;margin:0}
.mg-gallery .mg-video-poster{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:#111;color:#fff;cursor:pointer;touch-action:manipulation}
.mg-gallery .mg-video-poster img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.mg-gallery .mg-video-play-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:14px 22px;background:rgba(0,0,0,.8);border-radius:30px;font:600 16px/1.4 system-ui;white-space:nowrap;color:#fff}
.mg-gallery .mg-video-poster:focus-visible{outline:3px solid var(--mg-accent,#e32935);outline-offset:-4px}
.mg-gallery .mg-video-external{text-align:center;font-size:13px}.mg-gallery .mg-video-external a{color:inherit;text-decoration:underline}
