/* =========================================================
   SIMBA FAQ FRONTEND
========================================================= */


/* =========================================================
   BASE
========================================================= */

.simba-faq {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #172033;
    overflow: hidden;
}

.simba-faq *,
.simba-faq *::before,
.simba-faq *::after {
    box-sizing: border-box;
}


/* =========================================================
   COMMON CONTAINER
   FAQ content centered with left/right spacing
========================================================= */

.simba-faq-container {
    width: min(1000px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   FAQ HERO
========================================================= */

.simba-faq-hero {
    width: 100%;
    padding: 90px 0 75px;
    background: #faf6e8;
    border-bottom: 1px solid #eadfba;
    text-align: center;
}

.simba-faq-eyebrow {
    margin: 0 0 14px;
    padding: 0;

    color: #b08a32;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.simba-faq-title {
    max-width: 850px;
    margin: 0 auto;
    padding: 0;

    color: #172033;

    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;

    letter-spacing: -1.5px;
}

.simba-faq-description {
    max-width: 720px;
    margin: 22px auto 0;
    padding: 0;

    color: #555555;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   FAQ CONTENT
========================================================= */

.simba-faq-content {
    width: 100%;
    padding: 85px 0;

    background: #ffffff;
}


/* =========================================================
   FAQ CATEGORY
========================================================= */

.simba-faq-category {
    width: 100%;
    margin: 0 auto 70px;
    padding: 0;
}

.simba-faq-category:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CATEGORY HEADING
========================================================= */

.simba-faq-category-heading {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 18px;

    margin: 0 0 28px;
    padding: 0;
}

.simba-faq-category-heading > span {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #faf6e8;

    border: 1px solid #eadfba;
    border-radius: 50%;

    color: #b08a32;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.simba-faq-category-heading h2 {
    margin: 0;
    padding: 0;

    color: #172033;

    font-size: clamp(25px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -0.5px;
}


/* =========================================================
   FAQ LIST
========================================================= */

.simba-faq-list {
    width: 100%;
    margin: 0;
    padding: 0;

    border-top: 1px solid #eadfba;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.simba-faq-item {
    width: 100%;
    margin: 0;
    padding: 0;

    border-bottom: 1px solid #eadfba;
}


/* =========================================================
   FAQ QUESTION
========================================================= */

.simba-faq-question {
    width: 100%;
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin: 0;
    padding: 20px 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    color: #172033;

    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;

    text-align: left;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        color 0.25s ease,
        padding 0.25s ease;
}

.simba-faq-question:hover {
    color: #b08a32;
}

.simba-faq-question:focus {
    outline: none;
}

.simba-faq-question:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 4px;
}


/* =========================================================
   QUESTION TEXT
========================================================= */

.simba-faq-question-text {
    flex: 1;
    min-width: 0;

    display: block;

    margin: 0;
    padding: 0;

    color: inherit;

    text-align: left;
}


/* =========================================================
   FAQ ICON
========================================================= */

.simba-faq-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #eadfba;
    border-radius: 50%;

    color: #b08a32;

    font-size: 25px;
    font-weight: 400;
    line-height: 1;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


/* =========================================================
   OPEN FAQ
========================================================= */

.simba-faq-question[aria-expanded="true"] {
    color: #b08a32;
}

.simba-faq-question[aria-expanded="true"] .simba-faq-icon {
    transform: rotate(45deg);

    background: #d4af37;

    border-color: #d4af37;

    color: #ffffff;
}


/* =========================================================
   FAQ ANSWER
========================================================= */

.simba-faq-answer {
    width: 100%;

    margin: 0;
    padding: 0 68px 28px 0;

    color: #555555;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}


/* Important:
   PHP uses the hidden attribute.
*/

.simba-faq-answer[hidden] {
    display: none !important;
}


/* =========================================================
   ANSWER TYPOGRAPHY
========================================================= */

.simba-faq-answer p {
    margin: 0 0 14px;
    padding: 0;
}

.simba-faq-answer p:last-child {
    margin-bottom: 0;
}

.simba-faq-answer strong {
    color: #172033;
    font-weight: 700;
}

.simba-faq-answer ul,
.simba-faq-answer ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.simba-faq-answer li {
    margin-bottom: 8px;
}

.simba-faq-answer li:last-child {
    margin-bottom: 0;
}

.simba-faq-answer a {
    color: #b08a32;
    text-decoration: underline;
}

.simba-faq-answer a:hover {
    color: #d4af37;
}


/* =========================================================
   FAQ CTA
========================================================= */

.simba-faq-cta {
    width: 100%;

    padding: 80px 0;

    background: #faf6e8;

    border-top: 1px solid #eadfba;

    text-align: center;
}

.simba-faq-cta h2 {
    max-width: 760px;

    margin: 0 auto;
    padding: 0;

    color: #172033;

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -0.8px;
}

.simba-faq-cta p {
    max-width: 650px;

    margin: 18px auto 30px;
    padding: 0;

    color: #555555;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.simba-faq-cta-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0 30px;

    background: #d4af37;

    border: 1px solid #d4af37;
    border-radius: 4px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.simba-faq-cta-button:hover {
    background: #b8941f;

    border-color: #b8941f;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .simba-faq-container {
        width: min(100% - 50px, 900px);
    }

    .simba-faq-hero {
        padding: 75px 0 60px;
    }

    .simba-faq-content {
        padding: 65px 0;
    }

    .simba-faq-category {
        margin-bottom: 55px;
    }

    .simba-faq-question {
        font-size: 17px;
    }

    .simba-faq-answer {
        padding-right: 50px;
    }

    .simba-faq-cta {
        padding: 65px 0;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .simba-faq-container {
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }

    .simba-faq-hero {
        padding: 60px 0 50px;
    }

    .simba-faq-eyebrow {
        margin-bottom: 12px;

        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .simba-faq-title {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -0.8px;
    }

    .simba-faq-description {
        margin-top: 16px;

        font-size: 15px;
        line-height: 1.65;
    }

    .simba-faq-content {
        padding: 50px 0;
    }

    .simba-faq-category {
        margin-bottom: 45px;
    }

    .simba-faq-category-heading {
        gap: 12px;

        margin-bottom: 22px;
    }

    .simba-faq-category-heading > span {
        flex-basis: 40px;

        width: 40px;
        height: 40px;

        font-size: 12px;
    }

    .simba-faq-category-heading h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .simba-faq-question {
        min-height: 68px;

        gap: 15px;

        padding: 18px 0;

        font-size: 16px;
        line-height: 1.45;
    }

    .simba-faq-icon {
        flex-basis: 34px;

        width: 34px;
        height: 34px;

        font-size: 22px;
    }

    .simba-faq-answer {
        padding: 0 0 22px;

        font-size: 15px;
        line-height: 1.7;
    }

    .simba-faq-cta {
        padding: 55px 0;
    }

    .simba-faq-cta h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .simba-faq-cta p {
        margin-top: 16px;
        margin-bottom: 25px;

        font-size: 15px;
    }

    .simba-faq-cta-button {
        width: 100%;
        max-width: 320px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .simba-faq-container {
        width: calc(100% - 24px);
    }

    .simba-faq-title {
        font-size: 32px;
    }

    .simba-faq-category-heading h2 {
        font-size: 21px;
    }

    .simba-faq-question {
        font-size: 15px;
    }
}