/* Scoped to the home hero gallery; other galleries and website sections stay intact. */
.hero-media.cks-gallery-clean{isolation:isolate;outline:none}
.hero-media.cks-gallery-clean:focus-visible{outline:2px solid #c8102e;outline-offset:5px}
.hero-media.cks-gallery-clean>.hero-slide-current,.hero-media.cks-gallery-clean>.hero-slide-previous{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:cover}
.hero-media.cks-gallery-clean>.hero-slide-previous{z-index:0;pointer-events:none;opacity:1;transition:opacity 650ms cubic-bezier(.22,.61,.36,1)}
.hero-media.cks-gallery-clean>.hero-slide-current{z-index:1;opacity:0}
.hero-media.cks-gallery-clean[data-ready=true]>.hero-slide-previous{opacity:0}
.hero-media.cks-gallery-clean[data-ready=true]>.hero-slide-current{opacity:1;animation:cks-gallery-reveal 700ms cubic-bezier(.22,.61,.36,1) both}
.hero-media.cks-gallery-clean.hero-with-video>video{object-fit:contain;background:#151515}
.hero-media.cks-gallery-clean>.cks-gallery-navigation{position:absolute;inset:0;z-index:3;pointer-events:none}
.hero-media.cks-gallery-clean .cks-water-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.36);background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -1px 1px rgba(255,255,255,.1),0 4px 18px rgba(15,20,18,.1);-webkit-backdrop-filter:blur(12px) saturate(145%);backdrop-filter:blur(12px) saturate(145%);cursor:pointer;pointer-events:auto;transition:background 220ms ease,border-color 220ms ease,box-shadow 220ms ease,transform 220ms ease}
.hero-media.cks-gallery-clean .cks-water-arrow svg{filter:drop-shadow(0 1px 3px rgba(0,0,0,.65));stroke-width:1.8}
.hero-media.cks-gallery-clean .cks-water-previous{left:16px}
.hero-media.cks-gallery-clean .cks-water-next{right:16px}
.hero-media.cks-gallery-clean .cks-water-arrow:focus-visible{outline:2px solid #fff;outline-offset:4px;background:rgba(255,255,255,.26)}
.hero-media.cks-gallery-clean .cks-water-arrow:active{transform:translateY(-50%) scale(.96)}
@media(hover:hover){.hero-media.cks-gallery-clean .cks-water-arrow:hover{background:rgba(255,255,255,.25);border-color:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 5px 22px rgba(15,20,18,.15);transform:translateY(-50%) scale(1.045)}}
@media(max-width:700px){.hero-media.cks-gallery-clean .cks-water-arrow{width:44px;height:44px}.hero-media.cks-gallery-clean .cks-water-previous{left:12px}.hero-media.cks-gallery-clean .cks-water-next{right:12px}}
@keyframes cks-gallery-reveal{from{opacity:0;transform:translateX(var(--cks-slide-from,12px)) scale(1.018)}to{opacity:1;transform:translateX(0) scale(1)}}
.hero-media.cks-gallery-clean[data-reduced=true]>.hero-slide-current{animation:none;transform:none}
.hero-media.cks-gallery-clean[data-reduced=true]>.hero-slide-previous{transition:none}
@media(prefers-reduced-motion:reduce){.hero-media.cks-gallery-clean>.hero-slide-current{animation:none!important;transform:none!important}.hero-media.cks-gallery-clean>.hero-slide-previous,.hero-media.cks-gallery-clean .cks-water-arrow{transition:none!important}}
