

/* Start:/local/templates/ridemx/components/bitrix/news.list/faq_block_vb/style.css?17920703933224*/
/* ================= КОНТЕЙНЕР faq block ================= */
.faq-section {
    width: 100%;
    /*max-width: 1300px;*/
    margin: 0 auto;
    margin-top: 50px;
}

/* Хлебные крошки в стиле сайта */
.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: #888888;
    margin-bottom: 12px;
}
.breadcrumbs span.separator {
    color: #ccc;
}

/* Главный заголовок (брутальный, как «ДОСТАВКА») */
.faq-title {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    color: #000000;
}

/* ================= СПИСОК ВОПРОСОВ ================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Карточка вопроса (фон как у блока «Самовывоз») */
.faq-item {
    background-color: #F5F6F8;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.faq-item.active {
    background-color: #f0f1f4;
}

/* Кнопка-вопрос */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.faq-question-text {
    font-size: 23px;
    font-weight: 700;
    color: #111111;
    transition: color 0.2s ease;
}

.faq-item:hover .faq-question-text {
    color: #E31E24; /* Фирменный красный при наведении */
}

/* Стрелочка/индикатор раскрытия */
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s;
}

.faq-icon svg {
    width: 12px;
    height: 12px;
    stroke: #111111;
    stroke-width: 2.5;
    fill: none;
    transition: stroke 0.2s;
}

/* Состояние активного элемента */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: #E31E24; /* Красный кружок при открытии */
}

.faq-item.active .faq-icon svg {
    stroke: #ffffff; /* Белая стрелочка при открытии */
}

/* Блок с ответом (плавное раскрытие) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    font-size: 20px;
    color: #444444;
    line-height: 1.6;
}

.faq-answer-content p + p {
    margin-top: 10px;
}

/* Дополнительный бейдж (как "Бесплатно" на скриншоте) */
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #E31E24;
    background: #FEECEB;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
}
/* End */
/* /local/templates/ridemx/components/bitrix/news.list/faq_block_vb/style.css?17920703933224 */
