.sbp-faqs-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

/* Search */
.sbp-faq-search-row {
    margin-bottom: 20px;
}
.sbp-faq-search {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.4;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    box-sizing: border-box;
}
.sbp-faq-search:focus {
    outline: none;
    border-color: #12B76A;
    box-shadow: 0 0 0 3px rgba(18,183,106,0.18);
}
.sbp-faq-search-count {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #667085;
}

/* Country tabs */
.sbp-country-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.sbp-country-tab {
    background: #f2f4f7;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    color: #344054;
}
.sbp-country-tab:hover {
    background: #e4e7ec;
}
.sbp-country-tab.is-active {
    background: #0A1F14;
    border-color: #0A1F14;
    color: #fff;
}
.sbp-country-tab .sbp-count {
    opacity: 0.65;
    font-size: 12px;
}

/* Country groups */
.sbp-country-group[hidden] {
    display: none;
}
.sbp-country-heading {
    font-size: 20px;
    margin: 0 0 14px;
}
.sbp-faq-list {
    border-top: 1px solid #eaecf0;
}

/* Accordion items — native <details>/<summary>, hidden until toggled */
.sbp-faq-item {
    border-bottom: 1px solid #eaecf0;
    padding: 4px 0;
}
.sbp-faq-question {
    list-style: none;
    cursor: pointer;
    padding: 14px 34px 14px 4px;
    font-weight: 600;
    position: relative;
}
.sbp-faq-question::-webkit-details-marker {
    display: none;
}
.sbp-faq-question::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: #667085;
}
.sbp-faq-item[open] > .sbp-faq-question::after {
    content: "\2013"; /* en dash */
}
.sbp-faq-answer {
    padding: 0 4px 16px;
    color: #475467;
    line-height: 1.65;
}
.sbp-faq-answer p:first-child {
    margin-top: 0;
}
.sbp-faq-permalink {
    margin-top: 10px !important;
    font-size: 13px;
}
.sbp-faq-permalink a {
    color: #667085;
}

.sbp-faq-country-tag {
    font-size: 13px;
    color: #667085;
    margin-bottom: 12px;
}
.sbp-no-faqs {
    color: #667085;
}

@media (max-width: 600px) {
    .sbp-country-tab {
        font-size: 13px;
        padding: 6px 12px;
    }
    .sbp-country-heading {
        font-size: 18px;
    }
}

/* ===== Category headings (country → category grouping) ===== */
.sbp-cat {
    margin: 22px 0 0;
}
.sbp-cat-heading {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    color: #0A1F14;
    margin: 0 0 8px;
    padding: 10px 14px 10px 12px;
    background: rgba(18,183,106,.10);
    border-left: 4px solid #12B76A;
    border-radius: 6px;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.sbp-cat-heading::-webkit-details-marker { display: none; }
.sbp-cat-heading::after {
    content: "\2013"; /* en dash when open */
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #12B76A;
}
.sbp-cat:not([open]) > .sbp-cat-heading::after {
    content: "+";
}
.sbp-cat-heading .sbp-cat-count {
    color: #667085;
    font-weight: 600;
    font-size: 12px;
}
.sbp-country-heading {
    color: #0A1F14;
    border-bottom: 3px solid #F5A623;
    padding-bottom: 8px;
    display: inline-block;
}
/* Question "+" marker in brand green */
.sbp-faq-question::after { color: #12B76A !important; }
.sbp-faq-item[open] > .sbp-faq-question { color: #0A1F14; }
.sbp-faq-permalink a { color: #12B76A; }
/* Active country tab: gold text on deep green */
.sbp-country-tab.is-active { color: #F5A623; }
