/* ============================
   SEZIONE NEWS RECENTI
============================ */
.news-recenti {
  text-align: center;
  padding: 4rem 0;
  background-color: #c2380c;
  color: #ffffff;
}
.news-recenti .news-section-title {
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff; /* bianco */
  margin-bottom: 0.5rem;
}
.news-recenti h2 {
  margin-bottom: 1.5rem;
  color: #ffffff; /* bianco */
}
/* Griglia news */
.news-recenti .news-list {
  list-style: none;
  margin-top: 2rem;
  padding-left: 0;
  max-width: 1600px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
/* Box news */
.news-recenti .news-article {
  background-color: transparent;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.news-recenti .news-article img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border-bottom: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-recenti .news-article img:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
/* Contenuto news */
.news-recenti .news-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Titolo */
.news-recenti .news-content-title {
  margin: 0.5rem 0;
  text-align: center;
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}
.news-recenti .news-content-title a {
  color: #ffffff;
  text-decoration: none;
}
.news-recenti .news-content-title a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
@media (max-width: 992px) {
  .news-recenti .news-list {
    grid-template-columns: repeat(2, 1fr);
    width: 80%;
    margin-inline: auto;
  }
}
@media (max-width: 576px) {
  .news-recenti .news-list {
    grid-template-columns: 1fr;
    width: 85%;
    margin-inline: auto;
  }
}
