/* Extracted from original <style id="hero-photo-glass-zoom"> block; order 20. */

/* Hero collage: frameless photos with soft, glass-like depth */
.hero-main-photo,
.hero-inset,
.hero-extra {
  border: 0 !important;
  padding: 0 !important;
  cursor: zoom-in;
  background: transparent;
  box-shadow: 0 18px 48px rgba(54, 37, 25, .16), 0 3px 12px rgba(54, 37, 25, .08) !important;
  transition: box-shadow .28s ease, filter .28s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-main-photo img,
.hero-inset img,
.hero-extra img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}
.hero-main-photo:hover,
.hero-inset:hover,
.hero-extra:hover {
  box-shadow: 0 24px 56px rgba(54, 37, 25, .2), 0 4px 14px rgba(54, 37, 25, .09) !important;
}
.hero-inset:hover img,
.hero-extra:hover img { transform: scale(1.035); }
.hero-main-photo:hover img { transform: scale(1.025); }
.hero-main-photo:focus-visible,
.hero-inset:focus-visible,
.hero-extra:focus-visible {
  outline: 2px solid rgba(125, 77, 45, .75);
  outline-offset: 4px;
}
.hero-photo-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 44px);
  background: rgba(28, 22, 18, .52);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
  cursor: zoom-out;
}
.hero-photo-zoom-overlay.is-visible { opacity: 1; visibility: visible; }
.hero-photo-zoom-panel {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 88dvh;
  transform: translateY(10px) scale(.975);
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
  cursor: default;
}
.hero-photo-zoom-overlay.is-visible .hero-photo-zoom-panel { transform: translateY(0) scale(1); }
.hero-photo-zoom-panel img {
  display: block;
  max-width: 100%;
  max-height: 88dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.hero-photo-zoom-close {
  position: absolute;
  top: -13px;
  right: -13px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(255,250,244,.9);
  color: #4f3020;
  box-shadow: 0 6px 24px rgba(0,0,0,.16);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
body.photo-zoom-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .hero-main-photo, .hero-inset, .hero-extra,
  .hero-main-photo img, .hero-inset img, .hero-extra img,
  .hero-photo-zoom-overlay, .hero-photo-zoom-panel { transition: none !important; }
}
