/* XC-Articoli.css */
.testoarticolo{
    font-size: 22px;
    width: 80%;
    margin: 0 auto;
    color: #6D0D1B;
    line-height: 2rem;
    text-align: justify;
    margin-top: 25px;
        margin-bottom: 10px;
}
.nota1{
    font-size: 16px;
    line-height: 1.3rem;
    font-style: italic;
    text-align: right;
    margin-top: 15px;
}
.nota2{
    font-size: 16px;
    line-height: 1.3rem;
    font-style: italic;
    text-align: right;
    margin-bottom: 15px;
}
.articoli-section {
    width: 83%;
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 25px;
}

.articoli-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 25px;
  color: #6D0D1B;
}

.articoli-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  justify-items: center;
}

.articoli-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articoli-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/**************** mobile */
@media (max-width: 768px){
    .testoarticolo{
        width: 95%;
    }
    .nota1, .nota2 {
        font-size: 14px;
    } 
}