/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Sep 28 2026 | 20:35:47 */
/* =========================================================
   FAQ-секция (Schema.org FAQPage) — стили для <details>
   ========================================================= */

/* Обёртка секции */
section[itemtype*="FAQPage"] {
    /* При желании — задайте фон, отступы, максимальную ширину */
    /* padding: 1% 0; уже задан inline — не переопределяем */
}

/* Один вопрос */
section[itemtype*="FAQPage"] details {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    margin: 0 0 12px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

section[itemtype*="FAQPage"] details:hover {
    border-color: #f4511e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Заголовок вопроса */
section[itemtype*="FAQPage"] details > summary {
    position: relative;
    display: block;
    padding: 16px 48px 16px 20px;
    margin: 0;
    cursor: pointer;

    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    list-style: none;            /* убираем стандартный маркер */
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Убираем стандартный треугольник в WebKit */
section[itemtype*="FAQPage"] details > summary::-webkit-details-marker {
    display: none;
}

/* Иконка «+» / «−» */
section[itemtype*="FAQPage"] details > summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #f4511e;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-align: center;

    transition: transform 0.25s ease, color 0.2s ease;
}

section[itemtype*="FAQPage"] details[open] > summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

/* Ховер заголовка */
section[itemtype*="FAQPage"] details > summary:hover {
    color: #f4511e;
    background: #fdf3ef;
}

/* Контент ответа */
section[itemtype*="FAQPage"] details > div[itemprop="acceptedAnswer"] {
    padding: 0 20px 18px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

section[itemtype*="FAQPage"] details > div[itemprop="acceptedAnswer"] p {
    margin: 0 0 10px;
}

section[itemtype*="FAQPage"] details > div[itemprop="acceptedAnswer"] p:last-child {
    margin-bottom: 0;
}

/* Плавное раскрытие (работает в современных браузерах) */
section[itemtype*="FAQPage"] details[open] > div[itemprop="acceptedAnswer"] {
    animation: faqFadeIn 0.25s ease both;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Мобильные */
@media (max-width: 767px) {
    section[itemtype*="FAQPage"] details > summary {
        padding: 14px 44px 14px 16px;
        font-size: 15px;
    }

    section[itemtype*="FAQPage"] details > summary::after {
        right: 16px;
    }

    section[itemtype*="FAQPage"] details > div[itemprop="acceptedAnswer"] {
        padding: 0 16px 16px;
        font-size: 14px;
    }
}