/* =========================
   CAROUSEL OVERLAY + CAPTION
   (clean + no duplicate/conflicting rules)
========================= */
.carousel .slide-overlay{
  position:absolute;
  left:0;
  top:200px;
  right:0;
  bottom:0;
  width:100%;
  padding:1.5rem;
  box-sizing:border-box;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.40) 50%,
    rgba(0,0,0,0)   100%
  );
}

/* Caption wrapper */
.slide-caption{
  margin:0;
  color:#fff;
  display:flex;
  flex-direction:column;
}

/* Source line */
.caption-source{
  font-size:.875rem;
  font-weight:500;
  opacity:.8;
  margin-bottom:.25rem;
}

/* Headline line (clamped) */
.caption-text{
  font-size:1.75rem;
  font-weight:700;
  line-height:1.2;
  text-shadow:0 2px 4px rgba(0,0,0,.6);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
}

/* Responsive down-scale */
@media (max-width:768px){
  .carousel .slide-overlay{ padding:1rem;
  top:132px; }
  
  .caption-text{ font-size:1.25rem; }
}

/* Lift overlay up on desktop (single method, no conflicting bottom values) */
@media (min-width:1024px){
  .carousel .slide-overlay{ transform:translateY(-20px); }
}

/* =========================
   NEWS LIST / NAV / BREAKING
========================= */
.news-list__items li a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:600;
  font-size:16px;
  color:#003366 !important;
}

.custom-nav-item{
  position:relative;
  font-size:15px;
  font-family:sans-serif;
}

.breaking .scroll-text{ font-size: 1rem; }

/* =========================
   PUBLISH META (deduped)
========================= */
.headline-publish,
.news-publish,
.trend-publish,
.cat-publish{
  color:#141416;
  font-size:12px;
  font-family:'Merriweather';
  font-weight:normal !important;
}
[data-theme="dark"] .text .news-publish {
    color: #fff 
}
[data-theme="dark"] .headline-publish{
    color: #fff 
}
[data-theme="dark"] .cat-publish{
    color: #fff 
}
