/* ── IXI FAQ Plugin ───────────────────────────────────────────────────────── */

#ixi-faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Search ───────────────────────────────────────────────────────────────── */

#ixi-faq-search {
    display: block;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 40px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

#ixi-faq-search:focus {
    border-color: #c00;
}

#ixi-faq-search::placeholder {
    color: #aaa;
}

/* ── Zone section ─────────────────────────────────────────────────────────── */

.ixi-faq-zone {
    margin-bottom: 48px;
}

.ixi-faq-zone-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px;
    padding: 0;
    line-height: 1.2;
}

.ixi-faq-zone-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1.5px;
    background: #e0e0e0;
    margin-top: 12px;
    margin-bottom: 16px;
}

/* ── FAQ item card ────────────────────────────────────────────────────────── */

.ixi-faq-item {
    background: #fff;
    border: 1.5px solid #e2e2e2;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ixi-faq-item.active {
    border-color: #d0d0d0;
}

/* ── Question row ─────────────────────────────────────────────────────────── */

.ixi-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.ixi-faq-question-text {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    line-height: 1.45;
    flex: 1;
}

.ixi-faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #cc0000;
    border: 1.5px solid #cc0000;
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}

.ixi-faq-item.active .ixi-faq-toggle {
    background: #cc0000;
    color: #fff;
}

/* ── Answer ───────────────────────────────────────────────────────────────── */

.ixi-faq-answer {
    padding: 2px 20px 20px;
    border-top: 1.5px solid #efefef;
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
}

.ixi-faq-answer p {
    margin: 14px 0 0;
}

.ixi-faq-answer p:first-child {
    margin-top: 14px;
}

.ixi-faq-answer a {
    color: #cc0000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ixi-faq-answer a:hover {
    color: #990000;
}

/* ── Hidden items during search ───────────────────────────────────────────── */

.ixi-faq-item.ixi-hidden {
    display: none;
}

.ixi-faq-zone.ixi-hidden {
    display: none;
}

#ixi-faq-no-results {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-top: 32px;
}

/* ── Highlight search match ───────────────────────────────────────────────── */

.ixi-faq-highlight {
    background: #fff3cd;
    border-radius: 2px;
    padding: 0 1px;
}
