.rsfaq-page {
    --rsfaq-orange: #ff7a00;
    --rsfaq-dark: #050d16;
    --rsfaq-line: rgba(111, 161, 197, .18);
    font-family: var(--font-body, Inter, sans-serif);
    color: #eaf1f8;
    background: #06111d
}

.rsfaq-page * {
    box-sizing: border-box
}

.rsfaq-container {
    width: min(1200px, calc(100% - 40px));
    margin: auto
}

.rsfaq-hero {
    /* Keep the ACF image visible: gradients are translucent overlays, not opaque layers. */
    background-image: radial-gradient(ellipse at 78% 50%, rgba(255, 122, 0, .10), transparent 38%), linear-gradient(89deg, rgba(3, 10, 18, .94) 0%, rgb(3 10 18 / 0%) 42%, rgb(3 10 18 / 0%) 100%), var(--rsfaq-hero-image, none);
    background-position: center, center, center right;
    background-size: cover, cover, contain;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--rsfaq-line);
    padding: 70px 0
}

.rsfaq-hero .rsfaq-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px
}

.rsfaq-eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: var(--rsfaq-orange)
}

.rsfaq-hero h1,
.rsfaq-help h2 {
    font-family: var(--font-heading, Manrope, sans-serif);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    margin: 14px 0;
    color: #f8fafc
}

.rsfaq-hero h1 em,
.rsfaq-help h2 em {
    font-style: normal;
    color: var(--rsfaq-orange)
}

.rsfaq-hero p {
    color: #aebdca;
    line-height: 1.7;
    max-width: 560px
}

.rsfaq-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 7px 8px 7px 16px;
    border: 1px solid #20394c;
    background: #0b1a28;
    border-radius: 9px;
    max-width: 560px
}

.rsfaq-search i {
    color: #9aabba
}

.rsfaq-search input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font: inherit;
    padding: 10px 0
}

.rsfaq-search button,
.rsfaq-btn {
    border: 0;
    border-radius: 7px;
    background: var(--rsfaq-orange);
    color: #fff;
    font-weight: 700;
    padding: 13px 23px;
    text-decoration: none;
    cursor: pointer
}

.rsfaq-hero-art {
    height: 230px;
    position: relative;
    display: grid;
    place-items: center
}

.rsfaq-orbit {
    position: absolute;
    width: 280px;
    height: 180px;
    border: 1px solid rgba(255, 122, 0, .4);
    border-radius: 50%;
    transform: rotate(-20deg);
    box-shadow: 0 0 35px #ff7a001a
}

.rsfaq-main-bubble {
    font-size: 48px;
    font-weight: 800;
    color: #ff9a35;
    background: linear-gradient(145deg, #26394a, #101d2b);
    border: 1px solid #526679;
    border-radius: 24px;
    padding: 22px 32px;
    box-shadow: 0 20px 50px #0008;
    transform: rotate(-5deg)
}

.rsfaq-bubble {
    position: absolute;
    left: 12%;
    top: 22%;
    font-size: 30px;
    padding: 18px;
    background: #152738;
    border: 1px solid #34546b;
    border-radius: 16px;
    color: #ff9a35
}

.rsfaq-mini {
    position: absolute;
    right: 12%;
    bottom: 20%;
    background: #172b3c;
    border: 1px solid #35516a;
    border-radius: 14px;
    padding: 14px;
    color: #ff9a35
}

.rsfaq-content {
    padding: 45px 0 65px;
    background: #06111d
}

.rsfaq-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 24px
}

.rsfaq-categories {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.rsfaq-category {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    padding: 15px 14px;
    background: #091927;
    border: 1px solid var(--rsfaq-line);
    border-radius: 8px;
    color: #e7edf4;
    cursor: pointer
}

.rsfaq-category.is-active {
    border-color: var(--rsfaq-orange);
    background: linear-gradient(100deg, #301d10, #0b1926)
}

.rsfaq-cat-icon {
    width: 32px;
    text-align: center;
    color: #ff9a35;
    font-size: 18px
}

.rsfaq-category span:nth-child(2) {
    flex: 1;
    font-weight: 600;
    font-size: 13px
}

.rsfaq-category small {
    display: block;
    color: #91a4b5;
    font-size: 11px;
    font-weight: 400;
    margin-top: 4px
}

.rsfaq-category>i {
    font-size: 11px;
    color: #a7b8c7
}

.rsfaq-results {
    min-width: 0
}

.rsfaq-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--rsfaq-orange);
    padding: 0 0 13px;
    margin-bottom: 12px
}

.rsfaq-results-head h2 {
    font-size: 20px;
    margin: 0;
    color: #f7fafc
}

.rsfaq-count {
    font-size: 12px;
    color: #9eafbf
}

.rsfaq-item {
    border: 1px solid var(--rsfaq-line);
    background: #0a1a28;
    border-radius: 9px;
    margin-bottom: 7px;
    overflow: hidden
}

.rsfaq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    background: transparent;
    border: 0;
    color: #f1f5f9;
    text-align: left;
    font: 600 13px var(--font-body, Inter, sans-serif);
    cursor: pointer
}
.rsfaq-question span {
    color: #f1f5f9 !important;
}

.rsfaq-number {
    background: #2b1c12;
    color: #ff9a35;
    border: 1px solid #623b1e;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 11px;
    flex-shrink: 0
}

.rsfaq-question>span:nth-child(2) {
    flex: 1
}

.rsfaq-question>i {
    font-size: 11px;
    color: #a9b9c8;
    transition: transform .2s
}

.rsfaq-item.is-open .rsfaq-question>i {
    transform: rotate(180deg)
}

.rsfaq-answer {
    display: none;
    padding: 0 17px 15px 56px;
    color: #aebdca;
    font-size: 13px;
    line-height: 1.7
}

.rsfaq-item.is-open .rsfaq-answer {
    display: block
}

.rsfaq-answer p {
    margin: 0;
    color: #f1f5f9 !important;
}

.rsfaq-help {
    padding: 35px 0 50px;
    background: linear-gradient(120deg, #091725, #0b1a28);
    border-top: 1px solid var(--rsfaq-line)
}

.rsfaq-help .rsfaq-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--rsfaq-line);
    border-radius: 14px;
    padding: 30px 36px;
    background: radial-gradient(ellipse at 85% 50%, #ff7a0015, transparent 35%), #081522
}

.rsfaq-help h2 {
    font-size: 34px;
    margin: 10px 0
}

.rsfaq-help p {
    max-width: 600px;
    color: #aebdca;
    line-height: 1.6;
    font-size: 13px
}

.rsfaq-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 8px 8px 0 0;
    font-size: 12px
}

.rsfaq-btn i {
    font-size: 11px
}

.rsfaq-btn.rsfaq-outline {
    background: transparent;
    border: 1px solid #31485b
}

.rsfaq-help-art {
    font-size: 75px;
    color: #ff8a20;
    position: relative;
    padding: 20px 55px
}

.rsfaq-help-art span {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 35px;
    background: #122638;
    border: 1px solid #35546c;
    border-radius: 15px;
    padding: 12px
}

.rsfaq-no-results {
    padding: 20px;
    color: #aebdca
}

.rsfaq-item[hidden] {
    display: none !important
}

@media(max-width:900px) {
    .rsfaq-hero .rsfaq-container {
        grid-template-columns: 1fr
    }

    .rsfaq-hero-art {
        display: none
    }

    .rsfaq-layout {
        grid-template-columns: 1fr
    }

    .rsfaq-categories {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .rsfaq-category {
        padding: 12px
    }

    .rsfaq-help-art {
        display: none
    }
}

@media(max-width:560px) {
    .rsfaq-hero {
        padding: 45px 0
    }

    .rsfaq-container {
        width: min(100% - 28px, 1200px)
    }

    .rsfaq-categories {
        grid-template-columns: 1fr 1fr;
        gap: 5px
    }

    .rsfaq-category {
        gap: 7px;
        padding: 10px 8px
    }

    .rsfaq-category span:nth-child(2) {
        font-size: 11px
    }

    .rsfaq-category>i {
        display: none
    }

    .rsfaq-search {
        gap: 7px;
        padding-left: 11px
    }

    .rsfaq-search button {
        padding: 12px 14px
    }

    .rsfaq-question {
        gap: 9px;
        padding: 12px 10px;
        font-size: 12px
    }

    .rsfaq-answer {
        padding: 0 12px 14px 47px
    }

    .rsfaq-help .rsfaq-container {
        padding: 22px 18px
    }

    .rsfaq-help h2 {
        font-size: 29px
    }
}
/* Keep FAQ answer inline spans white despite existing global span rules; scope from answer parent. */
.rsfaq-page .rsfaq-answer p span { color: #f1f5f9 !important; }

/* ACF-selected FAQ hero background; original FAQ component styling retained. */
.rsfaq-hero { background-color:#030a12; }
.rsfaq-hero .rsfaq-container { grid-template-columns:minmax(0,1fr); }
.rsfaq-hero-copy { max-width:620px; position:relative; z-index:1; }
@media(max-width:900px){.rsfaq-hero{background-position:center,center,70% center;}}
