/* Barra in alto: notizie che scorrono verso l'alto, ora e data */
.igdp-ticker-link.idh-tk-off { display: none; }
.idh-tk { position: relative; flex: 1 1 400px; min-width: 0; height: 20px; overflow: hidden; }
.idh-tk-list { display: block; transition: transform .55s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.idh-tk-list.idh-tk-snap { transition: none; }
.idh-tk-item { display: block; height: 20px; line-height: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: var(--igdp-paper, #fff); font-size: 14px; font-weight: 500; text-decoration: none; }
.idh-tk-item:hover, .idh-tk-item:focus-visible { color: var(--igdp-yellow, #FFBD00); }
.idh-tk-clock { display: inline-block; margin-right: 12px; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .28); color: var(--igdp-paper, #fff);
  font-weight: 700; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .idh-tk-list { transition: none; } }

/* Sui telefoni le notizie si sfogliano orizzontalmente, con la notizia successiva in vista. */
@media (max-width: 767px) {
  .igdp-ticker .igdp-ticker-in { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 16px; }
  .igdp-ticker .igdp-badge { flex: 0 0 auto; }
  .igdp-ticker .idh-tk { flex: 1 1 auto; min-width: 0; height: 28px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x; }
  .igdp-ticker .idh-tk::-webkit-scrollbar { display: none; }
  .igdp-ticker .idh-tk-list { display: flex; flex-wrap: nowrap; gap: 14px; width: max-content; height: 28px; transform: none !important; transition: none; }
  .igdp-ticker .idh-tk-item { flex: 0 0 min(58vw, 220px); width: min(58vw, 220px); height: 28px; line-height: 28px; scroll-snap-align: start; font-size: 12px; }
  .igdp-ticker .idh-tk-item[aria-hidden="true"] { display: none; }
  .igdp-ticker .igdp-ticker-date { display: none; }
}

/* Topbar mobile: titoli completi, separati da un punto, con scorrimento continuo. */
.idh-tk-mobile-copy { display: none; }
@media (max-width: 767px) {
  .igdp-ticker .igdp-badge { display: none !important; }
  .igdp-ticker .idh-tk { scroll-snap-type: none; }
  .igdp-ticker .idh-tk-list { gap: 0; }
  .igdp-ticker .idh-tk-item { flex: 0 0 auto; width: auto; max-width: none; overflow: visible; text-overflow: clip; }
  .igdp-ticker .idh-tk-item:not(:first-child)::before { content: '\2022'; display: inline-block; margin: 0 14px; color: var(--igdp-sand, #EFE8DE); }
  .igdp-ticker .idh-tk-item.idh-tk-desktop-copy { display: none; }
  .igdp-ticker .idh-tk-item.idh-tk-mobile-copy { display: block; }
}
