/* FAQ 样式 */
.faq-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    /* 添加阴影 */
}

.faq-title {
    font-size: 39px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 30px;
}

.faq-list {
    list-style: none;
    padding: 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    /* 添加悬停阴影过渡 */
}

.faq-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* 鼠标悬停时增加阴影 */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 20px;
    background: rgb(249, 250, 251);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    color: #303030;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    background: #fff;
}

/* 显示答案 */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ===== 面包屑导航 ===== */
/* 面包屑导航容器：左右留白百分比，等比例缩放 */
.breadcrumb-nav {
    width: 100%;
    background: rgba(255, 255, 255, .95);
    position: relative;
    z-index: 10;
}

.breadcrumb-inner {
    margin-top:120px !important;
    max-width: 1350px;
    /* 与分割线、底部文字同一 max-width */
    margin: 50px auto 0;
    /* 居中，上下留白 50px */
    padding: 0!important;
    /* 关键：百分比留白 → 随页面等比例变化 */
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: #000;
    /* 未选中项为黑色 */
    text-decoration: none;
    transition: color 0.2s ease;
}


.breadcrumb-item:hover,
.breadcrumb-item:focus {
    color: #1a73e8;
    /* 移入时变为蓝色 */
    outline: none;
    text-decoration: none;
}

.breadcrumb-current {
    text-decoration: none;
    color: #1a73e8;
    /* 当前项为蓝色 */
    font-weight: 500;
    white-space: nowrap;
    /* 也可加 aria-current="page" 语义在 HTML 中已设置 */
}

.breadcrumb-separator {
    color: #999;
    user-select: none;
    line-height: 1;
}

/* =========================================================
   面包屑导航 - 移动端适配（kebab-case 命名统一）
   ========================================================= */

/* ---- 1200↓ ---- */
@media (max-width: 1200px) {
    .breadcrumb-inner {
        width: 70%;
        margin-left: 15%;
    }
}

/* ---- 992↓ ---- */
@media (max-width: 992px) {
    .breadcrumb-inner {
        width: 80%;
        margin-left: 10%;
        font-size: 1.1rem;
    }
}

/* ---- 768↓ 手机 & 竖屏 ---- */
@media (max-width: 768px) {
    .breadcrumb-nav {
        margin: 20px 0 20px;
    }

    .breadcrumb-inner {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-top: 0 !important;
        /* 留给固定头或 hero 的间隙 */
        font-size: 1rem;
        gap: 6px;
    }
}

/* ---- 480↓ 超小屏 ---- */
@media (max-width: 480px) {
    .breadcrumb-inner {
        font-size: 0.9rem;
        gap: 4px;
        margin-top: 100px;
    }

    .breadcrumb-item,
    .breadcrumb-current {
        white-space: normal;
        /* 允许换行，避免溢出 */
    }
}

/* ---- 横屏手机 ---- */
@media (max-width: 768px) and (orientation: landscape) {
    .breadcrumb-inner {
        margin-top: 90px;
        font-size: 0.95rem;
    }
}

/* ---- 折叠屏 / 小平板 ---- */
@media (min-width: 541px) and (max-width: 768px) and (orientation: portrait) {
    .breadcrumb-inner {
        width: 84%;
        margin-left: 8%;
    }
}