/* 华磊华扬机械 — 品牌设计层，加载在主题样式之后 */
:root {
  --red: #C0272D;
  --red-d: #9E1B20;
  --blue: #1E2A78;
  --blue-d: #16205C;
  --ink: #22262B;
  --ink-2: #5A6069;
  --ink-3: #8A9099;
  --line: #E4E7EC;
  --bg: #F5F6F8;
  --card: #FFFFFF;
  --r: 10px;
  --sh: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --sh-h: 0 2px 4px rgba(16, 24, 40, .06), 0 12px 28px rgba(16, 24, 40, .12);
}

html { -webkit-text-size-adjust: 100% }
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
a { color: var(--blue); text-decoration: none; transition: color .18s ease }
a:hover { color: var(--red) }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px }
img { max-width: 100%; height: auto }

/* ---------- 页头 ---------- */
/* 品牌条与导航整体吸顶，背景用不透明的品牌蓝，滚动时不允许有页面内容透出。 */
#header, .header { background-color: var(--blue); box-shadow: 0 2px 10px rgba(0, 0, 0, .18) }
.site-topbanner { width: 100%; background-color: #fff; line-height: 0 }
.site-topbanner a { display: block; transition: opacity .18s ease }
.site-topbanner a:hover { opacity: .92 }
/* 品牌条原图 4812x344，文字内容只占 y120..280，上下近一半是白边。
   吸顶后按 84px 高度裁切，比例 58% 让取景框正好落在内容带上，窄屏时不裁。 */
.site-topbanner img { display: block; width: 100%; height: auto; max-height: 84px; object-fit: cover; object-position: 50% 58% }
/* 首页品牌条里的 h1：视觉隐藏，但搜索引擎与读屏软件能读到 */
.tb-seo { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0 }
.navbar { background-color: var(--blue); opacity: 1; height: 54px }
.navbar .nav > li > a {
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 54px;
  padding: 0 18px;
  font-weight: 500;
}
.navbar .nav > li > a:hover,
.navbar .nav li:hover > a,
.navbar .nav .active a,
.navbar .nav li.current-menu-item a,
.navbar .nav li.current-menu-parent a { background-color: var(--red); color: #fff }
.navbar .nav li.current-menu-parent > a::after { content: "" }
.nav-tel > a {
  background-color: var(--red) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .3px;
}
.nav-tel > a:hover { background-color: var(--red-d) !important }
.navbar .screen-mini .btn { background-color: rgba(255, 255, 255, .16); border: 0; color: #fff }
.navbar .screen-mini .btn:hover, .navbar .screen-mini .btn.active { background-color: var(--red) }
.navbar .nav > li > ul > li, .navbar .nav > li > ul { background-color: #fff }
.navbar .nav > li > ul > li > a, .navbar .nav > li > ul > li > ul > li > a { color: var(--ink) }
.navbar .nav li li a:hover, .navbar .nav li li.current-menu-item a { background-color: #F3F4F8; color: var(--red) }

/* ---------- 吸顶页头与底部联系条 ---------- */
/* 品牌条 + 导航一起 sticky，因此不再需要给 #header 预留定高导航的 padding-top。 */
#header { position: sticky; top: 0; z-index: 1040 }
/* 七个栏位（含询价热线）在 1199px 以下会挤不下并折行，逐级压内边距与字号保证单行。 */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar .nav > li > a { padding: 0 14px; font-size: 14.5px }
}
@media (min-width: 768px) and (max-width: 991px) {
  .navbar .nav > li > a { padding: 0 10px; font-size: 13.5px }
  .nav-tel > a { padding: 0 10px; font-size: 13px }
}
.hl-dockbar { display: none }
@media (min-width: 768px) {
  body { padding-bottom: 46px }
  .hl-dockbar { display: flex; align-items: center; gap: 16px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; height: 46px; padding: 0 24px; background: var(--blue-d); color: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .2) }
  .hl-dockbar b { font-size: 14px; font-weight: 700; white-space: nowrap }
  .hl-dockbar span { flex: 1; min-width: 0; font-size: 13px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .hl-dockbar a { font-size: 13.5px; font-weight: 600; color: #fff; padding: 6px 16px; border-radius: 999px; white-space: nowrap }
  .hl-dockbar .dk-tel { background: var(--red) }
  .hl-dockbar .dk-tel:hover { background: var(--red-d); color: #fff }
  .hl-dockbar .dk-ask { border: 1.5px solid rgba(255, 255, 255, .55) }
  .hl-dockbar .dk-ask:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff }
  .hl-dockbar .dk-link { color: rgba(255, 255, 255, .82); padding-right: 2px }
  .hl-dockbar .dk-link:hover { color: #fff }
}

/* ---------- 版心与卡片 ---------- */
.container { max-width: 1200px; padding: 0 20px; margin-top: 20px }
.content-wrap, .content, .sidebar { background: transparent }
.content .excerpt,
.content .hot-posts,
.content .archive-header,
.content .article-header,
.content .article-content,
.content .article-nav,
.content .related_posts,
.content .product-body,
.content .pmore,
.content .product-grid,
.content .cat-list,
.sidebar .widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
}
.content .excerpt { padding: 22px 24px; margin-bottom: 18px; transition: box-shadow .2s ease, transform .2s ease }
.content .excerpt:hover { box-shadow: var(--sh-h); transform: translateY(-2px) }
.content .excerpt h2 { font-size: 19px; font-weight: 600; line-height: 1.5; margin: 0 0 10px }
.content .excerpt h2 a { color: var(--ink) }
.content .excerpt h2 a:hover { color: var(--red) }
.content .excerpt .note { color: var(--ink-2); font-size: 14.5px; line-height: 1.85 }
.content .excerpt .label-important, .content .excerpt .label {
  background-color: var(--red); color: #fff; border-radius: 999px;
  font-size: 12.5px; padding: 3px 11px; line-height: 1.6;
}
.content .excerpt .label-important:hover { background-color: var(--red-d); color: #fff }
.content .excerpt .auth-span, .content .excerpt .muted { color: var(--ink-3); font-size: 13px }

.hot-posts { padding: 20px 24px; margin-bottom: 22px }
.hot-posts .title { font-size: 18px; font-weight: 700; margin: 0 0 14px; color: var(--ink); border-left: 4px solid var(--red); padding-left: 10px; line-height: 1.3 }
.hot-posts ul { list-style: none; margin: 0; padding: 0 }
.hot-posts li { line-height: 2.2; border-bottom: 1px dashed var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.hot-posts li:last-child { border-bottom: 0 }
.hot-posts li a { color: var(--ink) }
.hot-posts li a:hover { color: var(--red) }
.hot-posts .label { display: inline-block; width: 20px; text-align: center; background: var(--ink-3); color: #fff; border-radius: 4px; font-size: 12px; margin-right: 8px }
.hot-posts .label-1 { background: var(--red) }

.sidebar .widget { padding: 18px 20px; margin-bottom: 18px }
.sidebar .widget .title h2 { font-size: 16px; font-weight: 700; margin: 0 0 12px; color: var(--ink); border-left: 4px solid var(--blue); padding-left: 9px; line-height: 1.3 }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0 }
.sidebar .widget li { line-height: 1.9; font-size: 14px }
.d_banner { display: none }

/* ---------- 文章页 ---------- */
.article-title { font-size: 28px; font-weight: 700; line-height: 1.45; margin: 0 0 12px }
.article-title a { color: var(--ink) }
.article-title a:hover { color: var(--red) }
.article-header .meta { color: var(--ink-3); font-size: 13.5px; border-bottom: 1px solid var(--line); padding-bottom: 14px }
.article-header .meta a { color: var(--ink-2) }
.article-content { font-size: 16.5px; line-height: 2.05; color: #2C3138; padding: 24px }
.article-content p { margin: 0 0 1.1em }
.article-content img { border-radius: 8px; margin: 12px 0 }
.article-content blockquote { border-left: 4px solid var(--red); background: #FAF6F6; color: var(--ink-2); padding: 14px 18px; margin: 0 0 20px; border-radius: 0 8px 8px 0 }
.relates li { line-height: 2 }
.relates a { color: var(--ink-2) }
.relates a:hover { color: var(--red) }

/* ---------- 页脚 ---------- */
.footer { background-color: #161D3A; color: rgba(255, 255, 255, .72); font-size: 14px; margin-top: 34px }
.footer a { color: rgba(255, 255, 255, .72) }
.footer a:hover { color: #fff }
.hl-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 34px; max-width: 1200px; margin: 0 auto; padding: 38px 20px 26px }
.hl-footer-grid h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: .5px }
.hl-footer-grid ul { list-style: none; margin: 0; padding: 0 }
.hl-footer-grid li { line-height: 2 }
.hl-f-office { font-size: 13.5px; line-height: 1.85; margin-bottom: 14px }
.hl-f-office b { color: #fff; font-weight: 600; display: block }
.hl-f-office .hl-f-tel { color: #fff; font-weight: 600 }
.hl-f-brand p { line-height: 1.9; margin: 0 0 12px }
.hl-f-400 { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: .5px }
.hl-f-400 span { display: block; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .6); letter-spacing: 1px }
.hl-footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; padding: 16px 20px 22px; font-size: 13px; line-height: 2 }
.hl-footer-bar a { margin: 0 6px }

/* ---------- 首页模块 ---------- */
.hl-hero { background: linear-gradient(135deg, var(--blue) 0%, #2A3A8F 100%); color: #fff; border-radius: var(--r); padding: 34px 34px 30px; margin-bottom: 22px; box-shadow: var(--sh) }
.hl-hero h2 { font-size: 27px; font-weight: 700; margin: 0 0 10px; line-height: 1.4 }
.hl-hero p { margin: 0 0 20px; color: rgba(255, 255, 255, .86); font-size: 15.5px; max-width: 46em }
.hl-btn { display: inline-block; background: var(--red); color: #fff; font-weight: 600; padding: 11px 26px; border-radius: 999px; margin-right: 12px; transition: background .18s ease }
.hl-btn:hover { background: var(--red-d); color: #fff }
.hl-btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .7); color: #fff }
.hl-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff }
/* 首页厂区实景：图片本身即信息层，标题压在下方渐变带上，不额外占版面 */
.hl-plant { position: relative; margin: 0 0 22px; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); line-height: 0 }
.hl-plant a { display: block; position: relative }
.hl-plant img { display: block; width: 100%; height: auto; transition: transform .5s ease }
.hl-plant a:hover img { transform: scale(1.02) }
.hl-plant figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 22px 16px; line-height: 1.5; background: linear-gradient(180deg, rgba(22, 32, 92, 0) 0%, rgba(22, 32, 92, .86) 82%) }
.hl-plant figcaption b { display: block; font-size: 18px; font-weight: 700; color: #fff }
.hl-plant figcaption span { display: block; margin-top: 3px; font-size: 13.5px; color: rgba(255, 255, 255, .86) }
.hl-sec { padding: 24px; margin-bottom: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh) }
.hl-sec > h2 { font-size: 20px; font-weight: 700; margin: 0 0 18px; border-left: 4px solid var(--red); padding-left: 11px; line-height: 1.3 }
.hl-sec > h2 small { font-weight: 400; font-size: 13.5px; color: var(--ink-3); margin-left: 12px }
.hl-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.hl-cat { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease }
.hl-cat:hover { box-shadow: var(--sh-h); transform: translateY(-3px) }
.hl-cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block }
.hl-cat b { display: block; padding: 12px 14px 4px; font-size: 16px; color: var(--ink) }
.hl-cat span { display: block; padding: 0 14px 14px; font-size: 13px; color: var(--ink-3) }
.hl-cat:hover b { color: var(--red) }
.hl-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: center }
.hl-num b { display: block; font-size: 26px; color: var(--red); font-weight: 700; line-height: 1.3 }
.hl-num span { font-size: 13px; color: var(--ink-2) }
.hl-cta { background: linear-gradient(135deg, #2A3A8F 0%, var(--blue) 100%); color: #fff; border-radius: var(--r); padding: 26px 28px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap }
.hl-cta h3 { margin: 0 0 6px; font-size: 20px }
.hl-cta p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 14.5px }
.hl-contact-card ul { list-style: none; margin: 0; padding: 0 }
.hl-contact-card li { line-height: 1.7; font-size: 14px; margin-bottom: 12px }
.hl-contact-card b { display: block; color: var(--ink); font-weight: 600 }
.hl-contact-card .hl-tel { color: var(--red); font-weight: 700; font-size: 16px }

/* ---------- 移动端固定呼叫条 ---------- */
.mob-callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--blue); box-shadow: 0 -2px 10px rgba(0, 0, 0, .18) }
.mob-callbar a { display: block; flex: 1; text-align: center; color: #fff; font-size: 14px; font-weight: 600; line-height: 48px }
.mob-callbar a + a { border-left: 1px solid rgba(255, 255, 255, .18) }
.mob-callbar .mc-ask { background: var(--red) }

/* ---------- 面包屑 ---------- */
.hl-crumb { font-size: 13.5px; color: var(--ink-3); margin: 0 0 14px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r) }
.hl-crumb a { color: var(--ink-2) }
.hl-crumb a:hover { color: var(--red) }
.hl-crumb i { font-style: normal; margin: 0 7px; color: var(--ink-3) }

/* ---------- 文章/正文排版 ---------- */
.article-content h2 { font-size: 20px; font-weight: 700; margin: 26px 0 12px; padding-left: 11px; border-left: 4px solid var(--blue); line-height: 1.35 }
.article-content h3 { font-size: 17px; font-weight: 600; margin: 20px 0 10px }
.hl-btn-line { background: transparent; border: 1.5px solid var(--red); color: var(--red) }
.hl-btn-line:hover { background: var(--red); color: #fff }

/* ---------- 联系页 ---------- */
.hl-office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 }
.hl-office { background: #F8F9FB; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px }
.hl-office h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--ink) }
.hl-office p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.75 }
.hl-otel a { display: inline-block; font-size: 17px; font-weight: 700; color: var(--red); line-height: 1.6 }
.hl-otel a:hover { color: var(--red-d) }
.hl-asklist { margin: 0 0 22px; padding-left: 1.3em }
.hl-asklist li { line-height: 2.05 }

/* ---------- 企业简介页 ---------- */
.content .cat-list { padding: 20px 22px }
.catrow { margin-bottom: 24px }
.catrow:last-child { margin-bottom: 0 }
.catrow h2 { font-size: 18px; font-weight: 700; margin: 0 0 12px; border-left: 4px solid var(--red); padding-left: 10px; line-height: 1.3 }
.catrow img { display: block; width: 100%; height: auto; border-radius: 8px }
.hl-photos { margin-top: 22px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh) }
.hl-photos > h2 { font-size: 18px; font-weight: 700; margin: 0 0 14px; border-left: 4px solid var(--red); padding-left: 10px; line-height: 1.3 }
.hl-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px }
.hl-photo { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden }
.hl-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease }
.hl-photo:hover { border-color: var(--blue) }
.hl-photo:hover img { transform: scale(1.03) }
.hl-photo span { display: block; padding: 9px 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2) }
.hl-photo:hover span { color: var(--red) }

/* ---------- 行业资讯页 ---------- */
/* 四个设备栏目合并成一页，用分类胶囊 + 组标题保持原来的按设备浏览路径；
   吸顶导航会遮住锚点目标，所以给组标题留出滚动上边距。 */
.hl-news-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.hl-news-cats a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; font-size: 14px; color: var(--blue); background: var(--card); border: 1px solid var(--line); border-radius: 999px; transition: color .2s ease, background-color .2s ease, border-color .2s ease }
.hl-news-cats a:hover { color: #fff; background: var(--blue); border-color: var(--blue) }
.hl-news-cats b { font-size: 12px; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 7px }
.hl-news-group { font-size: 17px; font-weight: 700; color: var(--ink); margin: 26px 0 14px; padding-left: 11px; border-left: 4px solid var(--red); line-height: 1.3; scroll-margin-top: calc(min(7.15vw, 84px) + 64px) }
.hl-news-group span { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-left: 6px }

/* ---------- 备品备件页 ---------- */
.hl-parts-h { font-size: 19px; font-weight: 700; color: var(--ink); margin: 30px 0 10px; padding-left: 11px; border-left: 4px solid var(--red) }
.hl-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 16px }
.hl-parts-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 18px; box-shadow: var(--sh) }
.hl-parts-card h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin: 0 0 4px }
.hl-parts-card > p { font-size: 13px; color: var(--ink-2); margin: 0 0 12px }
.hl-ptable { width: 100%; border-collapse: collapse; font-size: 13.5px }
.hl-ptable th { background: var(--blue); color: #fff; font-weight: 600; text-align: left; padding: 7px 9px; white-space: nowrap }
.hl-ptable td { padding: 7px 9px; border-bottom: 1px solid var(--line); vertical-align: top }
.hl-ptable tbody tr:nth-child(even) { background: #FAFBFC }
.hl-ptable tbody tr:hover { background: #F1F4FA }
/* 部件码与编号是等宽语义的对齐场景，数字列不换行才好看 */
.hl-ptable td:first-child { font-weight: 700; color: var(--red-d); white-space: nowrap }
.hl-ptable td:last-child { font-family: Consolas, Menlo, monospace; font-size: 12.5px; color: var(--ink-2); white-space: nowrap }
.hl-parts-note { font-size: 13px; color: var(--ink-2); background: #F7F8FA; border-left: 3px solid var(--line); padding: 11px 14px; border-radius: 0 var(--r) var(--r) 0; margin-top: 18px }
.hl-parts-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px }
.hl-parts-dl span { font-size: 13px; color: var(--ink-2) }

/* ---------- 行业动态：来源与延伸阅读条 ---------- */
.hl-src { font-size: 13px; color: var(--ink-2); background: #F7F8FA; border-left: 3px solid var(--line); padding: 10px 14px; border-radius: 0 var(--r) var(--r) 0; margin-top: 14px }
.hl-src a { text-decoration: underline; text-underline-offset: 2px }

/* ---------- 产品页竖幅实拍图 ---------- */
/* 竖幅照片按正文全宽会撑出一屏以上，按高度收一档并居中；点开链接看的仍是原图。
   只对 products.tsv 里显式标了 tall 的实拍图生效，图纸类仍按正文全宽显示。 */
.product-body .pfig-tall a { display: table; margin-left: auto; margin-right: auto }
.product-body .pfig-tall img { max-width: 100%; max-height: 760px; width: auto }

/* ---------- 产品动态：现场运行视频 ---------- */
/* 竖屏视频靠 width/height 属性占住 9:16 比例，不写死 aspect-ratio，
   以后加横屏素材时不用再改这里。 */
.hl-video { margin: 22px 0 0 }
.hl-video video { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; background: #0E1116; border-radius: var(--r); box-shadow: var(--sh) }
.hl-video figcaption { max-width: 420px; margin: 12px auto 0; text-align: center }
.hl-video figcaption b { display: block; font-size: 16px; line-height: 1.5; color: var(--ink) }
.hl-video figcaption span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.7 }
/* 横屏素材（生产线交付实拍）按 4:3 放宽，竖屏给料视频仍按手机宽度 */
.hl-video.hl-wide video, .hl-video.hl-wide figcaption { max-width: 640px }
.hl-vmeta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; max-width: 620px; margin: 14px auto 0; padding: 11px 14px; background: #F7F8FA; border-radius: var(--r); font-size: 13px; color: var(--ink-2) }
.hl-vmeta b { color: var(--ink); font-weight: 600 }
@media (max-width: 767px) {
  .hl-parts { grid-template-columns: 1fr }
  .hl-ptable { font-size: 13px }
  .hl-ptable th, .hl-ptable td { padding: 6px 7px }
}

/* 主题在 <=979px 直接隐藏侧栏，但询价卡与产品目录恰恰是手机访客最需要的，改为正文下方堆叠。
   注意：必须同时取消 .content-wrap 的浮动和 .sidebar 的绝对定位，
   否则侧栏的空盒子会盖住正文并吃掉点击。 */
@media (max-width: 979px) {
  .content-wrap { float: none; width: auto }
  .content { margin-right: 0 }
  .sidebar { display: block; position: static; float: none; clear: both; width: auto; margin-left: 0; border-top: 1px solid var(--line); padding-top: 6px }
}

@media (max-width: 1024px) {
  .hl-cats { grid-template-columns: repeat(2, 1fr) }
  .hl-nums { grid-template-columns: repeat(3, 1fr) }
  .hl-footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 52px }
  .container { padding: 0 14px; margin-top: 12px }
  /* 移动端导航：不依赖主题 JS，改成横向滑动的胶囊条；页头本身已 sticky，这里只换配色 */
  .navbar { height: auto; min-height: 0; background-color: #fff; border-bottom: 1px solid var(--line) }
  .navbar .screen-mini { display: none }
  .navbar .nav { display: flex !important; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0; padding: 7px 10px; list-style: none; white-space: nowrap }
  .navbar .nav > li { float: none; flex: 0 0 auto; display: block }
  .navbar .nav > li > a { color: var(--ink); line-height: 1; padding: 9px 13px; font-size: 14px; border-radius: 999px }
  .navbar .nav > li > a:hover,
  .navbar .nav li:hover > a,
  .navbar .nav .active a,
  .navbar .nav li.current-menu-item a,
  .navbar .nav li.current-menu-parent a { background-color: #EEF0F6; color: var(--blue) }
  .navbar .nav li[style*="float:right"] { display: none }
  .nav-tel > a { background-color: var(--red) !important; color: #fff !important }
  .hl-hero { padding: 24px 20px }
  .hl-hero h2 { font-size: 21px }
  .hl-plant figcaption { position: static; padding: 10px 14px 12px; background: var(--blue-d) }
  .hl-plant figcaption b { font-size: 15.5px }
  .hl-plant figcaption span { font-size: 12.5px }
  .hl-sec, .content .excerpt, .article-content, .hot-posts { padding: 18px 16px }
  .hl-photo-grid { grid-template-columns: 1fr }
  .hl-photos, .content .cat-list { padding: 16px 14px }
  .hl-cats { grid-template-columns: 1fr 1fr }
  .hl-nums { grid-template-columns: repeat(2, 1fr) }
  .hl-footer-grid { grid-template-columns: 1fr; gap: 22px; padding: 26px 16px 18px }
  .hl-office-grid { grid-template-columns: 1fr }
  .hl-cta { flex-direction: column; align-items: flex-start }
  .article-title { font-size: 21px }
  .mob-callbar { display: flex }
  .rollto { display: none }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important }
  .content .excerpt:hover, .hl-cat:hover { transform: none }
}
