.sipensi-news{
  background: #ffffff;
  padding: 80px 0 90px;
}

.sipensi-news-shell{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.sipensi-news-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}

.sipensi-news-header h2{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: #0f172a;
}

.sipensi-news-header p{
  margin: 0;
  color: #64748b;
  max-width: 680px;
  line-height: 1.7;
}

/* NAV BUTTON */
.sipensi-news-nav{
  display: flex;
  gap: 10px;
}

.news-nav-btn{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15,23,42,.15);
  background: #fff;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  color: #22466C;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}

.news-nav-btn:hover{
  background: #22466C;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15,23,42,.12);
}

/* TRACK */
.sipensi-news-track{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.sipensi-news-track.is-centered{
  justify-content: center;
}

.sipensi-news-track::-webkit-scrollbar{ display: none; }

/* CARD */
.news-card{
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  flex-shrink: 0;
  scroll-snap-align: start;
  overflow: hidden;
}

/* ✅ REVEAL (default hidden) */
.news-card{
  opacity: 0;
  transform: translateY(14px);
}

/* ketika section terlihat pertama kali */
.news-card.is-in{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

.news-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15,23,42,.15);
}

.news-card-link{
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card-image{
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #e2e8f0;
}

.news-card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
  min-height: 170px;
}

.news-card-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,70,108,.95);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.news-card-body{
  padding: 16px;
}

.news-card-date{
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
}

.news-card-title{
  margin: 6px 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt{
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 10px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-cta{
  font-weight: 800;
  color: #22466C;
}

@media (max-width: 768px){
  .sipensi-news-header{
    flex-direction: column;
    align-items: flex-start;
  }
}
