.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: start;
}
.gallery-image-link {
  flex: 0 0 33.333%;
  width: 30%;
  padding: 10px;
  color: #fff;
  position: relative;
  cursor: pointer;
}
@media(max-width: 1023px) {
  .gallery-image-link {
    flex: 0 0 50%;
    width: 50%;
  }
}
@media(max-width: 767px) {
  .gallery-image-link {
    flex: 0 0 100%;
    width: 100%;
  }
}
.gallery-image-link .gallery-image-block:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* .gallery-image-link:hover .gallery-image-block:before {
  cursor: pointer;
  box-shadow: inset 0px 0px 0px 10px rgba(164, 207, 95, .8);
  -webkit-box-shadow: inset 0px 0px 0px 10px rgba(164, 207, 95, .8);
  -moz-box-shadow: inset 0px 0px 0px 10px rgba(164, 207, 95, .8);
} */
.gallery-image-block {
  background-color: #222;
  position: relative;
}
.gallery-image-block.basic {
  background-color: transparent;
  position: relative;
  color: #222;
}
.gallery-image-targetcontainer {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  padding: 18px;
}
.gallery-image-targetcontainer .gallery-image-target {
  background-color: #404041;
  width: 35px;
  height: 35px;
  font-size: 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 35px;
}
.gallery-image-targetcontainer.basic {
  padding: 18px 0;
}
.gallery-image-targetcontainer.basic .basic-title {
  padding: 0 0 1px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom:0;
}
.gallery-image-targetcontainer.basic h3.basic-title {
   margin-bottom: 0 !important;
  padding-bottom: 0 !important'
}
.gallery-image-targetcontainer.basic .basic-desc {
  padding: 0 0 1px;
  font-size: 14px;
}
/* Modal */
.gallery-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.gallery-modal-overlay.active {
  display: flex;
}
.gallery-modal {
  background: #fff;
  width: 90%;
  max-width: 640px;
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
  background: #1a1a1a;
}
.gallery-modal-media {
    background: #1a1a1a;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px 40px
}
.gallery-modal-media video,
.gallery-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.gallery-modal-body {
    padding: 28px 32px 32px;
    text-align: center;
    background-color: #fff;
}
.gallery-modal-content.basic .gallery-modal-body{
  display: none;
}
.gallery-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #739d30;
    margin-bottom: 14px;
    line-height: 1.3;
}
.gallery-modal-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}
.gallery-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}
.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: calc(50% - 60px);
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}
.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(0,0,0,0.75);
}
.gallery-modal-prev {
    left: -44px;
}
.gallery-modal-next {
    right: -44px;
}
.gallery-modal-prev.visible {
    left: 0;
}
.gallery-modal-next.visible {
    right: 0;
}