.postgallery-block {
  background: #ffffff;
}
.postgallery-block section.gallery {
  color: #000000;
}
.postgallery-block section.gallery .section_head {
  display: grid;
  grid-template-columns: 9fr 3fr;
  gap: 28px;
  align-items: flex-start;
}
@media (max-width: 720px) {
  .postgallery-block section.gallery .section_head {
    grid-template-columns: 1fr;
    gap: 0px;
    grid-template-areas: "title" "info";
  }
}
.postgallery-block section.gallery .section_head .section_info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 720px) {
  .postgallery-block section.gallery .section_head .section_info {
    gap: 4px;
  }
}
.postgallery-block section.gallery .section_head .section_info .h5 {
  margin-bottom: 0;
}
.postgallery-block section.gallery .image_gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 3px;
  margin-top: 64px;
}
@media (max-width: 1200px) {
  .postgallery-block section.gallery .image_gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2px;
  }
}
@media (max-width: 720px) {
  .postgallery-block section.gallery .image_gallery {
    margin-left: -20px;
    width: 100vw;
    max-width: 100vw;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
}
.postgallery-block section.gallery .image_gallery .image_gallery__item {
  width: 100%;
  height: 0px;
  padding-bottom: 133.3333333333%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.postgallery-block section.gallery .image_gallery .image_gallery__item img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 300ms ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  .postgallery-block section.gallery .image_gallery .image_gallery__item:hover img {
    transform: translate(-50%, -50%) scale(1.05);
    transition: all 300ms ease-in-out;
  }
}

.image-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  display: none;
  visibility: hidden;
  transition: all 300ms ease-in-out;
}
.image-gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  display: flex;
  transition: all 300ms ease-in-out;
}
.image-gallery-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  cursor: pointer;
}
.image-gallery-modal .modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 0px;
  box-sizing: border-box;
}
.image-gallery-modal .modal-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.image-gallery-modal .modal-header .splide__pagination {
  position: relative;
  bottom: initial;
  width: -moz-min-content;
  width: min-content;
  right: initial;
  top: initial;
  left: initial;
  display: flex;
  list-style: none;
  margin: 0;
}
.image-gallery-modal .modal-close {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease-in-out;
  cursor: pointer;
}
.image-gallery-modal .modal-close span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.image-gallery-modal .modal-close span svg {
  width: 28px;
  height: 28px;
}
.image-gallery-modal .modal-close span svg path {
  fill: #000000;
  transition: all 300ms ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  .image-gallery-modal .modal-close:hover {
    background: #000000;
    transition: all 300ms ease-in-out;
  }
  .image-gallery-modal .modal-close:hover span svg path {
    fill: #ffffff;
    transition: all 300ms ease-in-out;
  }
}
.image-gallery-modal .modal-body {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.gallery-slider {
  height: 100%;
}
.gallery-slider .splide__track {
  height: 100%;
  max-width: calc(100% - 320px);
  box-sizing: border-box;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .gallery-slider .splide__track {
    max-width: calc(100% - 160px);
  }
}
@media (max-width: 850px) {
  .gallery-slider .splide__track {
    max-width: 100%;
  }
}
.gallery-slider .splide__list {
  height: 100%;
}
.gallery-slider .splide__slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slider .splide__slide .slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slider .splide__slide .slide-content img {
  max-width: 100%;
  max-height: calc(100% - 160px);
  -o-object-fit: contain;
     object-fit: contain;
}
.gallery-slider .splide__arrows .splide__arrow {
  width: 42px;
  height: 42px;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 99px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease-in-out;
  cursor: pointer;
}
.gallery-slider .splide__arrows .splide__arrow.splide__arrow--prev {
  left: 0px;
}
@media (max-width: 850px) {
  .gallery-slider .splide__arrows .splide__arrow.splide__arrow--prev {
    left: 24px;
  }
}
.gallery-slider .splide__arrows .splide__arrow.splide__arrow--next {
  right: 0px;
}
@media (max-width: 850px) {
  .gallery-slider .splide__arrows .splide__arrow.splide__arrow--next {
    right: 24px;
  }
}
.gallery-slider .splide__arrows .splide__arrow span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.gallery-slider .splide__arrows .splide__arrow span svg {
  width: 28px;
  height: 28px;
}
.gallery-slider .splide__arrows .splide__arrow span svg path {
  fill: #ffffff;
  transition: all 300ms ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-slider .splide__arrows .splide__arrow:hover {
    background: #ffffff;
    transition: all 300ms ease-in-out;
  }
  .gallery-slider .splide__arrows .splide__arrow:hover span svg path {
    fill: #000000;
    transition: all 300ms ease-in-out;
  }
}

.modal-focus-trap {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/******************
 * BACKEND STYLES *
******************/