/* Alaska gallery v2.1 — no cropping of photographic work. Activated only if WebP assets exist. */
#desktop .alaska-gallery[hidden],#desktop .alaska-original[hidden]{display:none!important}
#desktop .alaska-gallery{padding:clamp(10px,1.9vw,20px);display:flex;flex-direction:column;gap:9px;overflow-y:auto;background:linear-gradient(#f6f9fc,#eaf2f7)}
.alaska-gallery-head{display:flex;align-items:end;justify-content:space-between;gap:12px}
.alaska-gallery-head h2{font-size:clamp(23px,3vw,32px);line-height:1.1;margin:5px 0 0;color:#183951}
.alaska-gallery-head .eyebrow{font-size:10px;letter-spacing:1.25px;color:#568697}
.alaska-counter{padding:8px 10px;border:1px solid #b7d2e8;background:#dceafb;color:#244568;font:700 12px monospace;border-radius:7px;white-space:nowrap}
.alaska-stage{height:clamp(200px,45vh,460px);flex:0 0 auto;width:100%;margin:1px auto 0;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#142732;border:1px solid #b4c7d5;border-radius:9px;transition:width .22s ease}
.alaska-stage[data-orientation="portrait"]{width:min(100%,var(--alaska-portrait-width,510px))}
.alaska-backdrop{position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(26px) brightness(.53) saturate(.9);opacity:.95;z-index:-1}
.alaska-main{display:block;position:relative;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.alaska-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:56px;background:#102737ca;color:white;border:1px solid #ffffffaa;border-radius:8px;font-size:28px;cursor:pointer;touch-action:manipulation}
.alaska-prev{left:6px}.alaska-next{right:6px}
.alaska-arrow:hover{background:#245a80ee}
.alaska-stage-caption{display:flex;justify-content:space-between;gap:10px;padding:1px 2px;color:#557084;font-size:11px}
.alaska-thumbs{display:flex;flex:0 0 auto;gap:7px;overflow-x:auto;padding:4px 1px 9px;min-height:74px;scrollbar-width:thin}
.alaska-thumb{flex:0 0 65px;width:65px;height:65px;padding:0;border:3px solid transparent;border-radius:7px;overflow:hidden;background:#d3e1eb;cursor:pointer;touch-action:manipulation}
.alaska-thumb[aria-pressed="true"]{border-color:#1576d9;box-shadow:0 0 0 2px #fff inset}
.alaska-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.alaska-gallery-note{font-size:11px;color:#678191;margin:0 1px 10px;line-height:1.4}
@media(max-width:800px){
  #desktop .alaska-gallery{padding:12px;gap:8px}
  .alaska-stage{height:clamp(190px,39vh,410px)}
  .alaska-arrow{width:42px;height:48px}
  .alaska-thumb{flex-basis:58px;width:58px;height:60px}
}
@media(max-height:560px){
 .alaska-stage{height:clamp(160px,43vh,290px)}
 .alaska-thumbs{min-height:57px}
 .alaska-thumb{width:49px;height:50px;flex-basis:49px}
}
@media(prefers-reduced-motion:reduce){.alaska-stage{transition:none}}
