/* Dedicated public Gallery banner; scoped to this page's existing hero. */
main .pagebanner,
.pagebanner:has(+ .aims-gallery-dynamic) {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: clamp(230px, 23vw, 345px) !important;
  min-height: 230px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background-color: #dce8ef !important;
  background-image: url('/assets/uploads/gallery-banner.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
/* Remove the duplicate 'Gallery' heading inside the old gradient hero.
   The existing 'Our Photo Gallery' title remains visible below the banner. */
main .pagebanner > *,
.pagebanner:has(+ .aims-gallery-dynamic) > * {
  display: none !important;
}
main .pagebanner::before,
main .pagebanner::after,
.pagebanner:has(+ .aims-gallery-dynamic)::before,
.pagebanner:has(+ .aims-gallery-dynamic)::after {
  display: none !important;
  content: none !important;
}
@media (max-width: 700px) {
  main .pagebanner,
  .pagebanner:has(+ .aims-gallery-dynamic) {
    height: 200px !important;
    min-height: 200px !important;
  }
}