.kw-gallery{margin-top:56px;padding-top:42px;border-top:1px solid var(--line)}
.kw-gallery__heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:26px}
.kw-gallery__heading h2{font:400 clamp(28px,3vw,42px)/1.2 var(--serif);letter-spacing:-.035em}
.kw-gallery__heading>span{font-size:12px;color:var(--muted);white-space:nowrap}
.kw-gallery__thumbs{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.kw-gallery__thumbs li{min-width:0}
.kw-gallery__thumbs a{display:block;position:relative;outline-offset:3px;background:#e7e9df}
.kw-gallery__thumbs img{width:100%;aspect-ratio:3 / 2;object-fit:cover}
.kw-gallery__number{position:absolute;bottom:8px;inset-inline-end:8px;padding:1px 6px;font:10px/1.7 var(--sans);color:#fff;background:#102b1bd9}
.kw-gallery__player{min-width:0}
.kw-gallery__stage{position:relative;background:#11291e;touch-action:pan-y pinch-zoom}
.kw-gallery__open{position:relative;display:block;outline-offset:4px}
.kw-gallery__frame{height:clamp(300px,43vw,600px);display:grid;place-items:center}
.kw-gallery__frame picture,.kw-gallery__frame img{height:100%;width:100%;min-height:0;object-fit:contain}
.kw-gallery__frame img,.kw-gallery-viewer__frame img{user-select:none;-webkit-user-drag:none}
.kw-gallery__expand{display:flex;align-items:center;gap:10px;position:absolute;bottom:18px;inset-inline-end:18px;padding:11px 16px;background:#f8f7f2f0;color:var(--green);font-size:11px;border:1px solid #fff8;transition:background .2s}
.kw-gallery__open:hover .kw-gallery__expand{background:#fff}
.kw-gallery svg,.kw-gallery-viewer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.kw-gallery__details{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px}
.kw-gallery__details>p{font-size:12px;line-height:1.7;color:var(--muted);margin:0;max-width:660px}
.kw-gallery__controls{display:flex;align-items:center;gap:14px;flex-shrink:0}
.kw-gallery__controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #bfc9b8;background:transparent;transition:background .2s,color .2s}
.kw-gallery__controls button:hover{background:var(--green);color:#fff;border-color:var(--green)}
.kw-gallery__counter{font:12px/1.5 var(--sans);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:60px;text-align:center}
.kw-gallery__announcement{position:absolute!important;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
.kw-gallery__feedback{position:absolute;inset:50% 50% auto auto;transform:translate(50%,-50%);color:#eef2e9;background:#10251dee;padding:10px 16px;font-size:12px;text-align:center;pointer-events:none;max-width:80%;width:max-content;margin:0}
.kw-gallery.is-enhanced{display:grid;grid-template-columns:minmax(0,1fr) 150px;column-gap:22px}
.kw-gallery.is-enhanced .kw-gallery__heading{grid-column:1/-1}
.kw-gallery.is-enhanced .kw-gallery__thumbs{display:flex;flex-direction:column;gap:12px;max-height:clamp(300px,43vw,600px);overflow:auto;padding:4px 7px 4px 4px;scrollbar-width:thin;scrollbar-color:#8c9e7a #e7e9df;overscroll-behavior:contain;scroll-padding:4px}
.kw-gallery.is-enhanced .kw-gallery__thumbs li{flex-shrink:0}
.kw-gallery.is-enhanced .kw-gallery__thumbs a{opacity:.65;border:2px solid transparent;transition:opacity .2s,border-color .2s}
.kw-gallery.is-enhanced .kw-gallery__thumbs a:hover{opacity:1}
.kw-gallery.is-enhanced .kw-gallery__thumbs a[aria-current=true]{opacity:1;border-color:#537233}
.kw-gallery.is-enhanced .kw-gallery__thumbs a[aria-current=true] .kw-gallery__number{background:var(--lime);color:var(--ink)}
.gallery-is-open{overflow:hidden}
.kw-gallery-viewer{width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#0b1c14;color:#f4f5ef;overflow:hidden}
.kw-gallery-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}
.kw-gallery-viewer::backdrop{background:#0b1c14}
.kw-gallery-viewer__header{display:flex;align-items:center;gap:28px;padding:18px 28px;border-bottom:1px solid #ffffff1c}
.kw-gallery-viewer__header h2{font-size:16px;line-height:1.5;letter-spacing:0;margin-inline-end:auto}
.kw-gallery-viewer__header a{display:inline-flex;align-items:center;gap:12px;font-size:11px;color:#c4cfbf;min-height:44px}
.kw-gallery-viewer__header a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
.kw-gallery-viewer button{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;color:#eff3e8;border:1px solid #ffffff36;background:#142a1e;transition:background .2s,border-color .2s}
.kw-gallery-viewer button:hover{background:#284532;border-color:#ffffff80}
.kw-gallery-viewer__stage{position:relative;min-height:0;display:grid;grid-template-columns:76px minmax(0,1fr) 76px;align-items:center;padding:20px 12px 0;touch-action:pan-y pinch-zoom}
.kw-gallery-viewer__stage>button{justify-self:center}
.kw-gallery-viewer__frame{height:100%;min-height:0;display:grid;place-items:center}
.kw-gallery-viewer__frame picture,.kw-gallery-viewer__frame img{height:100%;width:100%;min-height:0;object-fit:contain}
.kw-gallery-viewer__details{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 88px}
.kw-gallery-viewer__details>p{font-size:12px;line-height:1.6;margin:0;color:#ccd4c7}
.kw-gallery-viewer__thumbs{display:flex;align-items:center;gap:10px;list-style:none;padding:6px 28px max(18px,env(safe-area-inset-bottom));margin:0 auto;max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#657d55 #12271b;overscroll-behavior:contain}
.kw-gallery-viewer__thumbs li{flex:0 0 84px}
.kw-gallery-viewer__thumbs a{display:block;position:relative;border:2px solid transparent;opacity:.5;outline-offset:2px}
.kw-gallery-viewer__thumbs a:hover{opacity:1}
.kw-gallery-viewer__thumbs a[aria-current=true]{border-color:var(--lime);opacity:1}
.kw-gallery-viewer__thumbs img{width:100%;height:56px;object-fit:cover}
.kw-gallery-viewer__thumbs .kw-gallery__number{font-size:9px;bottom:3px;inset-inline-end:3px}
.kw-gallery-viewer :focus-visible{outline:2px solid var(--lime);outline-offset:4px}
[dir=rtl] [data-gallery-prev] svg,[dir=rtl] [data-gallery-next] svg{transform:scaleX(-1)}
@media(max-width:1000px){.kw-gallery.is-enhanced{grid-template-columns:minmax(0,1fr) 116px;column-gap:16px}.kw-gallery__controls{gap:8px}.kw-gallery__details{gap:15px}}
@media(max-width:760px){
    .kw-gallery{margin-top:36px;padding-top:28px}
    .kw-gallery__heading{gap:12px;margin-bottom:20px}
    .kw-gallery__heading h2{font-size:30px}
    .kw-gallery__heading>span{font-size:10px}
    .kw-gallery__thumbs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .kw-gallery.is-enhanced{display:block}
    .kw-gallery__frame{height:clamp(225px,65vw,440px)}
    .kw-gallery__expand{inset-inline-end:10px;bottom:10px;padding:9px 11px;font-size:10px;gap:7px}
    .kw-gallery__expand svg{width:16px;height:16px}
    .kw-gallery__details{display:grid;grid-template-columns:1fr;gap:14px;padding-top:16px}
    .kw-gallery__details>p{font-size:11px;min-height:38px}
    .kw-gallery__controls{justify-content:space-between;gap:14px}
    .kw-gallery.is-enhanced .kw-gallery__thumbs{flex-direction:row;max-height:none;gap:8px;padding:4px 3px 10px;margin-top:18px}
    .kw-gallery.is-enhanced .kw-gallery__thumbs li{flex:0 0 88px}
    .kw-gallery-viewer__header{padding:10px 14px;gap:14px}
    .kw-gallery-viewer__header h2{font-size:13px}
    .kw-gallery-viewer__header a{font-size:10px;gap:5px}
    .kw-gallery-viewer__header button{width:42px;height:42px}
    .kw-gallery-viewer__stage{grid-template-columns:1fr;padding:12px 0 0}
    .kw-gallery-viewer__stage>button{position:absolute;bottom:12px;z-index:1;width:42px;height:42px;background:#10271cdb}
    .kw-gallery-viewer__stage>[data-gallery-prev]{inset-inline-start:12px}
    .kw-gallery-viewer__stage>[data-gallery-next]{inset-inline-end:12px}
    .kw-gallery-viewer__details{padding:16px 14px;gap:14px;min-height:74px}
    .kw-gallery-viewer__details>p{font-size:11px}
    .kw-gallery-viewer__thumbs{gap:8px;padding-inline:14px}
    .kw-gallery-viewer__thumbs li{flex-basis:64px}
    .kw-gallery-viewer__thumbs img{height:44px}
}
@media(max-height:500px) and (orientation:landscape){.kw-gallery-viewer__thumbs{display:none}.kw-gallery-viewer__header{padding-block:6px}.kw-gallery-viewer__details{padding-block:10px;min-height:0}.kw-gallery-viewer__stage{padding-top:8px}}
@media(prefers-reduced-motion:reduce){.kw-gallery *,.kw-gallery-viewer *{transition:none!important;scroll-behavior:auto!important}}
