.gg-paginations button:not(:first-child):not(:last-child) {
  min-width: 44px;
}

.gg-paginations .hidden-prev-btn, .gg-paginations .hidden-next-btn {
  opacity: 25% !important;
}

.gg-modal-img {
  width: 100% !important;
  max-width: 100% !important;
  height: calc(100vh - 83px) !important;
  max-height: calc(100vh - 83px) !important;
  padding: 0 !important;
  margin: 0 auto !important;
  margin-top: 83px !important;
  background: rgba(252, 254, 255, 0.85) !important;
}

.gg-modal-img .gg-icon-close-modal {
  width: 100% !important;
  height: fit-content !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 640px) {
  .gg-modal-img .gg-icon-close-modal {
    width: var(--nd-container-current) !important;
  }
}

.gg-modal-img .gg-icon-close-modal svg {
  width: 75px !important;
  background: var(--wp--preset--color--primary) !important;
  border-radius: 18px !important;
  padding: 12px 24px;
  stroke-width: 3px;
}

.gg-modal-img .gg-icon-close-modal svg:hover {
  background: #365B92 !important;
}

.gg-modal-img .gg-container-div-img {
  width: 100% !important;
  overflow: hidden !important;
  margin: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 640px) {
  .gg-modal-img .gg-container-div-img {
    width: var(--nd-container-current) !important;
  }
}

.gg-modal-img .gg-container-div-img .gg-div-img-modal {
  align-items: center !important;
}

@media (min-width: 640px) and (max-width: 1024px) {
  .gg-container-div-img {
    max-height: 852px !important;
  }
}

.gg-modal-img .gg-container-div-img .gg-div-img-modal img {
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 83px - 110px) !important;
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
  margin: 0 auto !important;
  border-radius: 36px;
}

/* .gg-grid {
  width: fit-content !important;
  height: max-content !important;
} */
