/* ===============================
   STYLE CONTATTI & NEWS
================================== */

.sezione-annuncio {
  display: flex;
  flex-direction: column;
}

.sezione-annuncio .topbg {
  background: linear-gradient(to bottom, #ededed 70%, #ffffff 0%);
}

.titolo-annuncio {
  position: relative;
  z-index: 2;              /* sopra allo sfondo */
  text-align: center;
  margin-bottom: 2rem;    /* spazio reale prima del box */
}

/* info negozi */
.section-item h2 {
 line-height: 1.8rem;
 margin-bottom: 0.5rem;
}

.section-item h3 {
 font-size: 18px;
 line-height: 1.5rem;
 font-weight: 500;
 margin-bottom: 0.5rem;
}

.section-item p {
 color: #a7a7a7;
 font-size: 16px;
 line-height: 1.2rem;
}

/* Bottone */
.cta-buttons-red {
  display: flex;
  flex-direction: column;     /* uno sopra l'altro */
  align-items: center;        /* centrati */
  margin-top: 1rem;
}

.cta-buttons-red .btn-outline-red {
  display: flex;              /* icona + testo */
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;           /* stessa dimensione */
  padding: 1rem 1.4rem;
  text-transform: lowercase;
}

.cta-buttons-red img {
  height: 22px;
  width: auto;
  display: block;
}

.bg-light {
  padding: 0.5rem;
}

/* --- SEZIONE TEAM (GRIGLIA) --- */
/* TEAM GRID */
.ciclo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 membri */
  gap: 3rem;
  max-width: 1100px;    /* centra visivamente la griglia */
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .ciclo-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}


/* ===============================
   NEWS – SFONDO GRIGIO CONTINUO
================================== */
.section-news {
  text-align: center;
  background-color: var(--colore-grigio);
  padding: 3rem 0.5rem;
}

/* ===============================
   NEWS – GRIGLIA 2 COLONNE
================================== */

#feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;                    /* spazio tra i box */
  max-width: 1000px;
  margin: 2rem auto 0 auto;
}

/* mobile */
@media (max-width: 768px) {
  #feed {
    grid-template-columns: 1fr;
  }
}

/* singolo box */
.post {
  background-color: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

/* immagine */
.post img {
  width: 250px;
  height: auto;  
  object-fit: contain;
  margin:auto;
  margin-bottom: 1rem;
}

/* contenuto */
.post-content h2 {
  font-size: 1.25rem;
  line-height: 1.4rem;
  margin-top: 1.5rem;
}

.post-content p {
  font-size: 1rem;
  line-height: 1.45rem;
  color: #000;
  margin-bottom: 1rem;
}

.post-content small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #777;
}

.btn-scopri {
  padding: 0.6rem 1rem;
  background-color: var(--colore-primario);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 3.5rem;
}

#paginazione button.btn-utility {
  border-radius: 100px;
  padding: 0.1rem 0.5rem;
  }