
/* ---------- Gallery Hero extras: no background photo, just the site's
   soft off-white, with the small photo strip sitting under the title. --- */
.hero.hero-no-photo {
  background: #fcfcfa;
}

.hero-photo-strip {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-photo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Gallery Intro: eyebrow + heading + copy ---------- */
.gallery-intro {
  padding-top: 40px;
  padding-bottom: 60px;
  max-width: 1100px;
}

.gallery-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.gallery-eyebrow img {
  width: 32px;
  height: 32px;
}

.gallery-eyebrow span {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-navy);
}

.gallery-intro h2 {
  font-weight: 200;
  font-size: 52px;
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.gallery-intro p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ---------- Masonry photo gallery ---------- */
.gallery-masonry {
  column-count: 3;
  column-gap: 24px;
  padding-bottom: 120px;
}

.gallery-masonry img {
  width: 100%;
  display: block;
  margin-bottom: 24px;
  border-radius: 28px;
  break-inside: avoid;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-masonry img:hover {
  transform: scale(1.03);
  box-shadow: 0px 14px 30px 0px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .gallery-intro h2 {
    font-size: 36px;
  }

  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .gallery-masonry {
    column-count: 1;
  }
}

/* Tidy bento gallery (overrides masonry) */
.gallery-masonry {
  column-count: initial;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 16px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-masonry img {
  height: 100%;
  margin-bottom: 0;
  object-fit: cover;
  border-radius: 20px;
}
.gallery-masonry img:nth-child(1),
.gallery-masonry img:nth-child(6) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 560px) {
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; }
}
