/* =========================================
   KEMEI
   FAQ
========================================= */

.kp-faq {
    width: 100%;

    padding: 30px 0;

    background: #fff;
}


/* =========================================
   SECTION HEADING
========================================= */

.kp-faq .kp-section-heading {
    width: 100%;

    margin: 0 auto 32px;

    padding: 0 20px;

    text-align: center;
}

.kp-faq .kp-section-heading h2 {
    margin: 0 0 10px;

    color: #071b3a;

    font-size: 32px;

    line-height: 1.35;

    font-weight: 700;
}

.kp-faq .kp-section-heading p {
    margin: 0 auto;

    color: #666;

    font-size: 14px;

    line-height: 1.7;

    text-align: center;
}


/* =========================================
   FAQ LIST
========================================= */

.kp-faq-list {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px 16px;
}


/* =========================================
   ITEM
========================================= */

.kp-faq-item {
    margin: 0;

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    overflow: hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.kp-faq-item:hover {
    border-color: #d7d7d7;
}


/* =========================================
   QUESTION
========================================= */

.kp-faq-item summary {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    min-height: 72px;

    padding: 17px 18px;

    cursor: pointer;

    list-style: none;

    outline: none;

    color: #071b3a;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.6;
}

.kp-faq-item summary::-webkit-details-marker {
    display: none;
}


/* =========================================
   QUESTION TEXT
========================================= */

.kp-faq-question {
    flex: 1 1 auto;

    min-width: 0;
}


/* =========================================
   TOGGLE
========================================= */

.kp-faq-toggle {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef5fc;

    color: #0066cc;

    font-size: 20px;

    font-weight: 400;

    line-height: 1;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}


/* =========================================
   OPEN
========================================= */

.kp-faq-item[open] {
    border-color: rgba(0, 102, 204, .18);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, .04);
}

.kp-faq-item[open] .kp-faq-toggle {
    transform: rotate(45deg);

    background: #0066cc;

    color: #fff;
}

.kp-faq-item[open] summary {
    border-bottom: 1px solid #eee;
}


/* =========================================
   ANSWER
========================================= */

.kp-faq-answer {
    padding: 0 18px 18px;
}

.kp-faq-answer p {
    margin: 15px 0 0;

    color: #666;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .kp-faq {
        padding: 30px 0;
    }

    .kp-faq .kp-section-heading {
        margin-bottom: 28px;
    }

    .kp-faq .kp-section-heading h2 {
        font-size: 28px;
    }

    .kp-faq-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .kp-faq {
        padding: 22px 0;
    }

    .kp-faq .kp-section-heading {
        margin-bottom: 24px;

        padding: 0 15px;
    }

    .kp-faq .kp-section-heading h2 {
        font-size: 24px;
    }

    .kp-faq .kp-section-heading p {
        font-size: 13px;
    }

    .kp-faq-list {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .kp-faq-item summary {
        min-height: auto;

        padding: 17px 15px;

        font-size: 14px;

        gap: 12px;
    }

    .kp-faq-toggle {
        flex-basis: 28px;

        width: 28px;
        height: 28px;

        font-size: 19px;
    }

    .kp-faq-answer {
        padding: 0 15px 18px;
    }

    .kp-faq-answer p {
        font-size: 13px;

        line-height: 1.8;
    }

}