.newsHeader {
  position: relative;
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

.newsHeader__container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Top Section */
.newsHeader__topSection {
  padding: 0 0 20px 0;
}

.newsHeader__topSection .newsHeader__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.newsHeader__categories {
  flex: 1;
}

.newsHeader__categoryList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.newsHeader__categoryItem {
  margin: 0;
  color: var(--Bl, #297dd0);
  font-family: "Asap", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--Bl, #297dd0);
}

.newsHeader__backButton {
  flex-shrink: 0;
}

.newsHeader__backButtonLink {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--Orange, #eb5a37);
  font-family: Asap;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  transition: all 0.3s ease;
}

.newsHeader__backButtonLink:hover {
  transform: translateY(-2px);
}

.newsHeader__backIcon {
  width: 20px;
  height: 20px;
}

/* Image Slider Section */
.newsHeader__imageSection {
  position: relative;
  width: 100%;
  background: #000;
}

.newsHeader__imageSlider {
  position: relative;
  width: 100%;
  height: 545px;
  overflow: hidden;
}

.newsHeader__imageTrack {
  position: relative;
  width: 100%;
  height: 100%;
}

.newsHeader__imageSlide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.newsHeader__imageSlide.active {
  opacity: 1;
}

.newsHeader__imageSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation Buttons */
.newsHeader__navButton {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.newsHeader__navButton:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.newsHeader__navButton--prev {
  left: 20px;
}

.newsHeader__navButton--next {
  right: 20px;
}

/* Dots Indicator */
.newsHeader__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.newsHeader__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsHeader__dot.active,
.newsHeader__dot:hover {
  background: #fff;
  transform: scale(1.2);
}

/* Text Section */
.newsHeader__textSection {
  padding: 40px 0;
}

.newsHeader__imageText {
  color: #000;
  font-family: "Asap", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-left: 20px;
  border-left: 2px solid #017668;
}

.newsHeader__imageText p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .newsHeader__topSection .newsHeader__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .newsHeader__categoryList {
    gap: 10px;
  }

  .newsHeader__categoryLink {
    padding: 6px 12px;
    font-size: 12px;
  }

  .newsHeader__backButtonLink {
    padding: 8px 16px;
    font-size: 14px;
  }

  .newsHeader__imageSlider {
    height: 250px;
  }

  .newsHeader__navButton {
    width: 40px;
    height: 40px;
  }

  .newsHeader__navButton--prev {
    left: 10px;
  }

  .newsHeader__navButton--next {
    right: 10px;
  }

  .newsHeader__dots {
    bottom: 15px;
  }

  .newsHeader__dot {
    width: 10px;
    height: 10px;
  }

  .newsHeader__textSection {
    padding: 30px 0;
  }

  .newsHeader__imageText {
    font-size: 16px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .newsHeader__topSection {
    padding: 15px 0;
  }

  .newsHeader__categoryList {
    gap: 8px;
  }

  .newsHeader__imageSlider {
    height: 200px;
  }

  .newsHeader__textSection {
    padding: 20px 0;
  }

  .newsHeader__imageText {
    font-size: 14px;
  }
}
