/* Gallery revision: clean original-photo layout, borderless portrait grid. */
.gallery-page .hero-gallery {
  min-height: clamp(360px, 66vh, 760px);
  background-image: url('../images/photos/homepage-made-for-fire.jpg');
  background-position: center 52%;
}
.gallery-page .hero-gallery .hero-shade { background: transparent !important; }
.gallery-page .v13-gallery-collection {
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: 24px 0 56px;
}
.gallery-page .v13-gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 0;
}
.gallery-page .v13-gallery-card {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 4;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  cursor: zoom-in;
}
.gallery-page .v13-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform .45s ease;
}
.gallery-page .v13-gallery-card:hover img { transform: scale(1.025); }
.gallery-page .v13-gallery-card:focus-visible { outline: 2px solid #87432f; outline-offset: 3px; }
.gallery-page .booking-band h2 { margin-top: 0; }
@media (max-width: 650px) {
  .gallery-page .hero-gallery { min-height: 54vh; min-height: 54svh; background-position: center 52%; }
  .gallery-page .v13-gallery-collection { width: calc(100% - 20px); padding: 10px 0 34px; }
  .gallery-page .v13-gallery-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .gallery-page .v13-gallery-card { aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-page .v13-gallery-card img { transition: none; }
}

/* R56 — approved clean gallery grid: exactly nine portrait photographs. */
.gallery-page .v13-gallery-collection { padding-bottom: clamp(52px, 7vw, 92px); }
.gallery-page .v13-gallery-track {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(6px, 1vw, 14px) !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}
.gallery-page .v13-gallery-card { aspect-ratio: 3 / 4 !important; }
.gallery-page .v13-gallery-card img { object-fit: cover !important; }
@media (max-width: 650px) {
  .gallery-page .v13-gallery-track {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }
  .gallery-page .v13-gallery-collection { width: calc(100% - 24px); }
}
