/* =========================
   关键修复：
   1. 顶部整条白底
   2. 去掉首页导航自带的 mt-4 顶部外边距
   3. 紫色区域紧贴白色导航下面
========================= */

/* 整条顶部白底 */
.site-header {
    background: #ffffff;
    position: relative;
    z-index: 1000;
    width: 100%;
}

/* 协议页里不要再用首页 row 的 mt-4 外边距 */
.site-header .header-row {
    margin-top: 0 !important;
    min-height: 108px;
    background: #ffffff;
}

/* 协议页顶栏 logo / 菜单垂直居中 */
.site-header .header-row > [class*="col-"] {
    display: flex;
    align-items: center;
}

/* 导航整体不要被紫色区域影响 */
.policy-page {
    background: #f3f3f3;
    min-height: 100vh;
}

/* 紫色横幅直接贴导航，不要再留白 */
.policy-hero {
    background: linear-gradient(180deg, #9b5cff 0%, #8a46f3 100%);
    min-height: 360px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 82px;
    margin-top: 0 !important;
}

/* 标题 */
.policy-title {
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -1px;
    margin-top: 30px;
}

/* 内容卡片 */
.policy-content-wrap {
    position: relative;
    margin-top: -110px;
    padding-bottom: 100px;
}

.policy-card {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(91, 58, 168, 0.08);
    overflow: hidden;
}

.policy-card-body {
    padding: 68px 80px;
}

.policy-card-body p,
.policy-card-body li {
    font-size: 17px;
    line-height: 1.8;
    color: #667085;
    margin: 0 0 10px;
}

.policy-card-body ul {
    margin: 0 0 26px 24px;
    padding: 0;
}

.policy-card-body hr {
    border: 0;
    border-top: 1px solid #ececec;
    margin: 34px 0 28px;
}

.policy-card-body h2 {
    margin: 20px 0 15px;
    font-size: 28px;
    line-height: 1.3;
    color: #101828;
    font-weight: 600;
}

.policy-card-body a {
    color: #ff4d4f;
    text-decoration: none;
    font-weight: 700;
}

.policy-card-body a:hover {
    text-decoration: underline;
}

/* md */
@media (max-width: 991.98px) {
    .site-header .header-row {
        min-height: auto;
    }

    .policy-hero {
        min-height: 300px;
        padding-top: 70px;
    }



    .policy-content-wrap {
        margin-top: -82px;
        padding-bottom: 70px;
    }

    .policy-card-body {
        padding: 38px 28px 42px;
    }

    .policy-card-body h2 {
        font-size: 24px;
    }

    .policy-card-body p,
    .policy-card-body li {
        font-size: 17px;
        line-height: 1.8;
    }
}

/* sm */
@media (max-width: 767.98px) {
    .policy-hero {
        min-height: 240px;
        padding-top: 54px;
    }

    .policy-title {
        font-size: 30px;
    }

    .policy-content-wrap {
        margin-top: -56px;
        padding-bottom: 48px;
    }

    .policy-card {
        border-radius: 16px;
    }

    .policy-card-body {
        padding: 26px 18px 30px;
    }

    .policy-card-body h2 {
        font-size: 22px;
    }

    .policy-card-body p,
    .policy-card-body li {
        font-size: 15px;
        line-height: 1.6;
    }

    .policy-card-body hr {
        margin: 24px 0 20px;
    }
}

/* md / sm：给移动端头部下面补回白色留白 */
@media (max-width: 991.98px) {
    .site-header {
        background: #ffffff;
        padding: 16px 0;
    }

    .mobile-header-wrap {
        margin-top: 0;
        margin-bottom: 0;
    }

    .mobile-header-box {
        margin-bottom: 11px;
    }

    .policy-hero {
        margin-top: 0 !important;
    }
}