/* =============================================
   FAQ Accordion Widget — faq-accordion.css
   ============================================= */

.faq-acc-wrap {
    width: 100%;
    font-family: inherit;
}

/* ── Each Row ─────────────────────────────────── */
.faq-item {
    border-top: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: 1px solid #e0e0e0;
}

/* ── Header ───────────────────────────────────── */
.faq-item-header {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 28px;
    padding-bottom: 28px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
}

.faq-item-header:focus-visible {
    outline: 2px solid #1a3bbf;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Number ───────────────────────────────────── */
.faq-number {
    min-width: 80px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 400;
    color: #111111;
    line-height: 1;
}

/* ── Question ─────────────────────────────────── */
.faq-question {
    flex: 1;
    font-size: 20px;
    font-weight: 400;
    color: #1a3bbf;
    line-height: 1.4;
    padding-right: 24px;
}

/* ── Icon ─────────────────────────────────────── */
.faq-icon {
    flex-shrink: 0;
    font-size: 22px;
    color: #1a3bbf;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

/* Plus / Minus toggle */
.faq-icon-plus,
.faq-icon-minus {
    display: block;
    line-height: 1;
    font-weight: 300;
}

.faq-icon-minus {
    display: none;
}

.faq-item.open .faq-icon-plus {
    display: none;
}

.faq-item.open .faq-icon-minus {
    display: block;
}

/* Arrow rotation */
.faq-icon-arrow {
    display: block;
    transition: transform 0.3s ease;
    color: inherit;
}

.faq-item.open .faq-icon-arrow {
    transform: rotate(180deg);
}

/* ── Answer ───────────────────────────────────── */
.faq-answer {
    display: none;
}

.faq-answer-indented {
    padding-left: 80px; /* aligns with question, matching .faq-number min-width */
}

.faq-answer-inner {
    padding-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
}

.faq-answer-inner p {
    margin: 0 0 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 767px) {
    .faq-number {
        min-width: 44px;
        font-size: 15px;
    }

    .faq-question {
        font-size: 16px;
        padding-right: 14px;
    }

    .faq-icon {
        font-size: 18px;
        width: 22px;
        height: 22px;
    }

    .faq-item-header {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .faq-answer-indented {
        padding-left: 44px;
    }

    .faq-answer-inner {
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .faq-number {
        min-width: 60px;
        font-size: 16px;
    }

    .faq-question {
        font-size: 17px;
    }

    .faq-answer-indented {
        padding-left: 60px;
    }
}
