.faq{
  /* width: 100%; */
}

.faq-width {
  width: 100%;
}

.faq__grid{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
}

.faq__title{
  width: 300px;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
  text-align: left;
}

.page-faq__intro{
  margin-top: 1rem;
}

.faq__items{
  display: grid;
  gap: 14px;
  max-width: 700px;
}

/* Items frontend */
.faq-item{
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  overflow: hidden;
  background: white;
}

.faq-item__question{
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-weight: 500;
  line-height: 1.35;
}

.faq-item__answer{
  margin: 0;
  padding: 10px 0 0 10px;
  line-height: 1.55;
}

/* Accordion frontend (solo cuando JS está activo) */
/* .faq--js .faq-item__answer{ display: none; }
.faq--js .faq-item.is-open .faq-item__answer{ display: block; } */

.faq-item__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease;
}

.faq-item.is-open .faq-item__icon{
  transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 900px){
  .faq__grid{
    gap: 16px;
    flex-direction: column;
   
  }
  .faq__items {
    max-width: 100%
}
}

.faq__items{ margin-left: auto; }


/* Animación cajón */
.faq--js .faq-item__answer-wrap{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .28s ease, opacity .22s ease;
}

.faq--js .faq-item.is-open .faq-item__answer-wrap{
  max-height: var(--faq-h, 400px);
  opacity: 1;
}

/* Ajusta padding del contenido al abrir */
.faq--js .faq-item__answer{
  margin: 0;
  padding: 10px 0 0 10px;
  border-top: 1px solid rgba(0,0,0,.10);
}
