/* PbootCMS theme: gh-2026 — Luoyang Guohan industrial UI
   Adapted verbatim from the approved static prototype (assets/css/home.css).
   Layout reference: queclink.com.cn. Brand assets and content: lyguohan.com.
   No third-party runtime dependencies.
   Asset URLs: this file lives in /template/gh-2026/css/, so any future url()
   asset must be written as ../images/<file> (the prototype used assets/images/).
   The prototype stylesheet contained no url() references, so none were rewritten.
   Sections 1-10 below are the untouched prototype design system; the final
   "PbootCMS integration" section only adds styles for CMS-generated markup. */

:root {
  --brand: #d6001c;
  --brand-dark: #b50018;
  --page-bg: #f4f5f5;
  --surface: #ffffff;
  --text: #111214;
  --muted: rgba(17, 18, 20, .62);
  --line: rgba(17, 18, 20, .13);
  --dark: #090a0b;
  --container: 1680px;
  --section-space: 100px;
  --header-height: 80px;
  --radius-card: 12px;
  --radius-product: 20px;
  --shadow-soft: 0 18px 50px rgba(12, 18, 24, .08);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  padding-top: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, picture, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
::selection { color: #fff; background: var(--brand); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.container { width: var(--container); max-width: 100%; margin-inline: auto; }
.section { position: relative; padding-block: var(--section-space); }
.icon { width: 21px; height: 21px; flex: 0 0 auto; }
.icon-small { width: 15px; height: 15px; }
.icon-reverse { transform: rotate(180deg); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Shared controls */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.button-primary { color: #fff; background: var(--brand); }
.button-dark { color: #fff; background: var(--text); }
.button-white { color: var(--brand); background: #fff; }
.button-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .52); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.icon-button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.icon-button-light { color: #fff; border-color: rgba(255, 255, 255, .36); background: rgba(0, 0, 0, .12); }
.icon-button:disabled { opacity: .3; cursor: not-allowed; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.text-link .icon { width: 19px; height: 19px; transition: transform .25s ease; }
.text-link-light { color: #fff; }

/* Header: full-width icon navigation, matching the reference interaction model. */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid #b5b5b6;
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .07); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-brand-wrap { display: flex; align-items: center; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 32px; height: 36px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 18px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.brand-copy small { margin-top: 7px; color: #73777b; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .17em; }
.brand-certification { margin-left: 12px; padding-left: 12px; border-left: 1px solid #b5b5b6; white-space: nowrap; font-size: 13px; line-height: 18px; }
.desktop-nav { align-self: stretch; margin-inline: auto; }
.desktop-nav > ul { height: 100%; display: flex; align-items: stretch; justify-content: center; }
.desktop-nav > ul > li { position: relative; display: flex; align-items: stretch; margin: 0 clamp(9px, 1.65vw, 32px); }
.desktop-nav > ul > li > a { position: relative; display: flex; align-items: center; white-space: nowrap; font-size: 16px; font-weight: 400; }
.desktop-nav > ul > li > a::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 32px; height: 2px; background: var(--brand); border-radius: 8px; opacity: 0; transform: translateX(-50%) scaleX(0); transition: opacity .3s, transform .3s; }
.desktop-nav > ul > li > a.is-current { color: var(--brand); }
.desktop-nav > ul > li > a.is-current::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
.submenu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100vw;
  padding: 20px 0;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mega-menu-list { display: flex; justify-content: center; margin: 0 -30px; }
.mega-menu-list > li { width: 16.666666%; padding: 0 30px; }
.mega-link { display: flex; min-height: 102px; flex-direction: column; align-items: center; justify-content: center; padding: 14px 10px; border: 1px solid transparent; border-radius: 10px; text-align: center; font-size: 16px; line-height: 1.6; transition: border-color .3s, color .3s, transform .3s; }
.mega-icon { width: 48px; height: 48px; margin-bottom: 8px; color: #171819; transition: color .3s; }
.header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.language-switch { position: relative; }
.language-switch summary { height: var(--header-height); display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; white-space: nowrap; font-size: 14px; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary > .icon { width: 22px; height: 22px; }
.language-menu { position: absolute; top: calc(100% + 1px); right: 0; width: 150px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.language-menu a { display: block; padding: 8px 10px; font-size: 13px; }
.language-menu a.is-active { color: var(--brand); font-weight: 600; }
.header-phone { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 14px; }
.header-phone .icon { width: 21px; height: 21px; }
.header-contact { display: block; padding: 6px 16px; color: #fff; background: var(--brand); border-radius: 16px; white-space: nowrap; font-size: 14px; line-height: 20px; transition: background-color .3s, transform .3s, box-shadow .3s; }
.search-toggle { width: 28px; height: var(--header-height); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 2px; background: transparent; }
.search-toggle .icon { width: 23px; height: 23px; }
.search-toggle[aria-expanded="true"] { color: var(--brand); }
.header-search { position: absolute; top: 100%; left: 0; width: 100%; height: 180px; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .07); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; }
.header-search.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.header-search-form { position: absolute; top: 50%; left: 50%; width: 50%; height: 60px; display: flex; border-bottom: 1px solid #231815; transform: translate(-50%, -50%); }
.header-search-form input { min-width: 0; flex: 1; padding: 0 20px 0 0; color: var(--text); background: transparent; border: 0; outline: 0; font-size: 16px; }
.header-search-form button { width: 52px; display: grid; place-items: center; background: transparent; }
.header-search-form button .icon { width: 26px; height: 26px; }
.mobile-header-actions { display: none; }
.menu-toggle { display: none; width: 36px; height: 44px; margin-left: 8px; padding: 7px 4px; background: transparent; }
.menu-toggle span { display: block; width: 28px; height: 2px; margin: 5px auto; background: #555; transition: transform .3s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-backdrop, .mobile-panel { display: none; }

/* Hero: horizontal slide track, side arrows and segmented bottom pagination. */
.hero { position: relative; height: 49vw; min-height: 540px; max-height: 940px; color: #fff; background: #20262a; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; display: flex; width: 100%; height: 100%; transition: transform 1s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.hero-slide { position: relative; height: 100%; flex: 0 0 100%; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-slide::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(12, 20, 26, .7) 0%, rgba(12, 20, 26, .42) 42%, rgba(21, 37, 50, .18) 100%); }
.hero-content-wrap { position: absolute; z-index: 2; top: 36%; left: 50%; height: auto; transform: translateX(-50%); }
.hero-content { width: 50%; }
.hero-content h1, .hero-content h2 { max-width: 900px; font-size: 56px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.hero-lead { margin-top: 50px; color: #fff; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; margin-top: 80px; }
.hero-actions .button { min-height: 48px; gap: 8px; padding-inline: 24px; border-radius: 24px; font-size: 16px; }
.hero-actions .button .icon { width: 22px; height: 22px; }
.hero-slide.is-active .hero-content h1, .hero-slide.is-active .hero-content h2 { animation: heroFadeUp .8s ease-in-out .1s both; }
.hero-slide.is-active .hero-lead { animation: heroFadeUp .8s ease-in-out .2s both; }
.hero-slide.is-active .hero-actions { animation: heroFadeUp .8s ease-in-out .3s both; }
@keyframes heroFadeUp { from { opacity: 0; transform: translate3d(0, 50px, 0); } to { opacity: 1; transform: none; } }
.hero-arrow { position: absolute; z-index: 4; top: 50%; width: 48px; height: 110px; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .2); border-radius: 5px; transform: translateY(-50%); transition: background-color .3s; }
.hero-arrow .icon { width: 25px; height: 25px; }
.hero-arrow-prev { left: 40px; }
.hero-arrow-next { right: 40px; }
.hero-arrow-prev .icon { transform: rotate(90deg); }
.hero-arrow-next .icon { transform: rotate(-90deg); }
.hero-pagination { position: absolute; z-index: 4; bottom: 24px; left: 50%; height: 2px; display: flex; background: rgba(255, 255, 255, .5); transform: translateX(-50%); }
.hero-pagination button { width: 100%; height: 2px; flex: 1; padding: 0; background: transparent; }
.hero-pagination button span { display: block; width: 100%; height: 2px; background: var(--brand); opacity: 0; transition: opacity .36s; }
.hero-pagination button.is-active span { opacity: 1; }
.hero-autoplay { position: absolute; z-index: 5; right: 18px; bottom: 38px; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .2); border-radius: 50%; opacity: .58; transition: opacity .25s, background-color .25s; }
.pause-symbol { width: 9px; height: 11px; border-right: 3px solid currentColor; border-left: 3px solid currentColor; }
.hero-autoplay.is-paused .pause-symbol { width: 0; height: 0; margin-left: 2px; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }

/* Statistics */
.stats { padding: 58px 0 34px; background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { min-width: 0; padding: 0 36px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-index { display: block; margin-bottom: 20px; color: #888d91; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .16em; }
.stat p { display: flex; flex-direction: column; }
.stat strong { font-family: Arial, var(--font-sans); font-size: clamp(44px, 4vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.stat sup { margin-left: 3px; color: var(--brand); font-size: .46em; vertical-align: top; }
.stat p > span { margin-top: 15px; color: var(--muted); font-size: 15px; }
.stats-note { margin-top: 32px; color: #8a8e91; font-size: 11px; }

/* Section headings */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.section-kicker { margin-bottom: 14px; color: var(--brand); font-family: Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .19em; }
.section-heading h2 { font-size: clamp(34px, 3.35vw, 48px); letter-spacing: -.035em; }
.section-heading-side { max-width: 500px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.section-heading-side > p { color: var(--muted); font-size: 15px; line-height: 1.85; }

/* Solutions */
.solutions { background: var(--page-bg); }
.solutions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.solution-card { position: relative; aspect-ratio: 5 / 3; min-width: 0; color: #fff; border-radius: var(--radius-card); overflow: hidden; isolation: isolate; }
.solution-media { position: absolute; inset: 0; background: #dfe3e5; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.solution-media-contain img { object-fit: contain; padding: 20px; mix-blend-mode: multiply; }
.solution-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 12px; padding: 24px; background: linear-gradient(0deg, rgba(5, 11, 15, .86), rgba(5, 11, 15, .06) 72%); }
.solution-card-light .solution-overlay { color: var(--text); background: linear-gradient(0deg, rgba(244, 245, 245, .98) 0%, rgba(244, 245, 245, .78) 33%, rgba(244, 245, 245, 0) 70%); }
.solution-no { position: absolute; top: 20px; left: 24px; font-family: Arial, sans-serif; font-size: 12px; opacity: .7; }
.solution-overlay small { display: block; margin-bottom: 5px; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .14em; opacity: .68; }
.solution-overlay h3 { font-size: clamp(19px, 1.6vw, 25px); font-weight: 500; }
.round-arrow { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-left: auto; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; transition: color .25s, background-color .25s, border-color .25s; }
.solution-card-light .round-arrow { border-color: rgba(17, 18, 20, .22); }
.round-arrow .icon { width: 17px; height: 17px; }

/* Horizontal carousel shared */
.carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -10px 0 22px; }
.carousel-toolbar > span { color: #858a8e; font-size: 12px; }
.carousel-buttons { display: flex; gap: 9px; }
.horizontal-track { display: grid; grid-auto-flow: column; gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.horizontal-track::-webkit-scrollbar { display: none; }
.horizontal-track > * { min-width: 0; scroll-snap-align: start; }
.horizontal-track:focus-visible { outline-offset: 8px; }
.carousel-progress { height: 2px; margin-top: 32px; background: rgba(17, 18, 20, .1); overflow: hidden; }
.carousel-progress > span { display: block; width: 100%; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .15s linear; }

/* Products */
.products { background: #fff; overflow: hidden; }
.outline-word { position: absolute; top: 40px; right: -20px; color: transparent; font-family: Arial, sans-serif; font-size: clamp(100px, 14vw, 240px); font-weight: 700; line-height: 1; letter-spacing: -.06em; -webkit-text-stroke: 1px rgba(17, 18, 20, .055); pointer-events: none; user-select: none; }
.products .container { position: relative; }
.product-track { grid-auto-columns: calc((100% - 48px) / 3); }
.product-card { background: var(--page-bg); border-radius: var(--radius-product); overflow: hidden; }
.product-card > a { height: 100%; display: flex; flex-direction: column; }
.product-image { position: relative; height: 330px; flex: 0 0 auto; background: repeating-linear-gradient(135deg, #f0f1f1 0, #f0f1f1 18px, #e7e9e9 18px, #e7e9e9 19px); overflow: hidden; }
.product-image::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(17, 18, 20, .08); }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 40px 28px 26px; mix-blend-mode: multiply; transition: transform .55s ease; }
.product-badge { position: absolute; z-index: 1; top: 20px; left: 20px; padding: 6px 11px; color: #555b5f; background: rgba(255, 255, 255, .8); border: 1px solid rgba(17, 18, 20, .08); border-radius: 999px; font-size: 11px; backdrop-filter: blur(8px); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.product-series { color: #898e91; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .15em; }
.product-body h3 { margin-top: 9px; font-family: Arial, var(--font-sans); font-size: 29px; font-weight: 600; letter-spacing: -.025em; }
.product-body dl { margin-top: 24px; border-top: 1px solid var(--line); }
.product-body dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.product-body dt { color: var(--muted); }
.product-body dd { text-align: right; }
.product-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 26px; font-size: 13px; font-weight: 500; }
.product-link .icon { transition: transform .25s ease; }

/* Cases */
.cases { background: var(--page-bg); }
.case-layout { display: grid; grid-template-columns: 46.5% 53.5%; min-height: 610px; background: #fff; border-radius: var(--radius-product); overflow: hidden; }
.case-media-wrap { position: relative; min-height: 610px; background: #e7e9ea; overflow: hidden; }
.case-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: case-in .45s ease both; }
.case-image-note { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 18px; color: #5f666a; background: rgba(255, 255, 255, .88); font-size: 11px; text-align: center; backdrop-filter: blur(8px); }
.case-content { display: flex; flex-direction: column; padding: 60px clamp(40px, 5.5vw, 104px); }
.case-panel { animation: case-in .4s ease both; }
.case-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; }
.case-eyebrow > span { color: var(--brand); font-family: Arial, sans-serif; font-size: 15px; font-weight: 600; }
.case-panel h3 { max-width: 630px; margin-top: 24px; font-size: clamp(30px, 3vw, 43px); line-height: 1.35; letter-spacing: -.035em; }
.case-panel > p:not(.case-eyebrow) { max-width: 590px; margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.case-panel ul { margin: 24px 0 30px; }
.case-panel li { position: relative; padding-left: 15px; color: #555a5e; font-size: 13px; line-height: 2; }
.case-panel li::before { content: ""; position: absolute; top: 13px; left: 0; width: 5px; height: 5px; background: var(--brand); }
.case-panel .button { min-height: 46px; font-size: 13px; }
.case-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 36px; }
.case-controls > div { display: flex; gap: 9px; }
.case-count { color: #8b9093; font-family: Arial, sans-serif; font-size: 13px; }
.case-count b { margin-right: 5px; color: var(--text); font-size: 20px; font-weight: 500; }
@keyframes case-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Articles */
.articles { background: #fff; }
.article-track { grid-auto-columns: calc((100% - 48px) / 3); }
.article-card { background: var(--page-bg); border-radius: 16px; overflow: hidden; }
.article-card > a { height: 100%; display: flex; flex-direction: column; }
.article-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e7e9ea; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.article-image > span { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; color: #fff; background: var(--brand); border-radius: 999px; font-size: 10px; }
.article-body { display: flex; flex: 1; flex-direction: column; padding: 25px 26px 27px; }
.article-body time { color: #8a8f92; font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .06em; }
.article-body h3 { margin-top: 15px; font-size: 21px; line-height: 1.55; letter-spacing: -.015em; }
.article-body > p { margin-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.article-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 23px; font-size: 12px; font-weight: 500; }
.article-link .icon { width: 18px; height: 18px; transition: transform .25s ease; }

/* CTA and footer */
.contact-cta { position: relative; padding: 76px 0; color: #fff; background: var(--brand); overflow: hidden; }
.contact-cta::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -260px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); pointer-events: none; }
.contact-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-cta .section-kicker { color: rgba(255, 255, 255, .66); }
.contact-cta h2 { font-size: clamp(32px, 3.3vw, 46px); letter-spacing: -.035em; }
.contact-cta-inner > div:first-child > p:last-child { margin-top: 17px; color: rgba(255, 255, 255, .76); font-size: 14px; }
.contact-cta-actions { display: flex; align-items: center; gap: 30px; flex: 0 0 auto; }
.contact-phone { display: flex; flex-direction: column; }
.contact-phone small { color: rgba(255, 255, 255, .68); font-size: 11px; }
.contact-phone strong { margin-top: 2px; font-family: Arial, sans-serif; font-size: 24px; font-weight: 500; letter-spacing: .01em; }
.site-footer { color: rgba(255, 255, 255, .64); background: var(--dark); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.55fr 1fr; gap: clamp(50px, 6vw, 110px); padding-top: 76px; padding-bottom: 68px; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { filter: brightness(0) invert(1); }
.footer-brand > p { max-width: 400px; margin-top: 27px; font-size: 13px; line-height: 1.95; }
.footer-brand > span { display: block; margin-top: 19px; color: rgba(255, 255, 255, .38); font-size: 11px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer-main h2 { margin-bottom: 23px; color: #fff; font-size: 14px; font-weight: 500; }
.footer-nav a { display: block; margin-top: 12px; font-size: 12px; transition: color .2s; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact > a:not(.text-link) { margin-top: 10px; font-size: 12px; }
.footer-contact .footer-tel { margin: 0 0 5px; color: #fff; font-family: Arial, sans-serif; font-size: 25px !important; }
.footer-contact > p { margin: 20px 0 24px; font-size: 11px; line-height: 2; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 11px; }
.footer-bottom > div { display: flex; gap: 28px; }

/* Reveal enhancement: content remains visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (hover: hover) {
  .button:not(:disabled):hover { transform: translateY(-2px); }
  .button-primary:hover { background: var(--brand-dark); }
  .button-dark:hover { background: var(--brand); }
  .button-white:hover { color: var(--brand-dark); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
  .button-ghost-light:hover { color: var(--text); background: #fff; border-color: #fff; }
  .icon-button:not(:disabled):hover { color: #fff; background: var(--brand); border-color: var(--brand); }
  .desktop-nav > ul > li:hover > a::after, .desktop-nav > ul > li:focus-within > a::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
  .has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
  .mega-link:hover { color: var(--brand); border-color: rgba(17, 18, 20, .28); transform: translateY(-2px); }
  .mega-link:hover .mega-icon { color: var(--brand); }
  .language-menu a:hover { color: var(--brand); background: #f5f5f5; }
  .header-contact:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, .1); }
  .hero-arrow:hover, .hero-autoplay:hover { background: rgba(214, 0, 28, .85); opacity: 1; }
  .text-link:hover .icon, .product-card a:hover .product-link .icon, .article-card a:hover .article-link .icon { transform: translateX(5px); }
  .solution-card:hover .solution-media img { transform: scale(1.08); }
  .solution-card:hover .round-arrow { color: #fff; background: var(--brand); border-color: var(--brand); }
  .product-card a:hover .product-image img, .article-card a:hover .article-image img { transform: scale(1.045); }
  .footer-nav a:hover, .footer-contact > a:hover { color: #fff; }
}

@media screen and (max-width: 1860px) {
  .container { width: 90%; }
}
@media screen and (max-width: 1680px) {
  .container { width: 82.5%; }
  .brand-copy strong { font-size: 17px; }
  .desktop-nav > ul { gap: 20px; }
  .header-inner { gap: 24px; }
  .header-actions { gap: 13px; }
  .product-image { height: 300px; }
  .case-content { padding: 50px 55px; }
}
@media screen and (max-width: 1450px) {
  .brand-copy small { display: none; }
  .desktop-nav > ul > li > a { font-size: 14px; }
  .desktop-nav > ul { gap: 17px; }
  .header-actions { gap: 12px; }
  .language-switch summary > .icon:first-child { display: none; }
  .solution-overlay { padding: 20px; }
  .solution-no { top: 16px; left: 20px; }
  .solution-overlay h3 { font-size: 20px; }
  .round-arrow { width: 34px; height: 34px; }
  .contact-cta-inner { gap: 40px; }
  .contact-cta-actions { gap: 22px; }
  .footer-main { grid-template-columns: 1fr 1.45fr .9fr; gap: 50px; }
}
@media screen and (max-width: 1200px) {
  .container { width: 100%; padding-inline: 40px; }
  .header-inner { gap: 18px; }
  .desktop-nav > ul { gap: 14px; }
  .brand-copy strong { font-size: 15px; }
  .header-contact { padding-inline: 16px; }
  .hero-content { max-width: 760px; }
  .case-content { padding: 45px 40px; }
  .case-panel h3 { font-size: 34px; }
  .footer-main { grid-template-columns: 1fr 1.5fr; }
  .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .footer-contact h2 { grid-column: 1 / -1; }
  .footer-contact > p { grid-row: 2 / 5; grid-column: 2; margin: 0; }
  .footer-contact .text-link { grid-column: 2; margin-top: 18px; }
}
@media screen and (max-width: 1199px) {
  :root { --header-height: 64px; --section-space: 80px; }
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { display: block; }
  .mobile-backdrop { position: fixed; z-index: 1001; inset: var(--header-height) 0 0; display: block; background: rgba(0, 0, 0, .48); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .mobile-backdrop.is-open { opacity: 1; visibility: visible; }
  .mobile-panel { position: fixed; z-index: 1002; top: var(--header-height); right: 0; bottom: 0; width: min(430px, 100%); display: block; padding: 28px 30px 34px; background: #fff; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; transform: translateX(100%); transition: transform .3s ease, visibility .3s; }
  .mobile-panel.is-open { visibility: visible; transform: translateX(0); }
  .mobile-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .mobile-panel-head > span { font-size: 18px; font-weight: 600; }
  .mobile-panel-head > small { color: #8b8f92; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .18em; }
  .mobile-nav { padding: 12px 0; }
  .mobile-nav > a { display: flex; align-items: center; justify-content: space-between; min-height: 51px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
  .mobile-nav > a.is-current { color: var(--brand); }
  .mobile-nav > a .icon { width: 18px; height: 18px; }
  .mobile-subnav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 0 15px 14px; border-bottom: 1px solid var(--line); }
  .mobile-subnav a { color: var(--muted); font-size: 12px; }
  .mobile-languages { display: flex; gap: 8px; margin-top: 14px; }
  .mobile-languages a { min-width: 42px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; text-align: center; }
  .mobile-languages a.is-active { color: #fff; background: var(--text); border-color: var(--text); }
  .mobile-contact { width: 100%; margin-top: 22px; }
  .mobile-panel-note { margin-top: 24px; color: #8a8e91; font-size: 11px; line-height: 1.9; }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-overlay h3 { font-size: 24px; }
  .product-track, .article-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .case-layout { grid-template-columns: 1fr; }
  .case-media-wrap { min-height: 520px; aspect-ratio: 16 / 10; }
  .case-content { min-height: 520px; padding: 50px; }
  .contact-cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-cta-actions { width: 100%; justify-content: space-between; }
}
@media screen and (max-width: 991px) {
  .section-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .section-heading-side { max-width: 650px; }
  .stat { padding-inline: 24px; }
  .product-image { height: 280px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand > p { max-width: 620px; }
  .footer-contact { grid-column: auto; }
}
@media screen and (max-width: 767px) {
  :root { --section-space: 64px; }
  .container { padding-inline: 20px; }
  .brand-mark { width: 30px; height: 34px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { margin-top: 6px; font-size: 8px; }
  .stats { padding-top: 42px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stat { padding: 0 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat-index { margin-bottom: 14px; font-size: 8px; }
  .stat strong { font-size: 46px; }
  .stat p > span { margin-top: 11px; font-size: 13px; }
  .stats-note { margin-top: 28px; line-height: 1.7; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading-side > p { font-size: 14px; }
  .solutions-grid { gap: 12px; }
  .solution-overlay { padding: 18px; }
  .solution-overlay h3 { font-size: 21px; }
  .solution-overlay small { font-size: 7px; }
  .solution-no { top: 14px; left: 18px; }
  .round-arrow { width: 32px; height: 32px; }
  .product-track, .article-track { grid-auto-columns: 82%; gap: 16px; }
  .product-image { height: 300px; }
  .carousel-toolbar { margin-top: 0; }
  .carousel-toolbar > span { max-width: 180px; font-size: 10px; }
  .carousel-buttons .icon-button { width: 42px; height: 42px; }
  .case-media-wrap { min-height: 360px; aspect-ratio: 4 / 3; }
  .case-content { min-height: 520px; padding: 34px 26px; }
  .case-panel h3 { margin-top: 20px; font-size: 29px; }
  .case-panel > p:not(.case-eyebrow) { margin-top: 20px; font-size: 14px; }
  .case-controls { padding-top: 30px; }
  .article-body h3 { font-size: 20px; }
  .contact-cta { padding: 58px 0; }
  .contact-cta-inner { gap: 32px; }
  .contact-cta h2 { font-size: 31px; }
  .contact-cta-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .contact-phone strong { font-size: 25px; }
  .footer-main { gap: 46px; padding-top: 58px; padding-bottom: 48px; }
  .footer-nav { gap: 20px; }
  .footer-contact { display: flex; }
  .footer-contact > p { margin: 20px 0 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-bottom > div { width: 100%; justify-content: space-between; gap: 16px; }
}
@media screen and (max-width: 480px) {
  .brand-copy small { display: none; }
  .mobile-panel { padding-inline: 22px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { aspect-ratio: 16 / 10; }
  .solution-overlay h3 { font-size: 24px; }
  .product-track, .article-track { grid-auto-columns: 88%; }
  .product-image { height: 265px; }
  .product-body { padding: 24px; }
  .case-media-wrap { min-height: 290px; }
  .case-content { min-height: 560px; }
  .case-eyebrow { align-items: flex-start; flex-direction: column; gap: 4px; }
  .case-panel h3 { font-size: 27px; }
  .case-controls .icon-button { width: 43px; height: 43px; }
  .article-body { padding: 22px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

/* Reference-matched header, navigation and Banner breakpoints. */
.site-header.search-open .submenu { opacity: 0; visibility: hidden; }
@media screen and (min-width: 1200px) and (max-width: 1440px) {
  :root { --header-height: 70px; }
}
@media screen and (max-width: 1680px) {
  .header-inner { gap: 16px; }
  .desktop-nav > ul > li { margin-inline: 20px; }
  .header-actions { gap: 12px; }
  .mega-menu-list { margin-inline: -28px; }
  .mega-menu-list > li { padding-inline: 28px; }
  .hero-content-wrap { top: 32%; }
  .hero-content h1, .hero-content h2 { font-size: 52px; }
  .hero-lead { margin-top: 35px; }
  .hero-actions { margin-top: 55px; }
}
@media screen and (max-width: 1450px) {
  .header-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 29px; height: 33px; }
  .brand-copy strong { font-size: 16px; }
  .brand-certification { margin-left: 9px; padding-left: 9px; font-size: 12px; }
  .desktop-nav > ul > li { margin-inline: 9px; }
  .desktop-nav > ul > li > a { font-size: 14px; }
  .header-actions { gap: 11px; }
  .language-switch summary, .header-phone, .header-contact { font-size: 13px; }
  .header-phone { gap: 5px; }
  .header-phone .icon, .language-switch summary > .icon { width: 20px; height: 20px; }
  .header-contact { padding-inline: 14px; }
  .hero-content h1, .hero-content h2 { font-size: 40px; }
  .hero-arrow { width: 34px; height: 82px; }
  .hero-actions .button { min-height: 42px; padding-inline: 20px; font-size: 14px; }
  .hero-actions .button .icon { width: 20px; height: 20px; }
}
@media screen and (max-width: 1200px) {
  .brand-certification { margin-left: 8px; padding-left: 8px; font-size: 11px; }
  .desktop-nav > ul > li { margin-inline: 7px; }
  .header-actions { gap: 9px; }
  .header-phone { font-size: 12px; }
  .header-contact { padding-inline: 12px; font-size: 12px; }
  .mega-menu-list { margin-inline: -15px; }
  .mega-menu-list > li { padding-inline: 15px; }
  .mega-icon { width: 44px; height: 44px; }
  .hero-content { padding-inline: 25px; }
  .hero-arrow { width: 28px; height: 68px; }
  .hero-arrow-prev { left: 20px; }
  .hero-arrow-next { right: 20px; }
  .hero-pagination { width: calc(100% - 80px); padding-inline: 0; }
  .hero-lead { margin-top: 20px; font-size: 16px; }
  .hero-actions { margin-top: 32px; }
}
@media screen and (max-width: 1199px) {
  body { padding-top: var(--header-height); }
  .mobile-header-actions { display: flex; align-items: center; margin-left: auto; }
  .mobile-header-actions .search-toggle { height: var(--header-height); }
  .menu-toggle { margin-left: 8px; }
  .brand-certification { font-size: 12px; }
  .mobile-backdrop { display: none !important; }
  .mobile-panel {
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    background: var(--page-bg);
    overflow: hidden;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.25, .46, .45, .94), visibility .5s;
  }
  .mobile-panel.is-open { visibility: visible; transform: translateX(0); }
  .mobile-panel > nav { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav { padding: 0; }
  .mobile-nav > li > a { display: block; padding: 13px 0; border-bottom: 1px solid #b5b5b6; font-size: 16px; font-weight: 400; line-height: 24px; }
  .mobile-nav > li > a.is-current { color: var(--brand); }
  .mobile-nav-row { display: flex; align-items: center; border-bottom: 1px solid #b5b5b6; }
  .mobile-nav-row > a { min-width: 0; flex: 1; padding: 13px 0; font-size: 16px; line-height: 24px; }
  .mobile-submenu-toggle { position: relative; width: 40px; height: 50px; flex: 0 0 auto; padding: 0; background: transparent; }
  .mobile-submenu-toggle > span::before, .mobile-submenu-toggle > span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: #a2a4a6; transform: translate(-50%, -50%); transition: transform .3s; }
  .mobile-submenu-toggle > span::after { transform: translate(-50%, -50%) rotate(90deg); }
  .mobile-submenu-toggle[aria-expanded="true"] > span::after { transform: translate(-50%, -50%) rotate(0); }
  .mobile-subnav { display: block; margin: 0; padding: 0 15px; border-bottom: 1px solid #b5b5b6; background: transparent; }
  .mobile-subnav li a { display: block; padding: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
  .mobile-panel-bottom { flex: 0 0 auto; padding: 18px 0 20px; }
  .mobile-phone { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
  .mobile-languages { justify-content: center; margin-top: 16px; }
  .mobile-contact { width: min(100%, 340px); margin: 20px auto 0; }
  .header-search { z-index: 1004; height: 110px; }
  .header-search-form { width: calc(100% - 80px); }
  .hero-content-wrap { top: 32%; }
  .hero-content h1, .hero-content h2 { font-size: 28px; }
}
@media screen and (max-width: 767px) {
  .header-search-form { width: calc(100% - 40px); }
  .hero { height: 136.7vw; min-height: 533px; max-height: 760px; }
  .hero-media img { object-position: 68% 50%; }
  .hero-slide::before { background: linear-gradient(90deg, rgba(7, 13, 17, .88), rgba(7, 13, 17, .5)), linear-gradient(0deg, rgba(5, 10, 13, .7), transparent 60%); }
  .hero-content-wrap { top: 10%; padding-block: 0; }
  .hero-content { width: 100%; padding: 0; }
  .hero-content h1, .hero-content h2 { font-size: 28px; line-height: 1.5; }
  .hero-lead { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .button { min-width: 0; min-height: 42px; padding-inline: 20px; border-radius: 22px; font-size: 14px; }
  .hero-arrows, .hero-autoplay { display: none; }
  .hero-pagination { width: calc(100% - 40px); display: flex; padding: 0; }
}
@media screen and (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand-copy strong { font-size: 15px; }
  .brand-certification { margin-left: 7px; padding-left: 7px; font-size: 10px; }
  .mobile-header-actions .search-toggle { width: 26px; }
  .menu-toggle { width: 34px; margin-left: 4px; }
  .mobile-panel-bottom { padding-block: 16px; }
  .hero-content h1, .hero-content h2 { font-size: 22px; }
  .hero-lead { font-size: 14px; }
  .hero-actions .button { min-height: 38px; font-size: 14px; }
}

/* ===== Inner pages: page hero, breadcrumb, content, lists, detail, forms ===== */
.page-hero { position: relative; padding: calc(var(--header-height) + 64px) 0 56px; color: #fff; background: linear-gradient(120deg, #101820 0%, #1d2b36 60%, #2a3a46 100%); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(214, 0, 28, .18), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; color: rgba(255, 255, 255, .62); font-size: 13px; }
.breadcrumb a { color: rgba(255, 255, 255, .62); transition: color .25s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.page-hero .page-lead { max-width: 760px; margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.85; }
.page-hero .page-kicker { display: block; margin-bottom: 12px; color: var(--brand); font-family: Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .19em; }
.inner-section { padding: var(--section-space) 0; }
.inner-section.alt { background: var(--page-bg); }
.inner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.inner-main { min-width: 0; }
.inner-side { position: sticky; top: calc(var(--header-height) + 24px); display: flex; flex-direction: column; gap: 24px; }
.side-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.side-card h3 { margin-bottom: 16px; font-size: 17px; }
.side-nav { display: flex; flex-direction: column; }
.side-nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; transition: color .25s; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover, .side-nav a.is-current { color: var(--brand); }
.side-contact { background: var(--text); color: #fff; border-color: var(--text); }
.side-contact p { margin: 10px 0 18px; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.8; }
.side-contact strong { display: block; font-family: Arial, sans-serif; font-size: 24px; }
.prose { color: var(--text); font-size: 16px; line-height: 1.95; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; font-size: 26px; letter-spacing: -.02em; }
.prose h3 { margin-top: 28px; font-size: 20px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose img { width: 100%; border-radius: var(--radius-card); }
.prose .note { padding: 16px 20px; background: var(--page-bg); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--muted); font-size: 14px; }
.content-media { margin: 26px 0; border-radius: var(--radius-card); overflow: hidden; }
.content-media img { display: block; width: 100%; height: auto; }
.content-media figcaption { padding: 10px 4px 0; color: var(--muted); font-size: 12px; }
/* lists */
.list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.list-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.list-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.list-card .list-media { position: relative; aspect-ratio: 4 / 3; background: #e8ebec; }
.list-card .list-media img { width: 100%; height: 100%; object-fit: cover; }
.list-card .list-media.contain img { object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.list-card .list-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px; }
.list-card h3 { font-size: 18px; line-height: 1.5; }
.list-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.list-card time { color: #9aa0a4; font-family: Arial, sans-serif; font-size: 12px; }
.list-card .text-link { margin-top: auto; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.list-count { color: var(--muted); font-size: 14px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--muted); font-size: 13px; transition: all .25s; }
.filter-tabs a:hover { color: var(--brand); border-color: var(--brand); }
.filter-tabs a.is-current { color: #fff; background: var(--brand); border-color: var(--brand); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 14px; }
.pagination .is-current { color: #fff; background: var(--brand); border-color: var(--brand); }
/* detail */
.detail-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.detail-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.detail-media img { display: block; width: 100%; height: auto; }
.detail-media.contain img { object-fit: contain; padding: 30px; mix-blend-mode: multiply; }
.detail-info h1 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; }
.detail-info .product-series { display: inline-block; margin-bottom: 12px; color: var(--brand); font-family: Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.detail-info > p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.param-table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 14px; }
.param-table th, .param-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.param-table th { width: 38%; background: var(--page-bg); color: var(--muted); font-weight: 500; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 18px 0 8px; color: #9aa0a4; font-size: 13px; }
.article-meta .tag { padding: 4px 12px; background: rgba(214, 0, 28, .08); color: var(--brand); border-radius: 14px; font-size: 12px; }
/* timeline / certs */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before { content: ""; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 4px rgba(214, 0, 28, .15); }
.timeline-item strong { display: block; font-family: Arial, sans-serif; font-size: 20px; }
.timeline-item p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cert-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); text-align: center; }
.cert-card .cert-thumb { aspect-ratio: 3 / 4; display: grid; place-items: center; margin-bottom: 14px; background: var(--page-bg); border-radius: 8px; color: #9aa0a4; }
.cert-card h3 { font-size: 15px; }
.cert-card p { margin-top: 6px; color: var(--muted); font-size: 12px; }
/* forms / contact */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 500; }
.form-field label .req { color: var(--brand); }
.form-field input, .form-field select, .form-field textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 15px; transition: border-color .25s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.form-hint { color: var(--muted); font-size: 13px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.contact-info-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.contact-info-card h2 { margin-bottom: 20px; font-size: 22px; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--brand); }
.contact-row div { min-width: 0; }
.contact-row small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.contact-row strong, .contact-row a { font-size: 16px; }
.map-placeholder { margin-top: 20px; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--page-bg); border: 1px dashed var(--line); border-radius: 8px; color: #9aa0a4; font-size: 13px; text-align: center; }
/* search */
.search-bar { display: flex; gap: 12px; max-width: 640px; }
.search-bar input { flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; font: inherit; font-size: 15px; }
.search-bar input:focus { outline: none; border-color: var(--brand); }
.search-result { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-result h3 { font-size: 18px; }
.search-result h3 a:hover { color: var(--brand); }
.search-result p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.search-result .crumb { margin-top: 8px; color: #9aa0a4; font-size: 12px; }
@media screen and (max-width: 1199px) {
  .inner-layout { grid-template-columns: 1fr; }
  .inner-side { position: static; }
  .detail-head { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .page-hero { padding: calc(var(--header-height) + 40px) 0 40px; }
  .list-grid, .list-grid.cols-2 { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .list-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* ===== PbootCMS integration layer =====
   Styles for markup emitted by CMS tags ({pboot:position}, {page:numbar},
   {pboot:pics}, {content:content}) and for the verbatim-copied member centre /
   comment / upload templates. Design tokens are reused from the prototype. */

/* Breadcrumb: {pboot:position separator='&gt;'} emits bare anchors + text separators. */
.breadcrumb { row-gap: 4px; }
.breadcrumb > a { white-space: nowrap; }

/* Current-column marking emitted by {pboot:if(...)}is-current{/pboot:if}. */
.mega-link.is-current { color: var(--brand); border-color: rgba(214, 0, 28, .32); }
.mega-link.is-current .mega-icon { color: var(--brand); }
.header-contact.is-current { background: var(--brand-dark); }
.mobile-subnav a.is-current { color: var(--brand); }

/* Sortnav: .filter-tabs carries per-column row counts from [nav:rows]. */
.filter-tabs i { margin-left: 5px; font-style: normal; font-size: 11px; opacity: .62; }
.filter-tabs a.is-current i { opacity: .8; }

/* Pagination: {page:numbar} may emit bare a/span or a ul > li > a structure. */
.pagination { flex-wrap: wrap; }
.pagination ul, .pagination ol, .pagination .pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination li { display: block; margin: 0; padding: 0; min-width: 0; height: auto; border: 0; background: none; list-style: none; }
.pagination li a, .pagination li span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 14px; }
.pagination a:hover { color: var(--brand); border-color: var(--brand); }
.pagination > span, .pagination .is-current, .pagination .active, .pagination .current,
.pagination li.active > a, .pagination li.active > span, .pagination li.current > a,
.pagination span.page-num-current, .pagination a.page-num-current { color: #fff; background: var(--brand); border-color: var(--brand); }

/* Empty state for comm/page.html and search.html. */
.empty-state { padding: 64px 24px; border: 1px dashed var(--line); border-radius: var(--radius-card); background: #fff; text-align: center; }
.empty-state b { display: block; font-size: 20px; }
.empty-state p { max-width: 560px; margin: 14px auto 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Detail pages: meta band inside the dark page-hero, gallery thumbs, prev/next. */
.page-hero .article-meta { margin: 18px 0 0; color: rgba(255, 255, 255, .72); }
.page-hero .article-meta b { color: #fff; font-weight: 600; }
.page-hero .article-meta .tag { background: rgba(255, 255, 255, .16); color: #fff; }
.detail-info h1, .detail-info .detail-title { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; }
.detail-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.detail-thumbs img { width: 84px; height: 84px; object-fit: contain; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; mix-blend-mode: multiply; transition: border-color .25s; }
.detail-thumbs img:hover, .detail-thumbs img.is-current { border-color: var(--brand); }
.pn-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pn-nav > div { min-width: 0; max-width: 48%; }
.pn-nav a { color: var(--text); transition: color .25s; }
.pn-nav a:hover { color: var(--brand); }
.pn-nav .nx { margin-left: auto; text-align: right; }

/* Subcategory grid on articles.html ({pboot:nav parent={sort:scode}}). */
.subcats { margin-bottom: 40px; }
.subcats-h { margin-bottom: 18px; font-size: 20px; letter-spacing: -.01em; }
.subcat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.subcat { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); font-size: 15px; transition: border-color .25s, color .25s, transform .25s; }
.subcat:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.subcat .ar { color: var(--brand); font-family: Arial, sans-serif; }
.subcat .n { min-width: 0; }
.subcat small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* Message board rows (message.html). */
.msg-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.msg-item .d { display: block; color: #9aa0a4; font-family: Arial, sans-serif; font-size: 12px; }
.msg-item .h { display: block; margin-top: 8px; font-size: 15px; line-height: 1.85; }
.msg-item .s { display: block; margin-top: 10px; padding: 12px 16px; background: var(--page-bg); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.msg-item .tag { display: inline-block; margin-top: 10px; padding: 3px 11px; background: rgba(214, 0, 28, .08); color: var(--brand); border-radius: 14px; font-size: 11px; }
.block-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.block-h h3 { font-size: 20px; }
.block-h span { color: #9aa0a4; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

/* Forms: captcha row + status/hint lines used by contacts.html and message.html. */
.cap-row { display: flex; align-items: center; gap: 12px; }
.cap-row input { min-width: 0; flex: 1; }
.codeimg { height: 46px; width: auto; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.form-status { margin-top: 14px; color: var(--brand); font-size: 13px; }
.form-status:empty { display: none; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.form-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.contact-intro { margin-bottom: 44px; }
.contact-intro:empty { display: none; }
.detail-thumbs a { display: block; }
.param-table a { color: var(--brand); }
.param-table a:hover { text-decoration: underline; }

/* Rich text from {content:content}: the prototype reset removes link/list styling. */
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-dark); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--page-bg); font-weight: 600; }
.prose blockquote { margin: 22px 0; padding: 14px 20px; background: var(--page-bg); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--muted); }
.prose h1 { margin-top: 36px; font-size: 30px; }
.prose h4, .prose h5, .prose h6 { margin-top: 24px; font-size: 17px; }
.prose video, .prose iframe { max-width: 100%; }
.prose p:empty { display: none; }

/* Search results wrapper. */
.search-results { margin-top: 32px; }
.search-result mark, .search-result .mark, .list-card mark, .prose mark { padding: 0 2px; background: rgba(214, 0, 28, .14); color: var(--brand); border-radius: 3px; }

@media screen and (max-width: 1199px) {
  .subcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .subcat-grid { grid-template-columns: 1fr; }
  .pn-nav { flex-direction: column; }
  .pn-nav > div { max-width: 100%; }
  .pn-nav .nx { margin-left: 0; text-align: left; }
  .form-card { padding: 22px; }
  .detail-thumbs img { width: 68px; height: 68px; }
}

/* ----- Legacy compatibility: member centre / comment / upload -----
   These templates are copied verbatim from the reference theme and use
   Bootstrap-style utility class names. The rules below only provide layout and
   form affordances using gh-2026 tokens; the templates themselves are unchanged. */
.row { display: flex; flex-wrap: wrap; margin-inline: -8px; }
.row > [class*="col-"] { padding-inline: 8px; min-width: 0; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.align-items-start { align-items: flex-start; }
.flex-grow-1 { flex: 1 1 auto; min-width: 0; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.text-secondary { color: var(--muted); }
.fw-normal { font-weight: 400; }
.bg-white { background: #fff; }
.bg-light { background: var(--page-bg); }
.rounded { border-radius: var(--radius-card); }
.shadow-sm { box-shadow: var(--shadow-soft); }
.p-3 { padding: 20px; }
.pt-3 { padding-top: 16px; }
.pb-3 { padding-bottom: 16px; }
.me-3 { margin-right: 16px; }
.ms-3 { margin-left: 16px; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 32px; }
.my-4 { margin-block: 24px; }
.my-5 { margin-block: 32px; }
.border-bottom { border-bottom: 1px solid var(--line); }
.border-top-dashed { border-top: 1px dashed var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.3; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn-primary, .btn-info, .btn-success { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover, .btn-info:hover, .btn-success:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-secondary, .btn-light { background: var(--page-bg); color: var(--text); }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; }
.form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.form-control, .form-select { display: block; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 15px; transition: border-color .25s; }
.form-control:focus, .form-select:focus { outline: none; border-color: var(--brand); }
textarea.form-control { min-height: 120px; resize: vertical; }
.list-group { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.list-group-item { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; transition: color .25s, background-color .25s; }
.list-group-item:last-child { border-bottom: 0; }
.list-group-item:hover { color: var(--brand); background: var(--page-bg); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; }
.replybtn { cursor: pointer; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.page-item { list-style: none; }
.page-link { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 14px; }
.page-link:hover { color: var(--brand); border-color: var(--brand); }
.dropdown-menu { display: none; position: absolute; z-index: 1050; min-width: 180px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.dropdown-menu.show, .dropend:hover .dropdown-menu, .dropend:focus-within .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 9px 12px; font-size: 14px; }
.dropdown-item:hover { color: var(--brand); background: var(--page-bg); }
.dropdown-divider { height: 1px; margin: 6px 0; background: var(--line); }
.dropend { position: relative; }
.modal { display: none; position: fixed; z-index: 1060; inset: 0; overflow-y: auto; background: rgba(0, 0, 0, .48); }
.modal.show, .modal.is-open { display: block; }
.modal-dialog { max-width: 620px; margin: 8vh auto; padding: 0 20px; }
.modal-lg { max-width: 900px; }
.modal-content { background: #fff; border-radius: var(--radius-card); overflow: hidden; }
.modal-header, .modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; }
.modal-header { border-bottom: 1px solid var(--line); }
.modal-footer { border-top: 1px solid var(--line); justify-content: flex-end; }
.modal-title { font-size: 18px; }
.modal-body { padding: 24px; }
.btn-close { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 0; cursor: pointer; }
.btn-close::before { content: "\00d7"; font-size: 20px; line-height: 1; }
.headpic { border-radius: 50%; }
.red { color: var(--brand); }
.del { color: var(--brand); cursor: pointer; }
.upload { margin-top: 14px; }
.file-loading { background: #fff; }
@media screen and (max-width: 991px) {
  .col-md-2, .col-md-3, .col-md-10, .col-lg-3, .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
}
/* Bootstrap md breakpoint: d-md-block reveals the desktop member sidebar,
   d-md-none reveals the mobile dropdown. Below md they inherit d-none / d-block. */
@media screen and (min-width: 768px) {
  .d-md-block { display: block; }
  .d-md-none { display: none; }
}

/* [zcode 2026-11-10] 内容表格防溢出：块级化+横滚；min-width:100% 保住窄表撑满桌面的现状 */
.prose table { display: block; overflow-x: auto; min-width: 100%; }

/* [zcode 2026-11-10] subname/description 条件包裹拍平后的空元素兜底 */
.page-kicker:empty, .page-lead:empty, .product-series:empty { display: none; }

/* [zcode 2026-11-10] footer 品牌名允许换行（en 等语言公司全称长，nowrap 撑破容器） */
.brand-footer .brand-copy strong { white-space: normal; }

/* ===== News detail redesign (news2.html, 新闻动态专用) — appended 2026-11-10 ===== */
.news-hero { padding: calc(var(--header-height) + 64px) 0 56px; }
.news-hero h1 { max-width: 1080px; }
.news-body { padding-top: 48px; }

.news-hero-figure { margin: 0 0 10px; }
.news-hero-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); background: #e8ebec; }
.news-hero-figure figcaption { display: flex; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.news-hero-figure figcaption::before { content: ""; flex: 0 0 auto; width: 18px; height: 3px; margin-top: 8px; background: var(--brand); }

.article-prose { counter-reset: nasec; font-size: 16.5px; }
.article-prose .article-lead { font-size: 17.5px; line-height: 1.95; padding-left: 16px; border-left: 3px solid var(--brand); }

.article-prose .fact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 30px 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; list-style: none; }
.fact-strip li { padding: 18px 20px 16px; background: #fff; }
.fact-strip strong { display: block; font-family: Arial, sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.01em; color: var(--brand); white-space: nowrap; }
.fact-strip strong small { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-left: 5px; }
.fact-strip strong.fs-sm { font-size: 19px; }
.fact-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.article-prose h2 { position: relative; margin-top: 48px; padding-left: 40px; font-size: 24px; counter-increment: nasec; }
.article-prose h2::before { content: counter(nasec, decimal-leading-zero); position: absolute; left: 0; top: 4px; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; color: var(--brand); }
.article-prose h2::after { content: ""; position: absolute; left: 40px; bottom: -12px; width: 44px; height: 2px; background: var(--brand); }

.article-prose figure { margin: 30px 0; }
.article-prose img { height: auto; }
.article-prose figure img { border: 1px solid var(--line); }
.article-prose figure figcaption { display: flex; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.article-prose figure figcaption::before { content: "图"; flex: 0 0 auto; height: fit-content; margin-top: 2px; padding: 2px 8px; background: rgba(214, 0, 28, .08); border-radius: 4px; color: var(--brand); font-size: 11px; }

.article-prose blockquote.pull { position: relative; margin: 30px 0; padding: 28px 32px 26px 58px; background: #141d26; border-left: 0; border-radius: var(--radius-card); color: rgba(255, 255, 255, .9); font-size: 16.5px; line-height: 1.95; }
.article-prose blockquote.pull::before { content: "\201C"; position: absolute; left: 20px; top: 14px; font-family: Georgia, serif; font-size: 46px; line-height: 1; color: var(--brand); }

.article-source-note { margin-top: 34px; padding-top: 16px; border-top: 1px dashed var(--line); color: #9aa0a4; font-size: 12.5px; }
.article-endmark { display: flex; justify-content: center; margin-top: 38px; }
.article-endmark::before { content: ""; width: 10px; height: 10px; background: var(--brand); }

.related-news { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.related-news > h2 { margin-bottom: 22px; font-size: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.related-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.related-card:hover h3 { color: var(--brand); }
.related-card .related-media { aspect-ratio: 16 / 10; background: #e8ebec; }
.related-card .related-media img { width: 100%; height: 100%; object-fit: cover; }
.related-card .related-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.related-card time { color: #9aa0a4; font-family: Arial, sans-serif; font-size: 12px; }
.related-card h3 { font-size: 15px; line-height: 1.6; transition: color .25s; }

@media screen and (max-width: 1199px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .news-hero { padding: calc(var(--header-height) + 40px) 0 40px; }
  .article-prose .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-strip strong { font-size: 21px; }
  .fact-strip strong.fs-sm { font-size: 16px; }
  .article-prose h2 { margin-top: 40px; padding-left: 32px; font-size: 21px; }
  .article-prose h2::after { left: 32px; }
  .article-prose blockquote.pull { padding: 24px 22px 22px 52px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ===== 纯文字标题列表（/articles/ 技术文库聚合页、/faq/ FAQ 页） =====
   按站长要求只保留标题文字与链接：无缩略图、日期、摘要、按钮、图标。
   宽屏两列以压缩 54 条的长页面，992px 以下自动单列。 */
.title-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.title-list > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.title-list > li > a {
  display: block;
  padding: 15px 6px;
  font-size: 16px;
  line-height: 1.65;
  color: inherit;
  text-decoration: none;
  transition: color .25s ease, padding-left .25s ease;
}
.title-list > li > a:hover { color: var(--brand); padding-left: 14px; }
@media screen and (min-width: 992px) {
  .title-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
}

/* ===== /articles/ 技术文库：左侧专题菜单 + 右侧单列文章列表 =====
   左侧 260px 竖排专题入口，宽屏随滚动停留；右侧列表每行一篇。
   /faq/ 不套 .articles-layout，仍保持上面的两列排版。 */
.articles-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.articles-layout .subcats { margin-bottom: 0; }
.articles-layout .subcat-grid { grid-template-columns: 1fr; gap: 10px; }
.articles-layout .subcat { padding: 14px 16px; font-size: 14px; }
/* 特异性 0,2,0 高于上面的 .title-list（0,1,0），可覆盖 >=992px 的两列规则 */
.articles-main .title-list { grid-template-columns: 1fr; }
@media screen and (min-width: 992px) {
  .articles-layout .subcats { position: sticky; top: calc(var(--header-height) + 24px); }
}
@media screen and (max-width: 991px) {
  .articles-layout { grid-template-columns: 1fr; gap: 28px; }
  .articles-layout .subcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 600px) {
  .articles-layout .subcat-grid { grid-template-columns: 1fr; }
}

