/* Container Principale */
.iata-faq-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #2c3e50;
}

/* Titolo della Sezione */
.iata-faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #4a1525; /* Rosso profondo/Bordeaux spirituale */
  font-weight: 600;
}

/* Singolo Elemento dell'Accordion */
.iata-faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
  background-color: #fafbfc;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.iata-faq-item:hover {
  background-color: #f4f6f8;
}

/* Bottone della Domanda */
.iata-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  transition: color 0.3s ease;
}

.iata-faq-question:focus {
  outline: none;
}

/* Icona + / - gestita con CSS puro */
.iata-faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.iata-faq-icon::before,
.iata-faq-icon::after {
  content: '';
  position: absolute;
  background-color: #8a6d3b; /* Oro scuro/ottone */
  transition: transform 0.3s ease;
}

/* Linea Orizzontale del più */
.iata-faq-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

/* Linea Verticale del più */
.iata-faq-icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

/* Stato Attivo (FAQ Aperta) */
.iata-faq-item.active {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-left: 4px solid #8a6d3b; /* Evidenziatura in oro */
}

.iata-faq-item.active .iata-faq-question {
  color: #4a1525;
}

/* Trasformazione dell'icona da + a - quando attiva */
.iata-faq-item.active .iata-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0; /* Nasconde la linea verticale, lasciando solo quella orizzontale (-) */
}

/* Contenitore della Risposta */
.iata-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Animazione fluida */
}

/* Mostra la risposta quando l'item è attivo */
.iata-faq-item.active .iata-faq-answer {
  max-height: 1000px; /* Valore alto per permettere l'estensione del testo */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Testo della Risposta */
.iata-faq-answer p {
  padding: 0 20px 20px 20px;
  margin: 0;
  text-align: left;
  line-height: 1.6;
  font-size: 1rem;
  color: #555;
}

.iata-faq-answer em {
  font-style: italic;
  color: #4a1525;
}