.sm-gallery{padding:90px max(24px,calc((100vw - 1240px)/2));background:#101012;scroll-margin-top:100px}.sm-gallery-heading{max-width:800px;margin-bottom:32px}.sm-gallery-heading h2{font-size:clamp(32px,5vw,64px);line-height:1.05;margin:14px 0}.sm-gallery-heading>p:last-child,[data-gallery-status]{color:#bfbfc4;line-height:1.6}.sm-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sm-gallery-grid figure{margin:0;background:#19191b;border:1px solid #333;border-radius:14px;overflow:hidden}.sm-gallery-grid img,.sm-gallery-grid video{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#080808}.sm-gallery-grid video{object-fit:contain}.sm-gallery-grid figcaption{padding:16px;font-size:15px;line-height:1.5;color:#eee}.sm-gallery-photo{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.sm-gallery-photo:focus-visible{outline:3px solid #ff5a00;outline-offset:-3px}.sm-gallery-lightbox{max-width:95vw;max-height:94vh;background:#111;color:white;border:1px solid #555;border-radius:12px;padding:12px}.sm-gallery-lightbox::backdrop{background:#000d}.sm-gallery-lightbox img{display:block;max-width:88vw;max-height:78vh;object-fit:contain}.sm-gallery-lightbox button{display:block;margin:0 0 12px auto;padding:10px 16px;background:#ff5a00;color:#fff;border:0;border-radius:6px;cursor:pointer;font:inherit}.gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.gallery-admin-grid article{padding:12px;border:1px solid #333;border-radius:12px;display:grid;gap:10px}.gallery-admin-grid img,.gallery-admin-grid video{width:100%;height:170px;object-fit:contain;background:#080808}.gallery-admin-form{display:grid;gap:14px;max-width:720px;margin:24px 0}.gallery-admin-form progress{width:100%;accent-color:#ff5a00}.gallery-admin-grid label{display:grid;gap:5px}.gallery-admin-grid label.check{display:flex}.gallery-admin-status{min-height:24px;color:#ffb44d}@media(max-width:900px){.sm-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.sm-gallery{padding:55px 20px}.sm-gallery-grid{grid-template-columns:1fr}}

.sm-gallery-direct-video{display:inline-block;margin:.5rem 0;color:inherit;text-decoration:underline;text-underline-offset:3px;}

/* Editorial carousel for desktop, tablet and mobile */
.sm-gallery{overflow:hidden;background:radial-gradient(ellipse at 85% 0%,#241916 0%,#101012 52%)}
.sm-gallery-carousel{width:100%;position:relative}
.sm-gallery-grid{display:flex!important;gap:clamp(14px,2vw,26px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;touch-action:pan-x pan-y;padding:8px 2px 14px;outline-offset:4px;-webkit-overflow-scrolling:touch}
.sm-gallery-grid::-webkit-scrollbar{display:none}
.sm-gallery-grid .sm-gallery-slide{display:block;flex:0 0 min(720px,80%);min-width:0;scroll-snap-align:start;border-radius:22px;background:#1a1818;border:1px solid #3c3430;box-shadow:0 18px 36px #0004;overflow:hidden}
.sm-gallery-grid img,.sm-gallery-grid video{aspect-ratio:16/10;width:100%;max-height:540px;object-fit:cover;background:#111}
.sm-gallery-grid video{object-fit:contain}
.sm-gallery-grid figcaption{padding:19px 24px;color:#fff;font-size:clamp(16px,1.5vw,19px);letter-spacing:.01em}
.sm-gallery-controls{display:flex;align-items:center;gap:18px;margin-top:12px;color:#cac1bc}
.sm-gallery-hint{font-size:13px;letter-spacing:.04em;opacity:.8}
.sm-gallery-counter{margin-left:auto;font-variant-numeric:tabular-nums;font-size:14px;color:#ff955c;font-weight:700}
.sm-gallery-arrows{display:flex;gap:10px}
.sm-gallery-arrows button{width:48px;height:48px;border-radius:50%;border:1px solid #64534b;background:#27201d;color:#fff;font-size:25px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.sm-gallery-arrows button:not(:disabled):hover{background:#f4511e;border-color:#f4511e;transform:translateY(-2px)}
.sm-gallery-arrows button:disabled{opacity:.3;cursor:default}
.sm-gallery-direct-video{font-size:14px;margin:8px 24px 16px;color:#ffae79}
.sm-gallery-single .sm-gallery-arrows,.sm-gallery-single .sm-gallery-hint{display:none}
@media(max-width:680px){.sm-gallery-grid .sm-gallery-slide{flex-basis:92%}.sm-gallery-grid img,.sm-gallery-grid video{aspect-ratio:4/4}.sm-gallery-controls{gap:8px}.sm-gallery-hint{font-size:12px}.sm-gallery-arrows button{width:43px;height:43px}}
@media(prefers-reduced-motion:reduce){.sm-gallery-grid{scroll-behavior:auto}.sm-gallery-arrows button{transition:none}}

/* A MOV is shown only with a real saved video frame, never a black video element. */
.sm-video-cover{aspect-ratio:16/10;position:relative;background:linear-gradient(135deg,#3b241e,#ba4a20);display:flex;align-items:center;justify-content:center;overflow:hidden}
.sm-video-cover img{height:100%;width:100%;object-fit:cover;display:block;background:transparent!important;aspect-ratio:auto!important;max-height:none!important}
.sm-video-no-poster span{font-size:clamp(14px,2vw,20px);color:#fff5ef;text-align:center;padding:20px}
.sm-video-play{position:absolute;inset:0;border:0;background:transparent;cursor:pointer;color:#fff;display:grid;place-items:center}
.sm-video-play span{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#191616cd;border:1px solid #ffffff70;font-size:32px;box-shadow:0 10px 30px #0005;padding-left:5px}
.sm-video-play:focus-visible{outline:3px solid #ff7400;outline-offset:-4px}
.sm-gallery-slide video{width:100%;aspect-ratio:16/10;display:block}
@media(max-width:680px){.sm-video-cover{aspect-ratio:1}}

/* Real portrait video frame: show the full subject, backed by a soft version of the same frame. */
.sm-video-cover{background:#292321;isolation:isolate}
.sm-video-cover::before{content:'';position:absolute;inset:-32px;background-image:var(--sm-video-poster);background-position:center;background-size:cover;filter:blur(23px) brightness(.56);z-index:-1}
.sm-video-cover>img{object-fit:contain!important;position:relative;z-index:0;background:transparent!important}
.sm-video-play{z-index:1}
.slot-loading-msg{padding:22px 18px;color:#777;font-weight:600;font-size:14px;text-align:center}

/* Premium, image-native editorial gallery: preserve the original aspect ratio. */
.sm-gallery{background:linear-gradient(125deg,#181516 0%,#120f0f 55%,#281b17 100%);padding-block:clamp(70px,8vw,125px)}
.sm-gallery-grid{align-items:stretch;padding:20px 5px 30px;gap:clamp(16px,2.8vw,35px)}
.sm-gallery-grid .sm-gallery-slide{background:rgba(255,255,255,.045);border:1px solid #ffffff28;border-radius:28px;box-shadow:0 25px 70px #0005;flex-basis:min(850px,82%);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.sm-gallery-grid .sm-gallery-slide .sm-gallery-photo{display:grid;place-items:center;min-height:180px}
.sm-gallery-grid .sm-gallery-slide img,.sm-gallery-grid .sm-gallery-slide video{width:100%;height:auto;max-height:min(78vh,720px);aspect-ratio:auto!important;object-fit:contain!important;background:transparent!important}
.sm-video-cover{aspect-ratio:auto!important;min-height:360px;max-height:min(78vh,720px);background:#191515}
.sm-video-cover img{height:100%!important;width:100%!important;object-fit:contain!important}
.sm-gallery-grid figcaption{padding:22px 28px;color:#f5f0e9;font-size:clamp(17px,2vw,23px);letter-spacing:.015em}
.sm-gallery-arrows button{background:#faf3ed;color:#252024;border:1px solid #ffffff90;box-shadow:0 7px 20px #0004}
.sm-gallery-arrows button:not(:disabled):hover{color:white}
.sm-announcement{position:relative;padding:12px 24px;text-align:center;background:var(--orange);color:white;font-weight:750;z-index:99;letter-spacing:.02em;box-shadow:0 8px 20px #0003}
@media(max-width:680px){.sm-gallery-grid .sm-gallery-slide{flex-basis:94%}.sm-gallery-grid .sm-gallery-slide img{max-height:65vh}.sm-video-cover{min-height:260px}.sm-gallery-grid figcaption{padding:16px 18px}}

/* Premium natural ratio gallery v2: do not cut off photos or mask them with black rectangles. */
.sm-gallery{background:linear-gradient(145deg,#17151a 0%,#231c20 52%,#342823 100%);}
.sm-gallery-grid .sm-gallery-slide{background:linear-gradient(150deg,#302930,#241f25);border:1px solid rgba(255,255,255,.16);box-shadow:0 28px 75px rgba(0,0,0,.26);}
.sm-gallery-grid .sm-gallery-slide .sm-gallery-photo{display:flex;align-items:center;justify-content:center;min-height:0;background:transparent;}
.sm-gallery-grid .sm-gallery-slide .sm-gallery-photo>img{display:block;object-fit:contain!important;object-position:center!important;width:100%;height:auto;max-height:80vh;aspect-ratio:auto!important;background:transparent!important;}
.sm-gallery-grid .sm-gallery-slide .sm-video-cover{background:linear-gradient(145deg,#3d3030,#282328);min-height:0;max-height:none;aspect-ratio:auto!important;}
.sm-gallery-grid .sm-gallery-slide .sm-video-cover>img{display:block;width:100%;height:auto!important;max-height:80vh;object-fit:contain!important;aspect-ratio:auto!important;}
.sm-gallery-grid .sm-gallery-slide>video{display:block;max-height:80vh;width:100%;object-fit:contain!important;aspect-ratio:auto!important;background:transparent!important;}
.gallery-admin-grid img,.gallery-admin-grid video{height:auto!important;max-height:340px;object-fit:contain!important;background:#292528!important;border-radius:12px;}
@media(max-width:680px){.sm-gallery-grid .sm-gallery-slide .sm-gallery-photo>img,.sm-gallery-grid .sm-gallery-slide .sm-video-cover>img{max-height:70vh;}}

/* 2026-10-29 – Gallery: only original images/videos, without dark cards or faux backdrop. */
.sm-gallery-grid{align-items:center;gap:clamp(18px,3vw,42px);padding:8px 0 16px}
.sm-gallery-grid .sm-gallery-slide,.sm-gallery-grid figure{flex:0 0 auto!important;width:max-content!important;max-width:94%!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:column!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.sm-gallery-grid .sm-gallery-slide .sm-gallery-photo{display:block!important;width:auto!important;height:auto!important;min-height:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.sm-gallery-grid .sm-gallery-slide img,.sm-gallery-grid .sm-gallery-slide video,.sm-gallery-grid .sm-gallery-slide .sm-gallery-photo>img{display:block!important;width:auto!important;height:auto!important;max-width:min(84vw,920px)!important;max-height:min(78vh,780px)!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.sm-gallery-grid .sm-gallery-slide .sm-video-cover{position:relative!important;display:block!important;width:max-content!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;background:transparent!important;overflow:visible!important;isolation:auto!important}
.sm-video-cover::before,.sm-gallery-grid .sm-video-cover::before{display:none!important;content:none!important}
.sm-gallery-grid .sm-gallery-slide .sm-video-cover>img{width:auto!important;height:auto!important;max-width:min(84vw,920px)!important;max-height:min(78vh,780px)!important;object-fit:contain!important;background:transparent!important}
.sm-gallery-grid .sm-gallery-slide figcaption{background:transparent!important;text-align:center;padding:13px 0 4px;max-width:100%;font-size:clamp(14px,1.5vw,19px);font-weight:500}
.sm-gallery-grid .sm-gallery-slide .sm-video-play{border:0!important}
.sm-gallery-grid .sm-gallery-slide .sm-video-play span{background:#171717bd}
@media(max-width:680px){.sm-gallery-grid .sm-gallery-slide,.sm-gallery-grid figure{max-width:94%!important}.sm-gallery-grid .sm-gallery-slide img,.sm-gallery-grid .sm-gallery-slide video,.sm-gallery-grid .sm-gallery-slide .sm-video-cover>img{max-width:88vw!important;max-height:65vh!important}}
