.terkini-wrapper {
  display: flex;
  align-items: center;
  background: #FF8048;
  color: #fff;
  padding: 5px 15px;
  overflow: hidden;
  height: 40px; /* optional, for consistent height */
}
.terkini-label {
  font-weight: bold;
  margin-right: 10px;
  white-space: nowrap;
}

.terkini-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker-content {
  height: 22px;
  overflow: hidden;
  position: relative;
}

.ticker-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terkini-ticker ul {
  display: inline-block;
  padding-left: 100%; /* start outside the box */
  animation: ticker 20s linear infinite;
  margin: 0;
  list-style: none;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


.ticker-content li {
  display: none; /* hidden by default, JS will show one */
  font-size: 14px;
  margin-right: 20px;
}
.ticker-content li.active {
  display: inline-block;
}

.terkini-ticker .headline {
  display: inline-block;
  margin-right: 50px;
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 400;
}

.terkini-ticker a {
  color: #ffffff !important;  /* make links white */
  text-decoration: none;      /* remove underline */
  size: 14px;
  font-weight: 400;
  line-height: 14px;
}

.terkini-ticker a:hover {
  color: #ffcc00;             /* optional hover color (gold/yellow) */
  text-decoration: underline; /* optional hover effect */
}

.terkini-ticker:hover ul {
  animation-play-state: paused; /* pause on hover */
}

