.faq-article {
    margin: 32px 0;
}

.faq-article__heading {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 20px;
    line-height: 1.3;
}

.faq-article__list {
    border-top: 1px solid #E5E7EB;
}

.faq-article__item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-article__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 16px;
}
.faq-article__question::-webkit-details-marker { display: none; }
.faq-article__question::marker               { display: none; }

.faq-article__question span:first-child {
    font-size: 16px;
    font-weight: 500;
    color: #1A1A2E;
    line-height: 1.5;
}

.faq-article__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}
.faq-article__icon::before,
.faq-article__icon::after {
    content: '';
    position: absolute;
    background: #6B7280;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-article__icon::before { width: 10px; height: 1.5px; }
.faq-article__icon::after  { width: 1.5px; height: 10px; }

details[open] .faq-article__icon {
    border-color: var(--color-primary, #F07D2C);
    background: rgba(240,125,44,0.06);
}
details[open] .faq-article__icon::before { background: var(--color-primary, #F07D2C); }
details[open] .faq-article__icon::after  {
    background: var(--color-primary, #F07D2C);
    transform: rotate(90deg);
    opacity: 0;
}

.faq-article__answer {
    padding-bottom: 18px;
}

.faq-article__answer-text {
    font-size: 15px;
    line-height: 1.75;
    color: #6B7280;
}
.faq-article__answer-text p {
    margin-bottom: 10px;
}
.faq-article__answer-text p:last-child {
    margin-bottom: 0;
}

/* ── Ізоляція в контексті статті (.post-article) ── */
.post-article .faq-article__question span:first-child {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1A1A2E !important;
    line-height: 1.5 !important;
}

.post-article .faq-article__answer-text,
.post-article .faq-article__answer-text p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #6B7280 !important;
    margin-bottom: 10px !important;
}

.post-article .faq-article__answer-text p:last-child {
    margin-bottom: 0 !important;
}
