/* Contenitore */
#rss-ticker {
  position: relative;             /* serve per posizionare la label */
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-bottom: 2px solid #00a551;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 0;
  padding-left: 160px;            /* fallback: verrà sovrascritto via JS */
  min-height: 40px;               /* assicura altezza minima */
}

/* Etichetta fissa a sinistra */
#rss-ticker .ticker-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  background: #d71a25;            /* rosso Adnkronos */
  color: #fff;
  font-weight: bold;
  padding: 0 20px;
  z-index: 2;                      /* sopra al contenuto, per sicurezza */
}

/* Logo */
#rss-ticker .ticker-label img {
  width: 20px;
  margin-right: 10px;
}

/* Striscia scorrevole (resta SEMPRE a destra della label) */
#rss-ticker .ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding: 10px;
  animation: scroll-left linear infinite;
  will-change: transform;
}

/* Animazione continua */
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* si ferma a metà perché duplicheremo il contenuto */
}
/* Link */
#rss-ticker a {
  margin: 0;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

/* Pausa su hover (anche se passi sulla label) */
#rss-ticker:hover .ticker-content {
  animation-play-state: paused;
}

#rss-ticker a::before {
content: "•";
margin: 0 10px;
font-size: 20px;
position: relative;
top: 2px;
color: #00a551;
font-weight: bold;
}

#rss-ticker a:hover {
color: #00a551; 
}