/* src/css/components/blocks/_Gallery.scss */
.hwc-BlockGallery {
  padding-left: 0;
  padding-right: 0;
}
.hwc-BlockGallery::after {
  content: "";
  background-image: url(../../img/decoration-7-orange.svg);
  width: 81px;
  height: 73px;
  position: absolute;
  bottom: 93px;
  right: 60px;
  transform: scaleX(-1) rotate(12deg);
  z-index: 2;
}
.hwc-BlockGallery.has-background {
  background-color: var(--hwc-color-primary);
  color: var(--hwc-color-secondary);
}
.hwc-BlockGallery-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.hwc-BlockGallery-heading::before {
  content: "";
  background-image: url(../../img/decoration-5-green.svg);
  width: 57px;
  height: 73px;
  position: absolute;
  top: calc(100% - 25px);
  left: 0;
  z-index: 1;
}
.hwc-BlockGallery-items.is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
}
.hwc-BlockGallery-items.is-grid .hwc-BlockGallery-item {
  aspect-ratio: 4/3;
}
.hwc-BlockGallery-items.is-slider .hwc-BlockGallery-item {
  width: 44%;
  aspect-ratio: 4/3;
}
.hwc-BlockGallery-item {
  position: relative;
}
.hwc-BlockGallery-item .picture {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  display: block;
  width: 100%;
  height: 100%;
}
.hwc-BlockGallery-item .picture img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.hwc-BlockGallery-nav {
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .hwc-BlockGallery-items.is-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .hwc-BlockGallery-items.is-grid .hwc-BlockGallery-item:nth-child(odd):last-child {
    grid-column: 1/span 2;
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .hwc-BlockGallery-items.is-slider .hwc-BlockGallery-item {
    width: 320px;
    aspect-ratio: 320/190;
  }
}

/*# sourceMappingURL=hwc-gallery.css.map */