.main-faq-cont{

    max-width: 856px;
    margin: 70px auto ;
}



/* public/css/faq.css */

/* Сбросим стандартный маркер */
.faq-question::-webkit-details-marker {
    display: none;
  }
  
  .faq-item {
    border: 1px solid var(--gray-line-light);
    margin-bottom: .5rem;
    border-radius: 16px;
    background-color: var(--white);
}
  
  /* Вопрос */
  .faq-question {
    cursor: pointer;
    padding: 1rem;
    display: block;
    position: relative;
    transition: color .3s ease;
    color: var(--black-2);
    font-weight: 500;
  }
  .faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    color: var(--black-2);
    transition: transform .3s ease;
  }
  
  /* Ответ: изначально скрыт */
  .faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0 1.5rem;
    margin: -8px 0px 0px 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--gray-text-2);
    overflow: hidden;
    transition: max-height .4s ease, opacity .4s ease, padding .4s ease;
  }
  
  /* Открытое состояние через [open] */
  .faq-item[open] .faq-question {
    color: var(--blue-more);
  }
  .faq-item[open] .faq-question::after {
    content: '–';
    transform: rotate(180deg);
  }
  .faq-item[open] .faq-answer {
    max-height: 400px;    /* достаточно, чтобы вместить ответ */
    opacity: 1;
    padding: .5rem 1rem 1rem;
  }
    















@media (max-width: 857px) {
    .main-faq-cont{
        margin: 24px auto 0 auto;
    }
 }
