:root {
  --primary: #2a4a7c;
  --primary-dark: #1e365e;
  --primary-light: #3e639c;
  --accent: #e68a00;
  --accent-light: #f59e0b;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Header */
.site-header { background: var(--surface); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.top-bar { background: var(--primary-dark); color: rgba(255,255,255,0.85); font-size: 13px; padding: 6px 0; }
.top-bar a { color: rgba(255,255,255,0.85); margin-left: 18px; }
.top-bar a:hover { color: var(--accent-light); }
.top-contacts span { margin-right: 18px; }
.top-contacts span .bi { margin-right: 5px; }

/* 顶部页头背景：淡蓝渐变 + 细网格 + 柔和蓝色光晕 */
.main-header {
  padding: 22px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #f9fcff 0%, #e9f2fc 14%, #d2e1f7 32%, #c1d4ef 45%, #d5e3f7 62%, #e2ecfa 80%, #eaf1fb 100%);
}
.main-header::after {
  content: "";
  position: absolute;
  top: -80%;
  left: 23%;
  width: 30%;
  height: 260%;
  background: radial-gradient(closest-side, rgba(84,128,204,0.45), rgba(84,128,204,0) 100%);
  filter: blur(18px);
  pointer-events: none;
}
.main-header > .container { position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo { height: 64px; width: auto; }
.brand-text h1 { margin: 0; font-size: 24px; color: var(--primary-dark); letter-spacing: 1px; }
.brand-text p { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); text-transform: uppercase; }

.header-phone { text-align: right; }
.header-phone .label { display: block; font-size: 12px; color: var(--text-muted); }
.header-phone strong { display: block; font-size: 20px; color: var(--accent); }

/* Language switch */
.lang-switch { display: flex; justify-content: flex-end; align-items: center; gap: 7px; font-size: 12px; line-height: 1; margin-bottom: 9px; }
.lang-switch a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.lang-switch a:hover { color: var(--primary); }
.lang-switch a.active { color: var(--primary); font-weight: 600; }
.lang-switch .sep { color: #c3cfdd; }

/* 页头右上角标语图：立体翻转效果（参照 nbima.org 的 flip-animation ——
   6 秒一个周期，前 30% 时间绕 Y 轴翻转 360°，其余时间静止）*/
.header-slogan { margin-top: 2px; }
.header-slogan-img {
  display: block;
  margin-left: auto;
  height: 42px;
  width: auto;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: slogan-flip 6s infinite;
  will-change: transform;
}
@keyframes slogan-flip {
  0%   { transform: perspective(400px) rotateY(0deg); }
  30%  { transform: perspective(400px) rotateY(360deg); }
  100% { transform: perspective(400px) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header-slogan-img { animation: none; }
}

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 26px; height: 2px; background: var(--primary); }

/* Nav */
.site-nav { background: var(--primary); }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; width: 100%; }
.nav-menu li { position: relative; flex: 1; text-align: center; }
.nav-menu > li > a { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 14px 10px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.5px; }
.nav-menu > li.active > a, .nav-menu > li > a:hover { background: var(--primary-dark); color: #fff; }
.nav-menu .has-dropdown > a .bi { font-size: 11px; margin-left: 5px; opacity: 0.75; transition: transform 0.2s; }
.has-dropdown:hover > a .bi { transform: rotate(180deg); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--surface); box-shadow: var(--shadow); list-style: none; padding: 8px 0; margin: 0; border-radius: 0 0 var(--radius) var(--radius); }
/* 下拉子项：左侧留白用 calc 跟随面板（=导航列）宽度，使「箭头图形左缘」始终与上方主导航文字左缘
   落在同一条竖线上（主导航为居中排版，其文字左缘 ≈ 列宽/2 - 41px；箭头字形在 15px 图标框内再内缩 4.5px，
   故 padding-left = 列宽/2 - 46px）。改回固定 padding 会让箭头明显偏到导航文字左侧。 */
.dropdown li a { display: flex; align-items: center; gap: 9px; padding: 10px 0 10px calc(50% - 46px); color: var(--text); font-size: 14px; text-align: left; white-space: nowrap; transition: background 0.18s, color 0.18s; }
/* 下拉子项小图标（Bootstrap Icons） */
.dropdown li a .bi { flex: none; width: 15px; font-size: 13px; line-height: 1; text-align: center; color: var(--primary); opacity: 0.72; transition: opacity 0.18s, transform 0.18s; }
.dropdown li a:hover { background: var(--bg); color: var(--primary); }
.dropdown li a:hover .bi { opacity: 1; transform: translateX(2px); }
.has-dropdown:hover .dropdown { display: block; }

/* Hero */
.hero { position: relative; height: 460px; overflow: hidden; }
/* Hero 背景：整块用 abg.jpg（齿轮在左、右侧留深蓝给文字）。按高度等比铺满 = 图片原始尺寸（约 1:1），
   底色与图片底色同为 #103c7b，所以图片右侧留白处与之无缝 */
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.6s;
  background: #103c7b;
}
.hero-slide.active { opacity: 1; }
/* 齿轮图层：单独一层，窄屏时整体左移让出右侧文字区（--hero-shift 由下方断点控制） */
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../images/abg.jpg") left center / auto 100% no-repeat;
  transform: translateX(var(--hero-shift, 0px));
}
/* 右侧压暗，保证文字压在齿轮上时依然清晰 */
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 60, 123, 0) 0%, rgba(16, 60, 123, 0) 36%, rgba(16, 60, 123, 0.55) 50%, rgba(16, 60, 123, 0.88) 64%, #103c7b 80%);
}
/* Hero 文字块：外层 .hero-container 与站点主容器同宽居中，文字块在其中靠右，任何视口下都不会超出内容区 */
.hero-slide > .hero-container { position: relative; z-index: 2; }
.hero-content { color: #fff; max-width: 700px; margin-left: auto; position: relative; text-shadow: 0 2px 12px rgba(8, 22, 46, 0.55); }
.hero-content h2 { font-size: 42px; margin: 0 0 18px; line-height: 1.2; overflow-wrap: break-word; }
.hero-content p { font-size: 18px; margin: 0 0 28px; opacity: 0.92; }
.hero-btns { display: flex; gap: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: var(--radius); font-size: 15px; font-weight: 500; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #cc7a00; color: #fff; }
.btn-accent { background: #fff; color: var(--primary); }
.btn-accent:hover { background: var(--bg); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* Sections */
.section { padding: 60px 0; }
/* 首页横幅 banner（按比例自适应缩放） */
.banner-strip { padding: 0; }
.banner-strip .banner-img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.section-muted { background: #eef1f5; }
.section-header { margin-bottom: 34px; }
.section-header h3 { font-size: 28px; margin: 6px 0 0; color: var(--primary-dark); }
.section-header .subtitle { font-size: 12px; color: var(--accent); letter-spacing: 2px; font-weight: 600; }
.section-header.center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* Quick links */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card { background: var(--surface); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.quick-card h4 { margin: 0 0 8px; font-size: 18px; color: var(--primary-dark); }
.quick-card p { margin: 0; font-size: 13px; color: var(--text-muted); }
.quick-card .qc-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; font-size: 22px; margin-bottom: 14px; box-shadow: 0 4px 12px rgba(42,74,124,0.25); transition: transform 0.2s; }
.quick-card:hover .qc-icon { transform: scale(1.06) rotate(-4deg); }
.quick-card .arrow { position: absolute; top: 22px; right: 22px; color: var(--accent); font-size: 18px; }
.quick-card .arrow .bi { transition: transform 0.2s; }
.quick-card:hover .arrow .bi { transform: translate(3px, -3px); }

/* About preview */
.about-preview { background: var(--surface); }
.about-preview p { color: var(--text-muted); margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--surface); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border-top: 3px solid var(--accent); }
.stat-card > .bi { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 12px; font-size: 24px; color: var(--primary); background: linear-gradient(135deg, rgba(30,64,175,0.10), rgba(30,64,175,0.04)); border-radius: 14px; }
.stat-card strong { display: block; font-size: 32px; color: var(--primary); }
.stat-card span { font-size: 14px; color: var(--text-muted); }

/* Panels */
.panel { background: var(--surface); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--border); padding-bottom: 12px; margin-bottom: 16px; }
.panel-header h3 { margin: 0; font-size: 20px; color: var(--primary-dark); }
.more { font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.more i { font-size: 12px; transition: transform 0.2s; }
.more:hover { color: var(--accent); }
.more:hover i { transform: translateX(3px); }

/* Lists */
.list-stack { display: flex; flex-direction: column; gap: 14px; }
.list-card { display: flex; gap: 16px; padding: 14px; border-radius: var(--radius); position: relative; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.list-card:hover { background: var(--surface); box-shadow: 0 6px 18px rgba(42, 74, 124, 0.10); }
.list-date { flex-shrink: 0; align-self: flex-start; width: 56px; text-align: center; background: var(--primary); color: #fff; border-radius: var(--radius); padding: 8px 0; }
.list-date .day { display: block; font-size: 20px; font-weight: 700; line-height: 1; }
.list-date .month { display: block; font-size: 11px; opacity: 0.9; }
.list-body { flex: 1 1 auto; min-width: 0; }
.list-body h4 { margin: 0 0 4px; font-size: 15px; }
.list-body h4 a { color: var(--text); }
.list-body h4 a:hover { color: var(--primary); }
/* 整块可点击（stretched link）：标题链接的伪元素铺满整张卡片，无需嵌套 <a>、不动 HTML */
.list-body h4 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.list-body .excerpt { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
/* 列表配图：条目有 .list-thumb 才占位，没有则文字自动撑满 */
.list-thumb { flex: 0 0 auto; align-self: center; width: 168px; height: 104px; border-radius: 10px; overflow: hidden; background: var(--bg); }
.list-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.list-card:hover .list-thumb img { transform: scale(1.04); }

/* News */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-grid.wide { grid-template-columns: repeat(2, 1fr); }
.news-card { padding: 16px; border-radius: var(--radius); background: var(--bg); }
.news-card .news-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.news-card .tag { background: var(--accent); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.news-card .date { font-size: 12px; color: var(--text-muted); }
.news-card h4 { margin: 0 0 8px; font-size: 15px; }
.news-card p { margin: 0; font-size: 13px; color: var(--text-muted); }
/* 卡片式新闻配图：加了 .has-thumb 才变横向，无图保持原样 */
.news-card.has-thumb { display: flex; gap: 16px; align-items: center; }
.news-card.has-thumb .news-main { flex: 1 1 auto; min-width: 0; }
.news-thumb { flex: 0 0 auto; width: 152px; height: 95px; border-radius: 8px; overflow: hidden; background: #fff; }
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.04); }

/* Pagination — 列表页分页组件（news/index.asp 动态列表共用） */
.pager {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: 22px 0 6px; padding: 26px 0 0;
  border-top: 1px solid var(--border);
}
.pager-summary { margin: 0; font-size: 13px; color: var(--text-muted); letter-spacing: 0.2px; }
.pager-summary strong { color: var(--primary); font-weight: 700; }
.pager-list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin: 0; padding: 0; list-style: none;
}
.pager-list > li { margin: 0; }
.pager-list > li > a, .pager-list > li > span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--primary); font-size: 14px; font-weight: 600; line-height: 1;
  box-shadow: 0 1px 2px rgba(30, 54, 94, 0.04);
  transition: color 0.22s, background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.pager-list > li > a:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 8px 18px rgba(42, 74, 124, 0.26); transform: translateY(-2px);
}
.pager-nav > a, .pager-nav > span { gap: 6px; padding: 0 16px; }
.pager-nav .bi { font-size: 13px; }
.pager-item.is-active > span {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-color: transparent; color: #fff; cursor: default;
  box-shadow: 0 8px 18px rgba(30, 54, 94, 0.28);
}
.pager-ellipsis > span {
  min-width: 26px; padding: 0; border-color: transparent; background: transparent;
  box-shadow: none; color: var(--text-muted); font-weight: 500; letter-spacing: 1px;
}
.pager-nav.is-disabled > span {
  color: #b6bfcc; background: #f1f4f9; box-shadow: none; cursor: not-allowed;
}
.pager-nav.is-disabled > span .bi { opacity: 0.6; }
@media (max-width: 768px) {
  .pager { gap: 12px; margin: 18px 0 4px; padding-top: 20px; }
  .pager-list { gap: 6px; }
  .pager-list > li > a, .pager-list > li > span { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; border-radius: 6px; }
  .pager-nav > a, .pager-nav > span { padding: 0 12px; gap: 5px; }
  .pager-nav .pager-text { display: none; }
  .pager-summary { font-size: 12px; }
}
@media (max-width: 480px) {
  .pager { gap: 10px; margin: 16px 0 2px; padding-top: 18px; }
  .pager-list { gap: 5px; row-gap: 8px; }
  .pager-list > li > a, .pager-list > li > span { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 6px; }
  .pager-nav > a, .pager-nav > span { padding: 0 9px; }
}
/* /Pagination */

/* Feature + tabs section (replaces old trade alert block on homepage) */
.feature-tabs-section { padding: 60px 0; background: #fff; }
.hero-feature { padding-top: 40px; }
.feature-tabs-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.feature-poster { display: flex; min-height: 400px; min-width: 0; }
.poster-carousel { position: relative; width: 100%; height: 100%; min-height: 400px; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.pc-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-slide { flex: 0 0 100%; scroll-snap-align: start; height: 100%; position: relative; }
.pc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 130px 15px 22px; background: rgba(0,0,0,0.55); color: #fff; font-size: 17px; font-weight: 500; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-prev, .pc-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--primary-dark); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background 0.2s; }
.pc-prev:hover, .pc-next:hover { background: #fff; }
.pc-prev { left: 12px; }
.pc-next { right: 12px; }
.pc-dots { position: absolute; bottom: 20px; right: 22px; display: flex; gap: 9px; z-index: 2; }
.pc-dots button { width: 10px; height: 10px; border: none; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; transition: background 0.2s; }
.pc-dots button.active { background: var(--accent); }

.home-tabs { display: flex; flex-direction: column; min-height: 400px; background: #fff; min-width: 0; }
.lead-news { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 2px 4px 16px; text-decoration: none; min-width: 0; }
.lead-news .lead-tag { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 4px; background: var(--accent); color: #fff; margin-bottom: 0; flex-shrink: 0; }
.lead-news h4 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--primary-dark); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 0; min-width: 0; }
.lead-news:hover h4 { color: var(--accent); }
.lead-news p { flex: 0 0 100%; margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tab-header { display: flex; gap: 30px; padding: 0 4px; border-bottom: 1px solid var(--border); }
.tab-btn { position: relative; padding: 12px 2px; border: none; background: transparent; font-size: 16px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { color: var(--accent); font-weight: 600; background: transparent; }
.tab-btn.active::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); }
.tab-body { flex: 1; padding: 12px 4px 0; background: #fff; display: flex; flex-direction: column; }
.tab-panel { display: none; width: 100%; }
.tab-panel.active { display: flex; flex-direction: column; }
.tab-list { list-style: none; padding: 0; margin: 0; }
.tab-list li { border-bottom: 1px dashed var(--border); }
.tab-list li:last-child { border-bottom: none; }
.tab-list li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; color: var(--text); text-decoration: none; transition: color 0.2s; }
.tab-list li a:hover { color: var(--primary); }
.tab-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.tab-title .bi { color: var(--accent); font-size: 11px; margin-right: 7px; vertical-align: middle; transition: transform 0.2s; }
.tab-list li a:hover .tab-title .bi { transform: translateX(2px); }
.tab-date { flex-shrink: 0; font-size: 13px; color: var(--text-muted); }
.tab-more { display: inline-flex; align-items: center; gap: 5px; align-self: flex-end; margin-top: 14px; font-size: 14px; color: var(--primary); font-weight: 500; text-decoration: none; }
.tab-more i { font-size: 13px; transition: transform 0.2s; }
.tab-more:hover { color: var(--primary-dark); }
.tab-more:hover i { transform: translateX(3px); }
.level-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.level-high .level-tag { background: #dc2626; }
.level-medium .level-tag { background: var(--accent); }
.center-btn { text-align: center; margin-top: 10px; }

/* Member preview */
.member-preview { list-style: none; padding: 0; margin: 0; }
.member-preview li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.member-preview li:last-child { border-bottom: none; }
.member-preview .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.panel-desc { color: var(--text-muted); margin-bottom: 18px; }

/* Jobs */
.job-stack { display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin: 0 auto; }
.job-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.job-item h4 { margin: 0 0 4px; }
.job-item p { margin: 0; font-size: 13px; color: var(--text-muted); }
.job-item .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-item .tags span { font-size: 12px; color: var(--text-muted); background: var(--bg); padding: 2px 8px; border-radius: 4px; }
.job-item .salary { color: var(--accent); font-size: 18px; white-space: nowrap; }

/* Contact preview */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 8px 0; color: var(--text-muted); display: flex; align-items: flex-start; gap: 10px; }
.contact-list li .bi { color: var(--primary); font-size: 17px; flex-shrink: 0; margin-top: 3px; }
.contact-list span { display: inline-block; color: var(--text); font-weight: 500; width: 56px; flex-shrink: 0; }
.contact-list.large li { font-size: 16px; padding: 10px 0; }
.contact-qr { text-align: center; }
.contact-qr img { width: 160px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-qr p { margin: 12px 0 0; color: var(--text-muted); font-size: 14px; }
.inline-qr { width: 100px; vertical-align: middle; margin-left: 10px; border-radius: var(--radius); }

/* Page hero —— 分层渐变 + 斜纹肌理 + 齿轮水印 + 底部暖色饰线（取代原来的单色平铺，避免过于素淡） */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
  background-color: #1b3358;
  background-image:
    radial-gradient(115% 150% at 6% -12%, rgba(108, 157, 220, 0.50) 0%, rgba(108, 157, 220, 0) 58%),
    radial-gradient(85% 125% at 94% 116%, rgba(126, 172, 230, 0.30) 0%, rgba(126, 172, 230, 0) 62%),
    radial-gradient(70% 120% at 50% 132%, rgba(14, 33, 63, 0.72) 0%, rgba(14, 33, 63, 0) 72%),
    linear-gradient(115deg, #132a4e 0%, #1e365e 26%, #29497d 56%, #31588c 78%, #22406b 100%);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.10);
}
/* 装饰层：齿轮水印（右下，被裁切）+ 两档 115° 斜纹（工业质感）+ 顶部渐隐高光 */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='72' fill='none' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='16' stroke-dasharray='11 9'/%3E%3Ccircle cx='100' cy='100' r='44' fill='none' stroke='%23ffffff' stroke-opacity='0.075' stroke-width='12'/%3E%3C/svg%3E"),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.055) 0 1px, rgba(255, 255, 255, 0) 1px 15px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 2px, rgba(255, 255, 255, 0) 2px 56px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 42%);
  background-size: 480px 480px, auto, auto, auto;
  background-position: calc(100% + 148px) calc(100% + 158px), 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
}
/* 底部暖色装饰线（两侧渐隐） */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(230, 138, 0, 0) 0%, rgba(230, 138, 0, 0.9) 50%, rgba(230, 138, 0, 0) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h2 { margin: 0; font-size: 34px; letter-spacing: 3px; text-shadow: 0 2px 16px rgba(9, 24, 48, 0.55); }
.page-hero p { display: inline-flex; align-items: center; gap: 14px; margin: 12px 0 0; font-size: 13px; letter-spacing: 3px; color: rgba(255, 255, 255, 0.78); }
.page-hero p::before, .page-hero p::after { content: ""; flex: none; width: 42px; height: 1px; }
.page-hero p::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.62) 100%); }
.page-hero p::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 100%); }
/* 注：原 .page-hero-banner（about.html 纯图片 banner）已于 2026-10-09 取消，
   全站页头统一走上面的 .page-hero 分层渐变样式。 */

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: ">"; margin-left: 8px; color: var(--text-muted); }

/* Page layout */
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 40px 0; }
.page-layout.single-column { grid-template-columns: 1fr; }
.page-sidebar { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; align-self: start; }
.page-sidebar h3 { margin: 0; padding: 18px 20px; background: var(--primary); color: #fff; font-size: 17px; }
.page-sidebar ul { list-style: none; padding: 0; margin: 0; }
.page-sidebar li a { display: block; padding: 14px 20px; color: var(--text); border-bottom: 1px solid var(--border); }
.page-sidebar li a .bi { margin-right: 10px; color: var(--primary); font-size: 15px; transition: color 0.2s; }
.page-sidebar li a:hover .bi { color: var(--accent); }
.page-sidebar h3 .bi { margin-right: 8px; }
.page-sidebar li a:hover { background: var(--bg); color: var(--primary); }
.page-sidebar li.active a { border-left: 4px solid var(--accent); background: var(--bg); color: var(--primary); font-weight: 500; }
.page-content { background: var(--surface); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 400px; min-width: 0; }
.page-content h4 { color: var(--primary-dark); margin: 24px 0 12px; font-size: 18px; }
.page-content h4 .bi { color: var(--accent); margin-right: 8px; }

/* 协会简介 / 章程正文 */
.about-doc h4 { margin-top: 26px; }
.charter-title { text-align: center; font-size: 22px; margin: 4px 0 22px; }
.charter-chapter { margin-bottom: 26px; }
.charter-chapter > h4 { padding: 10px 16px; margin: 0 0 14px; background: linear-gradient(90deg, rgba(30,64,175,0.08), rgba(30,64,175,0)); border-left: 4px solid var(--primary); border-radius: 0 6px 6px 0; font-size: 18px; }
.charter-chapter p { margin: 0 0 12px; line-height: 1.5; text-align: justify; color: var(--text); }
.charter-chapter p strong { color: var(--primary-dark); margin-right: 6px; }
.charter-item { margin-left: 34px; }
.charter-item span { color: var(--accent); font-weight: 500;  }
.charter-article > p { margin-bottom: 4px; }
.list-card h4 a .bi { margin-right: 6px; color: var(--primary); }
.news-card h4 a .bi { margin-right: 6px; color: var(--primary); }
.news-card .date .bi, .news-card .tag .bi { margin-right: 4px; }
.warning-item .level-tag .bi { margin-right: 4px; font-size: 12px; }
.warning-item .date .bi { margin-right: 4px; }
.job-item h4 .bi { color: var(--primary); margin-right: 6px; }
.job-item .salary .bi { font-size: 15px; margin-right: 4px; }
.page-content p { color: var(--text-muted); margin: 0 0 10px; }
.page-content ul { color: var(--text-muted); padding-left: 22px; margin: 0 0 18px; }
.page-content li { margin-bottom: 8px; }

/* Forms */
.join-form label { display: block; margin-bottom: 18px; color: var(--text); font-size: 14px; font-weight: 500; }
.join-form label em { color: #dc2626; margin-left: 4px; }
.join-form input, .join-form select, .join-form textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: inherit;
}
.join-form input:focus, .join-form select:focus, .join-form textarea:focus { outline: none; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; gap: 14px; margin-top: 8px; }

/* Honor grid */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.honor-card { background: var(--bg); padding: 22px; border-radius: var(--radius); text-align: center; border-top: 3px solid var(--accent); }
.honor-year { display: inline-block; background: var(--primary); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 12px; margin-bottom: 10px; }
.honor-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.honor-card p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-info-box { background: var(--bg); padding: 24px; border-radius: var(--radius); }
.contact-info-box h4 { margin: 0 0 16px; color: var(--primary-dark); }
.social-links { display: flex; align-items: center; margin-top: 16px; color: var(--text-muted); }
.map-placeholder { height: 320px; background: #e2e8f0; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.map-iframe { width: 100%; height: 440px; border: 0; display: block; border-radius: var(--radius); }

/* Experts */
/* 名片式：左侧色条 + 头像/姓名职务一组 + 虚线分隔的信息行 + 右下角动作按钮 */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.expert-card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid transparent; border-radius: var(--radius); padding: 20px 20px 18px 24px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s; }
.expert-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--primary), var(--primary-light)); transition: width 0.25s; }
.expert-card:hover { transform: translateY(-4px); background: var(--surface); border-color: var(--border); box-shadow: 0 10px 26px rgba(42,74,124,0.14); }
.expert-card:hover::before { width: 5px; }

.expert-head { display: flex; align-items: center; gap: 13px; }
.expert-avatar { flex: none; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 12px rgba(42,74,124,0.24); }
.expert-id { min-width: 0; }
.expert-card h4 { margin: 0 0 3px; font-size: 17px; letter-spacing: 0.5px; color: var(--text); }
.expert-title { display: flex; align-items: center; margin: 0; font-size: 13px; color: var(--accent); font-weight: 500; }
.expert-title .bi { margin-right: 5px; }

.expert-meta { margin-top: 14px; margin-bottom: 16px; padding-top: 13px; border-top: 1px dashed var(--border); display: flex; flex-direction: column; gap: 7px; }
.expert-field, .expert-org { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.expert-field .bi, .expert-org .bi { flex: none; width: 15px; height: 20px; line-height: 20px; text-align: center; margin: 0; font-size: 14px; color: var(--primary); }

.expert-btn { align-self: flex-end; margin-top: auto; }

/* Members */
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 20px 0; }
.member-card { background: var(--bg); padding: 22px; border-radius: var(--radius); border-left: 4px solid var(--primary); }
.member-card h4 { margin: 0 0 8px; color: var(--primary-dark); }
.member-card .mc-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; font-size: 20px; margin-bottom: 10px; box-shadow: 0 4px 10px rgba(42,74,124,0.2); }
/* 卡片数为奇数时，末位卡片通栏铺满最后一行，避免右侧留空（目前仅 organization.html 的「秘书处」使用） */
.member-grid .member-card.is-wide { grid-column: 1 / -1; }
.member-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.member-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 32px; border-radius: var(--radius); text-align: center; }
.member-cta h4 { color: #fff; margin: 0 0 8px; }
.member-cta p { color: rgba(255,255,255,0.85); margin: 0 0 18px; }

/* 会员单位 · 筛选条件 + 名录卡片（members/） */
.member-filter { border: 1px solid var(--border); border-radius: var(--radius); padding: 2px 22px; margin: 20px 0 26px; background: var(--surface); }
.filter-row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.filter-row:last-child { border-bottom: 0; }
.filter-label { flex: none; width: 76px; padding: 6px 0; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0.3px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.filter-chip { border: 0; background: transparent; color: var(--text); font-family: inherit; font-size: 14px; line-height: 1.4; padding: 6px 14px; border-radius: 6px; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.filter-chip:hover { background: rgba(42,74,124,0.07); color: var(--primary); }
.filter-chip.active { background: var(--primary); color: #fff; box-shadow: 0 3px 10px rgba(42,74,124,0.28); }
.filter-chip.active:hover { background: var(--primary-dark); color: #fff; }
.filter-chip .chip-count { margin-left: 1px; font-size: 12px; opacity: 0.85; }

.member-dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 30px; }
.member-dir-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 22px 20px 20px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.member-dir-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 12px 28px rgba(42,74,124,0.14); }
.mdc-logo { height: 116px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.mdc-logo img { max-width: 100%; max-height: 96px; object-fit: contain; }
.mdc-logo.is-ph { margin-left: auto; margin-right: auto; width: 150px; border-radius: 8px; background: linear-gradient(135deg, #eef3fb, #e2ecfa); font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--primary); }
.mdc-name { margin: 0 0 10px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--primary-dark); }
.mdc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.mdc-tag { font-size: 12px; line-height: 1.6; color: var(--primary); background: rgba(42,74,124,0.08); border: 1px solid rgba(42,74,124,0.22); border-radius: 4px; padding: 1px 8px; }
.mdc-desc { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 992px) { .member-dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .member-filter { padding: 2px 16px; }
  .filter-row { flex-direction: column; gap: 6px; padding: 12px 0; }
  .filter-label { width: auto; padding: 0; }
  .filter-chip { font-size: 13px; padding: 5px 11px; }
  .member-dir-grid { grid-template-columns: 1fr; gap: 16px; }
  .mdc-logo { height: 96px; }
  .mdc-logo img { max-height: 78px; }
}

/* 组织架构 · 理事会成员名单表格 */
.org-table-wrap { margin: 18px 0 4px; overflow-x: auto; }
.org-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.org-table thead th { padding: 13px 18px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; font-weight: 600; letter-spacing: 1px; text-align: left; white-space: nowrap; }
.org-table tbody td { padding: 12px 18px; border-top: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.org-table tbody tr:first-child td { border-top: none; }
.org-table tbody tr:nth-child(even) td { background: #f7f9fc; }
.org-table tbody tr:hover td { background: rgba(62, 99, 156, 0.07); }
.org-table .col-person { width: 160px; font-weight: 600; color: var(--primary); }
.org-table.is-chair thead th { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); }
.org-table.is-overseer thead th { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }

/* Member logo grid */
.member-logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member-logo-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; justify-content: center; height: 92px; transition: transform .25s, box-shadow .25s; }
.member-logo-item:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(42,74,124,.14); }
.member-logo-item img { max-width: 100%; max-height: 68px; object-fit: contain; }
.member-logo-item a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.member-logo-grid + .center-btn { margin-top: 28px; }


/* Member detail page */
.mdc-link { display: block; color: inherit; text-decoration: none; }
.member-dir-card .mdc-link:hover h4 { color: var(--primary); }
.member-detail-head { display: flex; align-items: center; gap: 26px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.member-detail-head .md-logo { width: 116px; height: 116px; flex: 0 0 116px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 10px; }
.member-detail-head .md-logo img { max-width: 100%; max-height: 96px; object-fit: contain; }
.member-detail-head .md-logo.is-ph { font-size: 26px; font-weight: 600; color: var(--primary); }
.member-detail-head h3 { margin: 0 0 12px; font-size: 24px; color: var(--primary-dark); }
.member-detail-head .md-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.member-detail-head .md-tag { display: inline-block; padding: 5px 15px; border-radius: 20px; background: rgba(62,99,156,.1); color: var(--primary); font-size: 13px; }
.member-detail-section { margin-bottom: 24px; }
.member-detail-section:last-child { margin-bottom: 0; }

/* 企业简介正文（数据库输出）：防止 nowrap / 超长串 / 宽图 / 宽表导致横向溢出 */
.member-bio { overflow-wrap: anywhere; word-break: break-word; }
.member-bio, .member-bio * { white-space: normal !important; }
.member-bio > * { max-width: 100% !important; }
.member-bio img { max-width: 100% !important; height: auto !important; }
.member-bio video, .member-bio iframe { max-width: 100% !important; }
.member-bio table { width: 100% !important; table-layout: fixed !important; }
.member-bio td, .member-bio th { word-break: break-word; }
.md-back { display: inline-flex; gap: 6px; margin-bottom: 20px; color: var(--primary); text-decoration: none; font-size: 14px; }
.md-back:hover { color: var(--accent); }
/* Alert tip */
.alert-tip { background: #fff7ed; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 22px; color: var(--text-muted); font-size: 14px; }
.alert-tip strong { color: var(--accent); }
.alert-tip .bi { color: var(--accent); margin-right: 8px; font-size: 17px; vertical-align: -2px; }

/* Article detail */
.article-detail h1 { font-size: 24px; color: var(--primary-dark); margin: 0 0 12px; }
.article-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-body p { color: var(--text); }
.article-body h4 { color: var(--primary-dark); margin: 20px 0 10px; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-badges { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.badge-item { text-align: center; color: rgba(255,255,255,0.75); text-decoration: none; flex: 1 1 100px; min-width: 90px; transition: color 0.2s; }
.badge-item:hover { color: #fff; }
.badge-icon { width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 13px; color: #fff; line-height: 1.1; font-weight: 500; }
.badge-item:hover .badge-icon { border-color: var(--accent-light); color: var(--accent-light); }
.badge-item span { font-size: 13px; display: block; }
.footer-main { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 44px 0; }
.footer-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
/* English footer: layout C — association info + quick links + QR (3 columns) */
.footer--en .footer-en-main { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px; align-items: start; padding: 44px 0; }
.footer--en .footer-en-main > *:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 44px; }
.footer--en .footer-info .footer-brand { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.footer--en .footer-info .footer-intro { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.7); margin: 0 0 16px; max-width: 430px; }
.footer--en .footer-info .footer-hotline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer--en .footer-info .footer-hotline .bi { font-size: 20px; color: var(--accent-light); }
.footer--en .footer-info .footer-hotline strong { color: var(--accent-light); font-size: 16px; }
.footer--en .footer-qr { margin: 0; }
@media (max-width: 768px) {
  .footer--en .footer-en-main { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; }
  .footer--en .footer-en-main > *:not(:first-child) { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
}
.footer-col h4 { color: #fff; margin: 0 0 18px; font-size: 15px; font-weight: 600; }
.footer-col h4 .bi { margin-right: 6px; color: var(--accent-light); font-size: 15px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-contact { padding-left: 40px; border-left: 1px solid rgba(255,255,255,0.1); }
.footer-phone { margin-bottom: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-phone .bi { font-size: 22px; color: var(--accent-light); margin-right: 0; vertical-align: middle; }
.footer-phone span { display: inline; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 0; }
.footer-phone strong { display: inline; font-size: 26px; color: #fff; font-weight: 600; letter-spacing: 1px; }
.footer-qr span { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.footer-qr img { width: 120px; border-radius: var(--radius); background: #fff; padding: 4px; }
.footer-qr p { margin: 10px 0 0; font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-bottom { background: rgba(0,0,0,0.25); padding: 16px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-light); }

/* Friendly links */
.friendly-links { background: #f1f4f8; padding: 44px 0; }
.friendly-links .container { display: flex; align-items: center; gap: 32px; }
.friendly-links h3 { margin: 0; font-size: 22px; color: var(--text); white-space: nowrap; font-weight: 600; }
.fl-wrap { position: relative; flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.fl-track { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px; scrollbar-width: none; -ms-overflow-style: none; }
.fl-track::-webkit-scrollbar { display: none; }
.fl-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 12px 22px; background: #fff; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.fl-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.fl-logo-img { height: 46px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.fl-prev, .fl-next { width: 38px; height: 38px; border: none; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; display: grid; place-items: center; font-size: 24px; line-height: 1; color: var(--text); flex-shrink: 0; transition: background 0.2s, color 0.2s; }
.fl-prev:hover, .fl-next:hover { background: var(--primary); color: #fff; }

/* Responsive */
/* Hero 齿轮让位：文字块左缘 = 视口宽/2 - 100，齿轮右缘固定在 906px，
   所以视口越窄越需要把齿轮图层整体左移，避免压住文字（断点已按实测留 ≥30px 间隙） */
@media (max-width: 2099px) { .hero-slide::after { --hero-shift: -90px; } }
@media (max-width: 1899px) { .hero-slide::after { --hero-shift: -160px; } }
@media (max-width: 1699px) { .hero-slide::after { --hero-shift: -230px; } }
@media (max-width: 1499px) { .hero-slide::after { --hero-shift: -340px; } }

/* 视口小于 1280 时文字居中，齿轮归位并叠一层深色遮罩，避免压字看不清 */
@media (max-width: 1279px) {
  .hero-slide::after { --hero-shift: 0px; }
  .hero-slide::before { background: rgba(16, 60, 123, 0.62); }
  .hero-content { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-btns { justify-content: center; }
}

/* 一级导航共 8 项（2026-10-09 新增「外贸预警」），窄桌面下等分后的列宽不足以容纳
   「4 字栏目名 + 下拉箭头」，会把文字挤成两行、导航条变高，故此处逐级收字号/内边距。 */
@media (max-width: 1100px) {
  .nav-menu > li > a { font-size: 14px; padding: 14px 6px; gap: 4px; letter-spacing: 0.2px; }
  .nav-menu .has-dropdown > a .bi { font-size: 10px; margin-left: 3px; }
  /* 字号变小 → 主导航文字左缘 ≈ 列宽/2 − 37px，箭头再内缩 4.5px */
  .dropdown li a { padding: 10px 0 10px calc(50% - 41px); }
}
@media (max-width: 900px) {
  .nav-menu > li > a { font-size: 13px; padding: 14px 4px; gap: 3px; letter-spacing: 0; }
  .nav-menu .has-dropdown > a .bi { font-size: 9px; margin-left: 2px; }
  /* 字号 13px → 主导航文字左缘 ≈ 列宽/2 − 34px */
  .dropdown li a { padding: 10px 0 10px calc(50% - 39px); }
  .dropdown li a { font-size: 13px; }
}

@media (max-width: 992px) {
  .grid-2, .page-layout, .contact-grid, .feature-tabs-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid, .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: 1fr; }
  .member-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-contact { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; gap: 40px; align-items: flex-start; }
  .friendly-links .container { flex-direction: column; align-items: stretch; gap: 20px; }
  .friendly-links h3 { text-align: center; }
  .feature-poster { min-height: auto; }
  .poster-carousel { height: auto; min-height: 0; }
  .pc-track { height: auto; }
  .pc-slide { height: auto; aspect-ratio: 16 / 9; }
  .home-tabs { min-height: auto; }
  .tab-header { gap: 20px; }
  .header-slogan-img { height: 34px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .brand-text h1 { font-size: 18px; }
  .header-slogan { display: none; }
  .header-phone { display: block; position: absolute; top: 34px; right: 62px; z-index: 5; }
  .lang-switch { margin-bottom: 0; }
  .mobile-menu-toggle { display: flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-menu { flex-direction: column; }
  .nav-menu > li > a { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .dropdown { position: static; display: none; box-shadow: none; background: var(--primary-light); }
  .has-dropdown.open .dropdown { display: block; }
  /* 移动端下拉项：底色为深一层的蓝，文字与图标改为浅色才看得清（左侧留白沿用上面的百分比规则，
     这样箭头同样对齐到展开菜单里的栏目文字左缘） */
  .dropdown li a { color: #fff; }
  .dropdown li a .bi { color: rgba(255,255,255,0.85); opacity: 1; }
  .dropdown li a:hover, .dropdown li a:active { background: rgba(255,255,255,0.14); color: #fff; }
  .hero { height: 380px; }
  .hero-content h2 { font-size: 28px; }
  .hero-content p { font-size: 16px; }
  /* 子页 hero：收紧留白，齿轮水印缩小并多裁掉一些，避免压到标题 */
  .page-hero { padding: 44px 0 38px; }
  .page-hero::before { background-size: 300px 300px, auto, auto, auto; background-position: calc(100% + 118px) calc(100% + 126px), 0 0, 0 0, 0 0; }
  .page-hero h2 { font-size: 27px; letter-spacing: 2px; }
  .page-hero p { font-size: 12px; letter-spacing: 2px; gap: 10px; }
  .page-hero p::before, .page-hero p::after { width: 28px; }
  .quick-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .news-grid, .news-grid.wide { grid-template-columns: 1fr; }
  .job-item { flex-direction: column; align-items: flex-start; }
  .warning-item { flex-direction: column; }
  .warning-item .date { margin-left: 0; }
  .honor-grid, .expert-grid { grid-template-columns: 1fr; }
  .member-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .org-table { font-size: 13px; }
  .org-table thead th, .org-table tbody td { padding: 10px 12px; }
  .org-table .col-person { width: auto; }
  .list-card { gap: 12px; padding: 12px; }
  .list-thumb { width: 118px; height: 74px; border-radius: 8px; }
  .news-thumb { width: 112px; height: 70px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-contact { flex-direction: column; gap: 24px; }
  .footer-badges { justify-content: center; gap: 20px; }
  .footer-phone strong { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .member-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .list-thumb { width: 88px; height: 56px; border-radius: 7px; }
  .news-thumb { width: 84px; height: 54px; }
  .member-logo-item { height: 90px; padding: 10px; }
  .member-logo-item img { max-height: 64px; }
  .footer-badges { gap: 16px; }
  .badge-icon { width: 48px; height: 48px; font-size: 11px; }
  .fl-item { min-width: 180px; padding: 10px 14px; }
  .fl-logo { width: 40px; height: 40px; font-size: 12px; }
  .fl-name { font-size: 14px; }
  .fl-prev, .fl-next { width: 32px; height: 32px; font-size: 20px; }
  .hero { height: 340px; }
  .hero-content h2 { font-size: 22px; margin-bottom: 12px; }
  .hero-content p { font-size: 15px; margin-bottom: 20px; }
  .hero-btns { flex-wrap: wrap; gap: 12px; }
}

/* 视口宽度 < 1024px：隐藏页脚「栏目导航」与「友情链接」区块，页脚只保留联系方式 + 备案信息 */
@media (max-width: 1023px) {
  .friendly-links { display: none; }
  .footer-links { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 0; padding: 36px 0; }
  .footer-contact { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; padding-left: 0; padding-top: 0; border-left: none; border-top: none; }
}
