/*
Theme Name: 四川省涂料工业协会官网
Theme URI: https://www.scta.org.cn
Author: SCTA Web Team
Author URI: https://www.scta.org.cn
Description: 四川省涂料工业协会官方网站主题，专为行业协会门户设计
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scta-theme
Tags: industry, association, portal, chinese
*/

/* ============================================================
   全局重置与基础样式
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a3c6e;       /* 深蓝主色 */
  --color-primary-dark: #122a50;
  --color-primary-light: #2456a0;
  --color-accent: #e85c16;        /* 橙色强调 */
  --color-accent-hover: #c94e10;
  --color-green: #2e8b57;         /* 绿色（环保） */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-border: #e0e0e0;
  --color-red: #cc2200;           /* 党建红 */
  --font-main: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  --shadow-sm: 0 2px 6px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --radius: 4px;
  --container-width: 1200px;
  --transition: .2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
/* 导航栏内链接不受全局a颜色影响 */
.main-nav a { color: rgba(255,255,255,.9); }
.main-nav a:hover { color: #fff; }
.main-nav .sub-menu a { color: var(--color-text); }
.main-nav .sub-menu a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-main); }

/* ============================================================
   布局容器
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-8 { flex: 0 0 calc(66.666% - 12px); max-width: calc(66.666% - 12px); }
.col-4 { flex: 0 0 calc(33.333% - 12px); max-width: calc(33.333% - 12px); }
.col-6 { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
.col-3 { flex: 0 0 calc(25% - 18px); max-width: calc(25% - 18px); }

/* ============================================================
   顶部工具栏
   ============================================================ */
.top-bar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar a { color: rgba(255,255,255,.75); font-size: 13px; }
.top-bar a:hover { color: #fff; }
.top-bar .divider { color: rgba(255,255,255,.3); }

/* ============================================================
   头部 Header
   ============================================================ */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.site-logo { display: flex; align-items: center; gap: 14px; }
.site-logo img { height: 56px; width: auto; }
.logo-text { border-left: 0px solid var(--color-accent); padding-left: 14px; }
.logo-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}
.logo-text p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
  letter-spacing: 1px;
}
.header-search { display: flex; gap: 10px; align-items: center; }
.header-search input {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 7px 16px;
  width: 220px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.header-search input:focus { border-color: var(--color-primary); }
.header-search button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--color-primary-light); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.main-nav.is-open + * { scroll-margin-top: 80px; }

/* ============================================================
   导航栏 Navigation
   ============================================================ */
.main-nav {
  background: var(--color-primary);
}
.nav-list {
  display: flex;
  align-items: stretch;
}
.nav-item,
.nav-list > li { position: relative; }
.nav-item > a,
.nav-list > li > a {
  display: block;
  color: rgba(255,255,255,.9) !important;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-list > li > a:hover,
.nav-item.current-menu-item > a,
.nav-list > li.current-menu-item > a,
.nav-item.current-menu-ancestor > a,
.nav-list > li.current-menu-ancestor > a {
  background: var(--color-accent);
  color: #fff !important;
}
/* 下拉菜单 */
.nav-item:hover .sub-menu,
.nav-list > li:hover .sub-menu { display: block; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--color-accent);
  z-index: 999;
}
.sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), color var(--transition);
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--color-bg); color: var(--color-accent); }



/* ============================================================
   轮播 Banner
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--color-primary-dark);
}
.slider-track { display: flex; transition: transform .5s ease; }
.slide {
  min-width: 100%;
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
}
/* 使用真实背景图的幻灯片 */
.slide.slide-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* 图片上叠加深色蒙层，保证文字清晰 */
.slide.slide-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,25,47,.72) 0%, rgba(10,25,47,.45) 60%, rgba(10,25,47,.15) 100%);
  z-index: 1;
}
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 60px;
  max-width: 640px;
}
.slide-tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.slide-content h2 { font-size: 28px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.slide-content p { font-size: 15px; opacity: .85; margin-bottom: 20px; }
.slide-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: background var(--transition);
}
.slide-btn:hover { background: var(--color-accent-hover); color: #fff; }
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slider-dot {
  width: 28px; height: 4px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition);
}
.slider-dot.active { background: var(--color-accent); }
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-prev:hover, .slider-next:hover { background: var(--color-accent); }

/* ============================================================
   快速入口导航
   ============================================================ */
.quick-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.quick-nav-list {
  display: flex;
  justify-content: space-around;
}
.quick-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  color: var(--color-text);
  font-size: 13px;
  transition: color var(--transition);
  border-bottom: 3px solid transparent;
}
.quick-nav-item a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.quick-nav-item .icon {
  width: 32px; height: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.quick-nav-item a:hover .icon { background: var(--color-accent); }

/* ============================================================
   首页内容区域通用
   ============================================================ */
.home-section { padding: 36px 0; }
.home-section + .home-section { border-top: 1px solid var(--color-border); }

/* 首页首屏：产业动态与文件公告等高 */
.news-notice-row {
  align-items: stretch;
}
.news-notice-row > .news-col,
.news-notice-row > .notice-col {
  display: flex;
  flex-direction: column;
}
.news-notice-row .notice-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-notice-row .notice-content {
  flex: 1;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--color-accent);
  border-radius: 2px;
}
.section-tabs {
  display: flex;
  gap: 0;
}
.section-tab {
  padding: 5px 14px;
  font-size: 13px;
  color: var(--color-text-light);
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-right: none;
  background: #fff;
  transition: all var(--transition);
}
.section-tab:last-child { border-right: 1px solid var(--color-border); }
.section-tab.active,
.section-tab:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Tab 面板：默认隐藏，仅 .active 显示 */
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.more-link {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.more-link:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============================================================
   新闻列表
   ============================================================ */
.news-featured {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.news-featured-img {
  flex: 0 0 260px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-featured-img:hover img { transform: scale(1.05); }
.news-featured-body { flex: 1; }
.news-featured-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--color-text);
}
.news-featured-title a:hover { color: var(--color-accent); }
.news-featured-meta { font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; }
.news-featured-excerpt { font-size: 14px; color: var(--color-text-light); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.news-list { }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 14px;
}
.news-item:last-child { border-bottom: none; }
.news-item::before {
  content: '·';
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1;
}
.news-item a {
  flex: 1;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item a:hover { color: var(--color-accent); }
.news-item .date {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.news-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ============================================================
   公告模块
   ============================================================ */
.notice-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.notice-tabs {
  display: flex;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.notice-tab {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  font-size: 13px;
  cursor: pointer;
  border-right: 1px solid var(--color-border);
  color: var(--color-text-light);
  transition: all var(--transition);
}
.notice-tab:last-child { border-right: none; }
.notice-tab.active { background: var(--color-primary); color: #fff; }
.notice-content { padding: 12px 16px; }
.notice-list li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li::before { content: '▶'; font-size: 8px; color: var(--color-accent); }
.notice-list a { color: var(--color-text); display: block; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-list a:hover { color: var(--color-accent); }
.notice-date { font-size: 12px; color: var(--color-text-muted); white-space: nowrap; }

/* ============================================================
   数据统计展示
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 36px 0;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.15);
  transition: background var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.2); }
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}
.stat-unit { font-size: 16px; font-weight: 400; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 6px; }
.stat-desc { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ============================================================
   会员企业展示
   ============================================================ */
.member-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 14px;
}
.member-logo-item {
  display: flex; flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none; color: inherit;
}
.member-logo-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.member-logo-top {
  height: 72px;
  background: #f8f9fc;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.member-logo-top img { max-width: 110px; max-height: 56px; object-fit: contain; }
.member-logo-abbr {
  font-size: 22px; font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
}
.member-logo-bottom {
  padding: 8px 10px 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.member-logo-name {
  font-size: 12px; font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.member-lv-badge {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid;
  align-self: flex-start;
}
.lv-vice-president   { background:#fff8e1; color:#b45309; border-color:#f59e0b; }
.lv-standing-council { background:#e0f2fe; color:#0369a1; border-color:#38bdf8; }
.lv-council          { background:#eff6ff; color:#1d4ed8; border-color:#93c5fd; }
.lv-regular-member   { background:#f0fdf4; color:#166534; border-color:#86efac; }

/* ============================================================
   慧正云涂料成本指数卡片
   ============================================================ */
.hzey-index-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  margin-bottom: 16px;
}
.hzey-index-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hzey-index-title { font-size: 15px; font-weight: 600; color: var(--color-text); }
.hzey-source-link { font-size: 12px; color: var(--color-muted); text-decoration: none; }
.hzey-source-link:hover { color: var(--color-primary); }
.hzey-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hzey-tab {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  color: var(--color-muted);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.hzey-tab.active,
.hzey-tab:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
#hzey-chart { width: 100%; height: 180px; margin-bottom: 6px; }
.hzey-loading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  border-radius: var(--radius);
  visibility: hidden;
}
.hzey-loading.visible { visibility: visible; }
.hzey-table-wrap { max-height: 200px; overflow-y: auto; }
.hzey-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.hzey-table thead th {
  position: sticky;
  top: 0;
  background: #f4f6fa;
  padding: 6px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid var(--color-border);
}
.hzey-table tbody td {
  padding: 6px 10px;
  text-align: center;
  border-bottom: 1px dashed var(--color-border);
}
.hzey-table tbody tr:last-child td { border-bottom: none; }
.hzey-rise { color: #c0392b; font-weight: 500; }
.hzey-fall { color: #1a7340; font-weight: 500; }
.hzey-updated { font-size: 11px; color: var(--color-muted); text-align: right; margin-top: 6px; }
.hzey-no-data { text-align: center; color: var(--color-muted); padding: 20px; font-size: 13px; }

/* ============================================================
   侧边栏
   ============================================================ */
.sidebar { }
.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.widget-title {
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-body { padding: 14px 16px; }
.widget-news-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 13px;
}
.widget-news-item:last-child { border-bottom: none; }
.widget-news-thumb {
  flex: 0 0 64px; height: 48px;
  overflow: hidden; border-radius: 2px;
}
.widget-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-news-title a { color: var(--color-text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-news-title a:hover { color: var(--color-accent); }
.widget-news-date { font-size: 11px; color: var(--color-text-muted); margin-top: 3px; }

/* 党建入口小部件 */
.party-widget .widget-title { background: var(--color-red); }
.party-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.party-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #fff5f5;
  border: 1px solid #ffcccc;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--color-red);
  transition: all var(--transition);
}
.party-link:hover { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.party-link .icon { font-size: 16px; }

/* ============================================================
   内容页通用
   ============================================================ */
.page-hero {
  background: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 40px 0;
}
.page-hero h1 { font-size: 26px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
/* 各栏目配图 */
.page-hero[data-pt="post"] {
  background-image: linear-gradient(rgba(15,40,80,.6),rgba(15,40,80,.6)),
    url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_notice"] {
  background-image: linear-gradient(rgba(10,30,60,.6),rgba(10,30,60,.6)),
    url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_policy"] {
  background-image: linear-gradient(rgba(10,30,60,.6),rgba(10,30,60,.6)),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_standard"] {
  background-image: linear-gradient(rgba(10,30,60,.6),rgba(10,30,60,.6)),
    url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_research"] {
  background-image: linear-gradient(rgba(10,30,60,.6),rgba(10,30,60,.6)),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_member"] {
  background-image: linear-gradient(rgba(10,30,60,.6),rgba(10,30,60,.6)),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_event"] {
  background-image: linear-gradient(rgba(10,30,60,.6),rgba(10,30,60,.6)),
    url('https://images.unsplash.com/photo-1559223607-b4d0555ae227?auto=format&fit=crop&w=1400&q=80');
}
.page-hero[data-pt="scta_party"] {
  background-image: linear-gradient(135deg, rgba(139,0,0,.85), rgba(180,20,10,.85));
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.4); }


.content-layout {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 30px 0;
}
.content-main {
  flex: 1 1 0%;
  min-width: 0;
}
.content-sidebar {
  flex: 0 0 220px;
  max-width: 220px;
  min-width: 0;
}

/* 分类导航 */
.cat-nav {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.cat-nav-title {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
}
.cat-nav-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}
.cat-nav-list li:last-child a { border-bottom: none; }
.cat-nav-list li a:hover,
.cat-nav-list li.active a {
  background: var(--color-bg);
  color: var(--color-accent);
  padding-left: 22px;
}
.cat-nav-list .count {
  background: var(--color-border);
  color: var(--color-text-muted);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
}

/* 列表页文章列表 */
.archive-list { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); }
.archive-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.archive-item:last-child { border-bottom: none; }
.archive-item:hover { background: var(--color-bg); }
.archive-thumb {
  flex: 0 0 120px; height: 80px;
  overflow: hidden; border-radius: var(--radius);
}
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-body { flex: 1; min-width: 0; }
.archive-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.archive-title a { color: var(--color-text); }
.archive-title a:hover { color: var(--color-accent); }
.archive-meta { font-size: 12px; color: var(--color-text-muted); margin-bottom: 6px; }
.archive-meta span { margin-right: 12px; }
.archive-excerpt { font-size: 13px; color: var(--color-text-light); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}
.pagination .nav-links,
.pagination > .page-numbers,
.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.pagination ul.page-numbers li,
.pagination .nav-links > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pagination li {
  margin: 0;
  list-style: none;
}
.pagination a.page-numbers,
.pagination span.page-numbers,
.pagination .nav-links .page-numbers,
.pagination .nav-links a,
.pagination .nav-links span,
.page-btn {
  min-width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0 8px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.pagination a.prev,
.pagination a.next,
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  padding: 0 14px;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border-color: #cfd8e6;
  color: var(--color-primary);
}
.pagination a:hover,
.pagination .current,
.page-btn:hover,
.page-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.pagination a .page-btn,
.pagination span .page-btn,
.pagination .page-numbers .page-btn {
  min-width: 0;
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  color: inherit;
  display: inline;
}
.pagination a.prev:hover,
.pagination a.next:hover,
.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.pagination .dots {
  border-style: dashed;
  background: transparent;
  color: var(--color-text-muted);
}

/* 文章详情 */
.article-header { margin-bottom: 24px; }
.article-title { font-size: 22px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--color-text-muted); padding-bottom: 12px; border-bottom: 1px dashed var(--color-border); }
.article-meta span { margin-right: 16px; }
.article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}
.article-content p { margin-bottom: 16px; }
.article-content h2 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; color: var(--color-primary); }
.article-content h3 { font-size: 16px; font-weight: 600; margin: 20px 0 10px; }
.article-content img { border-radius: var(--radius); margin: 16px auto; }
.article-content ul, .article-content ol { padding-left: 2em; margin-bottom: 16px; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--color-border); padding: 8px 12px; }
.article-content th { background: var(--color-primary); color: #fff; }
.article-content tr:nth-child(even) td { background: var(--color-bg); }

/* 附件下载 */
.attachments { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--color-border); }
.attachments h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--color-text-light); }
.attachment-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 6px;
  transition: all var(--transition);
}
.attachment-item:hover { border-color: var(--color-primary); background: #f0f4fa; }
.attachment-icon { color: var(--color-accent); font-size: 18px; }
.attachment-name { flex: 1; color: var(--color-text); }
.attachment-download {
  color: var(--color-primary);
  font-size: 13px;
  border: 1px solid var(--color-primary);
  padding: 3px 10px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.attachment-download:hover { background: var(--color-primary); color: #fff; }

/* 文章关联 */
.related-posts { margin-top: 30px; }
.related-posts-title { font-size: 16px; font-weight: 600; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--color-primary); }

/* ============================================================
   党建专栏特殊样式
   ============================================================ */
.party-section-header .section-title { color: var(--color-red); }
.party-section-header { border-bottom-color: var(--color-red); }
.party-section-header .section-title::before { background: var(--color-red); }
.party-item-tag {
  background: var(--color-red);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-right: 6px;
}

/* ============================================================
   页脚 Footer
   ============================================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.75);
  margin-top: 40px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-about .footer-logo h3 { font-size: 16px; color: #fff; }
.footer-about p { font-size: 13px; line-height: 1.8; margin-bottom: 8px; }
.footer-contact { font-size: 13px; }
.footer-contact li { padding: 4px 0; }
.footer-contact li strong { color: rgba(255,255,255,.9); }

.footer-links h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-links ul li { padding: 4px 0; }
.footer-links ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--color-accent); }

.footer-qrcode { text-align: center; }
.footer-qrcode img { width: 100px; height: 100px; margin: 0 auto 8px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,.2); }
.footer-qrcode p { font-size: 12px; color: rgba(255,255,255,.55); }

.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--color-accent); }

/* 友情链接 */
.friendly-links {
  background: rgba(255,255,255,.05);
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.friendly-links-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.friendly-links-label { font-size: 13px; color: rgba(255,255,255,.6); white-space: nowrap; }
.friendly-links a {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.friendly-links a:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 80px;
  width: 44px; height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--color-accent); transform: translateY(-2px); }

/* 侧边浮窗 */
.float-btns {
  position: fixed;
  right: 20px; bottom: 140px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 998;
}
.float-btn {
  width: 44px; height: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--color-text-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.float-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.float-btn .ficon { font-size: 18px; }

/* ============================================================
   工具类
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.hide { display: none; }
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  margin-right: 4px;
}
.tag-blue { background: #e8f0fb; color: var(--color-primary); border-color: #c5d7f5; }
.tag-red { background: #fdf0f0; color: var(--color-red); border-color: #f5c5c5; }
.tag-green { background: #edf7f2; color: var(--color-green); border-color: #c5e8d5; }
.tag-orange { background: #fef4ee; color: var(--color-accent); border-color: #f8d5bc; }

/* ============================================================
   Tab 面板 附加样式
   ============================================================ */
.tab-more { text-align: right; padding: 6px 0 2px; }
.no-content { color: var(--color-text-muted); font-size: 13px; padding: 20px 0; text-align: center; }

/* 培训活动卡片 */
.event-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition);
}
.event-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.event-meta { display: flex; gap: 14px; font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; }
.event-date, .event-place { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.event-title a { color: var(--color-text); }
.event-title a:hover { color: var(--color-primary); }
.event-excerpt { font-size: 12px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-more { font-size: 12px; color: var(--color-primary); }
.event-more:hover { text-decoration: underline; }

/* 会员企业 tab-panel 中 member-logos — 继承 grid 布局 */
.tab-panel .member-logos { gap: 12px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .col-8 { flex: 0 0 100%; max-width: 100%; }
  .col-4 { flex: 0 0 100%; max-width: 100%; }
  .news-notice-row .notice-box,
  .news-notice-row .notice-content { flex: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .top-bar-left,
  .top-bar-right {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .header-main { flex-wrap: wrap; gap: 12px; }
  .site-logo {
    width: calc(100% - 56px);
    min-width: 0;
  }
  .site-logo img { height: 48px; }
  .logo-text {
    min-width: 0;
    padding-left: 10px;
  }
  .logo-text h1 {
    white-space: normal;
    word-break: break-word;
  }
  .logo-text p {
    letter-spacing: .3px;
    line-height: 1.4;
  }
  .header-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-logo h1 { font-size: 16px; }
  .main-nav {
    padding: 8px 0;
  }
  .main-nav .container {
    padding: 0 14px;
  }
  .nav-list {
    display: none;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: var(--color-primary);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open .nav-list {
    display: flex;
  }
  .nav-item > a,
  .nav-list > li > a {
    padding: 12px 14px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-list > li:last-child > a { border-bottom: none; }
  .sub-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-top: none;
    background: rgba(255,255,255,.98);
  }
  .nav-list > li.is-open > .sub-menu,
  .nav-item.is-open > .sub-menu {
    display: block;
  }
  .slide { height: 260px; }
  .slide-content {
    padding: 0 18px;
    max-width: 100%;
  }
  .slide-content h2 { font-size: 20px; }
  .quick-nav-list {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .quick-nav-item {
    flex: 0 0 auto;
  }
  .content-layout { flex-direction: row; }
  .content-sidebar { flex: 0 0 220px; max-width: 220px; min-width: 0; }
  .col-3 { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }
  .footer-main { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-featured { flex-direction: column; }
  .news-featured-img { flex: none; width: 100%; height: 200px; }
  .org-box.type-top,
  .org-box.type-mid,
  .org-box.type-dept {
    min-width: 0;
    width: 100%;
  }
  .leader-photo .leader-img,
  .leader-photo-placeholder {
    width: 140px;
    height: 170px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 12px;
  }
  .site-logo {
    gap: 10px;
    width: calc(100% - 52px);
  }
  .logo-text h1 {
    font-size: 15px;
  }
  .logo-text p {
    font-size: 11px;
  }
  .slide {
    height: 220px;
  }
  .slide-content h2 {
    font-size: 18px;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .col-3 { flex: 0 0 100%; max-width: 100%; }
  .member-logos { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   大宗品涨跌榜组件  .ppi-ranking-card
   ============================================================ */

/* 外层卡片 */
.ppi-ranking-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-top: 14px;
  overflow: hidden;
  position: relative;   /* loading 遮罩的定位基准 */
}

/* 头部：标题 + 榜单切换 tabs */
.ppi-ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-primary);
  padding: 8px 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.ppi-ranking-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .3px;
}

/* 榜单切换 tab 按钮 */
.ppi-tabs { display: flex; gap: 2px; }
.ppi-tab {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s, color .15s;
  user-select: none;
}
.ppi-tab:hover   { color: #fff; background: rgba(255,255,255,.18); }
.ppi-tab.active  { color: var(--color-primary); background: #fff; font-weight: 700; }

/* 内容容器 */
.ppi-body { position: relative; min-height: 60px; }

/* 加载旋转 */
.ppi-loading {
  display: flex;
  visibility: hidden;    /* 默认不可见但保留占位，waiting 时才显示 */
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  background: rgba(255,255,255,.85);
  z-index: 2;
}
.ppi-loading.visible { visibility: visible; }
.ppi-spinner {
  width: 16px; height: 16px;
  border: 2px solid #ddd;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: ppi-spin .75s linear infinite;
  flex-shrink: 0;
}
@keyframes ppi-spin { to { transform: rotate(360deg); } }

/* 更新时间 & 来源 */
.ppi-table-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background: #f7f9fb;
  border-bottom: 1px solid var(--color-border);
  font-size: 11.5px;
}
.ppi-updated-time { color: #999; }
.ppi-source-link  { color: var(--color-primary-light); text-decoration: none; }
.ppi-source-link:hover { text-decoration: underline; }

/* 可滚动表格容器（内容超出 340px 显示滚动条）*/
.ppi-table-scroll {
  max-height: 340px;
  overflow-y: auto;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5cdd6 #f0f2f5;
}
.ppi-table-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.ppi-table-scroll::-webkit-scrollbar-thumb { background: #c5cdd6; border-radius: 3px; }
.ppi-table-scroll::-webkit-scrollbar-track { background: #f0f2f5; }

/* 数据表格 */
.ppi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  table-layout: fixed;
}
/* 表头固定（sticky） */
.ppi-table thead tr {
  position: sticky;
  top: 0;
  z-index: 1;
}
.ppi-table th {
  background: #edf0f5;
  color: #555;
  font-weight: 600;
  padding: 6px 6px;
  text-align: center;
  border-bottom: 1px solid #d5dae2;
  white-space: nowrap;
}
.ppi-table td {
  padding: 5px 6px;
  text-align: center;
  border-bottom: 1px solid #f3f3f3;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ppi-table tr:last-child td { border-bottom: none; }
.ppi-table tr:hover td { background: #f8fafc; }

/* 列宽 */
.ppi-table .pth-name { text-align: left; width: 18%; }
.ppi-table .pth-ind  { width: 7%; color: #bbb; font-size: 11px; }
.ppi-table .pth-num  { width: 15%; }
.ppi-table .pth-unit { width: 8%; color: #aaa; font-size: 11px; }
.ppi-table .pth-chg  { width: 11%; font-weight: 700; }
.ppi-table .pth-yoy  { width: 11%; font-weight: 700; }

/* 涨跌颜色 */
.ppi-rise { color: #c0392b; }
.ppi-fall { color: #1a7340; }

/* 空状态 */
.ppi-no-data {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 13px;
}

/* 响应式：小屏折叠部分列 */
@media (max-width: 600px) {
  .ppi-table .pth-ind,
  .ppi-table .pth-unit { display: none; }
  .ppi-table .pth-name { width: 28%; }
  .ppi-table .pth-num  { width: 18%; }
}

/* ============================================================
   协会概况 - Hero 背景（各子页）
   ============================================================ */
.page-hero[data-pt^="about-"] {
  background-image: linear-gradient(135deg, rgba(12,36,97,.88), rgba(26,60,110,.85)),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

/* ============================================================
   协会概况 - 通用容器
   ============================================================ */
.about-page-wrap { padding: 44px 0 64px; }
.about-content-intro { max-width: 820px; margin: 0 auto 36px; }
.about-empty-tip { text-align: center; padding: 40px 0; color: var(--color-text-muted); font-size: 14px; }

/* entry-content 内基础排版 */
.entry-content h2,
.entry-content h3 { font-size: 17px; font-weight: 700; color: var(--color-primary-dark); margin: 28px 0 12px; padding-left: 12px; border-left: 3px solid var(--color-primary); }
.entry-content p   { line-height: 1.85; margin-bottom: 14px; color: var(--color-text); font-size: 14px; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 16px; }
.entry-content ul li, .entry-content ol li { font-size: 14px; line-height: 1.8; color: var(--color-text); margin-bottom: 8px; }

/* ============================================================
   协会简介 - 导语大字
   ============================================================ */
.about-lead-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  border-left: 4px solid var(--color-primary);
  padding: 12px 20px;
  background: rgba(26,60,110,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
}

/* 统计数字行 */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}
.about-stat-card {
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 12px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-stat-card .stat-num {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-card .stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: .5px;
}

/* 主要职能卡片 */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 16px 0 28px;
}
.about-feature-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.about-feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.about-feature-item .feature-icon {
  display: block;
  font-size: 30px;
  margin-bottom: 10px;
  line-height: 1;
}
.about-feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}
.about-feature-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   组织机构 - 架构图
   ============================================================ */
.org-chart-visual { margin: 32px 0; }
.org-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.org-arrow {
  text-align: center;
  font-size: 22px;
  color: var(--color-border);
  padding: 4px 0;
  line-height: 1.2;
}
.org-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius);
  padding: 14px 24px 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.org-box small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: .75;
  margin-top: 2px;
}
.org-box.type-top {
  background: var(--color-primary);
  color: #fff;
  min-width: 220px;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(26,60,110,.25);
}
.org-box.type-mid {
  background: var(--color-primary-light);
  color: #fff;
  min-width: 180px;
}
.org-box.type-dept {
  background: var(--color-white);
  border: 1.5px solid var(--color-primary-light);
  color: var(--color-primary-dark);
  min-width: 116px;
  font-size: 13px;
  font-weight: 600;
}
.org-box.type-dept:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ============================================================
   领导班子 - 人员卡片
   ============================================================ */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.leader-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.leader-photo {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  background: var(--color-bg);
}
.leader-photo .leader-img {
  width: 170px;
  height: 196px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}
.leader-photo-placeholder {
  width: 170px;
  height: 196px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}
.leader-photo-placeholder span {
  font-size: 56px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
}
.leader-info { padding: 16px 18px 20px; text-align: center; }
.leader-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}
.leader-position {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(26,60,110,.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.leader-bio {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   发展历程 - 时间轴
   ============================================================ */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 24px auto 0;
  padding-left: 52px;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-border));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,60,110,.15);
  transition: background var(--transition);
}
.timeline-item:hover::before { background: var(--color-primary); }
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing: .5px;
}
.timeline-content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,60,110,.25);
}
.timeline-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}
.timeline-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   协会概况 响应式适配
   ============================================================ */
@media (max-width: 768px) {
  .about-stats-row  { grid-template-columns: repeat(2, 1fr); }
  .about-features-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .org-row.level-3 { flex-wrap: wrap; }
  .org-box.type-dept { min-width: calc(50% - 8px); }
}

/* ============================================================
   数据中心独立页面
   ============================================================ */
.data-center-standalone-page {
  padding-top: 14px;
}

.data-center-standalone-page .section-header {
  margin-bottom: 12px;
}

.data-center-standalone-page .hzey-index-card,
.data-center-standalone-page .ppi-ranking-card {
  margin-bottom: 0;
}

.data-center-standalone-page .ppi-table-scroll {
  max-height: none;
  overflow: visible;
}

@media (max-width: 768px) {
  .data-center-standalone-page {
    padding-top: 8px;
  }
}
@media (max-width: 480px) {
  .about-stats-row  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .history-timeline { padding-left: 36px; }
  .timeline-item::before { left: -28px; }
}
