.news-details-gallery-section {
  margin-top: 48px;
  margin-bottom: 24px;
}

.news-details-gallery-item {
  padding: 0 12px;
}

.news-details-gallery-link {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  display: block;
  cursor: pointer;
}

.news-details-gallery-image {
  width: 100%;
  height: 522px;
  object-fit: cover;
  border-radius: 40px;
  display: block;
}

.news-details-gallery-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.news-details-gallery-carousel .owl-item {
  display: flex;
  height: auto;
}

.news-details-gallery-carousel .owl-nav,
.news-details-gallery-carousel .owl-dots {
  display: none;
}

.news-details-gallery-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.news-gallery-arrow {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: #999999;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.news-gallery-arrow:hover {
  color: #7b61ff;
}

.news-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-gallery-dots .owl-dots {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.news-gallery-dots .owl-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.news-gallery-dots .owl-dot span {
  margin: 0 !important;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9c9c9;
  opacity: 1;
}

.news-gallery-dots .owl-dot.active span,
.news-gallery-dots .owl-dot:hover span {
  background: #7b61ff;
}

.news-gallery-modal-content {
  background: #111111;
  border: none;
  border-radius: 24px;
  overflow: hidden;
  padding: 20px 20px 54px;
}

.news-gallery-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  filter: invert(1) grayscale(100%) brightness(200%);
}

.news-gallery-modal-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.news-gallery-modal-image {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  display: block;
}

.news-gallery-modal-caption {
  margin-top: 16px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.news-gallery-modal .carousel-control-prev,
.news-gallery-modal .carousel-control-next {
  width: 56px;
}

.news-gallery-modal .carousel-control-prev-icon,
.news-gallery-modal .carousel-control-next-icon {
  width: 34px;
  height: 34px;
}

.news-gallery-modal-indicators {
  bottom: -36px;
  margin-bottom: 0;
}

.news-gallery-modal-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
}

@media (max-width: 991.98px) {
  .news-details-gallery-image {
    height: 420px;
    border-radius: 28px;
  }
}

@media (max-width: 767.98px) {
  .news-details-gallery-item {
    padding: 0 8px;
  }

  .news-details-gallery-image {
    height: 320px;
    border-radius: 22px;
  }

  .news-details-gallery-controls {
    gap: 14px;
  }

  .news-gallery-modal-content {
    padding: 16px 16px 48px;
  }

  .news-gallery-modal-image-wrap {
    min-height: 58vh;
  }
}

.news-details-gallery-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.news-gallery-arrow {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: #999999;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.news-gallery-arrow:hover {
  color: #7b61ff;
}

.news-gallery-custom-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.news-gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c9c9c9;
  transition: 0.2s ease;
}

.news-gallery-dot.active,
.news-gallery-dot:hover {
  background: #7b61ff;
}
.news-details-gallery-carousel .owl-nav,
.news-details-gallery-carousel .owl-dots {
  display: none;
}

.news-pagination{
  margin-top:40px;
}

.news-pagination .pagination{
  gap:8px;
}

.news-pagination .page-link{
  border-radius:999px;
  border:1px solid #d9d9d9;
  color:#203a70;
  padding:10px 16px;
}

.news-pagination .page-item.active .page-link{
  background:#203a70;
  border-color:#203a70;
  color:#fff;
}