/* ============================================================
   无量智算信息发布平台 — 结构层样式
   与参考站的差异：单行贴边头部 + 常驻搜索；首页改为左右分栏；
   信息卡片改为横向列表；圆角收紧到 4px；主色炭墨 + 无量智算红
   ============================================================ */

/* ---------- 头部：单行，去掉两行 topbar ---------- */
.zq_hd {
    position: sticky; top: 0; z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--zq-line);
}
.zq_hd_inner {
    max-width: 1240px; margin: 0 auto; padding: 0 20px;
    height: 68px; display: flex; align-items: center; gap: 28px;
}
.zq_hd_logo { display: flex; align-items: center; flex: 0 0 auto; }
.zq_hd_logo img { height: 38px; width: auto; display: block; }

.zq_hd_nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.zq_hd_nav a {
    position: relative;
    padding: 8px 14px; font-size: 15px; color: var(--zq-ink);
    text-decoration: none; white-space: nowrap; border-radius: 3px;
    transition: color .15s, background .15s;
}
.zq_hd_nav a:hover { color: var(--zq-red); background: var(--zq-red-soft); }
.zq_hd_nav a.active { color: var(--zq-red); font-weight: 600; }
.zq_hd_nav a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px;
    height: 2px; background: var(--zq-red);
}

/* 常驻搜索框（参考站是点击弹层） */
.zq_hd_search { flex: 0 1 250px; display: flex; align-items: center; }
.zq_hd_search form {
    display: flex; width: 100%; height: 36px;
    border: 1px solid var(--zq-line); border-radius: 3px;
    background: var(--zq-bg); overflow: hidden;
    transition: border-color .15s, background .15s;
}
.zq_hd_search form:focus-within { border-color: var(--zq-red); background: #fff; }
.zq_hd_search input {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
    padding: 0 12px; font-size: 13px; color: var(--zq-ink);
}
.zq_hd_search input::placeholder { color: var(--zh-text-muted); }
.zq_hd_search button {
    flex: 0 0 auto; border: 0; background: transparent; cursor: pointer;
    padding: 0 12px; color: var(--zq-slate); font-size: 13px;
}
.zq_hd_search button:hover { color: var(--zq-red); }

.zq_hd_act { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.zq_hd_link { font-size: 14px; color: var(--zq-slate); text-decoration: none; white-space: nowrap; }
.zq_hd_link:hover { color: var(--zq-red); }
.zq_hd_btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 16px; border-radius: 3px;
    background: var(--zq-red); color: #fff !important; font-size: 14px;
    text-decoration: none; white-space: nowrap; transition: background .15s;
}
.zq_hd_btn:hover { background: var(--zq-red-deep); }
.zq_hd_burger { display: none; border: 0; background: transparent; font-size: 20px; color: var(--zq-ink); cursor: pointer; }

/* 隐藏参考站遗留的头部结构 */
.zh_topbar, .zh_navbar, .zh_search_overlay { display: none !important; }

/* ---------- 通用容器与标题 ---------- */
.zq_wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.zq_sec { padding: 56px 0; }
.zq_sec_head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.zq_sec_h {
    font-size: 24px; font-weight: 700; color: var(--zq-ink); margin: 0;
    padding-left: 12px; border-left: 4px solid var(--zq-red); line-height: 1.2;
}
.zq_sec_sub { font-size: 14px; color: var(--zq-slate); margin: 6px 0 0 16px; }
.zq_more { font-size: 14px; color: var(--zq-slate); text-decoration: none; white-space: nowrap; }
.zq_more:hover { color: var(--zq-red); }

/* ---------- ① Hero：左右分栏（参考站是全幅居中） ---------- */
.zq_hero { background: linear-gradient(180deg, #fff 0%, var(--zq-bg) 100%); border-bottom: 1px solid var(--zq-line); }
.zq_hero_in {
    max-width: 1240px; margin: 0 auto; padding: 52px 20px 56px;
    display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center;
}
.zq_hero_tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--zq-red); background: var(--zq-red-soft);
    padding: 5px 12px; border-radius: 2px; margin-bottom: 18px;
}
.zq_hero_h { font-size: 38px; line-height: 1.24; font-weight: 700; color: var(--zq-ink); margin: 0 0 16px; }
.zq_hero_h em { font-style: normal; color: var(--zq-red); }
.zq_hero_p { font-size: 15px; line-height: 1.85; color: var(--zq-slate); margin: 0 0 26px; }
.zq_hero_form { display: flex; height: 46px; max-width: 480px; margin-bottom: 22px; }
.zq_hero_form input {
    flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 16px; font-size: 14px;
    border: 1px solid var(--zq-line); border-right: 0; border-radius: 3px 0 0 3px;
    outline: 0; background: #fff; color: var(--zq-ink);
}
.zq_hero_form input:focus { border-color: var(--zq-red); }
.zq_hero_form button {
    flex: 0 0 auto; height: 46px; padding: 0 26px; border: 0; cursor: pointer;
    background: var(--zq-red); color: #fff; font-size: 15px; border-radius: 0 3px 3px 0;
}
.zq_hero_form button:hover { background: var(--zq-red-deep); }
.zq_hero_nums { display: flex; gap: 40px; }
.zq_hero_num b { display: block; font-size: 26px; font-weight: 700; color: var(--zq-ink); line-height: 1.1; }
.zq_hero_num span { font-size: 13px; color: var(--zq-slate); }
.zq_hero_pic { position: relative; }
.zq_hero_pic img {
    width: 100%; height: auto; display: block; border-radius: 4px;
    box-shadow: 0 16px 40px rgba(28,31,38,.14);
}
.zq_hero_pic::after {
    content: ""; position: absolute; left: -14px; bottom: -14px;
    width: 120px; height: 120px; border-left: 3px solid var(--zq-red);
    border-bottom: 3px solid var(--zq-red); border-radius: 0 0 0 4px; z-index: -1;
}

/* ---------- ② 平台运作模式：图 + 步骤 ---------- */
.zq_model { background: #fff; }
.zq_model_in { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
.zq_model_pic img { width: 100%; height: auto; display: block; border-radius: 4px; }
.zq_model_steps { display: grid; gap: 18px; }
.zq_model_step {
    display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
    padding: 16px 18px; background: var(--zq-bg); border-left: 3px solid var(--zq-line);
    transition: border-color .15s, background .15s;
}
.zq_model_step:hover { border-left-color: var(--zq-red); background: #fff; box-shadow: var(--zh-shadow); }
.zq_model_n {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--zq-line); border-radius: 3px;
}
.zq_model_n img { width: 26px; height: 26px; display: block; }
.zq_model_t { font-size: 16px; font-weight: 600; color: var(--zq-ink); margin: 0 0 5px; }
.zq_model_d { font-size: 13.5px; line-height: 1.75; color: var(--zq-slate); margin: 0; }

/* ---------- ③ 主体：左侧栏 + 右信息流（核心差异） ---------- */
.zq_body { background: var(--zq-bg); }
.zq_body_in { display: grid; grid-template-columns: 258px 1fr; gap: 28px; align-items: start; }

.zq_side { position: sticky; top: 88px; display: grid; gap: 16px; }
.zq_panel { background: #fff; border: 1px solid var(--zq-line); border-radius: 4px; overflow: hidden; }
.zq_panel_h {
    font-size: 14px; font-weight: 600; color: var(--zq-ink);
    padding: 13px 16px; border-bottom: 1px solid var(--zq-line); margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.zq_panel_h i { color: var(--zq-red); font-size: 13px; }
.zq_cat_list { list-style: none; margin: 0; padding: 6px 0; }
.zq_cat_list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; font-size: 14px; color: var(--zq-ink); text-decoration: none;
    border-left: 3px solid transparent; transition: all .15s;
}
.zq_cat_list a:hover { background: var(--zq-red-soft); color: var(--zq-red); border-left-color: var(--zq-red); }
.zq_cat_list em { font-style: normal; font-size: 12px; color: var(--zh-text-muted); }
.zq_side_pv { list-style: none; margin: 0; padding: 6px 0; }
.zq_side_pv a {
    display: block; padding: 10px 16px; font-size: 13.5px; color: var(--zq-ink);
    text-decoration: none; line-height: 1.5; transition: all .15s;
}
.zq_side_pv a:hover { background: var(--zq-bg); color: var(--zq-red); }
.zq_side_pv span { display: block; font-size: 12px; color: var(--zh-text-muted); margin-top: 2px; }
.zq_side_stat { display: grid; grid-template-columns: 1fr 1fr; }
.zq_side_stat div { padding: 16px; text-align: center; border-right: 1px solid var(--zq-line); }
.zq_side_stat div:last-child { border-right: 0; }
.zq_side_stat b { display: block; font-size: 22px; font-weight: 700; color: var(--zq-red); line-height: 1.1; }
.zq_side_stat span { font-size: 12px; color: var(--zq-slate); }

/* 信息流：横向列表（参考站是网格卡片） */
.zq_feed { display: grid; gap: 14px; }
.zq_item {
    display: grid; grid-template-columns: 178px 1fr; gap: 20px;
    background: #fff; border: 1px solid var(--zq-line); border-radius: 4px;
    padding: 16px; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.zq_item:hover { border-color: var(--zq-red); box-shadow: var(--zh-shadow-hover); transform: translateY(-1px); }
.zq_item_pic { width: 178px; height: 120px; overflow: hidden; border-radius: 3px; background: var(--zq-bg); }
.zq_item_pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.zq_item:hover .zq_item_pic img { transform: scale(1.04); }
.zq_item_ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--zh-text-muted); font-size: 22px; }
.zq_item_bd { min-width: 0; display: flex; flex-direction: column; }
.zq_item_cat {
    align-self: flex-start; font-size: 12px; color: var(--zq-blue);
    background: var(--zq-blue-soft); padding: 3px 9px; border-radius: 2px; margin-bottom: 9px;
}
.zq_item_t { font-size: 16.5px; line-height: 1.5; font-weight: 600; margin: 0 0 8px; }
.zq_item_t a { color: var(--zq-ink); text-decoration: none; }
.zq_item_t a:hover { color: var(--zq-red); }
.zq_item_d {
    font-size: 13.5px; line-height: 1.7; color: var(--zq-slate); margin: 0 0 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.zq_item_ft {
    margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--zh-text-muted); padding-top: 10px; border-top: 1px dashed var(--zq-line);
}
.zq_item_ft i { margin-right: 4px; }
.zq_item_pvn { color: var(--zq-slate); }
.zq_item_pvn a { color: var(--zq-slate); text-decoration: none; }
.zq_item_pvn a:hover { color: var(--zq-red); }
.zq_feed_more { margin-top: 22px; text-align: center; }
.zq_feed_more a {
    display: inline-block; padding: 11px 34px; font-size: 14px;
    border: 1px solid var(--zq-line); border-radius: 3px; background: #fff;
    color: var(--zq-ink); text-decoration: none; transition: all .15s;
}
.zq_feed_more a:hover { border-color: var(--zq-red); color: var(--zq-red); }

/* ---------- ④ 平台能力：精灵图图标网格 ---------- */
.zq_ability { background: #fff; }
.zq_ab_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.zq_ab {
    padding: 24px 20px; border: 1px solid var(--zq-line); border-radius: 4px;
    background: #fff; transition: all .18s;
}
.zq_ab:hover { border-color: var(--zq-red); transform: translateY(-2px); box-shadow: var(--zh-shadow-md); }
.zq_ab img { width: 48px; height: 48px; display: block; margin-bottom: 14px; }
.zq_ab h4 { font-size: 15.5px; font-weight: 600; color: var(--zq-ink); margin: 0 0 7px; }
.zq_ab p { font-size: 13px; line-height: 1.72; color: var(--zq-slate); margin: 0; }

/* ---------- ⑤ 服务商：横向宽卡 ---------- */
.zq_pv_sec { background: var(--zq-bg); }
.zq_pv_list { display: grid; gap: 14px; }
.zq_pv {
    display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
    background: #fff; border: 1px solid var(--zq-line); border-radius: 4px; padding: 20px 22px;
    transition: border-color .15s, box-shadow .15s;
}
.zq_pv:hover { border-color: var(--zq-red); box-shadow: var(--zh-shadow-hover); }
.zq_pv_av {
    width: 64px; height: 64px; border-radius: 3px; display: flex; align-items: center; justify-content: center;
    background: var(--zq-red-soft); color: var(--zq-red); font-size: 24px; font-weight: 700;
    overflow: hidden;
}
.zq_pv_av img { width: 100%; height: 100%; object-fit: cover; }
.zq_pv_bd { min-width: 0; }
.zq_pv_n { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.zq_pv_n a { color: var(--zq-ink); text-decoration: none; }
.zq_pv_n a:hover { color: var(--zq-red); }
.zq_pv_meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--zh-text-muted); margin-bottom: 7px; }
.zq_pv_ok { color: var(--zh-success); }
.zq_pv_d {
    font-size: 13.5px; line-height: 1.7; color: var(--zq-slate); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.zq_pv_go {
    flex: 0 0 auto; padding: 9px 20px; font-size: 13.5px; white-space: nowrap;
    border: 1px solid var(--zq-line); border-radius: 3px; color: var(--zq-ink); text-decoration: none;
    transition: all .15s;
}
.zq_pv_go:hover { background: var(--zq-red); border-color: var(--zq-red); color: #fff; }

/* ---------- ⑥ 入驻条 ---------- */
.zq_join { background: var(--zq-ink); padding: 44px 0; }
.zq_join_in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.zq_join h3 { font-size: 23px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.zq_join p { font-size: 14px; color: rgba(255,255,255,.62); margin: 0; }
.zq_join_btns { display: flex; gap: 12px; flex-wrap: wrap; }
.zq_join_a {
    padding: 12px 30px; border-radius: 3px; font-size: 14.5px; text-decoration: none;
    background: var(--zq-red); color: #fff; transition: background .15s;
}
.zq_join_a:hover { background: var(--zq-red-deep); color: #fff; }
.zq_join_b {
    padding: 12px 30px; border-radius: 3px; font-size: 14.5px; text-decoration: none;
    border: 1px solid rgba(255,255,255,.28); color: #fff; transition: all .15s;
}
.zq_join_b:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ---------- 页脚微调 ---------- */
.zh_footer { background: var(--zq-ink-2); }
.zh_copyright { background: #14171C; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .zq_hd_search { flex-basis: 180px; }
    .zq_hero_in { grid-template-columns: 1fr; gap: 34px; }
    .zq_hero_pic::after { display: none; }
    .zq_model_in { grid-template-columns: 1fr; gap: 30px; }
    .zq_model_pic { max-width: 420px; margin: 0 auto; }
    .zq_body_in { grid-template-columns: 1fr; }
    .zq_side { position: static; grid-template-columns: repeat(2, 1fr); }
    .zq_ab_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .zq_hd_nav, .zq_hd_search, .zq_hd_act .zq_hd_link { display: none; }
    .zq_hd_burger { display: block; margin-left: auto; }
    .zq_hd_inner { gap: 14px; }
    .zq_hero_h { font-size: 28px; }
    .zq_side { grid-template-columns: 1fr; }
    .zq_item { grid-template-columns: 1fr; gap: 14px; }
    .zq_item_pic { width: 100%; height: 180px; }
    .zq_pv { grid-template-columns: 52px 1fr; }
    .zq_pv_av { width: 52px; height: 52px; font-size: 20px; }
    .zq_pv_go { grid-column: 1 / -1; text-align: center; }
    .zq_sec { padding: 38px 0; }
    .zq_hero_nums { gap: 26px; }
}

/* ============================================================
   信息正文排版（原 infos.css 对 table/h3/ul 完全没有样式）
   ============================================================ */
.zh_detail_content { font-size: 15px; line-height: 1.9; color: #33383F; }

.zh_detail_content h3 {
    font-size: 17px; font-weight: 700; color: var(--zq-ink);
    margin: 30px 0 14px; padding-left: 11px;
    border-left: 4px solid var(--zq-red); line-height: 1.35;
}
.zh_detail_content h3:first-child { margin-top: 4px; }
.zh_detail_content h2 { font-size: 19px; font-weight: 700; color: var(--zq-ink); margin: 32px 0 14px; }
.zh_detail_content p { margin: 0 0 14px; }
.zh_detail_content strong { color: var(--zq-ink); font-weight: 600; }

.zh_detail_content ul,
.zh_detail_content ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
.zh_detail_content ol { counter-reset: zqli; }
.zh_detail_content li {
    position: relative; padding-left: 20px; margin-bottom: 9px; line-height: 1.85;
}
.zh_detail_content ul > li::before {
    content: ""; position: absolute; left: 3px; top: 12px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--zq-red);
}
.zh_detail_content ol > li { counter-increment: zqli; padding-left: 26px; }
.zh_detail_content ol > li::before {
    content: counter(zqli); position: absolute; left: 0; top: 3px;
    width: 18px; height: 18px; line-height: 18px; text-align: center;
    font-size: 11px; font-weight: 600; color: #fff; background: var(--zq-red); border-radius: 2px;
}

/* 规格参数表 */
.zh_detail_content table {
    width: 100%; margin: 4px 0 22px; border-collapse: collapse;
    font-size: 14px; background: #fff; border: 1px solid var(--zq-line);
}
.zh_detail_content thead th,
.zh_detail_content table tr:first-child th {
    background: var(--zq-bg); color: var(--zq-ink); font-weight: 600;
    text-align: left; padding: 11px 14px; border-bottom: 2px solid var(--zq-line);
    white-space: nowrap;
}
.zh_detail_content td {
    padding: 11px 14px; border-bottom: 1px solid var(--zq-line);
    border-right: 1px solid #F0F2F5; vertical-align: top; line-height: 1.7;
}
.zh_detail_content td:last-child { border-right: 0; }
.zh_detail_content tbody tr:last-child td { border-bottom: 0; }
.zh_detail_content tbody tr:nth-child(even) td { background: #FAFBFC; }
.zh_detail_content tbody tr:hover td { background: var(--zq-red-soft); }
.zh_detail_content td:first-child { width: 168px; color: var(--zq-slate); font-weight: 500; }

.zh_detail_content img { max-width: 100%; height: auto; border-radius: 3px; }
.zh_detail_content figure { margin: 0 0 16px; }

@media (max-width: 760px) {
    .zh_detail_content table { display: block; overflow-x: auto; white-space: nowrap; }
    .zh_detail_content td:first-child { width: auto; }
}
