/*Stile del menu top e bottom*/
.barra-pulsanti-top {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: space-around;
  top: 0;
  right: 0;
  left: 0;
}

.barra-pulsanti-bottom {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--colore-primario);
}


.bottone-menu {
  flex: 1;
  display: flex;
  align-items:center;
  justify-content: space-between;
  padding: 0.9rem 0.2rem;
  background-color: var(--colore-primario);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.bottone-menu.sx {
  justify-content: flex-start;
}

.bottone-menu.dx {
  justify-content: flex-end;
  text-align: right;
}

.bottone-menu .freccia {
  font-size: 1.2rem;
  display: inline-block;
  margin: 0 0.5rem;
}

.bottone-menu .testo {
  line-height: 1.2;
  display: inline-block;
}

/*Stile della scheda*/
.contenitore {
  margin: 1.1rem auto 2rem auto; /* margine sopra e sotto, auto ai lati per centrare */
  padding: 1rem;
  padding-bottom: 4rem;
  background-color: #fff;
  border-radius: 12px;
  text-align: center;
  max-width: 800px;      /* larghezza massima su desktop (puoi regolare) */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contenitore small {
  font-size: 0.8rem;
  color: #444;
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}

.contenitore article {
 text-align: left;
}

.contenitore img {
  max-width: 100%;      /* adatta ogni immagine alla larghezza del contenitore */
}

.titolo-news {
  color:  #444;
  line-height: 1.8rem;
  font-weight: 700;
}

.immagine-principale {
  width: 60%;
  margin: 2rem auto 2rem auto;
  display: block;
}


/* articolo.css */

.meta {
  font-size: 0.9em;
  color: #555;
}

#top {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap; /* così va su due righe su schermi piccoli */
  margin: 2rem 0;
}

#top figure, #top blockquote {
  flex: 1 1 300px; /* larghezza minima preferita */
  margin: 0;
}

#top figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

#top figcaption {
  text-align: center;
  font-size: 0.85em;
  color: #666;
  margin-top: 0.5rem;
}

#top blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  font-style: italic;
  color: #444;
}


.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1rem 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-box {
margin-bottom: 1.5rem;
}