/* ============================================
   page.css - 协议/单页样式
   深蓝+橙色配色 / 左侧目录+右侧正文
   ============================================ */

/* Hero */
.zh_sp_hero {
    padding: 45px 0 40px;
    background: var(--zh-gradient);
    position: relative;
    overflow: hidden;
}
.zh_sp_hero_deco1 {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -60px; right: 10%;
}
.zh_sp_hero_deco2 {
    position: absolute;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(232,114,42,0.06);
    bottom: -40px; left: 5%;
}
.zh_sp_title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.zh_sp_date {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 主内容区 */
.zh_sp_main {
    padding: 36px 0 70px;
    background: var(--zh-bg-light);
}

/* 双栏布局 */
.zh_sp_layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* 左侧目录导航 */
.zh_sp_toc {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
    overflow: hidden;
}
.zh_sp_toc_title {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-blue);
    padding: 16px 20px 12px;
    margin: 0;
    border-bottom: 1px solid var(--zh-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.zh_sp_toc_title i { color: var(--zh-orange); font-size: 13px; }
.zh_sp_toc_nav {
    padding: 8px 0;
    max-height: 60vh;
    overflow-y: auto;
}
.zh_toc_link {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--zh-text-secondary);
    transition: all 0.3s;
    border-left: 3px solid transparent;
    line-height: 1.4;
}
.zh_toc_link:hover {
    color: var(--zh-blue);
    background: var(--zh-bg-light);
}
.zh_toc_link.active {
    color: var(--zh-blue);
    font-weight: 600;
    border-left-color: var(--zh-orange);
    background: var(--zh-bg-light);
}
.zh_toc_link.zh_toc_sub {
    padding-left: 32px;
    font-size: 12px;
}

/* 右侧内容区 */
.zh_sp_content_area {
    flex: 1;
    min-width: 0;
}

/* 内容卡片 */
.zh_sp_card {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    padding: 40px;
    box-shadow: var(--zh-shadow-sm);
    margin-bottom: 24px;
    position: relative;
}
.zh_sp_card::before {
    content: '';
    position: absolute;
    top: 0; left: 32px;
    width: 60px; height: 4px;
    background: var(--zh-gradient-orange);
    border-radius: 0 0 2px 2px;
}

/* 富文本 */
.zh_sp_body {
    font-size: 15px;
    color: var(--zh-text-secondary);
    line-height: 1.85;
}
.zh_sp_body h1, .zh_sp_body h2, .zh_sp_body h3,
.zh_sp_body h4, .zh_sp_body h5, .zh_sp_body h6 {
    color: var(--zh-text);
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.4;
    scroll-margin-top: 100px;
}
.zh_sp_body h1:first-child, .zh_sp_body h2:first-child,
.zh_sp_body h3:first-child { margin-top: 0; }
.zh_sp_body h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--zh-border); }
.zh_sp_body h3 { font-size: 18px; }
.zh_sp_body h4 { font-size: 16px; }
.zh_sp_body p { margin-bottom: 16px; }
.zh_sp_body a { color: var(--zh-sky); font-weight: 500; }
.zh_sp_body a:hover { color: var(--zh-orange); text-decoration: underline; }
.zh_sp_body strong { color: var(--zh-text); }
.zh_sp_body ul, .zh_sp_body ol { margin-bottom: 18px; padding-left: 22px; }
.zh_sp_body li { margin-bottom: 6px; }
.zh_sp_body blockquote {
    border-left: 4px solid var(--zh-orange);
    background: var(--zh-bg-ice);
    border-radius: 0 var(--zh-radius-sm) var(--zh-radius-sm) 0;
    padding: 18px 22px;
    margin: 24px 0;
}
.zh_sp_body blockquote p:last-child { margin-bottom: 0; }
.zh_sp_body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: var(--zh-radius-sm);
}
.zh_sp_body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.zh_sp_body th, .zh_sp_body td { border: 1px solid var(--zh-border); padding: 10px 14px; text-align: left; }
.zh_sp_body th { background: var(--zh-bg-light); font-weight: 600; color: var(--zh-text); }
.zh_sp_body hr { border: none; height: 1px; background: var(--zh-border); margin: 32px 0; }

/* 底部 CTA */
.zh_sp_bottom_card {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--zh-shadow-sm);
    border-top: 3px solid var(--zh-orange);
}
.zh_sp_bottom_text h3 { font-size: 17px; font-weight: 600; color: var(--zh-text); margin: 0 0 4px; }
.zh_sp_bottom_text p { font-size: 14px; color: var(--zh-text-secondary); margin: 0; }
.zh_sp_bottom_btns { display: flex; gap: 10px; flex-shrink: 0; }

/* 响应式 */
@media (max-width: 991px) {
    .zh_sp_toc { display: none; }
    .zh_sp_layout { gap: 0; }
}
@media (max-width: 767px) {
    .zh_sp_hero { padding: 32px 0 28px; }
    .zh_sp_title { font-size: 24px; }
    .zh_sp_card { padding: 24px 20px; }
    .zh_sp_card::before { left: 16px; width: 40px; }
    .zh_sp_body { font-size: 14px; }
    .zh_sp_bottom_card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .zh_sp_bottom_btns {
        flex-direction: column;
        width: 100%;
    }
}
