/* ===== Ticker styles ===== */
.cce-news-ticker{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 18px;
  background:linear-gradient(90deg,#0f4c81,#0a2f4f);
  color:#fff;
  overflow:hidden;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  font-family:inherit;
}

.cce-news-ticker-label{
  flex:0 0 auto;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  text-transform:uppercase;
  font-weight:700;
  font-size:12px;
  letter-spacing:.08em;
  white-space:nowrap;
}

.cce-news-ticker-track-wrapper{
  flex:1 1 auto;
  overflow:hidden;
}

.cce-news-ticker-track{
  display:inline-flex;
  align-items:center;
  gap:32px;
  white-space:nowrap;
  animation:cce-news-ticker-scroll 35s linear infinite;
}

.cce-news-ticker-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  text-decoration:none;
  color:inherit;
  padding:4px 0;
  opacity:.9;
}
.cce-news-ticker-item:hover{
  opacity:1;
  text-decoration:underline;
}

.cce-news-badge-new{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:999px;
  background:#ffb300;
  color:#1a1a1a;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  animation:cce-news-badge-blink 1.2s ease-in-out infinite;
}

.cce-news-ticker-empty{
  font-size:13px;
  opacity:.85;
}

@media (max-width:767px){
  .cce-news-ticker{
    border-radius:18px;
    padding:8px 12px;
    gap:10px;
  }
  .cce-news-ticker-label{
    display:none;
  }
  .cce-news-ticker-track{
    animation-duration:25s;
  }
}

@keyframes cce-news-ticker-scroll{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

@keyframes cce-news-badge-blink{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.2; transform:scale(.92); }
}

/* ===== List view styles ===== */
.cce-news-list-wrapper{
  margin:20px 0;
}
.cce-news-list-heading{
  font-size:1.3rem;
  margin:0 0 10px;
  color:#0f4c81;
}
.cce-news-list{
  list-style:none;
  margin:0;
  padding:0;
}
.cce-news-list-item{
  border-bottom:1px solid #e2e8f0;
  padding:8px 0;
}
.cce-news-list-link{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#111827;
}
.cce-news-list-link:hover .cce-news-list-title{
  text-decoration:underline;
}
.cce-news-list-badge-new{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:999px;
  background:#ffb300;
  color:#1a1a1a;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  animation:cce-news-badge-blink 1.2s ease-in-out infinite;
}
.cce-news-list-title{
  font-size:14px;
}
.cce-news-list-empty{
  font-size:14px;
  color:#6b7280;
}
