/* ============================================
   成都市道路货物运输行业协会 v4
   政务蓝 #1a3c6e | 暗红 #8B1A1A | 金色 #C9A961
   深灰 #2d2d2d | 浅灰 #f7f7f8
   ============================================ */

/* CSS变量 */
:root {
  --primary: #1a3c6e;
  --primary-light: #2a5298;
  --primary-dark: #0f2847;
  --accent: #C9A961;
  --accent-light: #dfc07a;
  --red: #8B1A1A;
  --red-light: #a52727;
  --text-dark: #2d2d2d;
  --text-gray: #555;
  --text-light: #888;
  --bg-white: #fff;
  --bg-light: #f7f7f8;
  --bg-gray: #eaeaea;
  --border: #e0e0e0;
  --shadow: 0 1px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 6px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Source Han Sans CN", "思源黑体", "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ============ 顶部横幅 ============ */
.top-bar {
  background: linear-gradient(90deg, var(--red), var(--red-light));
  color: rgba(255,255,255,0.95);
  padding: 6px 0;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;
}
.top-bar .sep { margin: 0 10px; opacity: 0.4; }

/* ============ 头部 ============ */
.header {
  background: var(--bg-white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  position: relative;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 60px; width: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo-text h1 {
  font-size: 21px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
}
.logo-text .en-name {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}
.header-right { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-gray); }
.header-right .sep { opacity: 0.3; }
.header-right a { color: var(--text-gray); font-size: 13px; }
.header-right a:hover { color: var(--primary); }
.header-right .phone { font-weight: 600; color: var(--primary); }

/* ============ 导航 ============ */
.nav-bar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(26,60,110,0.25);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.nav-inner a {
  color: #fff;
  padding: 14px 26px;
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-inner a:hover { background: rgba(255,255,255,0.12); }
.nav-inner a.active { background: rgba(255,255,255,0.15); }
.nav-inner a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
}
.menu-toggle svg { transition: transform 0.3s; }
.menu-toggle.active svg { transform: rotate(90deg); }

/* ============ Banner轮播（淡入淡出） ============ */
.banner {
  position: relative;
  overflow: hidden;
  height: 440px;
  background: var(--primary-dark);
}
.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-slide:nth-child(1) {
  background: linear-gradient(135deg, rgba(15,40,71,0.88) 0%, rgba(26,60,110,0.78) 50%, rgba(42,82,152,0.72) 100%), url("/images/articles/20241127153640_78801.jpg") center/cover no-repeat;
}
.banner-slide:nth-child(2) {
  background: linear-gradient(135deg, rgba(15,40,71,0.88) 0%, rgba(26,60,110,0.78) 50%, rgba(42,82,152,0.72) 100%), url("/images/articles/20250117091258_74201.jpg") center/cover no-repeat;
}
.banner-slide:nth-child(3) {
  background: linear-gradient(135deg, rgba(15,40,71,0.88) 0%, rgba(26,60,110,0.78) 50%, rgba(42,82,152,0.72) 100%), url("/images/articles/20250414154013_45060.jpg") center/cover no-repeat;
}
.banner-link { display: block; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.banner-content { position: relative; z-index: 1; padding: 0 20px; }
.banner-content h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  color: #fff;
}
.banner-content p {
  font-size: 16px;
  opacity: 0.92;
  letter-spacing: 2px;
  color: #fff;
}
.banner-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.banner-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
}
.banner-dots span.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}
.banner-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}
.banner-arrows button {
  pointer-events: all;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.2);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-arrows button:hover {
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.8);
}

/* ============ 协会简介速览 ============ */
.intro-section {
  background: var(--bg-white);
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.intro-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.intro-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.intro-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.intro-info h3 {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 3px;
  font-weight: 500;
}
.intro-info p {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
}
.intro-desc {
  background: linear-gradient(135deg, rgba(26,60,110,0.03), rgba(201,169,97,0.03));
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
}
.intro-desc p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.9;
  text-indent: 2em;
}

/* ============ 公告滚动栏 ============ */
.notice-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  overflow: hidden;
}
.notice-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 14px;
}
.notice-bar-label {
  background: var(--primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-scroll-wrapper { flex: 1; overflow: hidden; position: relative; }
.notice-scroll {
  display: flex;
  gap: 50px;
  animation: scrollNotice 30s linear infinite;
  white-space: nowrap;
}
.notice-scroll:hover { animation-play-state: paused; }
.notice-scroll a { color: var(--text-dark); font-size: 13px; flex-shrink: 0; }
.notice-scroll a:hover { color: var(--primary); }
@keyframes scrollNotice {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ 内容区通用 ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 0; }
.section-alt { background: var(--bg-white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
}
.section-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.section-title {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px; height: 20px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title-light { color: #fff; }
.section-title-light::before { background: var(--accent); }
.section-subtitle {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 1px;
}
.section-subtitle-light { color: rgba(255,255,255,0.6); }
.section-more { font-size: 13px; color: var(--text-gray); }
.section-more:hover { color: var(--primary); }
.section-more-light { font-size: 13px; color: rgba(255,255,255,0.7); }
.section-more-light:hover { color: #fff; }

/* ============ 核心资讯 ============ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.news-panel { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news-panel-header {
  background: var(--primary);
  color: #fff;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-panel-header a { color: rgba(255,255,255,0.75); font-size: 13px; }
.news-panel-header a:hover { color: #fff; }
.news-list { padding: 8px 0; }
.news-item {
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.news-item:hover { background: var(--bg-light); }
.news-item .dot { width: 5px; height: 5px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.news-item .top-tag {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  flex-shrink: 0;
}
.news-item a {
  flex: 1;
  color: var(--text-dark);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item a:hover { color: var(--primary); }
.news-item .date { color: var(--text-light); font-size: 12px; flex-shrink: 0; }

/* ============ 行业动态图文列表 ============ */
.industry-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.news-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  position: relative;
  overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
}
.news-card-placeholder svg { opacity: 0.6; }
.news-card-cat {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  font-weight: 500;
}
.news-card-body { padding: 16px; }
.news-card-body h3 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body h3:hover { color: var(--primary); }
.news-card-body p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.news-card-body .meta { font-size: 12px; color: var(--text-light); }

/* ============ 政策文件 ============ */
.policy-list { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 0; }
.policy-item {
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed var(--bg-gray);
  transition: var(--transition);
}
.policy-item:last-child { border-bottom: none; }
.policy-item:hover { background: var(--bg-light); }
.policy-item .policy-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.policy-item a { flex: 1; color: var(--text-dark); font-size: 14px; }
.policy-item a:hover { color: var(--primary); }
.policy-item .date { color: var(--text-light); font-size: 13px; flex-shrink: 0; }

/* ============ 党建工作 ============ */
.party-section {
  background: linear-gradient(135deg, #6B1414, #8B1A1A);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}
.party-section::before {
  content: '';
  position: absolute;
  right: 15px; bottom: -20px;
  width: 100px; height: 100px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l2.4 7.4H22l-6.2 4.5 2.4 7.4-6.2-4.5-6.2 4.5 2.4-7.4L2 9.4h7.6z' fill='%23ffffff' opacity='0.06'/%3E%3C/svg%3E") center/contain no-repeat;
}
.party-section-header { border-bottom: 2px solid rgba(255,255,255,0.2); margin-bottom: 16px; }
.party-list a {
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}
.party-list a:last-child { border-bottom: none; }
.party-list a:hover { color: #fff; padding-left: 8px; }
.party-list a .star { color: var(--accent); }

/* ============ 组织架构 ============ */
.org-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}
.org-node-org {
  background: var(--primary);
  color: #fff;
  padding: 16px 48px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  min-width: 180px;
  box-shadow: var(--shadow);
}
.org-node-org.gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
}
.org-desc {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 4px;
}
.org-desc-sm {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}
.org-name {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}
.org-arrow-down {
  color: var(--primary);
  font-size: 18px;
  margin: 10px 0;
  opacity: 0.5;
}
.org-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.org-node-sub {
  background: var(--bg-white);
  border: 2px solid var(--primary);
  color: var(--text-dark);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-width: 140px;
  line-height: 1.6;
  transition: var(--transition);
}
.org-node-sub:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ============ 协会风采 ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.gallery-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(15,40,71,0.85) 0%, rgba(15,40,71,0.3) 60%, transparent 100%);
  color: #fff;
  font-size: 13px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============ 会员服务入口 ============ */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 18px;
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid transparent;
  display: block;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-top-color: var(--primary);
}
.service-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.service-card h3 { font-size: 15px; color: var(--text-dark); margin-bottom: 5px; }
.service-card p { font-size: 12px; color: var(--text-gray); }

/* ============ 友情链接 ============ */
.friend-links {
  background: var(--bg-white);
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.friend-links-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.friend-links-label { font-size: 14px; color: var(--text-gray); font-weight: 600; flex-shrink: 0; }
.friend-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition);
  background: #fff;
}
.friend-links a:hover { color: var(--primary); border-color: var(--primary); }

/* ============ 底部 ============ */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 32px 0 0; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 1px;
}
.footer-col p, .footer-col a { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 2; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ============ 内页通用 ============ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-banner h2 { font-size: 28px; letter-spacing: 3px; }
.page-banner .breadcrumb { font-size: 13px; margin-top: 10px; opacity: 0.8; }
.page-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb a:hover { color: #fff; }

.page-content { max-width: var(--max-width); margin: 0 auto; padding: 28px 20px; display: flex; gap: 28px; }
.sidebar { width: 240px; flex-shrink: 0; }
.sidebar-menu { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sidebar-menu-title { background: var(--primary); color: #fff; padding: 14px 20px; font-size: 16px; font-weight: 600; letter-spacing: 1px; }
.sidebar-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 14px;
  border-bottom: 1px solid var(--bg-light);
  transition: var(--transition);
  padding-left: 30px;
}
.sidebar-menu a:last-child { border-bottom: none; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: var(--bg-light); color: var(--primary); border-left: 3px solid var(--primary); }

.main-content { flex: 1; min-width: 0; }
.content-box { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; min-height: 400px; }
.content-box h2 { font-size: 20px; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.content-box h3 { font-size: 17px; color: var(--text-dark); margin: 20px 0 12px; }
.content-box p { font-size: 14px; line-height: 1.9; color: var(--text-gray); margin-bottom: 12px; text-indent: 2em; }

/* ============ 文章列表页 ============ */
.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-white);
  color: var(--text-gray);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-box { display: flex; margin-left: auto; }
.search-box input { padding: 6px 12px; border: 1px solid var(--border); border-right: none; border-radius: 3px 0 0 3px; font-size: 13px; outline: none; width: 180px; }
.search-box input:focus { border-color: var(--primary); }
.search-box button { padding: 6px 14px; background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 0 3px 3px 0; cursor: pointer; font-size: 13px; }

.article-list-item { padding: 16px 0; border-bottom: 1px dashed var(--bg-gray); display: flex; gap: 16px; }
.article-list-item:last-child { border-bottom: none; }
.article-list-item .thumb {
  width: 130px; height: 90px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.article-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-list-item .thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
}
.article-list-item .info { flex: 1; }
.article-list-item .info h3 { font-size: 15px; color: var(--text-dark); margin: 0 0 8px; line-height: 1.5; }
.article-list-item .info h3:hover { color: var(--primary); }
.article-list-item .info .summary {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.article-list-item .info .meta { font-size: 12px; color: var(--text-light); }
.article-list-item .info .meta span { margin-right: 14px; }
.article-list-item .info .meta .tag { background: var(--bg-light); padding: 2px 8px; border-radius: 2px; color: var(--text-gray); }

/* ============ 文章详情 ============ */
.article-detail .article-header { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.article-detail .article-header h1 { font-size: 22px; color: var(--text-dark); line-height: 1.5; margin-bottom: 12px; }
.article-detail .article-header .meta { font-size: 13px; color: var(--text-light); }
.article-detail .article-header .meta span { margin: 0 10px; }
.article-detail .article-body { font-size: 15px; line-height: 2; color: var(--text-dark); }
.article-detail .article-body p { margin-bottom: 16px; text-indent: 2em; }
.article-detail .article-body strong { color: var(--primary); }
.article-detail .article-body img { max-width: 100%; border-radius: 4px; margin: 12px 0; }
.article-nav { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; }
.article-nav a { color: var(--text-gray); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--primary); }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 28px; }
.pagination button, .pagination a {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-white);
  color: var(--text-gray);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.pagination button:hover, .pagination a:hover, .pagination button.active, .pagination a.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.pagination button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ 会员名录 ============ */
.member-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.member-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.member-table th { background: var(--primary); color: #fff; padding: 11px 14px; text-align: left; font-weight: 600; }
.member-table td { padding: 10px 14px; border-bottom: 1px solid var(--bg-gray); }
.member-table tr:hover td { background: var(--bg-light); }
.member-type-badge { padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.member-type-badge.vice { background: #fff3e0; color: #e65100; }
.member-type-badge.director { background: #e8f5e9; color: #2e7d32; }
.member-type-badge.normal { background: #e3f2fd; color: #1565c0; }

/* ============ 资料下载 ============ */
.download-item { display: flex; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--bg-gray); gap: 14px; transition: var(--transition); }
.download-item:hover { background: var(--bg-light); }
.download-item .file-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.download-item .file-icon.pdf { background: #d32f2f; }
.download-item .file-icon.doc { background: #1565c0; }
.download-item .file-icon.xls { background: #2e7d32; }
.download-item .file-info { flex: 1; }
.download-item .file-info h4 { font-size: 14px; color: var(--text-dark); margin-bottom: 3px; }
.download-item .file-info p { font-size: 12px; color: var(--text-light); }
.download-item .download-btn { padding: 5px 16px; background: var(--primary); color: #fff; border-radius: 3px; font-size: 13px; transition: var(--transition); flex-shrink: 0; }
.download-item .download-btn:hover { background: var(--primary-light); }

/* ============ 互动交流 ============ */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; color: var(--text-dark); margin-bottom: 5px; font-weight: 600; }
.form-group label .required { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 2px rgba(26,60,110,0.08);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit {
  padding: 11px 36px;
  background: var(--primary); color: #fff; border: none; border-radius: var(--radius);
  font-size: 15px; cursor: pointer; transition: var(--transition); letter-spacing: 2px;
}
.form-submit:hover { background: var(--primary-light); }
.contact-info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.contact-info-card { background: var(--bg-light); padding: 18px; border-radius: var(--radius); border-left: 3px solid var(--primary); }
.contact-info-card h4 { font-size: 14px; color: var(--primary); margin-bottom: 5px; }
.contact-info-card p { font-size: 13px; color: var(--text-gray); }

/* ============ 组织架构（内页） ============ */
.org-chart { text-align: center; padding: 26px 0; }
.org-chart .org-level { display: flex; justify-content: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.org-chart .org-node { background: var(--primary); color: #fff; padding: 11px 26px; border-radius: var(--radius); font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.org-chart .org-node.gold { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--primary-dark); }
.org-chart .org-arrow { text-align: center; color: var(--primary); font-size: 22px; margin: 4px 0; }

/* ============ 领导班子 ============ */
.leader-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 640px; margin: 0 auto; }
.leader-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; border: 1px solid #eee; }
.leader-card.leader-card-party { border-top: 3px solid #c0392b; }
.leader-card .avatar { width: 100%; aspect-ratio: 3/4; overflow: hidden; background: #f5f6f8; }
.leader-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.leader-card .info { padding: 16px 18px; }
.leader-card .info .duty { font-size: 13px; color: #555; line-height: 1.9; text-align: left; text-indent: 0; }
.leader-card .info .role { font-size: 13px; color: #888; text-align: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.leader-card .info .name { font-size: 17px; font-weight: 700; color: #1a3c6e; margin-bottom: 2px; text-align: center; }
.leader-card .info h3 { display: none; }
.leader-card .info .title { display: none; }
.leader-card .info p { display: none; }

/* ============ 入会流程 ============ */
.process-flow { display: flex; align-items: center; justify-content: center; gap: 0; padding: 26px 0; flex-wrap: wrap; }
.process-step { display: flex; align-items: center; gap: 0; }
.process-step .step-box { background: var(--primary); color: #fff; padding: 12px 22px; border-radius: var(--radius); text-align: center; min-width: 110px; }
.process-step .step-box .num { font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.process-step .step-box .label { font-size: 13px; }
.process-step .arrow { font-size: 22px; color: var(--accent); margin: 0 6px; }

/* ============ 荣誉展示 ============ */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.honor-card { background: var(--bg-light); border: 2px solid var(--accent); border-radius: var(--radius); padding: 22px; text-align: center; }
.honor-card .honor-icon { font-size: 36px; color: var(--accent); margin-bottom: 8px; }
.honor-card h4 { font-size: 14px; color: var(--text-dark); margin-bottom: 5px; }
.honor-card p { font-size: 12px; color: var(--text-gray); text-indent: 0; }

/* ============ 提示信息 ============ */
.alert { padding: 11px 18px; border-radius: var(--radius); margin-bottom: 14px; font-size: 14px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }

/* ============ 加载动画 ============ */
.loading { text-align: center; padding: 36px; color: var(--text-light); }
.loading::after {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--bg-gray);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 滚动渐入 ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr; }
  .industry-news-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-direction: column; text-align: center; gap: 10px; }
  .header-right { display: none; }
  .logo-img { height: 50px; width: 50px; }
  .logo-text h1 { font-size: 17px; }

  .menu-toggle { display: flex; align-items: center; }
  .nav-inner { flex-direction: column; display: none; padding: 0; }
  .nav-inner.show { display: flex; animation: slideDown 0.3s ease; }
  .nav-inner a { padding: 12px 20px; width: 100%; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-inner a.active::after { display: none; }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .banner { height: 240px; }
  .banner-content h2 { font-size: 22px; letter-spacing: 2px; }
  .banner-content p { font-size: 13px; }
  .banner-arrows { display: none; }

  .intro-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .intro-card { padding: 14px; gap: 10px; }
  .intro-icon { width: 40px; height: 40px; }
  .intro-info h3 { font-size: 12px; }
  .intro-info p { font-size: 13px; }
  .intro-desc { padding: 16px; }
  .intro-desc p { font-size: 13px; }

  .page-content { flex-direction: column; }
  .sidebar { width: 100%; }

  .industry-news-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .leader-grid { grid-template-columns: 1fr; max-width: 320px; }
  .honor-grid { grid-template-columns: 1fr; }
  .contact-info-list { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-overlay { opacity: 1; }

  .org-node-org { padding: 12px 28px; min-width: 140px; font-size: 14px; }
  .org-row { gap: 10px; }
  .org-node-sub { min-width: 100px; padding: 10px 16px; font-size: 13px; }

  .article-list-item { flex-direction: column; }
  .article-list-item .thumb { width: 100%; height: 150px; }

  .member-table { font-size: 12px; }
  .member-table th, .member-table td { padding: 7px 5px; }

  .process-flow { flex-direction: column; }
  .process-step .arrow { transform: rotate(90deg); margin: 3px 0; }

  .page-banner { padding: 32px 0; }
  .page-banner h2 { font-size: 20px; }

  .section { padding: 26px 0; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { margin-left: 0; }
  .search-box input { flex: 1; }

  .section-header { flex-wrap: wrap; gap: 6px; }
  .section-title-group { flex-wrap: wrap; gap: 6px; }
  .section-subtitle { display: none; }
}

@media (max-width: 480px) {
  .logo-text h1 { font-size: 15px; }
  .logo-img { height: 44px; width: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .banner { height: 200px; }
  .banner-content h2 { font-size: 18px; }
  .content-box { padding: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
}

/* ============ 二级下拉菜单 ============ */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > .dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-item-dropdown > .dropdown-trigger .caret { font-size: 11px; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15); border-radius: 0 0 6px 6px; min-width: 180px; z-index: 1000; padding: 4px 0; }
.nav-item-dropdown:hover > .nav-dropdown { display: block; animation: fadeInDown 0.2s ease; }
.nav-dropdown a { color: #333 !important; padding: 10px 20px !important; font-size: 14px !important; letter-spacing: 0 !important; white-space: nowrap; border-bottom: 1px solid #f0f0f0; }
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: #f7f9fc !important; color: var(--primary) !important; }
.nav-dropdown a.active { background: #eef3fb !important; color: var(--primary) !important; }
.nav-dropdown a.active::after { display: none; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* FAQ 互动问答样式 */
.faq-section { max-width: 1200px; margin: 0 auto; padding: 10px 20px; }
.faq-category { margin-bottom: 36px; }
.faq-category-title { font-size: 20px; font-weight: 700; color: var(--primary); border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.faq-category-title .faq-icon { width: 24px; height: 24px; flex-shrink: 0; }
.faq-item { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.faq-question { padding: 16px 20px; cursor: pointer; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; color: #333; line-height: 1.6; user-select: none; }
.faq-question .q-icon { color: var(--primary); font-weight: 700; flex-shrink: 0; font-size: 16px; margin-top: 1px; }
.faq-question .q-arrow { margin-left: auto; flex-shrink: 0; color: #999; transition: transform 0.3s; font-size: 14px; margin-top: 3px; }
.faq-item.open .q-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 20px; }
.faq-item.open .faq-answer { max-height: 900px; padding: 0 20px 18px 46px; }
.faq-answer-inner { font-size: 14px; line-height: 1.85; color: #555; }
.faq-answer-inner p { margin: 0 0 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { color: var(--primary); }
.faq-answer-inner ul { margin: 6px 0 10px; padding-left: 18px; }
.faq-answer-inner li { margin-bottom: 4px; }
.faq-tag { display: inline-block; background: #eef3fb; color: var(--primary); font-size: 12px; padding: 2px 8px; border-radius: 4px; margin-right: 6px; font-weight: 400; }
.faq-hot { display: inline-block; background: #fff1f0; color: #c0392b; font-size: 12px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; font-weight: 400; }
.faq-bridge { background: linear-gradient(135deg, #f7f9fc, #eef3fb); border-radius: 8px; padding: 20px 24px; margin-bottom: 30px; }
.faq-bridge h3 { font-size: 16px; color: var(--primary); margin: 0 0 8px; }
.faq-bridge p { font-size: 14px; line-height: 1.8; color: #555; margin: 0; }
.faq-bridge .role-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq-bridge .role-tag { background: var(--primary); color: #fff; font-size: 13px; padding: 4px 14px; border-radius: 20px; }

/* 互动交流子页面通用 */
.interactive-hero { background: linear-gradient(135deg, var(--primary), #2a5494); color: #fff; padding: 40px 20px 36px; text-align: center; }
.interactive-hero h2 { font-size: 26px; margin: 0 0 8px; }
.interactive-hero p { font-size: 14px; opacity: 0.9; margin: 0; }
@media (max-width: 768px) {
  .nav-item-dropdown > .nav-dropdown { position: static; display: block; box-shadow: none; min-width: 100%; }
  .nav-item-dropdown > .dropdown-trigger { width: 100%; justify-content: center; }
  .nav-dropdown a { padding: 10px 20px !important; text-align: center; }
  .faq-category-title { font-size: 17px; }
}
