/* ========================================= */
/* NEWS HIGHLIGHT */
/* ========================================= */

.news-highlight {
  background:#fff;
  position:relative;
  z-index:10;
}

.news-highlight-inner {
  border-radius: 16px;
  /*padding: 20px;*/
}

/* ========================================= */
/* CARD LAYOUT */
/* ========================================= */

.news-highlight-card {
  display: flex;
  align-items: stretch;
  height: 320px;
  background: #f4f9fc;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* ========================================= */
/* IMAGE */
/* ========================================= */

.news-image {
  flex: 1.1;
  min-width: 0;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0));

  z-index: 1;
}

/* ========================================= */
/* CONTENT */
/* ========================================= */

.news-content {
  flex: 1;
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  right: 28px;
  align-items: flex-start;
}

/* Tag */
.news-tag {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFBF00;
  margin-bottom: 10px;
}

/* META*/

.news-meta{
  display:flex;
  align-items:center;
  gap:12px;

  margin-bottom:20px;

  font-size:13px;

  color:#777;
}


/* Title */
.news-content h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Description */
.news-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

/* ========================================= */
/* CAROUSEL FIX (Bootstrap override) */
/* ========================================= */
.news-carousel {
  max-width: 100%;
  margin: 0 auto;
}

.carousel-inner {
  overflow: visible;
}

.carousel-item {
  padding: 0;
}

.carousel-fade .carousel-item {
  transition: opacity 0.6s ease-in-out;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  z-index: 5;
}

/* ========================================= */
/* NAVIGATION ARROWS */
/* ========================================= */

.carousel-control-prev,
.carousel-control-next {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  opacity: 1;
}

.carousel-control-prev {
  left: -10px;
}

.carousel-control-next {
  right: -10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.news-carousel,
.carousel,
.carousel-inner,
.carousel-item {
  width: 100%;
}

.news-highlight-card {
  width: 100%;
}

/* ========================================= */
/* NEWS TIMELINE */
/* ========================================= */

.news-timeline {
  position: absolute;
  bottom: 14px;
  right: 28px;
  left: calc(50% + 20px);
  width: 180px;
  /* smaller + safer */
  max-width: 60%;
  /* prevents overflow on small screens */
  display: flex;
  gap: 6px;
  z-index: 10;
}

.news-timeline-item {
  flex: 1;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.25s ease;
}

.news-timeline-item.active {
  opacity: 1;
}

/* bar */
.news-timeline-bar {
  width: 100%;
  height: 3px;
  background: #ffba01;
  border-radius: 10px;
  overflow: hidden;

}

/* progress */
.news-timeline-progress {
  height: 100%;
  width: 0%;
  background: #0FB4DF;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 992px) {

  .news-highlight-card {
    height: 300px;
  }

}

@media (max-width: 768px) {
  .banner-with-overlap {
    padding-bottom: 80px;
  }

  .news-highlight {
    margin-top: -60px;
  }

  .news-highlight-card {
    flex-direction: column;
    height: auto;
  }

  .news-image {
    height: 220px;
  }

  .news-content {
    padding: 20px 0px 40px 20px;
  }

  .news-content h3 {
    font-size: 20px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .news-timeline {
    left: 20px;
    right: 20px;
    width: auto;
    margin-top: 14px;
  }
}