/* ============================================
   page.css — 单页内容（服饰版）
   类名前缀：.zh_pg_*
   布局：① 二级页头 + ② 左 240px 同分组导航 + 右富文本
   ============================================ */

.zh_pg_wrap {
    background: var(--zh-bg);
    padding: 32px 0 60px;
}

.zh_pg_grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: flex-start;
}

/* ============================================
   左侧栏：同分组单页导航 + 联系卡
   ============================================ */
.zh_pg_aside {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zh_pg_aside_card {
    background: #fff;
    border: 1px solid var(--zh-line);
    border-radius: var(--zh-radius-sm);
    padding: 18px 16px 14px;
}

.zh_pg_aside_h {
    font-size: 14px;
    font-weight: 700;
    color: var(--zh-text);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--zh-line);
    position: relative;
    letter-spacing: 1px;
}

.zh_pg_aside_h::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 28px;
    height: 2px;
    background: var(--zh-primary);
}

.zh_pg_aside_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zh_pg_aside_list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--zh-text-2);
    border-radius: var(--zh-radius-sm);
    transition: all 0.2s;
}

.zh_pg_aside_list a span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zh_pg_aside_list a i {
    font-size: 10px;
    color: var(--zh-text-3);
}

.zh_pg_aside_list a:hover {
    background: var(--zh-primary-tint);
    color: var(--zh-primary-deep);
}

.zh_pg_aside_list a.active {
    background: var(--zh-primary);
    color: #fff;
    font-weight: 500;
}

.zh_pg_aside_list a.active i {
    color: #fff;
    font-size: 8px;
}

/* 联系卡（橙渐变） */
.zh_pg_aside_contact {
    background: linear-gradient(135deg, var(--zh-primary) 0%, var(--zh-accent) 100%);
    color: #fff;
    border-color: var(--zh-primary);
    text-align: center;
}

.zh_pg_aside_contact_icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
}

.zh_pg_aside_contact h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #fff;
}

.zh_pg_aside_contact p {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 8px;
    line-height: 1.5;
}

.zh_pg_aside_contact strong {
    display: block;
    font-size: 19px;
    font-family: "Arial", sans-serif;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.zh_pg_aside_contact_btn {
    display: inline-block;
    padding: 6px 18px;
    background: #fff;
    color: var(--zh-primary-deep);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: var(--zh-radius-sm);
    transition: all 0.2s;
}

.zh_pg_aside_contact_btn:hover {
    background: var(--zh-dark);
    color: #fff;
}

/* ============================================
   右侧富文本主区
   ============================================ */
.zh_pg_main {
    background: #fff;
    border: 1px solid var(--zh-line);
    border-radius: var(--zh-radius-sm);
    padding: 32px 40px 28px;
    min-width: 0;
}

.zh_pg_main_head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--zh-line);
    position: relative;
}

.zh_pg_main_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--zh-text);
    margin: 0 0 10px;
    line-height: 1.4;
    position: relative;
    padding-left: 16px;
}

.zh_pg_main_title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--zh-primary);
    border-radius: 2px;
}

.zh_pg_main_meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12.5px;
    color: var(--zh-text-3);
    padding-left: 16px;
    flex-wrap: wrap;
}

.zh_pg_main_meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.zh_pg_main_meta i { color: var(--zh-primary); }

/* 富文本正文 */
.zh_pg_body {
    font-size: 14.5px;
    color: var(--zh-text-2);
    line-height: 1.95;
    max-width: 880px;
}

.zh_pg_body p { margin: 0 0 14px; }
.zh_pg_body h1 { font-size: 22px; color: var(--zh-text); margin: 22px 0 12px; }
.zh_pg_body h2 { font-size: 19px; color: var(--zh-text); margin: 20px 0 12px; padding-left: 14px; position: relative; }
.zh_pg_body h2::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: var(--zh-primary); border-radius: 2px; }
.zh_pg_body h3 { font-size: 17px; color: var(--zh-text); margin: 18px 0 10px; }
.zh_pg_body h4 { font-size: 15px; color: var(--zh-text); margin: 14px 0 8px; }
.zh_pg_body ul, .zh_pg_body ol { padding-left: 24px; margin: 0 0 14px; }
.zh_pg_body li { margin-bottom: 6px; }
.zh_pg_body blockquote {
    margin: 14px 0;
    padding: 14px 18px;
    background: var(--zh-bg-soft);
    border-left: 4px solid var(--zh-primary);
    border-radius: var(--zh-radius-sm);
    color: var(--zh-text);
    font-style: italic;
}
.zh_pg_body strong { color: var(--zh-text); font-weight: 600; }
.zh_pg_body a {
    color: var(--zh-primary);
    text-decoration: underline;
    text-decoration-color: rgba(242, 135, 43, 0.3);
    text-underline-offset: 3px;
}
.zh_pg_body a:hover { color: var(--zh-primary-deep); text-decoration-color: var(--zh-primary-deep); }
.zh_pg_body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--zh-radius-sm);
    margin: 12px 0;
}
.zh_pg_body table {
    border-collapse: collapse;
    width: 100%;
    margin: 14px 0;
    font-size: 13.5px;
}
.zh_pg_body table th,
.zh_pg_body table td {
    border: 1px solid var(--zh-line);
    padding: 10px 14px;
    text-align: left;
}
.zh_pg_body table th {
    background: var(--zh-bg-soft);
    font-weight: 600;
    color: var(--zh-text);
}
.zh_pg_body hr {
    border: none;
    border-top: 1px dashed var(--zh-line);
    margin: 22px 0;
}
.zh_pg_body code {
    padding: 1px 6px;
    background: var(--zh-bg-soft);
    border-radius: 3px;
    font-size: 13px;
    color: var(--zh-accent);
    font-family: "Courier New", monospace;
}
.zh_pg_body pre {
    background: var(--zh-dark);
    color: #f4f0ea;
    padding: 14px 18px;
    border-radius: var(--zh-radius-sm);
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    font-family: "Courier New", monospace;
    margin: 14px 0;
}
.zh_pg_body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* 空内容 */
.zh_pg_empty {
    text-align: center;
    padding: 56px 24px;
    color: var(--zh-text-3);
}

.zh_pg_empty_icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--zh-primary-tint);
    color: var(--zh-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 16px;
}

.zh_pg_empty h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--zh-text);
    margin: 0 0 6px;
}

.zh_pg_empty p {
    font-size: 13px;
    margin: 0;
}

/* 底部 */
.zh_pg_foot {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed var(--zh-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.zh_pg_foot_meta {
    font-size: 12.5px;
    color: var(--zh-text-3);
}

.zh_pg_foot_meta strong {
    color: var(--zh-primary);
    font-weight: 600;
}

.zh_pg_foot_back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--zh-bg-soft);
    color: var(--zh-text-2);
    font-size: 12.5px;
    font-weight: 500;
    border-radius: var(--zh-radius-sm);
    border: 1px solid var(--zh-line);
    transition: all 0.2s;
}

.zh_pg_foot_back:hover {
    background: var(--zh-primary);
    color: #fff;
    border-color: var(--zh-primary);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 991px) {
    .zh_pg_grid { grid-template-columns: 1fr; gap: 18px; }
    .zh_pg_aside {
        position: static;
        flex-direction: row;
        gap: 12px;
    }
    .zh_pg_aside_card { flex: 1; min-width: 0; }
    .zh_pg_aside_contact { max-width: 280px; }
    .zh_pg_main { padding: 28px 28px 24px; }
}

@media (max-width: 767px) {
    .zh_pg_wrap { padding: 20px 0 40px; }
    .zh_pg_grid { padding: 0 12px; }
    .zh_pg_aside { flex-direction: column; gap: 14px; }
    .zh_pg_aside_contact { max-width: 100%; }

    .zh_pg_main { padding: 22px 18px 20px; }
    .zh_pg_main_title { font-size: 19px; padding-left: 12px; }
    .zh_pg_main_meta { padding-left: 12px; gap: 12px; font-size: 11.5px; }

    .zh_pg_body { font-size: 14px; line-height: 1.85; }
    .zh_pg_body h1 { font-size: 19px; }
    .zh_pg_body h2 { font-size: 17px; }
    .zh_pg_body h3 { font-size: 15px; }

    .zh_pg_foot { flex-direction: column; align-items: flex-start; }
}
