﻿:root {
  --brand: #1677ff;
  --brand-2: #4096ff;
  --brand-deep: #0958d9;
  --accent-cyan: #3dc6ff;
  --info-blue: #0b92d1;
  --success: #119200;
  --success-2: #20c7b9;
  --warn: #ff6c00;
  --text: #333;
  --text-title: #1f2329;
  --text-sub: #666;
  --text-mute: #999;
  --bg: #f7f9fc;
  --bg-card: #ffffff;
  --bg-gray: #f3f5f8;
  --line: #e6eaf0;
  --shadow: 0 6px 22px rgba(22, 119, 255, 0.08);
  --font: "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--text-title); font-weight: 600; }

.container { width: 1200px; max-width: calc(100% - 32px); margin: 0 auto; }
.container-narrow { width: 1000px; max-width: calc(100% - 32px); margin: 0 auto; }

/* Top bar */
.topbar {
  height: 36px;
  background: #0c52b4;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar .split { opacity: 0.35; }
.topbar .city { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #fff; }
.topbar .city svg { width: 13px; height: 13px; }

/* Header */
.header { height: 108px; background: #fff; border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 28px; height: 108px; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-img { width: 46px; height: 46px; object-fit: contain; flex: 0 0 auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 20px; color: var(--brand); letter-spacing: 0; }
.logo-text span { font-size: 12px; color: var(--text-mute); margin-top: 3px; }

.city-switch {
  position: relative; flex: 0 0 auto;
}
.city-switch button {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--text-title);
  padding: 9px 14px; border-radius:0; font-size: 15px; font-weight: 600;
}
.city-switch button:hover { border-color: var(--brand); color: var(--brand); }
.city-switch button svg { width: 14px; height: 14px; }

.searchbar { flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; }
.searchbar form { display: flex; width: 100%; border: 1px solid var(--brand); border-radius:0; overflow: hidden; }
.searchbar input {
  flex: 1; border: 0; outline: 0; padding: 10px 14px; font-size: 14px; min-width: 0;
}
.searchbar button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto;
  border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; white-space: nowrap;
  font-size: 14px; transition: background 0.2s;
}
.searchbar button svg { width: 17px; height: 17px; flex: 0 0 auto; }
.searchbar button:hover { background: var(--brand-deep); }
.searchbar-desktop { flex: 0 1 480px; width: 100%; max-width: 480px; min-width: 320px; margin: 0 auto; }
.searchbar-mobile { display: none; }

.hot-words { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--text-mute); flex-wrap: wrap; }
.hot-words b { color: var(--text-sub); font-weight: 500; }
.hot-words a { color: var(--text-sub); padding: 2px 8px; background: var(--bg-gray); border-radius:0; }
.hot-words a:hover { color: var(--brand); background: #eaf3ff; }

/* Nav */
.mainnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.mainnav .container { display: flex; align-items: stretch; height: 48px; }
.mainnav a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  flex: 1 1 0; height: 48px; padding: 0 12px; font-size: 16px; color: var(--text-title); font-weight: 500;
  white-space: nowrap;
}
.mainnav a:hover, .mainnav a.active { color: var(--brand); }
.mainnav a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; height: 3px; width: 2.4em;
  background: var(--brand); border-radius:0;
}

/* Breadcrumb */
.crumbs { padding: 14px 0 0; font-size: 13px; color: var(--text-mute); }
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 6px; }

/* Page head */
.page-head { padding: 26px 0 20px; }
.page-head h1 { font-size: 28px; }
.page-head .sub { color: var(--text-sub); margin-top: 8px; }

/* Sections */
.section { padding: 26px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 22px; }
.section-head .more { color: var(--text-sub); font-size: 13px; }
.section-head .more:hover { color: var(--brand); }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius:0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand-2); box-shadow: var(--shadow); }
.card:not(a):hover { transform: none; border-color: var(--line); box-shadow: none; }

/* Institute / sampling cards */
.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.inst-card { padding: 18px; display: flex; gap: 16px; }
.inst-thumb {
  flex: 0 0 148px; aspect-ratio: 16 / 9; border-radius:0; overflow: hidden;
  background: linear-gradient(135deg, #eaf3ff, #d7ebff);
  display: grid; place-items: center; color: var(--brand); font-size: 12px;
}
.inst-thumb svg { width: 42px; height: 42px; }
.inst-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inst-info { flex: 1; min-width: 0; }
.inst-top { display: flex; align-items: center; gap: 8px; }
.badge-level {
  display: inline-flex; align-items: center; font-size: 12px; line-height: 1;
  padding: 4px 7px; border-radius:0; font-weight: 600;
}
.badge-level.judicial { background: #eaf3ff; color: var(--brand-deep); }
.badge-level.sample { background: #e9f8f7; color: var(--success-2); }
.badge-level.hot { background: #fff1e8; color: var(--warn); }
.inst-name { font-size: 17px; margin: 8px 0 6px; }
.inst-meta { font-size: 13px; color: var(--text-sub); }
.inst-meta .row { display: flex; gap: 6px; margin-top: 5px; }
.inst-meta svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--brand); }
.inst-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price { color: var(--warn); font-weight: 700; font-size: 16px; }
.price small { font-size: 12px; font-weight: 400; color: var(--text-mute); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  border: 1px solid var(--brand); border-radius:0; cursor: pointer;
  padding: 0.55em 1.1em; font-size: clamp(12px, calc(1vw + 8px), 15px); line-height: 1;
  white-space: nowrap; max-width: 100%; transition: all 0.2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-outline { background: #fff; color: var(--brand); }
.btn-outline:hover { background: #eaf3ff; }
.btn-sm { padding: 0.5em 0.9em; font-size: clamp(12px, calc(0.8vw + 7px), 14px); }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--text-sub); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }

/* Filters */
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius:0; padding: 18px; margin-bottom: 18px; }
.filter-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 0; color: var(--text); font-size: 15px; font-weight: 700; cursor: pointer; }
.filter-toggle:hover { color: var(--brand); border-color: #cfe4ff; }
.filter-toggle-arrow { transition: transform .2s ease; font-size: 12px; color: var(--text-sub); }
.filter-toggle[aria-expanded="true"] .filter-toggle-arrow { transform: rotate(180deg); }
.filter-panel-body { margin-top: 12px; }
.filter-panel-body[hidden] { display: none; }
.filter-row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.filter-row + .filter-row { border-top: 1px dashed var(--line); }
.filter-label { flex: 0 0 76px; color: var(--text-sub); padding-top: 4px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-option {
  border: 1px solid transparent; background: var(--bg-gray); color: var(--text-sub);
  padding: 4px 12px; border-radius:0; cursor: pointer; font-size: 13px; white-space: nowrap;
}
.filter-option { border-color: #cfe0f7; color: #33465c; background: #fff; }
.filter-option:hover { color: var(--brand); border-color: var(--brand); }
.filter-option.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.filter-actions { margin-left: auto; display: flex; gap: 8px; flex: 0 0 auto; }

/* Project list */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { padding: 18px; position: relative; }
.project-cover { aspect-ratio: 16 / 9; margin: -18px -18px 14px; overflow: hidden; background: linear-gradient(135deg,#eaf3ff,#d7ebff); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-card .tag-hot { position: absolute; right: 12px; top: 12px; }
.project-card h3 { font-size: 17px; margin: 8px 0 6px; padding-right: 52px; }
.project-org { color: var(--text-sub); font-size: 13px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip {
  display: inline-flex; align-items: center; font-size: 12px; color: var(--text-sub);
  background: var(--bg-gray); border-radius:0; padding: 3px 7px;
}
.project-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; }

/* Article list */
.article-list { display: grid; gap: 12px; }
.article-item { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.article-cover { flex: 0 0 148px; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg,#eaf3ff,#d7ebff); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-rank { flex: 0 0 34px; height: 34px; border-radius:0; background: var(--bg-gray); color: var(--text-sub); display: grid; place-items: center; font-weight: 700; }
.article-item { align-items: center; }
.article-rank.top { background: #eaf3ff; color: var(--brand); }
.article-body { flex: 1; min-width: 0; }
.article-body h3 { font-size: 16px; }
.article-body p { margin: 6px 0; color: var(--text-sub); font-size: 13px; }
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.article-tags .chip { background: #eaf3ff; color: var(--brand); }
.article-reads { flex: 0 0 auto; color: var(--text-mute); font-size: 12px; text-align: right; }

/* Selling points */
.sell-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sell-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; text-align: center; }
.sell-icon { width: 48px; height: 48px; border-radius:0; background: transparent; color: var(--brand); display: grid; place-items: center; }
.sell-icon-img { width: 46px; height: 46px; object-fit: contain; display: block; }
.sell-item b { font-size: 15px; color: var(--text-title); }
.sell-item span { font-size: 12px; color: var(--text-mute); }

/* Sample recommendation */
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sample-card { padding: 0; overflow: hidden; }
.sample-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sample-card b { display: block; margin: 14px 16px 6px; font-size: 16px; color: var(--text-title); }
.sample-card p { margin: 0 16px 16px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* Trust / ticker */
.trust-band { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius:0; padding: 14px 18px; overflow: hidden; }
.trust-label { flex: 0 0 auto; color: var(--brand); font-weight: 700; }
.ticker { flex: 1; height: 24px; overflow: hidden; position: relative; }
.ticker ul { position: relative; }
.ticker li { height: 24px; line-height: 24px; color: var(--text-sub); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* City open list */
.city-open-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.city-open-grid a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius:0; font-size: 13px; }
.city-open-grid a:hover { border-color: var(--brand); color: var(--brand); }
.city-open-grid .dot { width: 7px; height: 7px; border-radius:0; background: var(--success); }

/* Footer */
.footer { margin-top: 40px; background: #12294f; color: #c6d5ee; }
.footer-links { padding: 30px 0 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.footer-col a { font-size: 13px; color: #b9c9e4; }
.footer-col a:hover { color: #fff; }
.footer-meta { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0 24px; font-size: 12px; color: #90a4c4; text-align: center; line-height: 1.9; }
.footer-meta a { color: #90a4c4; }
.footer-meta a:hover { color: #fff; }

/* Floating sidebar */
.float-side { position: fixed; right: 16px; bottom: 150px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-side a {
  width: 48px; height: 48px; border-radius:0; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.float-side a:hover { transform: translateY(-3px); }
.float-side svg { width: 22px; height: 22px; }

/* City modal */
.modal-mask { position: fixed; inset: 0; background: rgba(15,30,58,0.5); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.show { display: flex; }
.city-modal { width: 760px; max-width: 100%; max-height: 86vh; background: #fff; border-radius:0; overflow: hidden; display: flex; flex-direction: column; }
.city-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.city-modal-head h3 { font-size: 18px; }
.city-modal-close { border: 0; background: #fff; color: var(--text-mute); cursor: pointer; font-size: 20px; }
.city-modal-body { padding: 20px; overflow: auto; }
.city-modal-body h4 { font-size: 14px; color: var(--text-sub); margin: 0 0 10px; }
.hot-city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hot-city-list a { padding: 6px 14px; background: #eaf3ff; color: var(--brand); border-radius:0; }
.city-index { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.city-index button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; border-radius:0; cursor: pointer; color: var(--text-sub); }
.city-index button.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.city-group { margin-bottom: 14px; }
.city-group .letter { font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.city-group .cities { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.city-group .cities a { color: var(--text-sub); }
.city-group .cities a:hover { color: var(--brand); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius:0; background: #fff; font-size: 13px; }
.pagination { flex-wrap: wrap; align-items: center; }
.pagination[hidden] { display: none; }
.pagination button { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius:0; background: #fff; color: var(--text-sub); font-size: 13px; cursor: pointer; padding: 0 10px; }
.pagination button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.pagination .pagination-jump { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 2px; color: var(--text-mute); font-size: 13px; }
.pagination .pagination-jump span { min-width: auto; height: auto; border: 0; background: transparent; }
.pagination .pagination-jump input { width: 64px; height: 34px; border: 1px solid var(--line); border-radius:0; padding: 0 8px; text-align: center; outline: none; }
.pagination .pagination-jump input:focus { border-color: var(--brand); }
.pagination .pagination-jump button { color: var(--brand); }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Detail page */
.detail-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 20px 0 40px; }
.detail-main .card { padding: 24px; margin-bottom: 16px; }
.detail-side { align-self: start; }
.product-img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 16px; }
.product-detail-top { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.product-detail-top .product-img { max-width: 360px; margin: 0; }
.product-detail-summary { min-width: 0; padding-top: 4px; }
.article-body-text { font-size: 15px; line-height: 1.9; color: var(--text); }
.article-body-text img { width: auto; max-width: 100%; height: auto; margin: 16px auto; }
.article-meta svg { width: 14px; height: 14px; flex: 0 0 auto; }
.article-body-text p { margin: 14px 0; }
.marketing-banner {
  height: 72px; border-radius:0; background: linear-gradient(135deg, #1677ff, #0958d9);
  color: #fff; display: flex; align-items: center; justify-content: center; margin: 18px 0;
}
.marketing-banner b { font-size: 16px; }
.detail-info-list { display: grid; gap: 10px; }
.detail-info-list .row { display: flex; gap: 8px; }
.detail-info-list .label { flex: 0 0 88px; color: var(--text-mute); }
.detail-info-list .value { color: var(--text-title); }

/* Detail previous / next */
.detail-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 28px; }
.detail-pager-item { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); }
.detail-pager-item small { color: var(--text-mute); font-size: 12px; }
.detail-pager-item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-title); font-size: 14px; }
a.detail-pager-item:hover { border-color: var(--brand); }
a.detail-pager-item:hover b { color: var(--brand); }
.detail-pager-item.is-disabled { color: var(--text-mute); background: var(--bg-gray); }
.detail-pager-item.is-disabled b { color: var(--text-mute); }

/* Side list */
.side-card { padding: 18px; margin-bottom: 16px; }
.side-card h3 { font-size: 16px; margin-bottom: 12px; padding-left: 10px; border-left: 3px solid var(--brand); }
.side-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-item:last-child { border-bottom: 0; }
.side-item .thumb { flex: 0 0 64px; aspect-ratio: 16 / 9; overflow: hidden; border-radius:0; background: #eaf3ff; color: var(--brand); display: grid; place-items: center; }
.side-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-item .thumb svg { width: 20px; height: 20px; }
.side-item .info { min-width: 0; flex: 1; }
.side-item .info b { display: block; font-size: 13px; font-weight: 500; line-height: 1.4; }
.side-item .info span { font-size: 12px; color: var(--text-mute); }
.side-rank { flex: 0 0 20px; height: 20px; background: #eaf3ff; color: var(--brand); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.side-desc { margin-top: 2px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Homepage article rankings */
.other-entries-card h2 { font-size: 18px; margin-bottom: 10px; }
.other-entries-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.other-entries-grid .side-item { align-items: flex-start; }
.other-entries-grid .side-item:nth-last-child(-n+2) { border-bottom: 0; }

.home-article-rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-article-rank-grid .side-card { margin-bottom: 0; }
.home-article-rank-grid .side-item { align-items: flex-start; }
.home-article-rank-grid .side-item .info { flex: 1; }

/* Mobile bottom tab */
/* Customer message page */
.message-form-card h2 { font-size: 20px; margin-bottom: 6px; }
.message-form-intro { margin: 0 0 20px; color: var(--text-sub); }
.message-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.message-field { display: flex; flex-direction: column; gap: 7px; color: var(--text-title); font-weight: 600; }
.message-field em { color: #d4380d; font-style: normal; }
.message-field input { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #fff; padding: 12px 13px; font: inherit; font-weight: 400; color: var(--text-title); outline: none; }
.message-field input::placeholder { color: #b6bec9; }
.message-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.08); }
.message-field-full { grid-column: 1 / -1; }
.message-privacy { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: var(--text-sub); font-size: 13px; }
.message-privacy input { margin: 3px 0 0; accent-color: var(--brand); }
.message-privacy a { color: var(--brand); }
.message-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.message-form-actions .btn { min-width: 132px; }
.message-form-tip { color: var(--text-mute); font-size: 12px; }
.form-status { display: none; margin-top: 16px; padding: 11px 13px; border: 1px solid var(--line); font-size: 13px; }
.form-status.show { display: block; }
.form-status.is-success { border-color: #b7eb8f; background: #f6ffed; color: #237804; }
.form-status.is-error { border-color: #ffccc7; background: #fff2f0; color: #cf1322; }
.message-help-card, .message-steps-card { padding: 20px; margin-bottom: 16px; }
.message-help-card h2, .message-steps-card h2 { font-size: 18px; margin-bottom: 12px; }
.message-help-card p { margin: 14px 0 4px; color: var(--text-mute); font-size: 12px; }
.message-help-card b { color: var(--text-title); }
.message-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 20px; font-weight: 700; }
.message-phone svg { width: 18px; height: 18px; }
.message-steps-card ol { margin: 0; padding: 0; list-style: none; }
.message-steps-card li { position: relative; padding: 0 0 16px 34px; }
.message-steps-card li:last-child { padding-bottom: 0; }
.message-steps-card li::before { content: counter(step); counter-increment: step; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; display: grid; place-items: center; background: #eaf3ff; color: var(--brand); font-size: 12px; font-weight: 700; }
.message-steps-card ol { counter-reset: step; }
.message-steps-card li b { display: block; color: var(--text-title); }
.message-steps-card li span { display: block; color: var(--text-mute); font-size: 12px; }

.mobile-tab { display: none; }

/* Hamburger */
.nav-toggle { display: none; }

/* Expand / hide */
.expand-toggle { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.hidden-items { display: none; }
.hidden-items.show { display: block; }
.hidden-grid { display: none; }
.hidden-grid.show { display: grid; }
[data-expand-hidden][hidden] { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .container, .container-narrow { max-width: calc(100% - 24px); }
  .topbar { display: none; }
  .footer { display: none; }
  .header { position: sticky; top: 0; z-index: 60; height: 66px; padding: 0; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08); }
  .header .container { height: 66px; flex-wrap: nowrap; gap: 10px; }
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo-img { width: clamp(36px, 9vw, 46px); height: clamp(36px, 9vw, 46px); }
  .logo-text { min-width: 0; }
  .logo-text b { font-size: clamp(14px, 4.5vw, 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-text span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .city-switch { order: 3; }
  .home-article-rank-grid { grid-template-columns: 1fr; }
  .searchbar-desktop { display: none; }
  .searchbar-mobile { display: flex; padding: 10px 0; }
  .hot-words { display: none; }
  .mainnav { position: static; z-index: 59; }
  .mainnav .container { height: 44px; overflow-x: auto; justify-content: flex-start; }
  .mainnav a { flex: 0 0 auto; justify-content: flex-start; height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
  .mainnav a.active::after { left: 16px; right: auto; transform: none; width: auto; }
  .inst-grid, .project-grid, .sell-grid, .sample-grid, .city-open-grid, .footer-links { grid-template-columns: 1fr; }
  .detail-pager { grid-template-columns: 1fr; }
  .sell-grid { grid-template-columns: repeat(2, 1fr); }
  .city-open-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-wrap { grid-template-columns: 1fr; }
  .product-detail-top { grid-template-columns: 1fr; gap: 16px; }
  .product-detail-top .product-img { max-width: 100%; }
  .detail-side { order: 2; }
  .float-side { bottom: 76px; right: 10px; }
  .mobile-tab {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line); height: 60px;
  }
  .mobile-tab a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--text-sub); font-size: 11px; }
  .mobile-tab a.active { color: var(--brand); }
  .mobile-tab svg { width: 20px; height: 20px; }
  body { padding-bottom: 60px; }
  .section-head h2 { font-size: 19px; }
  .page-head h1 { font-size: 23px; }
}

@media (max-width: 560px) {
  .inst-card { flex-direction: column; }
  .article-item { flex-direction: column; align-items: stretch; }
  .article-cover { flex-basis: auto; width: 100%; aspect-ratio: 16 / 9; }
  .article-rank, .article-reads { align-self: flex-start; }
  .inst-thumb { flex-basis: auto; width: 100%; }
  .sell-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { flex-direction: column; gap: 8px; }
  .filter-label { flex: none; }
  .filter-actions { margin-left: 0; }
  .city-modal { max-height: 92vh; }
  .other-entries-grid { grid-template-columns: 1fr; }
  .other-entries-grid .side-item:nth-last-child(-n+2) { border-bottom: 1px dashed var(--line); }
  .other-entries-grid .side-item:last-child { border-bottom: 0; }
}

/* Header phone / city link */
.header-phone { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.header-phone-icon { width: 38px; height: 38px; border-radius:0; background: #eaf3ff; color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.header-phone-img { width: 23px; height: 23px; object-fit: contain; display: block; }
.header-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.header-phone-text small { color: var(--text-mute); font-size: 12px; }
.header-phone-text b { color: var(--brand-deep); font-size: 17px; letter-spacing: 0; }
.header-city { display: none; }

/* City modal home link */
.city-home-link { margin-left: auto; color: var(--brand); font-size: 13px; }
.city-modal-close { margin-left: 14px; }

/* Breadcrumb alignment */
main > .crumbs { width: 1200px; max-width: calc(100% - 32px); margin: 0 auto; }

/* Map placeholder */
.map-placeholder { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius:0; background: linear-gradient(135deg,#eaf3ff,#d7ebff); color: #1677ff; font-size: 14px; }
.map-pin-icon { width: 30px; height: 30px; flex: 0 0 auto; }

/* Hero */
.hero { position: relative; height: 360px; overflow: hidden; background: var(--brand-deep); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-copy { color: #fff; max-width: 620px; }
.hero-copy h1 { color: #fff; font-size: 34px; line-height: 1.3; letter-spacing: 0; }
.hero-copy p { margin: 12px 0 22px; font-size: 16px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn-white:hover { background: #eaf3ff; border-color: #eaf3ff; }

@media (max-width: 960px) {
  .header-phone { display: none; }
  .header-city { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; padding: 8px 10px; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: clamp(12px, 3.6vw, 15px); font-weight: 600; white-space: nowrap; }
  .header-city svg { width: 16px; height: 16px; flex: 0 0 auto; }
  .hero { height: 240px; }
  .hero-copy h1 { font-size: 24px; }
  .hero-copy p { font-size: 14px; }
}

@media (max-width: 560px) {
  .message-form-grid { grid-template-columns: 1fr; }
  .message-field-full { grid-column: auto; }
  .message-form-actions { flex-direction: column; align-items: stretch; }
  .message-form-actions .btn { width: 100%; }
  .message-form-tip { text-align: center; }
}

.jigou-declare{margin-top:12px;font-size:12px;line-height:1.7;color:#999}

/* ===== 常见问题详情：提问者 / 优质回答 / 回答者（配色沿用站内蓝色调） ===== */
.qa-asker{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:14px;color:#666;margin-bottom:10px}
.qa-asker-label{color:#999}
.qa-asker strong{color:#1f2329;font-weight:600}
.qa-answer-label{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#1677ff;margin:20px 0 10px}
.qa-answer-label-bar{display:inline-block;width:4px;height:16px;background:#1677ff;border-radius:2px}
.qa-answerer-card{display:flex;align-items:center;gap:10px;background:#eaf3ff;border:1px solid #d6e8ff;border-radius:8px;padding:12px 14px;margin-bottom:18px}
.qa-answerer-icon{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#fff;color:#1677ff;display:inline-flex;align-items:center;justify-content:center}
.qa-answerer-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.qa-answerer-name{font-size:14px;color:#666}
.qa-answerer-name strong{color:#1f2329;font-weight:600}
.qa-answerer-date{font-size:12px;color:#999}

/* 常见问题侧栏：描述显示两行，超出省略 */
.side-item .info .desc-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;margin-top:2px;color:var(--text-mute);font-size:12px}

/* 常见问题详情底部：热门标签 */
.faq-hot-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px;padding-top:16px;border-top:1px dashed var(--line)}
.faq-hot-tags-label{font-size:13px;color:var(--text-mute)}
.faq-hot-tags .chip{text-decoration:none;transition:background .2s,color .2s}
.faq-hot-tags .chip:hover{background:#eaf3ff;color:#1677ff}

/* 蓝色标签按钮（常见问题等）：浅蓝底 + 站内蓝字，hover 加深 */
.chip.chip-blue{background:#eaf3ff;color:#1677ff}
a.chip.chip-blue:hover{background:#1677ff;color:#fff}

/* 常见问题列表卡片：热门标签行 */
.faq-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.faq-card-tags-label{font-size:12px;color:var(--text-mute)}
.faq-card-tags .chip{font-size:12px}

/* 常见问题卡片（卡片本身不是链接，标题+摘要包一层 a） */
.faq-item .faq-item-link{display:block;color:inherit;text-decoration:none}
.faq-item .faq-item-link:hover h3{color:var(--brand)}
.faq-item .faq-item-link h3{font-size:16px;transition:color .2s}
.faq-item .faq-item-link p{margin:6px 0;color:var(--text-sub);font-size:13px}

/* 常见问题列表：分类/日期/阅读量放在卡片外面（卡片正下方） */
.faq-list-item{display:flex;flex-direction:column}
.faq-item-meta{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.faq-item-meta .chip{font-size:12px}

/* 知识/常见问题卡片整卡可点（伪元素铺满），标签链接浮在上面保持可点 */
.article-item{position:relative}
.article-item .article-item-link{color:inherit;text-decoration:none}
.article-item .article-item-link::after{content:"";position:absolute;inset:0;z-index:1}
.article-item .article-item-link:hover h3{color:var(--brand)}
.article-item .faq-card-tags{position:relative;z-index:2}
.faq-item{position:relative}
.faq-item .faq-item-link::after{content:"";position:absolute;inset:0;z-index:1}
.faq-item .faq-card-tags{position:relative;z-index:2}

/* FAQ 列表：卡片不要下外边距，分类/日期/阅读紧贴卡片下方 */
.faq-list-item .card{margin-bottom:0}
.faq-item-meta{margin-top:6px}

.article-item .article-tags, .article-item .faq-card-tags { flex-wrap: nowrap; overflow: hidden; }

.side-item .side-tags { display: flex; gap: 8px; flex-wrap: nowrap; overflow: hidden; margin-top: 6px; }
.side-item .side-tags .side-chip { display: inline-block; font-size: 11px; line-height: 1.5; padding: 2px 8px; background: #eaf3ff; color: #1677ff; border-radius: 4px; white-space: nowrap; }
