.sw-core-gallery-band {
  --gallery-band: #eaf2ff;
  --gallery-band-space: 48px;
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 24px 0 32px;
  padding: var(--gallery-band-space) 0 0;
  background: var(--gallery-band);
  scroll-margin-top: 88px;
}

.sw-core-gallery-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 72px;
  background: #fff;
  pointer-events: none;
}

.sw-core-gallery-band .sw-core-gallery.sw-core-gallery--portrait {
  margin-top: 0;
  margin-bottom: 0;
}

.sw-core-gallery-band .sw-core-gallery__fallback {
  bottom: 72px;
  display: grid;
  place-items: center;
}

.sw-core-gallery-band .sw-core-gallery__fallback img {
  width: auto;
  max-width: 100%;
  height: 100%;
  background: transparent;
}

.sw-core-gallery-band .sw-core-gallery[data-carousel-ready] .sw-core-gallery__fallback {
  display: none;
}

@media (max-width: 1023px) {
  .sw-core-gallery-band {
    --gallery-band-space: 32px;
  }
}

@media (max-width: 639px) {
  .sw-core-gallery-band {
    --gallery-band-space: 24px;
    scroll-margin-top: 80px;
  }
}
