section.gallery {
  overflow: hidden;
}
section.gallery .block-padding {
  padding-block: var(--block-padding);
}
section.gallery .block-heading {
  text-align: center;
}
section.gallery .excerpt {
  text-align: center;
}
@container main (min-width: 64.0625rem) {
  section.gallery .excerpt p {
    font-size: 1.5rem;
  }
}
section.gallery .gallery-rail {
  grid-column: 1/-1;
  width: 100%;
  overflow: hidden;
  cursor: -webkit-grab;
  cursor: grab;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
}
@container main (min-width: 64.0625rem) {
  section.gallery .gallery-rail {
    overflow: visible;
  }
}
section.gallery .gallery-rail .gallery-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: none;
  -webkit-transition: none !important;
  transition: none !important;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--gutter);
}
section.gallery .gallery-rail .gallery-track > li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
section.gallery ul.gallery-track li .img-holder img {
  width: auto;
}
@container main (min-width: 64.0625rem) {
  section.gallery ul.gallery-track li .img-holder img {
    height: 490px;
  }
}
@container main (min-width: 48rem) and (max-width: 64rem) {
  section.gallery ul.gallery-track li .img-holder img {
    height: 400px;
  }
}
@container main (max-width: 47.9375rem) {
  section.gallery ul.gallery-track li .img-holder img {
    height: 270px;
  }
}