/* =========================
   FAQ - Linear accordion
========================= */

.faq-block {
    padding: 56px 0 36px;
    background: #fff;
}

.faq-block__container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

/* 标题：深色接近黑色，大号，粗体 */
.faq-block__title {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1b1b1b;
}

/* FAQ 线性列表 */
.faq-list {
    border-top: 2px solid #8f8f8f;
}

.faq-item {
    border-bottom: 1px solid #b8b8b8;
    background: #fff;
}

/* 问题行：默认蓝字白底 */
.faq-question {
    width: 100%;
    display: block;
    position: relative;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    padding: 18px 68px 18px 22px;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    color: #0054A6;

    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}

/* 鼠标放上去：变色；移开恢复 */
.faq-question:hover {
    color: #00458a;
}

/* 点击展开后：蓝底白字并保持 */
.faq-item.is-open .faq-question {
    background: #0054A6;
    color: #ffffff;
}

.faq-question__text {
    display: block;
    padding-right: 8px;
}

/* 右侧箭头：默认蓝色 */
.faq-icon {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 8px;
    height: 2px;
    background: #0054A6;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}

.faq-icon::before {
    left: 0;
    transform: rotate(45deg);
    transform-origin: center;
}

.faq-icon::after {
    right: 0;
    transform: rotate(-45deg);
    transform-origin: center;
}

/* hover 时箭头一起变深 */
.faq-question:hover .faq-icon::before,
.faq-question:hover .faq-icon::after {
    background: #00458a;
}

/* 打开后箭头变白，并翻转为向上 */
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
    background: #ffffff;
}

.faq-item.is-open .faq-icon::before {
    transform: rotate(-45deg);
}

.faq-item.is-open .faq-icon::after {
    transform: rotate(45deg);
}

/* 答案区 */
.faq-answer {
    padding: 14px 22px 20px;
    background: #fff;
}

.faq-answer__inner {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    color: #2c2c2c;
}

.faq-answer__inner p {
    margin: 0 0 14px;
}

.faq-answer__inner p:last-child {
    margin-bottom: 0;
}

.faq-answer__inner ul,
.faq-answer__inner ol {
    margin: 0 0 14px 22px;
    padding: 0;
}

.faq-answer__inner li {
    margin-bottom: 6px;
}

.faq-answer__inner a {
    color: #0054A6;
    text-decoration: none;
}

.faq-answer__inner a:hover {
    text-decoration: underline;
}

/* 平板 */
@media (max-width: 991px) {
    .faq-block {
        padding: 48px 0 30px;
    }

    .faq-block__title {
        font-size: 38px;
        margin-bottom: 12px;
    }

    .faq-question {
        padding: 16px 58px 16px 18px;
        font-size: 21px;
    }

    .faq-answer {
        padding: 12px 18px 18px;
    }

    .faq-answer__inner {
        font-size: 16px;
    }
}

/* 手机 */
@media (max-width: 767px) {
    .faq-block__container {
        width: min(100% - 24px, 1120px);
    }

    .faq-block__title {
        font-size: 30px;
        line-height: 1.12;
    }

    .faq-question {
        padding: 14px 46px 14px 14px;
        font-size: 18px;
        line-height: 1.35;
    }

    .faq-icon {
        right: 14px;
        width: 12px;
        height: 12px;
    }

    .faq-icon::before,
    .faq-icon::after {
        top: 5px;
        width: 7px;
    }

    .faq-answer {
        padding: 12px 14px 16px;
    }

    .faq-answer__inner {
        font-size: 15px;
        line-height: 1.65;
    }
}