/* 抖阴 - 植物视频社区 主样式文件 */
/* wdzvebwx.cn */

:root {
  --primary: #1a6b2f;
  --primary-dark: #0f4a1f;
  --primary-light: #2d9e4e;
  --accent: #f5a623;
  --accent2: #e84393;
  --bg: #f8fdf9;
  --bg2: #eef7f1;
  --text: #1a2e1f;
  --text-light: #4a6b52;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(26,107,47,0.12);
  --shadow-hover: 0 8px 32px rgba(26,107,47,0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== 干扰标签隐藏 ===== */
.dy-noise { display: none !important; visibility: hidden !important; }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: var(--accent); text-decoration: none; }

/* ===== 头部导航 ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-wrap img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-text span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
nav a:hover, nav a.active {
  background: var(--bg2);
  color: var(--primary);
}

.nav-btn {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
}
.nav-btn:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== 搜索框 ===== */
.search-bar-wrap {
  background: var(--bg2);
  padding: 12px 0;
  border-bottom: 1px solid #d4ecd9;
}
.search-bar-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 10px;
}
.search-input {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid #c0dfc8;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}
.search-btn:hover { background: var(--primary-dark); }

/* ===== 面包屑 ===== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== Banner ===== */
.hero-banner {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(15,74,31,0.6));
}
.hero-overlay h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-overlay p {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.9);
  max-width: 680px;
  margin-bottom: 28px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,107,47,0.4);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.8);
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.hero-stats {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  color: var(--white);
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}
.hero-stats .stat-label { font-size: 12px; opacity: 0.85; }

/* ===== 通用容器 ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-alt { background: var(--bg2); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-light); font-size: 15px; max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a2e1f;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  loading: lazy;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}
.video-meta .views::before { content: '▶ '; }
.video-meta .likes::before { content: '♥ '; color: #e84393; }
.video-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.video-tag {
  background: var(--bg2);
  color: var(--primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

/* ===== 模块卡片 ===== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--primary);
}
.module-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.module-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.module-card h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.module-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== 专家卡片 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.expert-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.expert-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.expert-info { padding: 20px; }
.expert-name { font-size: 18px; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.expert-title { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.award-tag {
  background: #fff8e1;
  color: #b8860b;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid #f0d060;
}
.expert-btns { display: flex; gap: 8px; }
.btn-sm {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-sm-primary { background: var(--primary); color: var(--white); }
.btn-sm-primary:hover { background: var(--primary-dark); }
.btn-sm-outline { border: 1px solid var(--primary); color: var(--primary); }
.btn-sm-outline:hover { background: var(--bg2); }

/* ===== 评论区 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-q:hover { background: var(--bg2); }
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ===== 合作品牌 ===== */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.brand-logo {
  background: var(--white);
  border: 2px solid #d4ecd9;
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.brand-logo:hover { border-color: var(--primary); box-shadow: var(--shadow); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--bg2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--text-light); }
.contact-val { font-size: 14px; font-weight: 600; color: var(--text); }
.qr-row { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-box { text-align: center; }
.qr-box img { width: 120px; height: 120px; border-radius: 8px; border: 2px solid #d4ecd9; }
.qr-box p { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.share-wechat { background: #07c160; color: var(--white); }
.share-weibo { background: #e6162d; color: var(--white); }
.share-douyin { background: #000; color: var(--white); }
.share-bili { background: #00a1d6; color: var(--white); }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===== 底部 ===== */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-text { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; opacity: 0.75; margin-bottom: 16px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: 0.7;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ===== 精选视频特效 ===== */
.featured-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.featured-video-wrap video,
.featured-video-wrap img {
  width: 100%;
  display: block;
}
.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px 24px 20px;
  color: var(--white);
}
.featured-overlay h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.featured-overlay p { font-size: 13px; opacity: 0.85; }

/* ===== 标签云 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item {
  background: var(--white);
  border: 1px solid #c0dfc8;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.tag-item:hover { background: var(--primary); color: var(--white); }

/* ===== 滚动公告 ===== */
.marquee-wrap {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-inner span { font-size: 13px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== 数据统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--primary);
}
.stat-num { font-size: 36px; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.stat-label { font-size: 14px; color: var(--text-light); }

/* ===== 加入社区 ===== */
.join-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}
.join-section h2 { font-size: clamp(22px,4vw,38px); font-weight: 800; margin-bottom: 14px; }
.join-section p { font-size: 16px; opacity: 0.9; max-width: 560px; margin: 0 auto 28px; }
.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 13px 32px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.1); padding: 12px; z-index: 999; }
  nav.open { display: flex; }
  nav a { padding: 12px 16px; }
  .hamburger { display: flex; }
  .hero-banner { height: 420px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 480px) {
  .module-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
  .search-bar-inner { flex-direction: column; }
}

/* ===== 懒加载占位 ===== */
img[loading="lazy"] { background: #e8f5e9; }

/* ===== 滚动动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== 视频播放模态框 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #000;
  border-radius: var(--radius);
  width: 90%;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* ===== 内页样式 ===== */
.page-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.page-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}
.page-hero-text h1 { font-size: clamp(24px,4vw,42px); font-weight: 900; margin-bottom: 10px; }
.page-hero-text p { font-size: 15px; opacity: 0.9; }

/* ===== 文章内容 ===== */
.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.article-content h2 { font-size: 22px; font-weight: 700; color: var(--primary-dark); margin: 32px 0 14px; }
.article-content h3 { font-size: 18px; font-weight: 600; color: var(--primary); margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content img { width: 100%; border-radius: var(--radius); margin: 20px 0; }

/* ===== 侧边栏 ===== */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.sidebar-widget h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--bg2); }

@media (max-width: 900px) {
  .sidebar-layout { grid-template-columns: 1fr; }
}

/* 滚动公告样式 */
.notice-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
}
.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.marquee span {
    margin-right: 50px;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 统计数据样式 */
.stats-section {
    padding: 40px 0;
}
.stats-section > div > div {
    text-align: center;
    min-width: 200px;
}
