.news-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-slider {
  width: 100%;
}

.main-slider .swiper-slide {
  position: relative;
}

.slide-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.slide-media img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.slide-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(4, 1, 19, 0.35);
  z-index: 1;
}

.main-content {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 5%;
  z-index: 2;
  color: #fff;
}

.main-content h2 {
  font-size: 24px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumbs-wrapper {
  position: relative;
}

.thumbs-slider .swiper-slide {
  cursor: pointer;
}

.thumb-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.thumb-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.thumb-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(4, 1, 19, 0.35);
  z-index: 1;
}

.thumb-media span {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 5%;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.thumb-btn {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 70px;
  font-weight: 700;
  color: #c30f25;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.9s ease;
}

.thumb-btn:hover {
  color: #ffffff;
}

.thumb-prev {
  left: 0;
}

.thumb-next {
  right: 0;
}

.swiper-button-prev,
.swiper-button-next {
  display: none;
}

@media screen and (min-width: 1024px) {
  .slide-media img {
    height: 550px;
  }

  .main-content h2 {
    font-size: 30px;
  }

  .thumb-media img {
    height: 275px;
  }

  .thumb-media span {
    font-size: 16px;
  }
}

@media screen and (min-width: 1440px) {
  .slide-media img {
    height: 650px;
  }

  .main-content h2 {
    font-size: 36px;
  }

  .thumb-media img {
    height: 300px;
  }

  .thumb-media span {
    font-size: 18px;
  }
}
