.epicod-grid-gallery-block {
  position: relative;
  width: 100%;
}
.epicod-grid-gallery-block .gallery-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 3.5rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.epicod-grid-gallery-block .gallery-grid .gallery-item {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}
.epicod-grid-gallery-block .gallery-grid .gallery-item .gallery-image {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.epicod-grid-gallery-block .gallery-grid .gallery-item .gallery-image:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.epicod-grid-gallery-block .gallery-swiper-wrapper {
  display: none;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.epicod-grid-gallery-block .gallery-swiper-wrapper .swiper {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
}
.epicod-grid-gallery-block .gallery-swiper-wrapper .swiper-wrapper {
  width: 100%;
  max-width: 100%;
}
.epicod-grid-gallery-block .gallery-swiper-wrapper .swiper-slide {
  width: 100% !important;
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.epicod-grid-gallery-block .gallery-swiper-wrapper .slide-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.epicod-grid-gallery-block .gallery-swiper-wrapper .gallery-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.epicod-grid-gallery-block .gallery-placeholder {
  padding: 2rem;
  text-align: center;
  background-color: #f5f5f5;
  border: 2px dashed #ddd;
}
.epicod-grid-gallery-block .gallery-placeholder p {
  margin: 0;
  color: #999;
  font-size: 1rem;
}
@media (max-width: 430px) {
  .epicod-grid-gallery-block .gallery-grid {
    display: none;
  }
  .epicod-grid-gallery-block .gallery-swiper-wrapper {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .epicod-grid-gallery-block .gallery-swiper-wrapper .swiper {
    width: 100%;
    max-width: 100vw;
  }
  .epicod-grid-gallery-block .gallery-swiper-wrapper .swiper-wrapper {
    width: 100%;
    max-width: 100vw;
  }
  .epicod-grid-gallery-block .gallery-swiper-wrapper .swiper-slide {
    width: 100% !important;
    max-width: 100vw;
    min-width: 0;
  }
  .epicod-grid-gallery-block .gallery-swiper-wrapper .slide-image-wrapper {
    width: 100%;
    max-width: 100vw;
  }
  .epicod-grid-gallery-block .gallery-swiper-wrapper .gallery-image {
    width: 100%;
    max-width: 100vw;
  }
}
.epicod-grid-gallery-block.alignfull {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
