/* 金点高考官网 · 全站公用样式 */
:root {
  --primary: #163A6B;
  --primary-hover: #0F2B52;
  --primary-light: #EEF3F8;
  --accent: #F38134;
  --accent-hover: #DC6A1E;
  --deep: #0C2244;
  --text-primary: #222;
  --text-secondary: #666;
  --text-muted: #999;
  --bg-page: #fff;
  --bg-soft: #f7f8fa;
  --bg-card: #FFFFFF;
  --border: #e8e8e8;
  --border-light: #eeeeee;
  --channel-banner-match-color: #EAF2F8;
  --channel-banner-ink: #222;
  --channel-banner-bg: #EAF2F8;
  --white: #fff;
  --ease: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-page);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: calc(100% - 48px);
  max-width: 1300px;
  margin: 0 auto;
}

.container-read {
  width: calc(100% - 48px);
  max-width: 860px;
  margin: 0 auto;
}

.section { padding: 48px 0; }
[data-page="index"] .section { padding: 64px 0 72px; }
[data-page="index"] .section:has([data-block="home-faqs"]) { padding: 56px 0 60px; }
.section-soft { background: var(--bg-soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
}
[data-page="index"] .section-head {
  align-items: center;
  margin-bottom: 32px;
}
[data-page="index"] .section-head-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
[data-page="index"] .section-head h2 {
  position: relative;
  padding-left: 16px;
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  color: var(--primary);
}
[data-page="index"] .section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
[data-page="index"] .section-head-en {
  color: #b7c0ca;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .14em;
}
[data-page="index"] .section-head .text-more {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.section-desc {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 28px;
}

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

/* V1.8：首页与独立列表标题1行、简介2行 */
[data-page="index"] .card-title,
[data-page="index"] .news-item-title,
[data-page="product-list"] .card-title,
[data-page="case-list"] .card-title,
[data-page="news-list"] .news-item-title,
[data-page="news-topic"] .news-item-title,
[data-page="help-category"] .help-q-card h2,
.help-q .q {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-page="index"] .card-summary,
[data-page="index"] .news-item-summary,
[data-page="product-list"] .card-summary,
[data-page="case-list"] .card-summary,
[data-page="news-list"] .news-item-summary,
[data-page="news-topic"] .news-item-summary,
[data-page="help-category"] .help-q-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
}


.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transition: opacity .2s ease;
}
.brand:hover { opacity: .86; }
.brand img {
  height: 48px;
  width: auto;
}
.brand-name {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--primary);
}
.brand:has([data-slot="site-logo"]) .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--primary);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}
.nav-item { position: relative; }
.nav-item > a {
  display: flex;
  align-items: center;
  height: 80px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  transition: color .2s ease;
}
.nav-item > a:hover { color: var(--accent); }
.nav-item.is-active > a:hover { color: var(--accent); }
.nav-item.is-active > a { color: var(--primary); font-weight: 600; }
.nav-item.is-active > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  background: var(--accent);
}
.subnav { display: none; }

/* ========== Buttons / links / tags ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  transition: var(--ease);
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
}
.btn-ghost:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.text-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--ease);
}
.text-more .arrow { transition: transform .2s ease; }
.text-more:hover,
.card:hover .card-more { color: var(--accent); }
.text-more:hover .arrow,
.card:hover .card-more .arrow,
.more:hover .arrow { transform: translateX(3px); }
.more .arrow { transition: transform .2s ease; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 22px;
  transition: var(--ease);
}
.tag:hover,
.tag-list a:hover {
  border-color: var(--accent);
  background: var(--primary-light);
  color: var(--accent);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.tab {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 22px;
  transition: var(--ease);
}
.tab:hover {
  border-color: var(--accent);
  background: var(--white);
  color: var(--accent);
}
.tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.tab.is-active:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

/* ========== Text card ========== */
.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  min-width: 0;
  transition: var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .04);
}
.card-media-card {
  padding: 0;
  overflow: hidden;
}
.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}
.card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.card-link:hover .card-media img,
a.card-media-card:hover .card-media img { transform: scale(1.02); }
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.card-cat {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 13px;
  line-height: 22px;
}
.card-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  transition: color .2s ease;
}
.card:hover .card-title,
.card-link:hover .card-title,
a.card-media-card:hover .card-title {
  color: var(--accent);
}
.card-summary {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 24px;
}
.card .tag-list { margin-top: 12px; }
.card-more {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  transition: var(--ease);
}
.card-more .arrow { transition: transform .2s ease; }
.card-link:hover .card-more,
a.card-media-card:hover .card-more { color: var(--accent); }
.card-link:hover .card-more .arrow,
a.card-media-card:hover .card-more .arrow { transform: translateX(3px); }

.media-frame {
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-soft);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
a:hover .media-frame img { transform: scale(1.02); }

/* ========== Pagination / breadcrumb ========== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 0;
  gap: 8px;
}
.pagination[hidden] { display: none !important; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 22px;
  transition: var(--ease);
}
.pagination a:hover {
  border-color: var(--accent);
  background: var(--white);
  color: var(--accent);
}
.pagination .is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.pagination .is-current:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.pagination .is-disabled {
  color: var(--text-muted);
  background: var(--bg-soft);
  cursor: default;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 0 32px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .is-current { color: var(--text-secondary); }

/* ========== Channel hero V1.8 ========== */
.channel-hero {
  position: relative;
  height: 250px;
  background-color: var(--channel-banner-match-color);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}
.channel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 32, 43, .92) 0%, rgba(23, 32, 43, .62) 40%, rgba(23, 32, 43, .32) 70%, rgba(23, 32, 43, .1) 100%);
  pointer-events: none;
}
main[data-page="about"] .channel-hero { background-image: url("../assets/images/banner3.jpg"); }
main[data-page="product-list"] .channel-hero { background-image: url("../assets/images/banner4.jpg"); }
main[data-page="case-list"] .channel-hero { background-image: url("../assets/images/banner5.jpg"); }
main[data-page="team-list"] .channel-hero { background-image: url("../assets/images/banner9.jpg"); }
main[data-page="news-list"] .channel-hero { background-image: url("../assets/images/banner6.jpg"); }
main[data-page="help-list"] .channel-hero { background-image: url("../assets/images/banner7.jpg"); }
main[data-page="contact"] .channel-hero { background-image: url("../assets/images/banner8.jpg"); }
main[data-page="page-tags"] .channel-hero { background-image: url("../assets/images/banner3.jpg"); }
.channel-hero__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.channel-hero__inner h1 {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: .06em;
  font-weight: 600;
  text-shadow: 0 1px 20px rgba(0, 0, 0, .22);
}
.channel-hero__inner p { display: none; }
.channel-main {
  background: #fff;
  padding-top: 40px;
}
.channel-follow,
.section.channel-follow,
.about-intro.channel-follow,
.list-section.channel-follow,
.list-section.channel-main { padding-top: 40px; }

/* ========== Footer ========== */
.site-footer {
  margin-top: 0;
  padding-top: 40px;
  background: var(--deep);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr auto;
  gap: 24px 40px;
  align-items: start;
}
.footer-brand .brand {
  display: inline-flex;
  padding: 0;
  background: transparent;
}
.footer-brand .brand img { height: 48px; width: auto; }
.footer-name {
  margin-top: 12px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.footer-intro { margin-top: 8px; max-width: 360px; }
.footer-contact h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
}
.footer-contact p { margin-bottom: 8px; }
.site-footer a:hover { color: var(--accent); }
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}
.footer-qr img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}
.footer-qr span {
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  line-height: 22px;
}
.copyright {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

/* ========== Home: banner（全宽例外，不裁切；两张图轮播） ========== */
.home-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.home-banner-viewport { position: relative; }
.home-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease, visibility .6s ease;
}
.home-banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.home-banner picture,
.home-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.home-banner-btn { display: none; }
.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.home-banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: width .2s ease, background .2s ease, border-radius .2s ease;
}
.home-banner-dots button.is-active {
  width: 22px;
  border-radius: 6px;
  background: #fff;
}
.home-banner-bar {
  background: var(--primary);
  color: var(--white);
}
.home-banner-bar .container { padding: 20px 0; }
.home-banner-bar h1 {
  font-size: 44px;
  line-height: 57px;
  font-weight: 600;
}
.home-banner-overlay {
  position: relative;
}
.home-banner-overlay .home-banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 0;
  background: linear-gradient(transparent, rgba(0, 74, 143, .72));
  color: var(--white);
}
.home-banner-overlay h1 {
  font-size: 44px;
  line-height: 57px;
  font-weight: 600;
}

/* ========== Home: about ========== */
[data-page="index"] .home-about-section {
  padding-bottom: 32px;
  background: #fff;
}
.home-about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
.home-about-copy h2 {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  color: var(--primary);
}
.home-about-copy h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin: 14px 0 24px;
  border-radius: 2px;
  background: var(--accent);
}
.home-about-copy p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 30px;
}
.home-about-copy .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  margin-top: 12px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  background: transparent;
  transition: var(--ease);
}
.home-about-copy .more:hover {
  background: var(--accent);
  color: var(--white);
}
.home-about-copy .more:hover .arrow { transform: translateX(3px); }
.home-about-photo {
  aspect-ratio: 16 / 10;
  max-width: none;
  margin-left: auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(22, 58, 107, .1);
}

/* ========== Home: founder ========== */
[data-page="index"] .home-founder-section {
  padding-top: 40px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(173, 208, 236, .42) 0%, transparent 58%),
    radial-gradient(ellipse 72% 78% at 100% 100%, rgba(173, 208, 236, .48) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}
.home-founder-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  color: inherit;
}
.home-founder-visual {
  position: relative;
  min-width: 0;
}
.home-founder-photo {
  aspect-ratio: 1000 / 714;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 20px;
}
.home-founder-photo img { object-position: center; }
.home-founder-visual { pointer-events: none; }
.home-founder-copy { display: block; min-width: 0; color: inherit; }
.home-founder-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: var(--accent);
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
}
.home-founder-label::before {
  content: "";
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--accent);
}
.home-founder-copy h3 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  color: var(--primary);
  transition: color .2s ease;
}
.home-founder-card:hover h3 { color: var(--accent); }
.home-founder-role {
  margin-top: 14px;
  color: #3d4a5c;
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
}
.home-founder-intro {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 28px;
}
.home-founder-intro + .home-founder-intro { margin-top: 10px; }
.home-founder-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  transition: var(--ease);
}
.home-founder-copy:hover .home-founder-btn {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(243, 129, 52, .32);
}

/* ========== Home: products ========== */
[data-page="index"] [data-block="home-products"] .card-media-card,
.home-product-card {
  position: relative;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 58, 107, .07);
  overflow: hidden;
}
[data-page="index"] [data-block="home-products"] .card-media,
.home-product-card .card-media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
[data-page="index"] [data-block="home-products"] .card-body,
.home-product-card .card-body {
  position: static;
  flex: none;
  padding: 22px 18px 24px;
  text-align: center;
  background: var(--white);
  color: inherit;
}
[data-page="index"] [data-block="home-products"] .card-title,
.home-product-card .card-title {
  color: var(--primary);
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}
[data-page="index"] [data-block="home-products"] a:hover .card-title,
.home-product-card:hover .card-title {
  color: var(--accent);
}
[data-page="index"] [data-block="home-products"] .card-summary,
.home-product-card .card-summary {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 24px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
}
[data-page="index"] [data-block="home-products"] .card-cat,
[data-page="index"] [data-block="home-products"] .tag-list,
[data-page="index"] [data-block="home-products"] .card-more,
.home-product-card .card-cat,
.home-product-card .tag-list,
.home-product-card .card-more {
  display: none;
}

/* ========== Home: cases ========== */
.home-case-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
}
.home-case-media {
  position: absolute;
  inset: 0;
}
.home-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.home-case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 34, 68, .48);
  opacity: 0;
  transition: opacity .2s ease;
}
.home-case-card:hover .home-case-media img { transform: scale(1.04); }
.home-case-card:hover .home-case-media::after { opacity: 1; }
.home-case-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  min-height: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(0deg, rgba(12, 34, 68, .92) 0%, rgba(12, 34, 68, .62) 68%, rgba(12, 34, 68, 0) 100%);
  transition: opacity .2s ease;
}
.home-case-body .card-title {
  color: var(--white);
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}
.home-case-card:hover .card-title { color: var(--white); }
.home-case-body .card-summary {
  margin-top: 4px;
  max-width: 92%;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-case-btn {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #e8d5a8;
  color: #3b2a12;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, background .2s ease;
}
.home-case-card:hover .home-case-body { opacity: 0; }
.home-case-card:hover .home-case-btn {
  opacity: 1;
  pointer-events: auto;
}
.home-case-card:hover .home-case-btn:hover { background: #f0e0b6; }
[data-page="index"] [data-block="home-cases"] .card-cat,
[data-page="index"] [data-block="home-cases"] .tag-list {
  display: none;
}

/* ========== Home: news / faq / links ========== */
.card-media-card.home-news-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(22, 58, 107, .06);
  overflow: visible;
}
.home-news-card .card-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.home-news-date {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
  box-shadow: none;
}
.home-news-card .card-body {
  padding: 10px 18px 16px;
}
.home-news-card .card-title {
  color: var(--primary);
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  transition: color .2s ease;
}
.home-news-card:hover .card-title { color: var(--accent); }
.home-news-card .card-summary {
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 24px;
  -webkit-line-clamp: 2;
}
.home-news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.home-news-card .card-cat {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  line-height: 26px;
  font-weight: 500;
}
.home-news-card:nth-child(odd) .card-cat {
  background: #fff1e6;
  color: var(--accent);
}
.home-news-card:nth-child(even) .card-cat {
  background: #e8f1fb;
  color: var(--primary);
}
.home-news-card .card-more,
[data-page="index"] [data-block="home-news"] .card-more {
  display: none;
}

.home-faq-col {
  overflow: hidden;
  padding: 0 0 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(22, 58, 107, .05);
}
.home-faq-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: #eef5fb;
}
.home-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  flex: 0 0 auto;
}
.home-faq-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.home-faq-col h3 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  color: var(--primary);
}
.home-faq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0 24px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 26px;
  transition: color .2s ease;
}
.home-faq-col .home-faq-item:last-child { border-bottom: 0; }
.home-faq-item:hover { color: var(--accent); }
.home-faq-item:hover .home-faq-plus { color: var(--accent); }
.home-faq-idx {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.home-faq-item .q { flex: 1; min-width: 0; }
.home-faq-plus {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.section:has(+ .home-links) { padding-bottom: 0; }
.home-links { padding: 56px 0 44px; }
.home-links .section-head { margin-bottom: 20px; }
.home-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 28px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
}
.home-link-list a { transition: color .2s ease; }
.home-link-list a:hover { color: var(--accent); }

/* ========== About ========== */
.about-intro { padding-top: 0; }
.about-richtext h2 { margin: 36px 0 14px; }
.about-richtext h3 { margin: 28px 0 12px; }
.about-richtext > img + h2 { margin-top: 8px; }
.about-intro-media {
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}
.about-intro .rich-text,
.about-richtext {
  max-width: none;
  margin: 0 auto;
}
.about-richtext img {
  display: block;
  width: auto;
  max-width: 68%;
  height: auto;
  margin: 36px auto 0;
  border-radius: 12px;
}
.about-richtext h2 { margin: 40px 0 16px; font-size: 26px; line-height: 36px; }
.about-richtext h3 { margin: 28px 0 12px; font-size: 20px; line-height: 30px; }
.about-richtext p { margin-bottom: 16px; font-size: 16px; line-height: 1.9; }

.about-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-timeline-item {
  padding: 24px;
  border-top: 1px solid var(--accent);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
}
.about-timeline-item h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.about-timeline-item p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 26px;
}

.about-biz-card,
.about-belief-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.about-biz-card .card-cat { margin-bottom: 12px; }
.about-biz-card h3,
.about-belief-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}
.about-biz-card p,
.about-belief-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 26px;
}

.about-certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-certs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

/* ========== Case / product list ========== */

/* ========== News list ========== */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.news-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.news-item:first-child { padding-top: 0; }
.news-item:hover .news-item-title { color: var(--accent); }
.news-item-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  transition: color .2s ease;
}
.news-item-summary {
  margin-top: 8px;
  color: #666;
  font-size: 14px;
  line-height: 24px;
}
.news-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 22px;
}

.side-box {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.side-box h2 {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.side-news-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.side-news-item:first-of-type { padding-top: 0; }
.side-news-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.side-news-item span {
  font-size: 14px;
  line-height: 24px;
}
.side-news-item:hover span { color: var(--accent); }
.side-news-item time {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 20px;
}
.side-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  line-height: 24px;
}
.side-link:last-of-type { border-bottom: 0; }
.side-link:hover { color: var(--accent); }

/* ========== Article / detail ========== */
.article-head {
  padding: 8px 0 0;
  text-align: center;
}
.article-head h1 {
  max-width: 100%;
  margin: 0 auto;
  font-size: 36px;
  line-height: 50px;
  font-weight: 600;
}
.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 22px;
}
.article-summary {
  max-width: 860px;
  margin: 32px 0 40px;
  padding: 22px 26px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 30px;
  text-align: left;
}
.detail-cover {
  width: 100%;
  margin: 32px 0 0;
  height: auto;
  border-radius: 16px;
}
.detail-kicker {
  color: var(--accent);
  font-size: 13px;
  line-height: 22px;
}
.detail-title {
  margin-top: 6px;
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
}
.detail-lead {
  margin-top: 10px;
  color: #666;
  font-size: 15px;
  line-height: 26px;
}
.detail-tags { margin-top: 10px; }

.relate-product {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  margin: 0 auto 40px;
  max-width: 860px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.relate-product img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.relate-product h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.relate-product p {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 24px;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 24px;
}
.prev-next a { min-width: 0; }
.prev-next a:hover { color: var(--accent); }

.related-block { margin-top: 56px; }
.related-block h2 {
  margin-bottom: 24px;
  font-size: 22px;
  line-height: 34px;
  font-weight: 600;
}
.related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.related-head h2 { margin-bottom: 0; }
.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-news-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: var(--ease);
}
.related-news-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.related-news-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.related-news-item .related-news-body { padding: 16px 18px 18px; }
.related-news-item h3 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
}
.related-news-item p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 22px;
}
.related-news-item:hover h3 { color: var(--accent); }

.cta-contact {
  margin-top: 56px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  text-align: center;
}
.cta-contact h2 {
  font-size: 22px;
  line-height: 34px;
  font-weight: 600;
}
.cta-contact p {
  margin: 12px 0 20px;
  color: var(--text-secondary);
}

.topic-intro {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.topic-intro-media {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}
.topic-intro h1 {
  font-size: 36px;
  line-height: 50px;
  font-weight: 600;
}
.topic-intro p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 30px;
}


/* ========== Detail layout V1.8 ========== */
.detail-container {
  width: calc(100% - 48px);
  max-width: 1300px;
  margin: 0 auto;
}
.detail-container .breadcrumb { padding: 24px 0; }
.detail-layout {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 40px;
  align-items: start;
  padding-bottom: 64px;
}
.detail-main { min-width: 0; }
.detail-main .article-head { padding-top: 0; }
.detail-main .article-head h1 {
  max-width: 800px;
  font-size: 30px;
  line-height: 42px;
}
.detail-main .article-summary {
  max-width: 100%;
  margin: 20px 0 28px;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 26px;
}
.detail-main .detail-cover {
  display: block;
  width: auto;
  max-width: 780px;
  margin: 24px auto 0;
  border-radius: 0;
}
.detail-aside {
  width: auto;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-aside .related-block {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.detail-aside .related-block h2,
.detail-aside .related-head h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.detail-aside .related-head { margin-bottom: 0; }
.detail-aside .related-head .text-more { font-size: 13px; line-height: 22px; }
.detail-aside .related-news-grid { display: flex; flex-direction: column; gap: 0; }
.detail-aside .related-news-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #eee;
  background: transparent;
  padding: 10px 0;
  overflow: visible;
}
.detail-aside .related-news-item:last-of-type { border-bottom: 0; }
.detail-aside .related-news-item:hover { transform: none; box-shadow: none; border-color: transparent; }
.detail-aside .related-news-item img {
  width: 96px;
  height: 64px;
  flex: 0 0 96px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
}
.detail-aside .related-news-body { padding: 0; min-width: 0; flex: 1; }
.detail-aside .related-news-item h3 {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail-aside .related-news-item p { margin-top: 4px; font-size: 12px; line-height: 20px; color: #999; }
.detail-aside .grid { display: flex; flex-direction: column; gap: 0; }
.detail-aside .card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  background: transparent;
}
.detail-aside .card .card-cat { grid-column: 2; position: static; margin: 0; font-size: 12px; line-height: 20px; }
.detail-aside .card .card-title { grid-column: 2; }
.detail-aside .card .tag-list { grid-column: 2; }
.detail-aside .card:hover { transform: none; box-shadow: none; border-color: transparent; }
.detail-aside .card .card-summary,
.detail-aside .card .card-more { display: none; }
.detail-aside .card .card-title { font-size: 14px; line-height: 22px; font-weight: 500; }
.detail-aside .card img[data-slot="cover"] {
  grid-column: 1;
  grid-row: 1 / 4;
  position: static;
  width: 96px;
  height: 64px;
  flex: 0 0 96px;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border: 0;
  object-fit: cover;
  border-radius: 0;
}
.detail-aside .home-link-list { flex-direction: column; gap: 0; }
.detail-aside .home-link-list a { display: block; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; line-height: 22px; }
.detail-aside .home-link-list a:last-child { border-bottom: 0; }
.detail-aside .cta-contact { margin-top: 0; padding: 18px; text-align: left; background: var(--bg-soft); }
.detail-aside .cta-contact h2 { font-size: 16px; line-height: 24px; }
.detail-aside .cta-contact p { margin: 8px 0 16px; font-size: 14px; line-height: 24px; }
.detail-aside .cta-contact .btn { height: 40px; width: 100%; }
.detail-aside .relate-product { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin: 0; max-width: none; padding: 0; border: 0; background: transparent; }
.detail-aside .relate-product > h2:first-child { flex: 0 0 100%; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; font-size: 16px; line-height: 24px; font-weight: 600; }
.detail-aside .relate-product img { width: 96px; height: 64px; flex: 0 0 96px; border-radius: 0; object-fit: cover; }
.detail-aside .relate-product h2 { font-size: 14px; line-height: 22px; }
.detail-aside .relate-product .btn { flex: 0 0 100%; height: 40px; width: 100%; }
.detail-aside .help-q-card { padding: 8px 0; border: 0; border-bottom: 1px solid #eee; border-radius: 0; }
.detail-aside .help-q-card h2 { font-size: 14px; line-height: 22px; }
.detail-aside .help-q-card p { display: none; }
.detail-aside [data-empty] { display: none !important; }
.detail-main .rich-text,
.detail-main .plain-answer,
.detail-main .container-read { max-width: 100%; width: 100%; margin-left: 0; margin-right: 0; }

/* ========== Rich text ========== */
.rich-text,
.plain-answer {
  max-width: 860px;
  width: 100%;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 30px;
}
.detail-main figure img {
  display: block;
  width: auto;
  max-width: 82%;
  height: auto;
  margin: 24px auto;
  border-radius: 0;
}
.rich-text h2 {
  margin: 40px 0 16px;
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  color: #222;
}
.rich-text h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
}
.rich-text h4 {
  margin: 24px 0 12px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.rich-text p { margin: 0 0 16px; }
.rich-text ul,
.rich-text ol { margin: 0 0 16px 22px; }
.rich-text li { margin-bottom: 8px; }
.rich-text a { color: var(--accent); }
.rich-text a:hover { text-decoration: underline; }
.rich-text strong { font-weight: 600; }
.rich-text img {
  display: block;
  width: auto;
  max-width: 82%;
  height: auto;
  margin: 24px auto;
  border-radius: 0;
}
.rich-text figcaption,
.img-caption {
  margin: 8px 0 24px;
  color: #999;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.rich-text blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--primary-light);
  color: var(--text-secondary);
}
.rich-text table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.rich-text th,
.rich-text td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.rich-text th { background: var(--bg-soft); font-weight: 600; }
.rich-text .table-scroll { width: 100%; overflow-x: auto; }
.rich-text hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.rich-text pre {
  margin: 20px 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 14px;
  line-height: 24px;
}
.rich-text code { font-family: Consolas, "Courier New", monospace; }

.plain-answer {
  white-space: pre-line;
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 30px;
  color: var(--text-primary);
}

/* ========== Help map ========== */
.help-map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.help-map-card {
  padding: 0 0 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(22, 58, 107, .05);
}
.help-map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 24px;
  border-bottom: 0;
  background: #eef5fb;
}
.help-map-head h2 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  color: var(--primary);
}
.help-map-head .text-more {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 700;
}
.help-map-head .text-more:hover { color: var(--accent); }
.help-q {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0 24px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 26px;
  transition: color .2s ease;
}
.help-map-card .help-q:last-child { border-bottom: 0; }
.help-q:hover { color: var(--accent); }
.help-q:hover .help-q-plus { color: var(--accent); }
.help-q .idx {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.help-q .q { flex: 1; min-width: 0; }
.help-q-plus {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.help-q-card {
  display: block;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: var(--ease);
}
.help-q-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}
.help-q-card h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  transition: color .2s ease;
}
.help-q-card:hover h2 { color: var(--accent); }
.help-q-card:hover .card-more { color: var(--accent); }
.help-q-card:hover .card-more .arrow { transform: translateX(3px); }
.help-q-card p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 26px;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

/* ========== Contact ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.contact-panel h2,
.message-form h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}
.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-channels {
  display: flex;
  align-items: stretch;
  gap: 32px;
}
.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex: 1;
  min-width: 0;
}
.contact-channel-item .label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
}
.contact-channel-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 24px;
}
.contact-list { list-style: none; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
}
.contact-list p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 24px;
}
.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 140px;
  margin-top: 0;
  text-align: center;
}
.contact-qr img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.contact-qr strong { display: block; font-size: 15px; }
.contact-qr span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 22px;
}

.message-form {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--bg-card);
}
.message-form .form-lead {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}
.message-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
}
.message-form input,
.message-form textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-size: 14px;
  transition: border-color .2s ease;
}
.message-form textarea {
  height: 132px;
  padding: 12px 14px;
  resize: vertical;
}
.message-form input:focus,
.message-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.message-form .btn { justify-self: start; min-width: 140px; }
.form-status { font-size: 13px; color: var(--text-muted); }
.form-status.is-success { color: #2f6b4f; }
.form-status.is-error { color: #b42318; }

.office-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: var(--ease);
}
.office-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(22, 58, 107, .06);
  transform: translateY(-2px);
}
.office-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.office-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.office-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 24px;
}

/* ========== Tags page ========== */
.tags-page {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  row-gap: 10px;
}
.tags-page .tag {
  min-height: 34px;
  padding: 0 14px;
  font-size: 15px;
  line-height: 32px;
}

/* ========== Styleguide ========== */
.sg { padding-bottom: 80px; }
.sg-hero { padding: 64px 0 40px; }
.sg-hero h1 { font-size: 40px; line-height: 52px; font-weight: 600; }
.sg-hero p { margin-top: 16px; color: var(--text-secondary); }
.sg-block { margin-top: 48px; }
.sg-title {
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 34px;
  font-weight: 600;
}
.sg-swatches { display: flex; flex-wrap: wrap; gap: 16px; }
.sg-swatch { width: 140px; }
.sg-swatch i {
  display: block;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.sg-swatch code {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.sg-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sg-note { margin-top: 12px; color: var(--text-muted); font-size: 13px; }

/* ========== Tablet：保持 PC 风格，只缩容器与列数 ========== */
@media (max-width: 1199px) {
  .channel-hero { height: 250px; }
  .container { width: calc(100% - 40px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .home-about { gap: 40px; }
  .home-founder-card { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
  .related-news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-channel-grid { grid-template-columns: repeat(2, 1fr); }
  .about-timeline { grid-template-columns: repeat(2, 1fr); }
  .about-certs { grid-template-columns: repeat(2, 1fr); }
  .news-layout,
  .help-layout,
  .detail-layout { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 32px; }
  .topic-intro { grid-template-columns: 220px minmax(0, 1fr); }
  .site-nav { gap: 20px; }
}

/* ========== Mobile：不改写 PC 规则，仅叠加适配 ========== */
@media (max-width: 767px) {
  body { font-size: 15px; line-height: 27px; }

  .container,
  .container-read { width: calc(100% - 32px); }

  .section { padding: 48px 0 52px; }
  [data-page="index"] .section { padding: 48px 0 52px; }
  [data-page="index"] .section:has([data-block="home-faqs"]) { padding: 44px 0; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .section-head h2,
  .home-about-copy h2 {
    font-size: 24px;
    line-height: 34px;
  }

  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }

  .site-header { height: 64px; }
  .header-inner { height: 64px; }
  .brand img { height: 40px; }
  .brand-name { font-size: 18px; line-height: 24px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open { display: flex; }
  .nav-item > a {
    height: 50px;
    font-size: 16px;
  }
  .nav-item.is-active > a::after { bottom: 10px; }

  .home-banner-bar .container { padding: 16px 0; }
  .home-banner-bar h1,
  .home-banner-overlay h1 {
    font-size: 30px;
    line-height: 42px;
  }
  .home-banner-overlay .home-banner-caption { padding: 20px 0; }
  .home-banner-btn {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    font-size: 22px;
  }
  .home-banner-prev { left: 8px; }
  .home-banner-next { right: 8px; }
  [data-page="index"] .section-head-main { flex-wrap: wrap; gap: 6px 12px; }
  [data-page="index"] .section-head h2 { padding-left: 14px; font-size: 24px; line-height: 34px; }

  .home-about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-about-photo { max-width: none; margin: 0; }
  .home-founder-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-founder-photo { max-width: 420px; margin: 0 auto; }
  .home-founder-copy h3 { font-size: 26px; line-height: 36px; }
  .home-case-card { min-height: 240px; }
  .home-faq-head { padding: 16px; }
  .home-faq-item { margin: 0 16px; }
  .related-news-grid { grid-template-columns: 1fr; }
  .contact-channels { flex-direction: column; }
  .contact-channel-grid { grid-template-columns: 1fr; }
  .home-links { padding: 32px 0 28px; }

  .about-timeline,
  .about-certs { grid-template-columns: 1fr; }
  .about-intro-media { border-radius: 12px; }

  .breadcrumb { padding: 20px 0 24px; font-size: 15px; }
  .card { padding: 20px; }
  .card-media-card { padding: 0; }
  .card-body { padding: 18px 20px 20px; }
  .card-title { font-size: 17px; line-height: 26px; }


  .brand img { height: 40px; width: auto; }
  .channel-hero {
    height: 180px;
    background-size: cover;
    background-position: center center;
  }
  main[data-page="about"] .channel-hero { background-image: url("../assets/images/Mobile-banner3.jpg"); }
  main[data-page="product-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner4.jpg?v=20260909"); }
  main[data-page="case-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner5.jpg"); }
  main[data-page="team-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner9.jpg"); }
  main[data-page="news-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner6.jpg"); }
  main[data-page="help-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner7.jpg"); }
  main[data-page="contact"] .channel-hero { background-image: url("../assets/images/Mobile-banner8.jpg"); }
  main[data-page="page-tags"] .channel-hero { background-image: url("../assets/images/Mobile-banner3.jpg"); }
  .channel-hero__inner { width: calc(100% - 32px); align-items: center; text-align: center; }
  .channel-hero__inner h1 {
    font-size: 26px;
    line-height: 1.25;
    color: rgba(255, 255, 255, .88);
    font-weight: 600;
  }
  .channel-hero__inner p { display: none; }
  .channel-main,
  .channel-follow,
  .section.channel-follow,
  .about-intro.channel-follow,
  .list-section.channel-follow { padding-top: 28px; }
  .detail-container { width: calc(100% - 32px); }
  .detail-layout {
    display: block;
    width: 100%;
  }
  .detail-aside { width: 100%; margin-top: 36px; }
  .detail-aside { margin-top: 40px; }
  .home-founder-copy h3 { font-size: 26px; line-height: 36px; }
  .news-layout,
  .help-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .tab { height: auto; min-height: 36px; }

  .article-head h1,
  .topic-intro h1 {
    font-size: 26px;
    line-height: 38px;
  }
  .detail-title {
    font-size: 25px;
    line-height: 36px;
  }
  .article-meta { font-size: 12px; gap: 12px; }
  .article-summary {
    margin: 24px 0 32px;
    padding: 16px 18px;
    font-size: 15px;
    line-height: 27px;
  }
  .rich-text,
  .plain-answer { font-size: 15px; line-height: 27px; }
  .rich-text h2 { font-size: 21px; line-height: 32px; margin: 32px 0 14px; }
  .rich-text h3 { font-size: 19px; line-height: 30px; }
  .rich-text h4 { font-size: 17px; line-height: 28px; }
  .rich-text img,
  .about-richtext img,
  .detail-main figure img { max-width: 94%; margin: 20px auto; border-radius: 0; }

  .prev-next { flex-direction: column; gap: 12px; }
  .relate-product { grid-template-columns: 1fr; }
  .related-news-grid { grid-template-columns: 1fr; }
  .cta-contact { padding: 24px 18px; }
  .help-map-grid { grid-template-columns: 1fr; }

  .message-form input { height: 46px; }
  .message-form .btn { width: 100%; }
  .contact-qr { flex-direction: column; align-items: flex-start; }
  .contact-qr img { width: 120px; height: 120px; }

  .site-footer { margin-top: 0; padding-top: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-qr { align-items: flex-start; }
  .copyright {
    flex-direction: column;
    font-size: 12px;
    line-height: 22px;
  }

  .news-row { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .news-row-media { border-radius: 8px; }
  main[data-page="news-list"] .news-item-title,
  main[data-page="news-topic"] .news-item-title { font-size: 20px; }
  .product-detail-hero { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-cover { height: 220px; }
  .contact-layout-v2 { grid-template-columns: 1fr; }
  .contact-side-qr { margin-top: 20px; }
  .list-media-card .card-title { white-space: normal; }
  .home-news-card .card-body { padding: 14px 16px 16px; }
  .home-founder-card { grid-template-columns: 1fr; }
  .home-founder-copy h3 { font-size: 26px; line-height: 36px; }
}

/* ========== Channel pages match reference spacing ========== */
main[data-page="product-list"] .channel-main,
main[data-page="case-list"] .channel-main,
main[data-page="team-list"] .channel-main,
main[data-page="news-list"] .channel-main { padding-top: 30px; }
main[data-page="product-list"] .tab-list,
main[data-page="case-list"] .tab-list,
main[data-page="news-list"] .tab-list { margin-bottom: 28px; }
main[data-page="product-list"] .tab,
main[data-page="case-list"] .tab,
main[data-page="news-list"] .tab { font-size: 16px; }

main[data-page="product-list"] [data-block="list"] .card,
main[data-page="case-list"] [data-block="list"] .card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}
main[data-page="product-list"] [data-block="list"] .card:hover,
main[data-page="case-list"] [data-block="list"] .card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
main[data-page="product-list"] [data-block="list"] .card-media,
main[data-page="case-list"] [data-block="list"] .card-media {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
}
main[data-page="product-list"] [data-block="list"] .card-body,
main[data-page="case-list"] [data-block="list"] .card-body {
  display: flex;
  flex-direction: column;
  padding: 18px 0 8px;
  background: transparent;
}
main[data-page="product-list"] [data-block="list"] .card-title,
main[data-page="case-list"] [data-block="list"] .card-title {
  color: var(--text-primary);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main[data-page="product-list"] [data-block="list"] .card:hover .card-title,
main[data-page="case-list"] [data-block="list"] .card:hover .card-title {
  color: var(--accent);
}
main[data-page="product-list"] [data-block="list"] .card-summary,
main[data-page="case-list"] [data-block="list"] .card-summary {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  min-height: 2.8em;
}
main[data-page="product-list"] [data-block="list"] .card-more,
main[data-page="case-list"] [data-block="list"] .card-more {
  align-self: flex-end;
  margin-top: 16px;
  padding: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
}
main[data-page="product-list"] [data-block="list"] .card:hover .card-more,
main[data-page="case-list"] [data-block="list"] .card:hover .card-more {
  color: var(--accent);
}
main[data-page="product-list"] [data-block="list"] .card:hover .card-media img,
main[data-page="case-list"] [data-block="list"] .card:hover .card-media img {
  transform: scale(1.04);
}
main[data-page="product-list"] [data-block="list"] .card-cat,
main[data-page="case-list"] [data-block="list"] .card-cat { display: none; }

/* ========== 师资团队 ========== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.team-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 24px;
  align-items: stretch;
  color: inherit;
  min-width: 0;
}
.team-card-media {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-soft);
}
.team-card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .25s ease;
}
.team-card:hover .team-card-media img { transform: scale(1.04); }
.team-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px 0 2px;
}
.team-card-role {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}
.team-card-name {
  margin-top: 6px;
  color: var(--text-primary);
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  transition: color .2s ease;
}
.team-card:hover .team-card-name { color: var(--accent); }
.team-card-intro {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card .card-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
}
.team-card:hover .card-more { color: var(--accent); }
.team-card:hover .card-more .arrow { transform: translateX(3px); }

.team-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  column-gap: 36px;
  align-items: start;
}
.team-detail-head { padding-top: 0; min-width: 0; }
.team-detail-head h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
}
.team-detail-role {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 26px;
}
.team-detail-intro {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
}
.team-detail-photo {
  width: 220px;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-soft);
}
main[data-page="team-detail"] .detail-main .team-detail-photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
}
main[data-page="team-detail"] .detail-copy {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.85;
}
main[data-page="team-detail"] .detail-copy p { margin-bottom: 16px; }

@media (max-width: 1199px) {
  .team-grid { gap: 24px 28px; }
  .team-card { grid-template-columns: 150px minmax(0, 1fr); column-gap: 18px; }
  .team-card-name { font-size: 20px; line-height: 28px; }
  .team-detail-hero { grid-template-columns: minmax(0, 1fr) 200px; column-gap: 28px; }
  .team-detail-photo { width: 200px; }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 22px; }
  .team-card { grid-template-columns: 168px minmax(0, 1fr); column-gap: 20px; }
  .team-detail-hero { grid-template-columns: minmax(0, 1fr) 180px; column-gap: 24px; }
  .team-detail-photo { width: 180px; }
}

.news-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
}
.news-row-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-soft);
}
.news-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.news-row-body { display: flex; flex-direction: column; min-width: 0; padding: 4px 0; }
main[data-page="news-list"] .news-item-title,
main[data-page="news-topic"] .news-item-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-row:hover .news-item-title { color: var(--accent); }
.news-row:hover .news-row-media img { transform: scale(1.04); }
.news-row:hover .text-more { color: var(--accent); }
main[data-page="news-list"] .news-item-summary,
main[data-page="news-topic"] .news-item-summary {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.news-row-foot time { color: var(--text-muted); font-size: 14px; }
.news-row-foot .text-more { margin-left: auto; font-size: 16px; color: var(--text-primary); }

.product-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 0 40px;
}
.product-detail-cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}
main[data-page="product-detail"] .detail-kicker,
main[data-page="case-detail"] .detail-kicker {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .04em;
}
main[data-page="product-detail"] .detail-title,
main[data-page="case-detail"] .detail-title {
  margin: 8px 0 16px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}
main[data-page="product-detail"] .detail-lead,
main[data-page="case-detail"] .detail-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
}
.product-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.product-detail-tags .tag {
  padding: 6px 12px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 14px;
  border-radius: 4px;
  background: #fff;
}
.detail-main-title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}
main[data-page="product-detail"] .detail-copy,
main[data-page="product-detail"] .detail-copy p,
main[data-page="product-detail"] .detail-copy li,
main[data-page="case-detail"] .detail-copy,
main[data-page="case-detail"] .detail-copy p,
main[data-page="case-detail"] .detail-copy li {
  font-size: 16px;
  line-height: 1.9;
}

.detail-aside .related-block {
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.detail-aside .related-block > h2,
.detail-aside .related-head h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.detail-aside .related-head { margin-bottom: 8px; }
.detail-aside .related-head .text-more { font-size: 14px; color: var(--text-primary); }
.detail-aside .related-head .text-more:hover { color: var(--accent); }
.detail-aside .grid { grid-template-columns: 1fr; gap: 0; }
.detail-aside .grid .card {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  box-shadow: none;
}
.detail-aside .grid .card:hover { transform: none; box-shadow: none; border-color: transparent; }
.detail-aside .grid .card-title { font-size: 15px; line-height: 24px; }
.detail-aside .grid .card-summary,
.detail-aside .grid .tag-list,
.detail-aside .grid .card-cat { display: none; }
.detail-aside .cta-contact { margin-top: 8px; padding: 24px; text-align: left; }
.detail-aside .cta-contact h2 { font-size: 20px; }
.detail-aside .cta-contact p { font-size: 15px; line-height: 26px; }
.detail-aside .cta-contact .btn { background: var(--accent); border-color: var(--accent); }

main[data-page="news-detail"] .article-head,
main[data-page="help-detail"] .article-head { text-align: left; }
main[data-page="news-detail"] .article-head h1 { font-size: 32px; line-height: 1.35; font-weight: 700; }
main[data-page="help-detail"] .article-head h1 { font-size: 32px; line-height: 1.35; font-weight: 700; }
main[data-page="news-detail"] .article-meta,
main[data-page="help-detail"] .article-meta { justify-content: flex-start; font-size: 15px; }
main[data-page="news-detail"] .article-summary { max-width: none; margin: 20px 0 24px; font-size: 16px; }
main[data-page="help-detail"] .plain-answer { margin: 18px 0 28px; font-size: 16px; line-height: 1.85; }

.help-map-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.help-map-head { padding: 18px 24px; background: #eef5fb; }
.help-map-head h2 { font-size: 20px; line-height: 30px; font-weight: 700; }
.help-map-head .text-more { font-size: 16px; color: var(--text-secondary); font-weight: 700; }
main[data-page="help-list"] .help-q .q { font-size: 16px; line-height: 26px; }
main[data-page="help-category"] .help-q-card { padding: 26px 28px; margin-bottom: 18px; }
main[data-page="help-category"] .help-q-card h2 { font-size: 24px; line-height: 1.4; font-weight: 700; }
main[data-page="help-category"] .help-q-card p { font-size: 16px; line-height: 1.75; }
main[data-page="help-category"] .help-q-card .card-more { font-size: 15px; justify-content: flex-end; width: 100%; display: flex; }
.help-layout { grid-template-columns: minmax(0, 1fr) 330px; column-gap: 34px; }
.side-box { padding: 24px; border-radius: 12px; }
.side-box h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.side-link { font-size: 15px; }
.side-news-item span { font-size: 15px; line-height: 24px; }

.contact-layout-v2 {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}
.contact-side-panel,
.message-form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.contact-side-title,
.message-form-card > h2 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}
.contact-side-list { list-style: none; }
.contact-side-list li { padding: 12px 0; border-bottom: 1px solid #eee; }
.contact-side-list li:last-child { border-bottom: 0; }
.contact-side-list .cs-label,
.contact-side-qr .cs-label {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.contact-side-list p { margin: 0; font-size: 16px; line-height: 1.7; }
.contact-side-qr { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; padding-top: 20px; }
.contact-side-qr img { width: 156px; height: 156px; object-fit: contain; background: #fff; }
.contact-side-qr strong { font-size: 16px; }
.contact-side-qr span { color: var(--text-muted); font-size: 13px; }
.message-form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.message-form-card .form-lead { display: none; }
.message-form-card > label:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.message-form-card textarea {
  flex: 1;
  min-height: 160px;
  height: auto;
}
.message-form-card .btn {
  min-height: 48px;
  padding: 0 28px;
  background: var(--accent);
  border-color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}
.office-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.office-card p { font-size: 16px; line-height: 1.7; margin: 0 0 6px; }

@media (max-width: 1199px) {
  .product-detail-hero { grid-template-columns: 1fr; gap: 24px; }
  .news-row { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .contact-layout-v2 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .help-map-grid { grid-template-columns: 1fr; }
  main[data-page="help-category"] .help-q-card { padding: 20px 18px; }
  main[data-page="help-category"] .help-q-card h2 { font-size: 20px; }
  .detail-aside .related-block { padding: 18px; }
  .news-row { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  main[data-page="news-list"] .news-item-title,
  main[data-page="news-topic"] .news-item-title { font-size: 20px; }
  .product-detail-hero { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-cover { height: 220px; }
  main[data-page="product-detail"] .detail-title,
  main[data-page="case-detail"] .detail-title { font-size: 28px; }
  .contact-layout-v2 { grid-template-columns: 1fr; }
  .contact-side-panel,
  .message-form-card { padding: 20px; }
  .help-layout,
  .news-layout,
  .detail-layout { grid-template-columns: 1fr; }
  main[data-page="product-list"] [data-block="list"] .card-title,
  main[data-page="case-list"] [data-block="list"] .card-title { white-space: normal; }
}

/* ========== 2026-09 对照参考站收口 ========== */
.home-founder-btn {
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-founder-copy:hover .home-founder-btn,
.home-founder-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(243, 129, 52, .32);
}

.about-richtext {
  max-width: none;
}
.about-richtext p,
.about-richtext li {
  font-size: 16px;
  line-height: 1.9;
}
.about-richtext img {
  width: auto;
  max-width: 58%;
  height: auto;
  margin: 40px auto 0;
}

main[data-page="product-detail"] .product-detail-hero,
main[data-page="case-detail"] .product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  margin: 0 0 48px;
}
main[data-page="product-detail"] .detail-kicker,
main[data-page="case-detail"] .detail-kicker {
  color: var(--accent);
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: .04em;
}
main[data-page="product-detail"] .detail-title,
main[data-page="case-detail"] .detail-title {
  margin: 8px 0 16px;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
}
main[data-page="product-detail"] .detail-lead,
main[data-page="case-detail"] .detail-lead {
  margin: 0;
  color: #4f5f73;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
}
main[data-page="product-detail"] .product-detail-tags,
main[data-page="case-detail"] .product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
main[data-page="product-detail"] .product-detail-tags .tag,
main[data-page="case-detail"] .product-detail-tags .tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  height: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff1e6;
  color: #dc6a1e;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}
main[data-page="product-detail"] .product-detail-cover,
main[data-page="case-detail"] .product-detail-cover {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}
main[data-page="product-detail"] .detail-layout,
main[data-page="case-detail"] .detail-layout,
main[data-page="team-detail"] .detail-layout,
main[data-page="news-detail"] .detail-layout,
main[data-page="help-detail"] .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 40px;
  align-items: start;
  padding-bottom: 72px;
}
.detail-main-title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}
main[data-page="product-detail"] .detail-copy,
main[data-page="product-detail"] .detail-copy p,
main[data-page="product-detail"] .detail-copy li,
main[data-page="case-detail"] .detail-copy,
main[data-page="case-detail"] .detail-copy p,
main[data-page="case-detail"] .detail-copy li {
  font-size: 16px;
  line-height: 1.85;
}

.detail-aside .related-block {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.detail-aside .related-block > h2,
.detail-aside .related-head h2 {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid #eef3f0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--text-primary);
}
.detail-aside .related-block > h2::after,
.detail-aside .related-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: var(--accent);
}
.detail-aside .side-link {
  display: block;
  max-width: 100%;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  color: #4f5f73;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-aside .side-link:last-of-type { border-bottom: 0; }
.detail-aside .side-link img,
.detail-aside .side-link .sr-only { display: none !important; }
.detail-aside .tag-list .tag {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #f3e0d0;
  border-radius: 999px;
  background: #fff8f1;
  color: var(--accent);
  font-size: 13px;
}
.detail-aside .cta-contact {
  margin: 0;
  padding: 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  text-align: left;
}
.detail-aside .cta-contact h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}
.detail-aside .cta-contact p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 24px;
}
.detail-aside .cta-contact .btn {
  width: 100%;
  height: 40px;
  background: #fff;
  border-color: #fff;
  color: var(--accent);
  font-size: 15px;
}
.detail-aside .cta-contact .btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

main[data-page="news-detail"] .article-head,
main[data-page="help-detail"] .article-head {
  padding-top: 0;
  text-align: center;
}
main[data-page="news-detail"] .article-head h1,
main[data-page="help-detail"] .article-head h1 {
  max-width: 100%;
  margin: 0 auto;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
}
main[data-page="news-detail"] .article-meta,
main[data-page="help-detail"] .article-meta {
  justify-content: center;
  margin-top: 14px;
  font-size: 15px;
  line-height: 24px;
}
main[data-page="news-detail"] .article-summary {
  max-width: 100%;
  margin: 28px 0 24px;
  font-size: 16px;
  line-height: 1.85;
}
main[data-page="news-detail"] .relate-product {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 100%;
  margin: 0 0 32px;
}
main[data-page="news-detail"] .relate-product img {
  width: 140px;
  height: 92px;
}
main[data-page="news-detail"] .relate-product h2 {
  font-size: 18px;
  line-height: 28px;
}
main[data-page="news-detail"] .rich-text,
main[data-page="help-detail"] .plain-answer {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.85;
}
main[data-page="help-detail"] .plain-answer {
  margin: 28px 0 28px;
  white-space: pre-line;
}

main[data-page="news-list"] [data-block="recent-news"] time,
main[data-page="news-topic"] [data-block="recent-news"] time { display: none; }
main[data-page="news-list"] .side-news-item,
main[data-page="news-list"] .side-link,
main[data-page="news-topic"] .side-link {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main[data-page="news-list"] .side-news-item span,
main[data-page="news-list"] .side-link span,
main[data-page="news-topic"] .side-link span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-map-head {
  background: #eef5fb;
  border-bottom: 0;
}
.help-map-head h2 {
  color: var(--primary);
}
.help-map-head .text-more { color: var(--text-secondary); }
.help-map-head .text-more:hover { color: var(--accent); }
main[data-page="help-list"] .channel-main,
main[data-page="news-list"] .channel-main,
main[data-page="product-list"] .channel-main,
main[data-page="case-list"] .channel-main,
main[data-page="team-list"] .channel-main,
main[data-page="contact"] .channel-main,
main[data-page="about"] .channel-main,
main[data-page="page-tags"] .channel-main {
  padding-bottom: 56px;
}

.contact-layout-v2 {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}

@media (max-width: 1199px) {
  main[data-page="product-detail"] .product-detail-hero,
  main[data-page="case-detail"] .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  main[data-page="product-detail"] .detail-layout,
  main[data-page="case-detail"] .detail-layout,
  main[data-page="team-detail"] .detail-layout,
  main[data-page="news-detail"] .detail-layout,
  main[data-page="help-detail"] .detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 28px;
  }
  .contact-layout-v2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  [data-page="index"] .section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  [data-page="index"] .section-head-main {
    flex: 1 1 auto;
    min-width: 0;
  }
  [data-page="index"] .section-head .text-more {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
  }
  [data-page="index"] .section-head h2 {
    font-size: 22px;
    line-height: 30px;
  }
  [data-page="index"] .section-head-en { display: none; }

  .menu-toggle {
    width: auto;
    height: auto;
    padding: 4px 2px;
    font-size: 28px;
    line-height: 1;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .header-inner { position: relative; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(240px, calc(100vw - 32px));
    margin: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
    z-index: 60;
  }
  .site-nav.is-open { display: flex; }
  .nav-item { height: auto; }
  .nav-item > a {
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
  }
  .nav-item > a:hover {
    color: var(--accent);
    background: #fff6ee;
  }
  .nav-item.is-active > a {
    color: var(--accent);
    background: #fff1e6;
    font-weight: 600;
  }
  .nav-item.is-active > a::after { display: none; }

  .footer-qr {
    width: fit-content;
    max-width: 160px;
    align-self: flex-start;
    padding: 10px;
  }
  .footer-qr img {
    width: 120px;
    height: 120px;
  }

  main[data-page="product-list"] .tab-list,
  main[data-page="case-list"] .tab-list,
  main[data-page="news-list"] .tab-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 20px;
  }
  main[data-page="product-list"] .tab-list::-webkit-scrollbar,
  main[data-page="case-list"] .tab-list::-webkit-scrollbar,
  main[data-page="news-list"] .tab-list::-webkit-scrollbar { display: none; }
  main[data-page="product-list"] .tab,
  main[data-page="case-list"] .tab,
  main[data-page="news-list"] .tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .pagination {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0 0;
    padding-bottom: 0;
  }
  .pagination a,
  .pagination span { flex: 0 0 auto; }

  main[data-page="product-detail"] .product-detail-hero,
  main[data-page="case-detail"] .product-detail-hero,
  main[data-page="product-detail"] .detail-layout,
  main[data-page="case-detail"] .detail-layout,
  main[data-page="team-detail"] .detail-layout,
  main[data-page="news-detail"] .detail-layout,
  main[data-page="help-detail"] .detail-layout,
  .contact-layout-v2 {
    grid-template-columns: 1fr;
  }
  main[data-page="product-detail"] .product-detail-cover,
  main[data-page="case-detail"] .product-detail-cover { height: 220px; }
  main[data-page="product-detail"] .detail-title,
  main[data-page="case-detail"] .detail-title,
  main[data-page="news-detail"] .article-head h1,
  main[data-page="help-detail"] .article-head h1,
  main[data-page="team-detail"] .team-detail-head h1 {
    font-size: 26px;
    line-height: 36px;
  }
  main[data-page="news-detail"] .relate-product {
    grid-template-columns: 1fr;
  }
  .about-richtext img { max-width: 100%; }
  .channel-main { padding-bottom: 48px; }
}

/* ========== 2026-09-09 banner / crumb / detail polish ========== */
.channel-main:has(> .container > .breadcrumb:first-child) { padding-top: 0; }
.channel-main > .container > .breadcrumb:first-child {
  padding: 22px 0 20px;
  font-size: 15px;
}
.detail-container .breadcrumb {
  padding: 24px 0 16px;
  font-size: 15px;
}

main[data-page="news-list"] .tab-list { justify-content: flex-start; }

main[data-page="product-detail"] .product-detail-hero,
main[data-page="case-detail"] .product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  margin: 0 0 0;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
main[data-page="product-detail"] .product-detail-cover,
main[data-page="case-detail"] .product-detail-cover {
  width: 100%;
  max-width: 420px;
  height: 280px;
  margin-left: auto;
  object-fit: cover;
  border-radius: 12px;
}
main[data-page="product-detail"] .detail-layout,
main[data-page="case-detail"] .detail-layout {
  padding-top: 40px;
}

.prev-next,
.prev-next a {
  font-size: 15px;
  line-height: 24px;
}

.detail-aside .side-link,
.detail-aside .side-link span {
  font-size: 15px;
  line-height: 1.5;
}
.detail-aside .tag-list .tag {
  min-height: 30px;
  padding: 0 12px;
  font-size: 15px;
  line-height: 28px;
}
.tags-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #f0c49a;
  border-radius: 8px;
  background: #fff8f1;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: var(--ease);
}
.tags-more-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

.related-in-main {
  margin-top: 40px;
}
.related-in-main-head,
.related-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}
.related-in-main-head h2,
.related-list-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
}
.related-in-main-head .text-more,
.related-list-head .text-more {
  flex-shrink: 0;
  font-size: 15px;
  color: var(--text-primary);
}
.related-in-main-head .text-more:hover,
.related-list-head .text-more:hover {
  color: var(--accent);
  text-decoration: none;
}
.related-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .25s ease;
}
.related-card:hover img { transform: scale(1.04); }
.related-card h3 {
  margin: 0;
  padding: 14px 14px 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.related-card:hover h3 { color: var(--accent); }

.related-list { margin-top: 36px; }
.related-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list li { border-bottom: 0; }
.related-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-list li a::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.related-list li a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-list li a:hover { color: var(--accent); }

@media (max-width: 1199px) {
  main[data-page="product-detail"] .product-detail-hero,
  main[data-page="case-detail"] .product-detail-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
  }
  main[data-page="product-detail"] .product-detail-cover,
  main[data-page="case-detail"] .product-detail-cover {
    max-width: 360px;
    height: 240px;
  }
}

@media (max-width: 767px) {
  .breadcrumb,
  .detail-container .breadcrumb,
  .channel-main > .container > .breadcrumb:first-child { font-size: 15px; }
  main[data-page="product-detail"] .product-detail-hero,
  main[data-page="case-detail"] .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 28px;
  }
  main[data-page="product-detail"] .product-detail-cover,
  main[data-page="case-detail"] .product-detail-cover {
    max-width: 100%;
    height: 200px;
    margin-left: 0;
  }
  .related-card-grid,
  .related-list ul { grid-template-columns: 1fr; }
}

/* ========== 全站自适应收口（放最后，避免被桌面规则盖掉） ========== */
html { overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; }
.container,
.detail-container,
.channel-hero__inner,
.detail-layout,
.news-layout,
.help-layout,
.home-about,
.home-founder-card,
.product-detail-hero,
.topic-intro,
.contact-layout-v2,
.relate-product,
.related-card-grid,
.grid { min-width: 0; }

@media (max-width: 1199px) {
  .container,
  .detail-container { width: calc(100% - 40px); }
  .channel-hero__inner { width: calc(100% - 40px); }
  .site-nav { gap: 16px; }
  .grid-4,
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .related-card-grid { grid-template-columns: repeat(2, 1fr); }
  .help-map-grid { grid-template-columns: 1fr 1fr; }
  .news-row { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .home-founder-card { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .topic-intro { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  main[data-page="product-detail"] .product-detail-hero,
  main[data-page="case-detail"] .product-detail-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
  }
  main[data-page="product-detail"] .product-detail-cover,
  main[data-page="case-detail"] .product-detail-cover {
    max-width: 340px;
    height: 230px;
  }
  .news-layout,
  .help-layout,
  main[data-page="product-detail"] .detail-layout,
  main[data-page="case-detail"] .detail-layout,
  main[data-page="team-detail"] .detail-layout,
  main[data-page="news-detail"] .detail-layout,
  main[data-page="help-detail"] .detail-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 24px;
  }
}

@media (max-width: 992px) {
  .site-header { height: 64px; }
  .header-inner {
    position: relative;
    height: 64px;
  }
  .brand img { height: 40px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-left: auto;
    padding: 4px 2px;
    font-size: 28px;
    line-height: 1;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(240px, calc(100vw - 32px));
    margin: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
    z-index: 60;
  }
  .site-nav.is-open { display: flex; }
  .nav-item { height: auto; }
  .nav-item > a {
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav-item > a:hover {
    color: var(--accent);
    background: #fff6ee;
  }
  .nav-item.is-active > a {
    color: var(--accent);
    background: #fff1e6;
    font-weight: 600;
  }
  .nav-item.is-active > a::after { display: none; }

  .home-about,
  .home-founder-card,
  .news-layout,
  .help-layout,
  .contact-layout,
  .contact-layout-v2,
  .relate-product,
  main[data-page="news-detail"] .relate-product,
  main[data-page="product-detail"] .product-detail-hero,
  main[data-page="case-detail"] .product-detail-hero,
  main[data-page="product-detail"] .detail-layout,
  main[data-page="case-detail"] .detail-layout,
  main[data-page="team-detail"] .detail-layout,
  main[data-page="news-detail"] .detail-layout,
  main[data-page="help-detail"] .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-layout,
  .news-layout,
  .help-layout { display: grid; }
  .detail-aside {
    width: 100%;
    max-width: none;
    margin-top: 8px;
  }
  main[data-page="product-detail"] .product-detail-cover,
  main[data-page="case-detail"] .product-detail-cover {
    max-width: 100%;
    height: 240px;
    margin-left: 0;
  }
  .home-about-photo,
  .home-founder-photo { max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .related-list ul { grid-template-columns: 1fr; }
  .prev-next { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .container,
  .container-read,
  .detail-container,
  .channel-hero__inner { width: calc(100% - 32px); }
  .grid-4,
  .grid-3,
  .grid-2,
  .help-map-grid,
  .related-card-grid,
  .related-news-grid,
  .related-list ul,
  .footer-grid,
  .news-row,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-row { padding: 20px 0; }
  .team-card {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
  }
  .team-card-media { border-radius: 8px; }
  .team-card-name { font-size: 18px; line-height: 26px; }
  .team-card-role { font-size: 13px; line-height: 20px; }
  .team-card-intro {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
  }
  .team-card .card-more { padding-top: 8px; font-size: 14px; }
  .team-detail-hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    column-gap: 14px;
  }
  .team-detail-photo { width: 112px; border-radius: 8px; }
  .team-detail-intro { margin-top: 10px; font-size: 15px; line-height: 1.75; }
  main[data-page="team-detail"] .detail-copy { margin-top: 20px; }
  [data-page="index"] .section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  [data-page="index"] .section-head-en { display: none; }
  [data-page="index"] .section-head h2 {
    font-size: 22px;
    line-height: 30px;
  }
  [data-page="index"] .section-head .text-more {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 14px;
  }
  .home-product-card .card-title,
  .home-news-card .card-title,
  .home-case-body .card-title,
  main[data-page="product-list"] .card-title,
  main[data-page="case-list"] .card-title {
    white-space: nowrap;
  }
  .channel-hero {
    height: 160px;
  }
  .channel-hero__inner h1 { font-size: 24px; line-height: 1.25; color: rgba(255, 255, 255, .88); }
  main[data-page="product-detail"] .detail-title,
  main[data-page="case-detail"] .detail-title,
  main[data-page="news-detail"] .article-head h1,
  main[data-page="help-detail"] .article-head h1,
  main[data-page="team-detail"] .team-detail-head h1,
  .topic-intro h1 {
    font-size: 24px;
    line-height: 34px;
  }
  main[data-page="product-detail"] .product-detail-cover,
  main[data-page="case-detail"] .product-detail-cover {
    height: 200px;
  }
  .about-richtext img,
  .rich-text img,
  .detail-main figure img { max-width: 100%; }
  .prev-next {
    flex-direction: column;
    gap: 10px;
  }
  .prev-next a { font-size: 15px; }
  .related-in-main-head,
  .related-list-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .related-in-main-head h2,
  .related-list-head h2 { font-size: 20px; line-height: 28px; }
  .table-scroll,
  .rich-text .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .footer-qr {
    width: fit-content;
    max-width: 148px;
    justify-self: start;
  }
  .contact-side-panel,
  .message-form-card { padding: 20px; }
  .message-form .btn { width: 100%; }
  .pagination {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  main[data-page="product-list"] .tab-list,
  main[data-page="case-list"] .tab-list,
  main[data-page="news-list"] .tab-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  main[data-page="product-list"] .tab,
  main[data-page="case-list"] .tab,
  main[data-page="news-list"] .tab { flex: 0 0 auto; }
  main[data-page="about"] .channel-hero { background-image: url("../assets/images/Mobile-banner3.jpg"); }
  main[data-page="product-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner4.jpg?v=20260909"); }
  main[data-page="case-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner5.jpg"); }
  main[data-page="team-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner9.jpg"); }
  main[data-page="news-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner6.jpg"); }
  main[data-page="help-list"] .channel-hero { background-image: url("../assets/images/Mobile-banner7.jpg"); }
  main[data-page="contact"] .channel-hero { background-image: url("../assets/images/Mobile-banner8.jpg"); }
  main[data-page="page-tags"] .channel-hero { background-image: url("../assets/images/Mobile-banner3.jpg"); }
}

@media (max-width: 480px) {
  .container,
  .container-read,
  .detail-container,
  .channel-hero__inner { width: calc(100% - 24px); }
  .home-banner-dots { bottom: 10px; }
  .detail-aside .related-block { padding: 16px; }
  .office-card { padding: 18px; }
}

/* ========== 404 ========== */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
  padding: 48px 0 72px;
  background: #fff;
}
.page-404__inner {
  max-width: 760px;
  text-align: center;
}
.page-404 img {
  display: block;
  width: min(680px, 100%);
  height: auto;
  margin: 0 auto 28px;
}
.page-404 h1 {
  color: var(--primary);
  font-size: 28px;
  line-height: 40px;
  font-weight: 700;
}
.page-404 p {
  max-width: 520px;
  margin: 12px auto 28px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 28px;
}
.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
@media (max-width: 767px) {
  .page-404 { min-height: calc(100vh - 280px); padding: 36px 0 56px; }
  .page-404 h1 { font-size: 24px; line-height: 34px; }
  .page-404 p { font-size: 15px; line-height: 26px; }
}

/* ========== 全站悬停补齐 ========== */
.detail-aside .tag-list a.tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tags-page .tag:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.product-detail-tags .tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.page-404 .btn { transition: var(--ease); }
.home-news-card:hover .card-media img,
.home-product-card:hover .card-media img {
  transform: scale(1.04);
}
.side-link {
  transition: color .2s ease;
}
.side-news-item span {
  transition: color .2s ease;
}
.news-item-title,
.related-card h3,
.card-title {
  transition: color .2s ease;
}
.office-card h3 { transition: color .2s ease; }
.office-card:hover h3 { color: var(--accent); }
.help-map-head .text-more .arrow,
.related-in-main-head .text-more .arrow,
.related-list-head .text-more .arrow,
.news-row-foot .text-more .arrow {
  transition: transform .2s ease;
}
.help-map-head .text-more:hover .arrow,
.related-in-main-head .text-more:hover .arrow,
.related-list-head .text-more:hover .arrow,
.news-row:hover .text-more .arrow {
  transform: translateX(3px);
}

main[data-page="news-topic"] .news-layout { padding-top: 32px; }
main[data-page="news-topic"] > .container,
main[data-page="help-category"] > .container { padding-bottom: 56px; }

.detail-aside .side-link {
  transition: color .2s ease, padding-left .2s ease;
}
.detail-aside .side-link:hover {
  color: var(--accent);
  padding-left: 4px;
}
.detail-aside .tag-list a.tag { transition: var(--ease); }
.detail-aside .tag-list a.tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.detail-aside .cta-contact .btn { transition: var(--ease); }

@media (max-width: 767px) {
  .container,
  .container-read,
  .detail-container,
  .channel-hero__inner { width: calc(100% - 40px); }

  .breadcrumb,
  .detail-container .breadcrumb,
  .channel-main > .container > .breadcrumb:first-child {
    padding: 14px 0 8px;
  }

  .pagination {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 28px 0 0;
  }
  .pagination::-webkit-scrollbar { height: 0; display: none; }
  .pagination a,
  .pagination span {
    flex: 0 0 auto;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }

  .channel-main { padding-bottom: 40px; }
  main[data-page="news-topic"] > .container,
  main[data-page="help-category"] > .container { padding-bottom: 40px; }
  main[data-page="product-detail"] .detail-layout,
  main[data-page="case-detail"] .detail-layout,
  main[data-page="team-detail"] .detail-layout,
  main[data-page="news-detail"] .detail-layout,
  main[data-page="help-detail"] .detail-layout { padding-bottom: 40px; }

  [data-page="index"] .home-founder-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  [data-page="index"] .home-founder-copy { display: contents; }
  [data-page="index"] .home-founder-label { order: 1; }
  [data-page="index"] .home-founder-copy h3 { order: 2; }
  [data-page="index"] .home-founder-role { order: 3; }
  [data-page="index"] .home-founder-visual { order: 4; margin: 8px 0 2px; }
  [data-page="index"] .home-founder-intro { order: 5; }
  [data-page="index"] .home-founder-btn { order: 6; align-self: flex-start; margin-top: 10px; }
  [data-page="index"] .home-founder-photo { max-width: 100%; margin: 0; }

  main[data-page="news-topic"] .topic-intro {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-bottom: 20px;
  }
  main[data-page="news-topic"] .topic-intro-media {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }
  main[data-page="news-topic"] .topic-intro h1 {
    font-size: 18px;
    line-height: 26px;
  }
  main[data-page="news-topic"] .topic-intro p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 22px;
  }
  main[data-page="news-topic"] .news-layout { padding-top: 16px; }

  [data-page="index"] .home-about-section { padding: 32px 0 16px; }
  [data-page="index"] .home-founder-section { padding-top: 24px; }
  main[data-page="about"] .channel-main > .container > .breadcrumb:first-child {
    padding-bottom: 4px;
  }
  main[data-page="about"] .about-richtext > h2:first-child { margin-top: 8px; }
  main[data-page="news-list"] .tab-list { margin-bottom: 12px; }
  main[data-page="product-detail"] .related-in-main,
  main[data-page="case-detail"] .related-in-main { margin-top: 24px; }
  main[data-page="news-detail"] .related-list { margin-top: 20px; }
  main[data-page="news-detail"] .prev-next,
  main[data-page="product-detail"] .prev-next,
  main[data-page="case-detail"] .prev-next {
    margin-top: 24px;
    padding-top: 14px;
    padding-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container,
  .container-read,
  .detail-container,
  .channel-hero__inner { width: calc(100% - 40px); }
}

@media (max-width: 767px) {
  main[data-page="news-detail"] .relate-product,
  .relate-product {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    padding: 12px;
    margin-bottom: 24px;
  }
  main[data-page="news-detail"] .relate-product img,
  .relate-product img {
    width: 100px;
    height: 72px;
    grid-row: 1 / span 2;
  }
  main[data-page="news-detail"] .relate-product-copy,
  .relate-product-copy {
    grid-column: 2;
    min-width: 0;
  }
  main[data-page="news-detail"] .relate-product h2,
  .relate-product h2 {
    font-size: 16px;
    line-height: 24px;
  }
  main[data-page="news-detail"] .relate-product p,
  .relate-product p {
    margin-top: 4px;
    font-size: 13px;
    line-height: 20px;
  }
  main[data-page="news-detail"] .relate-product .btn,
  .relate-product .btn {
    grid-column: 2;
    justify-self: start;
    height: 34px;
    min-width: 0;
    padding: 0 14px;
    font-size: 13px;
  }

  main[data-page="news-detail"] .related-list ul {
    gap: 0;
  }
  main[data-page="news-detail"] .related-list li a {
    padding: 6px 0;
    font-size: 15px;
    line-height: 24px;
  }
}

.home-faq-col { counter-reset: faqidx; }
.home-faq-item { counter-increment: faqidx; }
.home-faq-idx:empty::before { content: counter(faqidx, decimal-leading-zero); }
.help-map-card { counter-reset: helpq; }
.help-q { counter-increment: helpq; }
.help-q .idx:empty::before { content: counter(helpq, decimal-leading-zero); }

