/* Fascia ultima news: unica aggiunta alla versione originale. */
.hero-news {
  position: relative;
  z-index: 1;
  margin-bottom: 38px;
  padding: 16px 20px;
  border-left: 3px solid var(--coral);
  background: rgb(255, 240, 230);
  animation: hero-news-enter .32s ease-out var(--hero-enter-duration) both;
}

@keyframes hero-news-enter {
  from { opacity: 0; visibility: hidden; }
  to { opacity: 1; visibility: visible; }
}

.hero-news p {
  margin: 0;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.6;
}

.hero-news a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hero-news a:hover,
.hero-news a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-news a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .hero-news {
    margin-bottom: 28px;
    padding: 14px 16px;
  }

  .hero-news p {
    font-size: .875rem;
  }
}

.hero-news-slides {
  display: grid;
  min-block-size: 28px;
}

.hero-news-slides > p {
  grid-area: 1 / 1;
  align-self: center;
}

.hero-news-slides > [aria-hidden="true"] {
  visibility: hidden;
}

.hero-news-slides > .is-entering {
  animation: hero-news-slide .32s ease-out both;
}

@keyframes hero-news-slide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
