/* v60.2 — Editorial photo row inspired by contemporary studio portfolios.
   Standalone override: keep older shop, admin and gallery styles intact. */
.sf-showcase{padding:clamp(36px,5vw,82px) 0 clamp(30px,4vw,65px);background:linear-gradient(110deg,#f8fbfb 0%,#fffdfb 100%);overflow:hidden}
.sf-showcase:before{opacity:.2}
.sf-showcase .sf-showcase-intro{max-width:1560px;margin:0 auto clamp(26px,3.1vw,52px);padding-inline:clamp(20px,4.4vw,82px);display:flex;align-items:end;justify-content:space-between;gap:24px}
.sf-showcase .sf-showcase-intro h2{max-width:800px;color:#183a4b;font-size:clamp(2.05rem,4.7vw,5rem);line-height:1.04;letter-spacing:-.06em;font-weight:650}
.sf-showcase .sf-showcase-intro p:not(.kicker){max-width:690px}
.sf-showcase .sf-mosaic-gallery{max-width:none;margin:0 auto;position:relative}
.sf-showcase .sf-mosaic-grid[data-count]{display:flex;grid-template-columns:none;grid-template-rows:none;grid-auto-flow:initial;gap:clamp(12px,1.2vw,22px);width:100%;max-width:none;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:0 clamp(20px,4.4vw,82px) 24px;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#b6cbd2 transparent}
.sf-showcase .sf-mosaic-grid[data-count] .sf-mosaic-card[data-slot]{grid-area:auto;grid-row:auto;grid-column:auto;display:flex;flex-direction:column;flex:0 0 clamp(190px,20.3vw,350px);width:clamp(190px,20.3vw,350px);min-width:0;max-width:none;min-height:0;align-self:flex-start;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;isolation:auto;scroll-snap-align:start;animation:none;transform:none}
.sf-showcase .sf-mosaic-card[data-slot="0"]{order:0}.sf-showcase .sf-mosaic-card[data-slot="1"]{order:1}.sf-showcase .sf-mosaic-card[data-slot="2"]{order:2}.sf-showcase .sf-mosaic-card[data-slot="3"]{order:3}.sf-showcase .sf-mosaic-card[data-slot="4"]{order:4}.sf-showcase .sf-mosaic-card[data-slot="5"]{order:5}.sf-showcase .sf-mosaic-card[data-slot="6"]{order:6}.sf-showcase .sf-mosaic-card[data-slot="7"]{order:7}
.sf-showcase .sf-mosaic-card:after{display:none}
.sf-showcase .sf-mosaic-photo{position:relative;inset:auto;display:block;width:100%;height:clamp(235px,27.5vw,390px);overflow:hidden;border-radius:3px;background:#e8eeef;box-shadow:none;outline-offset:4px;transition:transform .35s ease,box-shadow .35s ease}
.sf-showcase .sf-mosaic-card[data-slot="0"] .sf-mosaic-photo{height:clamp(270px,29.5vw,420px)}
.sf-showcase .sf-mosaic-card[data-slot="1"] .sf-mosaic-photo{height:clamp(240px,22.5vw,320px)}
.sf-showcase .sf-mosaic-card[data-slot="2"] .sf-mosaic-photo{height:clamp(275px,27.5vw,390px)}
.sf-showcase .sf-mosaic-card[data-slot="3"] .sf-mosaic-photo{height:clamp(300px,31vw,450px)}
.sf-showcase .sf-mosaic-card[data-slot="4"] .sf-mosaic-photo{height:clamp(250px,26vw,365px)}
.sf-showcase .sf-mosaic-card[data-slot="5"] .sf-mosaic-photo{height:clamp(275px,30vw,425px)}
.sf-showcase .sf-mosaic-card[data-slot="6"] .sf-mosaic-photo{height:clamp(240px,24vw,340px)}
.sf-showcase .sf-mosaic-card[data-slot="7"] .sf-mosaic-photo{height:clamp(295px,29vw,415px)}
.sf-showcase .sf-mosaic-photo img{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.sf-showcase .sf-mosaic-blur{object-fit:cover;filter:blur(22px) saturate(.78);opacity:.35;transform:scale(1.14)}
.sf-showcase .sf-mosaic-image{object-fit:contain;object-position:center;filter:none;transition:transform .65s ease}
.sf-showcase .sf-mosaic-gallery[data-fit="cover"] .sf-mosaic-image{object-fit:cover}
.sf-showcase .sf-mosaic-open{cursor:zoom-in;text-decoration:none}
.sf-showcase .sf-mosaic-open:hover,.sf-showcase .sf-mosaic-open:focus-visible{box-shadow:0 14px 38px rgba(16,49,64,.17);outline:2px solid #2782a2;outline-offset:3px}
.sf-showcase .sf-mosaic-photo:hover .sf-mosaic-image{transform:scale(1.025)}
.sf-showcase .sf-enlarge-photo{position:absolute;right:12px;top:12px;z-index:2;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);color:#235970;font-size:1.35rem;box-shadow:0 3px 16px rgba(16,40,58,.12);opacity:.88;transition:transform .25s ease,opacity .25s}
.sf-showcase .sf-mosaic-open:hover .sf-enlarge-photo{opacity:1;transform:translate(2px,-2px)}
.sf-showcase .sf-mosaic-caption{position:static;inset:auto;z-index:auto;color:#304856;text-shadow:none;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 1px 8px;background:transparent}
.sf-showcase .sf-mosaic-caption>strong{display:block;color:#2a4353;font-size:clamp(.92rem,1.12vw,1.06rem);font-weight:550;line-height:1.36;letter-spacing:-.02em;max-width:none;-webkit-line-clamp:unset;overflow:visible}
.sf-showcase .sf-mosaic-caption>span{color:#63818d;font-size:.66rem;line-height:1.5;letter-spacing:.11em;text-transform:uppercase;font-weight:750}
.sf-showcase .sf-mosaic-card-link{color:#1e789a;text-decoration:underline;font-size:.75rem;margin-top:4px;text-shadow:none}
.sf-showcase .sf-mosaic-card-link:focus-visible{outline-color:#1e789a}
.sf-showcase .sf-mosaic-gallery[data-motion="slide"] .sf-mosaic-card.is-new,.sf-showcase .sf-mosaic-gallery[data-motion="crossfade"] .sf-mosaic-card.is-new{animation:sfEditorialPhotoIn .6s both}
@keyframes sfEditorialPhotoIn{from{opacity:.55;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.sf-showcase .sf-photo-controls{max-width:1560px;padding-inline:clamp(20px,4.4vw,82px);margin:5px auto 0}
.sf-showcase .sf-photo-progress{max-width:1470px;margin:12px auto 0}
.sf-showcase-minimal{background:#fff}.sf-showcase-minimal .sf-mosaic-photo{border-radius:0}
.sf-showcase-immersive{background:#f2f7f7}.sf-showcase-immersive .sf-mosaic-photo{border-radius:10px}
@media(max-width:760px){
 .sf-showcase .sf-showcase-intro{display:block}.sf-showcase .sf-showcase-intro h2{font-size:clamp(2rem,9vw,3.15rem)}
 .sf-showcase .sf-mosaic-grid[data-count]{gap:12px;padding-inline:16px}
 .sf-showcase .sf-mosaic-grid[data-count] .sf-mosaic-card[data-slot]{flex-basis:min(68vw,300px);width:min(68vw,300px)}
 .sf-showcase .sf-mosaic-photo,.sf-showcase .sf-mosaic-card[data-slot] .sf-mosaic-photo{height:clamp(245px,82vw,365px)}
 .sf-showcase .sf-mosaic-card[data-slot="1"] .sf-mosaic-photo,.sf-showcase .sf-mosaic-card[data-slot="4"] .sf-mosaic-photo{height:clamp(215px,65vw,300px)}
 .sf-showcase .sf-photo-controls{padding-inline:17px}
}
/* Gallery: the image is the full-photo link, while Details still flips the story card. */
.gallery-front .gallery-photo-zoom{position:absolute;inset:0;display:block;z-index:0;overflow:hidden;cursor:zoom-in;background:#e7eef0}
.gallery-front .gallery-photo-zoom>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .75s ease}
.gallery-item-card:hover .gallery-photo-zoom>img{transform:scale(1.035)}
.gallery-front .gallery-photo-zoom:focus-visible{outline:4px solid #4aabc5;outline-offset:-5px}
.gallery-front .sf-gallery-zoom-label{position:absolute;top:14px;right:12px;z-index:3;border-radius:100px;padding:8px 12px;background:rgba(255,255,255,.95);color:#1f617d;font-size:.76rem;line-height:1.25;font-weight:750;text-shadow:none}
.gallery-front:after{pointer-events:none}
.gallery-front .gallery-card-caption,.gallery-front .gallery-photo-meta{z-index:2;pointer-events:none}
.gallery-front .gallery-card-caption button,.gallery-front .gallery-card-caption a{pointer-events:auto}
/* Shared accessible full-screen viewer */
.sf-full-photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:0;border:0;background:transparent;color:#fff;overflow:hidden}
.sf-full-photo-viewer::backdrop{background:rgba(5,18,27,.94);backdrop-filter:blur(14px)}
.sf-full-photo-layout{height:100%;box-sizing:border-box;padding:clamp(12px,2vw,28px);display:flex;flex-direction:column;gap:12px;overflow:hidden}
.sf-full-photo-toolbar{display:flex;justify-content:space-between;align-items:center;flex:none;gap:15px;min-height:45px}
.sf-full-photo-index{color:#d2e2e9;font-size:.82rem;letter-spacing:.13em;font-weight:700}
.sf-full-photo-close{display:flex;align-items:center;gap:10px;border:1px solid #ffffff45;border-radius:100px;padding:8px 15px;background:#fff;color:#183c51;font-size:.88rem;font-weight:750;cursor:pointer}
.sf-full-photo-close span{font-size:1.25rem}
.sf-full-photo-stage{display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,2vw,35px);min-height:0;flex:1}
.sf-full-photo-image{display:block;object-fit:contain;width:auto;height:auto;max-width:calc(100% - 110px);max-height:100%;min-width:0;min-height:0;margin:auto;border-radius:3px;box-shadow:0 15px 50px rgba(0,0,0,.28)}
.sf-full-photo-nav{border:1px solid #ffffff4d;width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:#ffffff26;color:#fff;font-size:1.35rem;cursor:pointer}
.sf-full-photo-nav:hover,.sf-full-photo-nav:focus-visible{background:#ffffff59}
.sf-full-photo-nav[hidden]{visibility:hidden;display:block!important}
.sf-full-photo-caption{min-height:1.3em;flex:none;text-align:center;color:#f2f7f8;font-size:.95rem;margin:0}
.sf-full-photo-caption[hidden]{display:none}
@media(max-width:560px){.sf-full-photo-viewer .sf-full-photo-layout{padding:12px}.sf-full-photo-viewer .sf-full-photo-stage{gap:3px}.sf-full-photo-viewer .sf-full-photo-nav{width:35px;height:35px;flex-basis:35px}.sf-full-photo-viewer .sf-full-photo-image{max-width:calc(100% - 77px)}.gallery-front .sf-gallery-zoom-label{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.sf-showcase .sf-mosaic-card.is-new,.sf-showcase .sf-mosaic-photo img,.gallery-photo-zoom>img{animation:none!important;transition:none!important}}

.gallery-front .gallery-card-caption h2{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.75)}
