/* ============================================================
   ZY 2026 · PAGE-HEAD NORMALIZATION / 2026-11-18
   全站页头与首页节奏对齐：AI 状态条(112px)下方统一 24px 起点。
   - 面包屑：24px 顶距 / 16px 底距 / 12px 字号
   - 卡片头/筛选面板型容器：padding-top 24
   - hero 频道页（community/aiedu/certificate/smart/master/oversea/school/lab）
     本身 top=0 贴条，不在本层处理范围。
   ============================================================ */

/* ---------- 1. 全站面包屑归一 ---------- */
html.zy-site .el-breadcrumb {
    margin: 24px auto 16px !important;
    font-size: 12px !important;
    line-height: 14px !important;
}
html.zy-site .el-breadcrumb .el-breadcrumb__inner,
html.zy-site .el-breadcrumb .el-breadcrumb__inner a {
    font-size: 12px !important;
    color: var(--zy-muted) !important;
    font-weight: 400 !important;
}
html.zy-site .el-breadcrumb__item:last-child .el-breadcrumb__inner {
    color: var(--zy-ink) !important;
    font-weight: 500 !important;
}
html.zy-site .el-breadcrumb .el-icon-arrow-right { color: var(--zy-muted) !important; }

/* ---------- 2. 容器顶距：有面包屑的归零（面包屑 margin 24 承担），无面包屑的 24 ---------- */
/* 有面包屑：个人中心 / 订单 / 消息 / 讲师列表 / 推广内页 */
html.zy-site .my > .main,
html.zy-site .order-shell,
html.zy-site .msg-shell,
html.zy-site .container,
html.zy-site .commission-page > .main,
html.zy-site .promoter-page > .main,
html.zy-site .withdraw-page > .main { padding-top: 0 !important; }

/* 无面包屑：首块自己顶到 24 */
html.zy-p-my .cert-page,
html.zy-site .inv-page,
html.zy-site .wd-page,
html.zy-site .oct-page,
html.zy-site .oct-shell,
html.zy-site .point-page,
html.zy-site .exchange-page,
html.zy-site .medal-page,
html.zy-site .medal-shell { padding-top: 24px !important; }

/* 课程/资料/直播列表无面包屑：筛选面板顶到 24 */
html.zy-site .container > .courseClassificationList,
html.zy-site .container > .courseClassificationList.category { margin-top: 24px !important; }

/* ---------- 3. AI 教练（wrap 24 + 内部 14 = 38 → wrap 10 使 cch-top 达 24） ---------- */
html.zy-site .cch-wrap { padding-top: 10px !important; }

/* ---------- 5. AI 刷题（无面包屑，hero 顶到 24） ---------- */
html.zy-site .question-list .brush-hero { margin-top: 24px !important; }
html.zy-site .question-list .category { margin-top: 16px !important; }

/* ---------- 6. 推广中心首页（面包屑已 24，防容器叠加） ---------- */
html.zy-site .sp-banner { margin-top: 0 !important; }

/* ---------- 7. 首屏内页统一容器（兜底：直接子容器顶距） ---------- */
html.zy-site .activity-page,
html.zy-site .service-page,
html.zy-site .rwa-page,
html.zy-site .merchant-page,
html.zy-site .tutor-page,
html.zy-site .school-page { padding-top: 24px !important; }

@media (max-width: 900px) {
    html.zy-site .el-breadcrumb { margin: 16px 0 12px !important; }
    html.zy-site .my > .main,
    html.zy-site .container,
    html.zy-site .order-shell,
    html.zy-p-my .cert-page,
    html.zy-site .msg-shell,
    html.zy-site .inv-page,
    html.zy-site .wd-page { padding-top: 16px !important; }
    html.zy-site .cch-wrap { padding-top: 16px !important; }
}
