.email-section {
    display: flex;
    justify-content: flex-start; /* Allinea il modulo a sinistra */
    padding: 20px;
}

.email-section form {
    padding: 20px;
    border-radius: 5px;
    max-width: 700px;
    min-width:300px ;
    width: 100%;
}

.email-section h2 {
    margin-top: 0;
    color: #333;
}

.email-section input,
.email-section textarea,
.email-section button {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid rgba(78, 122, 117, 100);
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.email-section input:focus,
.email-section textarea:focus {
    border-color: #007bff;
    outline: none;
}

.email-section button {
    background-color: rgba(78, 122, 117, 100);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.email-section button:hover {
    background-color: rgba(55, 102, 96, 100);
}

.email-section #status {
    font-size: 14px;
    color: #666;
}

/*posizioni aperte*/
.posizioni {
    padding: 80px 20px;
    font-family: "Inter", sans-serif;
    color: #000;
  }
  
  .posizioni h2 {
    color: #000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .linea-titolo {
    width: 140px;
    height: 3px;
    background: #0c84a5;
    margin: 0 auto 60px;
  }
  
  /* Contenitore posizione */
  .posizione {
    max-width: 900px;
    margin: 0 auto 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
  }
  
  /* Titolo posizione (clickabile) */
  .posizione-titolo {
    font-size: 1.3rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 15px 0;
  }
  
  .posizione-titolo .line {
    flex: 1;
    height: 2px;
    background: #000;
    margin: 0 15px;
  }
  
  .posizione-titolo .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  
  .posizione-titolo.active .arrow {
    transform: rotate(135deg);
  }
  
  /* Contenuto tendina */
  .posizione-contenuto {
    display: none;
    margin-top: 10px;
    text-align: left;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .posizione-contenuto h3 {
    font-size: 1.1rem;
    color: #0c84a5;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .posizione-contenuto p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  
  .avviso-legale {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    line-height: 1.5;
  }
  
  /* foto */
  
  .realizzazioni {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: clamp(300px, 90vw, 1200px);
    margin: auto;
  }

  .card-row {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 2rem);
  }

  .card-container {
    width: 100%;
    height: clamp(200px, 50vh, 600px); /* Altezza fluida */
    border-radius: clamp(10px, 2vw, 20px);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: clamp(10px, 2vw, 20px);
  }
