.gallery-container .gallerySwiper .img-wrapper {
  padding-top: calc((220/420) * 100%);
  position: relative;
  max-width: 420px;
  display: block;
  margin-bottom: 20px;
}

.gallery-container .gallerySwiper .img-wrapper img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
}

.gallery-modal .modal-dialog {
  max-width: 810px;
}

.gallery-modal .modal-body {
  padding: 42px;
}

.gallery-modal .modal-gallery-text {
  margin-bottom: 0;
  margin-top: 20px;
  text-align: center;
}

.gallery-modal .close {
  top: 12px;
  right: 12px;
  color: white;
  z-index: 2;
}

.methodology-gallery .load-more {
  padding-top: 20px;
}

@media (max-width: 991.98px) {
  .gallery-modal .modal-dialog {
    max-width: 90%;
  }
}

@media (max-width: 767.98px) {
  .gallery-container .gallerySwiper {
    width: 100%;
    overflow: visible;
  }

  .gallery-container .gallerySwiper::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 101%;
    left: -100%;
    top: -1px;
    z-index: 99;
    background-color: var(--section-bg);
  }

  .methodology-gallery .ttl-md {
    margin-bottom: 30px;
  }
}