/* --- RESET DI BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* MENU BASE */
nav.main-menu {
  background-color: #4dabf7;
}

nav.main-menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-menu li {
  position: relative;
}

nav.main-menu a {
  display: block;
  padding: 14px 20px;
  color: navy;
  text-decoration: none;
font-weight: bold
}

nav.main-menu a:hover {
  background-color: #339af0;
}

/* LOGO */
.logo-img {
  height: 40px;
}

/* LINGUE */
nav.main-menu li.lang a {
  font-size: 1.2rem;
}

/* SUBMENU */
nav.main-menu .has-submenu:hover .submenu {
  display: block;
}

nav.main-menu .submenu {
  display: none;
  position: absolute;
  background-color: #4dabf7;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav.main-menu .submenu li a {
  padding: 10px 15px;
}

nav.main-menu .submenu li a:hover {
  background-color: #339af0;
}


/* --- CONTENUTO PRINCIPALE --- */
main {
  max-width: 900px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* --- BOTTONI --- */
.btn {
  display: inline-block;
  margin-top: 1rem;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
}

.btn:hover {
  background: #1ebe5d;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  nav.main-menu li {
    flex: 100%;
  }
}
/* --- LOGO --- */
.logo-img {
  height: 40px;
  vertical-align: middle;
}

nav.main-menu li.logo {
  flex: 0 0 auto;
}

/* --- LINGUE --- */
nav.main-menu li.lang a {
  padding: 10px;
  font-size: 1.2rem;
}
h1 {
      text-align: center;
      margin-bottom: 2rem;
      color: #0077cc;
font-size: 2.5em;
    }

 h2 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #0077cc;
font-size: 2.5em;
    }

 h3 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #0077cc;
font-size: 1.5em;
    }
h4 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #0077cc;
font-size: 0.5em;
    }

.contact, .map-button {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 15px;
align: center;
  justify-content: center;  
  align-items: center;
    }
    .contact a, .map-button a {
      padding: 12px;
      text-align: center;
      background-color: #4dabf7;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
align: center;
  justify-content: center;  
  align-items: center;
}
.article-box {
  max-width: 600px; /* più stretto */
  margin: 30px auto; /* centrato orizzontalmente */
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
}

.article-box h2 {
  margin-bottom: 15px;
  color: #4dabf7;
  text-align: center; /* titolo centrato */
}

.article-box p {
  margin-bottom: 10px;
}

.article-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 10px auto;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.img-piccola {
  display: block;
  max-width: 10%; /* metà larghezza */
  height: auto;
  margin: 1rem auto;
  border-radius: 8px; /* angoli arrotondati */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ombra morbida */
}
.article-box {
  max-width: 680px;     /* più stretto del contenitore */
  width: 92%;           /* resposive */
  margin: 20px auto;    /* centra orizzontalmente */
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
}
.article-header {
  display: flex;
  align-items: center;     /* allinea immagine e testo in verticale */
  justify-content: center; /* mette tutto al centro del box */
  gap: 6px;                /* spazio minimo tra immagine e titolo */
}

.article-header img {
  flex: 0 0 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.article-header h1 {
  font-size: 20px;
  margin: 0;

}
