/* News Detail Styles */

.news-detail-wrapper {
  overflow: hidden;
  
}

.news-page-detail .wrapper.news-detail-wrapper {
  padding: 0;
}

.news-detail--picture {
  max-width: 500px;
  text-align: center;
  margin-left: 25px;
  float: right;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.news-detail--picture:hover {
  opacity: 0.9;
}

.news-detail--title {
  font-size: 32px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #231349;
  margin: 20px auto;
}

/* Video Block */
.news-detail--video {
  max-width: 500px;
  margin-left: 25px;
  float: right;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.news-detail--video iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* Slider Styles */
.news-detail-slider {
  clear: both;
  margin-top: 40px;
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.news-detail-slider.is-loaded {
  opacity: 1;
  visibility: visible;
}

.news-detail-swiper {
  width: 100%;
  padding-bottom: 50px;
}

.news-detail-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.news-detail-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-detail-swiper .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.news-detail-swiper .swiper-slide img:hover {
  transform: scale(1.05);
}

/* Swiper Navigation */
.news-detail-swiper .swiper-button-next,
.news-detail-swiper .swiper-button-prev {
  color: #cd3035;
  width: 44px;
  height: 44px;
}

.news-detail-swiper .swiper-button-next:after,
.news-detail-swiper .swiper-button-prev:after {
  font-size: 20px;
}

.news-detail-swiper .swiper-pagination-bullet {
  background: #cd3035;
  opacity: 0.5;
}

.news-detail-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
  .news-detail-swiper .swiper-slide img {
    height: 220px;
  }
}

@media (max-width: 992px) {
  .news-detail--picture,
  .news-detail--video {
    max-width: 400px;
  }
  
  .news-detail-swiper .swiper-slide img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .news-detail--picture,
  .news-detail--video {
    float: none;
    margin: 0 auto 20px;
    display: block;
    max-width: 100%;
  }
  
  .news-detail--title {
    font-size: 26px;
  }
  
  .news-detail-swiper .swiper-slide img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .news-detail--title {
    font-size: 22px;
  }
  
  .news-detail-swiper .swiper-slide img {
    height: 220px;
  }
  
  .news-detail-swiper .swiper-button-next,
  .news-detail-swiper .swiper-button-prev {
    display: none;
  }
}
