
.hero-banner {
  position: relative;
  width: 100%;
  height: 60vh;        /* Altezza proporzionata al viewport */
  
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Riempie mantenendo le proporzioni */
  display: block;      /* Evita spazi vuoti sotto l’immagine */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0;
}

/* --- SEZIONE CHALLENGES --- */
.content {
  margin: 3rem auto;
  max-width: 900px;
  line-height: 1.6;
  font-size: 1.05rem;
  padding: 0 1rem;
}

.content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #003366; /* blu aziendale */
  border-left: 5px solid #0066cc;
  padding-left: 10px;
}

.content p {
  margin-bottom: 1.2rem;
  color: #333;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-text {
    bottom: 10%;
    left: 5%;
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .content {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
}