/* ============================================
   TICKER SCROLL — Child Theme Salient
   À inclure dans : assets/css/ticker.css
   ============================================ */

.ticker-section {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background: transparent;
}

.ticker-row {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.ticker-row:last-child {
  margin-bottom: 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  /* On duplique le contenu × 2 pour le loop seamless */
}

.ticker-word {
  display: inline-block;
  font-family: 'hndr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(3.85rem, 4.4vw, 4.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 0 0.15em;
  transition: color 0.2s ease;
}

.ticker-star {
  display: inline-block;
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  color: #535353;
  margin: 0 0.6em;
  vertical-align: middle;
  line-height: 1;
  /* Légère rotation pour le caractère */
  transform: rotate(15deg);
  transition: transform 0.3s ease;
}

/* Hover global sur la section : ralentit l'animation */
.ticker-section:hover .ticker-row {
  animation-play-state: paused;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .ticker-word {
    font-size: clamp(0.75rem, 3.5vw, 0.9rem);
  }

  .ticker-star {
    margin: 0 0.4em;
  }
}
