/* ==========================================================
   PAYWISE ACCORDION
   ========================================================== */

.pw-accordion-wrap {
    width: 100%;

    --pw-heading-color: #003e51;
    --pw-question-color: #003e51;
    --pw-answer-color: #222222;
    --pw-accordion-bg: #f3f7f8;
    --pw-plus-color: #003e51;
    --pw-plus-active-color: #41b6e6;
}


/* ==========================================================
   HEADING
   ========================================================== */

.pw-accordion-heading {
    margin: 0 0 30px;

    color: var(--pw-heading-color);

    /*
     * Do NOT define font-family here.
     * This keeps the website's normal heading font.
     */

    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}


/* ==========================================================
   ACCORDION WRAPPER
   ========================================================== */

.pw-accordion {
    width: 100%;

    overflow: hidden;

    border-radius: 14px;
}


.pw-accordion-item {
    border-bottom: 2px solid #ffffff;
}


.pw-accordion-item:last-child {
    border-bottom: 0;
}


/* ==========================================================
   QUESTION
   ========================================================== */

.pw-accordion-question {
    width: 100%;
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 16px 20px 16px 24px;

    border: 0;

    background:
        var(--pw-accordion-bg);

    color:
        var(--pw-question-color);

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;

    text-align: left;

    cursor: pointer;

    transition:
        background-color 0.25s ease;
}


.pw-accordion-question:hover,
.pw-accordion-question:focus {
    background: #e8f3f6;

    outline: none;
}


.pw-accordion-title {
    color:
        var(--pw-question-color);
}


/* ==========================================================
   PLUS BUTTON
   ========================================================== */

.pw-accordion-plus {
    width: 38px;
    height: 38px;

    min-width: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--pw-plus-color);

    color: #ffffff;

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}


.pw-accordion-question[
    aria-expanded="true"
]
.pw-accordion-plus {

    transform: rotate(45deg);

    background:
        var(--pw-plus-active-color);
}


/* ==========================================================
   ANSWER
   ========================================================== */

.pw-accordion-answer {
    background:
        var(--pw-accordion-bg);

    color:
        var(--pw-answer-color);
}


.pw-accordion-answer[hidden] {
    display: none;
}


.pw-accordion-answer-inner {
    padding:
        4px 24px 24px;

    color:
        var(--pw-answer-color);
}


/*
 * Allow nested WPBakery elements to inherit
 * the chosen answer colour.
 */

.pw-accordion-answer-inner p,
.pw-accordion-answer-inner li {
    color:
        var(--pw-answer-color);
}


.pw-accordion-answer-inner p {
    margin-top: 0;
    margin-bottom: 16px;

    line-height: 1.65;
}


.pw-accordion-answer-inner p:last-child {
    margin-bottom: 0;
}


.pw-accordion-answer-inner ul,
.pw-accordion-answer-inner ol {
    margin:
        15px 0 18px 22px;
}


.pw-accordion-answer-inner li {
    margin-bottom: 10px;

    line-height: 1.6;
}


/* Links */

.pw-accordion-answer-inner a {
    color: #007fa3;

    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}


.pw-accordion-answer-inner a:hover {
    color: #003e51;
}


/* Remove unwanted WPBakery margins */

.pw-accordion-answer-inner
.wpb_content_element:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .pw-accordion-heading {
        margin-bottom: 24px;

        font-size: 34px;
    }


    .pw-accordion-question {
        min-height: 66px;

        padding:
            14px 16px;

        font-size: 16px;
    }


    .pw-accordion-plus {
        width: 36px;
        height: 36px;

        min-width: 36px;

        font-size: 25px;
    }


    .pw-accordion-answer-inner {
        padding:
            4px 16px 20px;
    }

}