.testimonial-banner + .block-grid-gallery {
  margin-top: var(--wp--preset--spacing--medium);
}
.block-grid-gallery .grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.2rem;
}
.block-grid-gallery .grid-gallery figure {
  margin: 0;
}
.block-grid-gallery .grid-gallery figure.is-hidden {
  display: none;
}
.block-grid-gallery .grid-gallery a {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: rgba(var(--wp--preset--color--primary), 0.1);
  cursor: zoom-in;
}
.block-grid-gallery .grid-gallery a:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}
.block-grid-gallery .grid-gallery a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath stroke='%23417b8b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M12.5 2.5h5v5M7.5 17.5h-5v-5M17.5 2.5l-6 6M2.5 17.5l6-6'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.block-grid-gallery .grid-gallery a:hover:before {
  opacity: 1;
}
.block-grid-gallery .grid-gallery a:hover:after {
  opacity: 1;
  transform: scale(1);
}
.block-grid-gallery .grid-gallery a:hover img {
  scale: 1.06;
}
.block-grid-gallery .grid-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: scale 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.block-grid-gallery .grid-gallery figcaption {
  padding-top: 1.2rem;
}
.block-grid-gallery .grid-gallery figcaption h3 {
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--16);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  color: #181818;
}
.block-grid-gallery .grid-gallery figcaption p {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0.4rem 0 0;
  color: var(--wp--preset--color--body);
}
@media (max-width: 599px) {
  .block-grid-gallery .grid-gallery figure:nth-child(n+5) {
    display: none;
  }
  .block-grid-gallery .grid-gallery figure.has-more-mobile a:before {
    opacity: 1;
    background: rgba(0, 0, 0, 0.55);
  }
  .block-grid-gallery .grid-gallery figure.has-more-mobile a:after {
    content: attr(data-more-mobile);
    width: auto;
    height: auto;
    margin: 0;
    font-size: var(--wp--preset--font-size--32);
    font-weight: 500;
    color: #fff;
    background: none;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .block-grid-gallery .grid-gallery figure.has-more-mobile a:hover:before {
    background: rgba(0, 0, 0, 0.4);
  }
}
@media (min-width: 600px) {
  .block-grid-gallery .grid-gallery figure.has-more a:before {
    opacity: 1;
    background: rgba(0, 0, 0, 0.55);
  }
  .block-grid-gallery .grid-gallery figure.has-more a:after {
    content: attr(data-more);
    width: auto;
    height: auto;
    margin: 0;
    font-size: var(--wp--preset--font-size--32);
    font-weight: 500;
    color: #fff;
    background: none;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .block-grid-gallery .grid-gallery figure.has-more a:hover:before {
    background: rgba(0, 0, 0, 0.4);
  }
}
@media (min-width: 1024px) {
  .block-grid-gallery .grid-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem 1.6rem;
  }
}/*# sourceMappingURL=block-gallery.css.map */