.sezione:nth-child(even) {
  background-color: #f5f5f5; /* Light gray background */
}

/* Target all ODD items (1st, 3rd, 5th, etc.) */
.sezione:nth-child(odd) {
  background-color: #e0e0e0; /* Slightly darker gray background */
}

.titolo-sezione  {
	margin: 0 auto;
	font-size: 3rem;
	/* margin-bottom: 2rem; */
	color: #000000;
	text-align: center;
}

.contenuto-sezione {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  margin-top: 20px;
  margin-bottom: 50px;
  width: 100%;
  padding: 2rem;
  max-width: 1200px; /* Limits the maximum width of your content container */
  margin: 0 auto;
}

.contenuto-sezione-testo {
	color: #000000;
	flex: 1;
}
.contenuto-sezione-immagine {
	flex: 1;
}




/* --- Global Grid Item Settings --- */
.grid-item img {
  width: 100%;
  height: auto;       /* Let resized images maintain their natural height */
  display: block;
  object-fit: contain; /* Ensures zero cropping happens to the images */
}

/* Mobile First: Stacks natively in a single column */
.elenco-settori {
	  margin-top: 150px;
	  }
/*
.elenco-servizi {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  margin-top: 150px;
  margin-bottom: 50px;
}
*/

.quote {
  background-color: #f5f5f5;
  padding: 40px;
  text-align: center;
  color: #000000;
  font-size: 1.25rem;
}

.quote p {
  margin-bottom: 2rem; 
}
.quote p:last-child {
  margin-bottom: 0;
}

/* --- Desktop Layout (768px and up) --- */
@media (min-width: 768px) {
  .contenuto-sezione {
    flex-direction: row;  /* MAGIC LINE: Forces columns side-by-side */
    align-items: center;  /* Vertically centers the text with the image */
  }

  /* Left Column: 1 part of space (1/3 width) */
  .contenuto-sezione-testo {
    flex: 1;
  }

  /* Right Column: 2 parts of space (2/3 width) */
  .contenuto-sezione-immagine {
    flex: 1;
  }
}

}