/** gallery */
.gallery-teaser {
  position: relative;
  height: 100%;
  margin-bottom: 0;
}
.gallery-teaser .img-adaptive {
  margin-bottom: 15px;
  overflow: hidden;
}
.gallery-teaser .img-adaptive img {
  width: 100%;
  transition: transform 0.4s, opacity 0.4s;
}
.gallery-teaser:hover img {
  transform: scale(1.05);
}
.gallery-teaser:active img {
  opacity: 0.8;
}
.gallery-teaser .field--name-field-image {
  display: flex;
  justify-content: center;
}
.gallery-teaser__title {
  color: #191919;
  font-weight: 400;
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .gallery-teaser__title {
    text-align: center;
  }
}
.gallery-teaser--link {
  display: block;
  height: 100%;
}

.gallery__list:has(.flickity-enabled) .gallery-teaser .image-adaptive {
  min-height: 180px;
}
.gallery__list .service-block-more {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}
.gallery__list .view-content:not(.flickity-enabled) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}
@media (max-width: 490px) {
  .gallery__list .view-content:not(.flickity-enabled) {
    grid-template-columns: repeat(2, minmax(150, 1fr));
    gap: 12px;
  }
}

.view-gallery .service-block-more {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}
.view-gallery .gallery-teaser {
  transition: 0.3s;
}
.view-gallery .gallery-teaser .img-adaptive {
  margin-bottom: 0;
}
.view-gallery .gallery-teaser__content {
  padding: 30px 15px;
  border: 1px solid #f9f9f9;
  border-top: none;
}
.view-gallery .gallery-teaser:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}