

/* Start:/local/templates/dresscode/components/bitrix/news.list/faq/style.css?17619077741449*/

/* Стиль для заголовка секции */
#faq-block h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Стиль для каждого элемента вопрос-ответ */
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

/* Кнопка вопроса */
.faq-question {
    text-align: left;
    background: none;
    font-size: 16px !important;
    padding: 15px;
    cursor: pointer;
    font-weight: 500 !important;
    color: #000 !important;
    position: relative;
	border-radius: 4px;
    transition: background-color 0.3s ease !important;
}

/* Стрелка рядом с вопросом */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 28px;
    color: #000;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

/* Ответ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 15px;
}

.faq-answer p {
    margin: 0;
    padding: 15px 0;
    font-size: 16px;
    color: #555;
}

/* Активный ответ */
.faq-item.active .faq-answer {
    /* max-height: 200px; Задаем максимальную высоту для раскрытия */
    max-height: fit-content;
    padding: 15px;
}
/* End */
/* /local/templates/dresscode/components/bitrix/news.list/faq/style.css?17619077741449 */
