@charset "UTF-8";
@font-face {
  font-family: "SFProText";
  src: url("../fonts/SFProText-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "SFProText";
    background-color: #f2f2f7; /* Серый фон */
}

/* Контейнер, ограничение в 380px и 8px отступа по бокам */
.container {
    max-width: 380px;
    width: 100%;
    margin: 20px auto; 
    padding: 0 8px;
}

.header {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Каждый элемент FAQ */
.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    cursor: pointer;
}

/* Вопрос */
.faq-question {
    font-weight: bold;
    line-height: 1.4;
    font-size: 14px;
}

/* Ответ (изначально скрыт) */
.faq-answer {
    display: none;
    margin-top: 8px;
    line-height: 1.4;
    font-size: 14px;
}

/* Если faq-item активен, ответ показывается */
.faq-item.active .faq-answer {
    display: block;
}
