/* ========== 全局基础样式 ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
}

body {
  /* 为固定页脚预留空间，避免内容被遮挡 */
  padding-bottom: 84px;
}

body.theme-dark {
  color: #e5e7eb;
  background-color: #0b1220;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  padding-top: 72px;
}

@media (max-width: 768px) {
  main {
    padding-top: 64px;
  }
}

/* ========== 顶部导航 ========== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.theme-dark .site-header {
  background: rgba(15, 23, 42, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 18px;
  font-weight: 600;
  font-family: "Noto Serif SC", "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.logo-subtitle {
  font-size: 11px;
  color: #64748b;
}

body.theme-dark .logo-subtitle {
  color: #9ca3af;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  color: #4b5563;
  position: relative;
  padding: 4px 0;
}

.nav-link.is-active {
  color: #2563eb;
  font-weight: 600;
}

body.theme-dark .nav-link {
  color: #d1d5db;
}

body.theme-dark .nav-link.is-active {
  color: #60a5fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========== 首页：大图轮播（参考 preview.html） ========== */

.home-main {
  padding-top: 72px;
}

@media (max-width: 768px) {
  .home-main {
    padding-top: 64px;
  }
}

.hero-slider {
  position: relative;
  height: 520px;
  margin-top: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-slider {
    height: 420px;
  }
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide-active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 40, 71, 0.85), rgba(26, 77, 143, 0.7));
  z-index: 1;
}

.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
}

.slide-kicker {
  font-size: 14px;
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.slide-content h1 {
  font-family: "Noto Serif SC", "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .slide-content h1 {
    font-size: 30px;
    letter-spacing: 0.12em;
  }
}

.slide-content p {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background-color: #e74c3c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.slide-btn:hover {
  background-color: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(231, 76, 60, 0.55);
}

.slider-indicators {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.indicator {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.indicator-active {
  background-color: #ffffff;
  width: 32px;
}

@media (max-width: 768px) {
  .main-nav ul {
    gap: 12px;
  }

  .logo-title {
    font-size: 14px;
  }

  .logo-subtitle {
    display: none;
  }
}

/* ========== 按钮样式 ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.05s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.4);
}

body.theme-dark .btn-outline {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.5);
}

.btn-outline:hover {
  background-color: rgba(37, 99, 235, 0.06);
}

body.theme-dark .btn-outline:hover {
  background-color: rgba(37, 99, 235, 0.2);
}

.btn-text {
  padding-inline: 0;
  border: none;
  background: none;
  color: #2563eb;
}

body.theme-dark .btn-text {
  color: #93c5fd;
}

.btn-text:hover {
  text-decoration: underline;
}

/* ========== 主题切换按钮（可复用组件） ========== */

.theme-toggle {
  position: relative;
  width: 60px;
  height: 28px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: linear-gradient(135deg, #e5e7eb, #cbd5f5);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
}

body.theme-dark .theme-toggle {
  background: linear-gradient(135deg, #111827, #1f2937);
}

.theme-toggle .toggle-knob {
  position: absolute;
  inset: 3px;
  width: 22px;
  border-radius: 999px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

body.theme-dark .theme-toggle .toggle-knob {
  transform: translateX(26px);
  background-color: #0b1120;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.8);
}

.toggle-icon {
  position: relative;
  z-index: 1;
  font-size: 14px;
  width: 50%;
  text-align: center;
  opacity: 0.9;
}

.toggle-icon-light {
  color: #f59e0b;
}

.toggle-icon-dark {
  color: #e5e7eb;
}

/* ========== 首屏（首页） ========== */

.hero {
  padding: 72px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(37, 99, 235, 0.06);
  color: #2563eb;
  margin-bottom: 10px;
}

body.theme-dark .hero-tag {
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
}

.hero h1 {
  font-size: 32px;
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.6;
}

body.theme-dark .hero-subtitle {
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-image-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

body.theme-dark .hero-image-card {
  border-color: rgba(51, 65, 85, 0.9);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.8);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
    justify-content: center;
  }

  .hero {
    padding-top: 56px;
  }
}

/* ========== 通用区块与卡片 ========== */

.section {
  padding: 40px 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.02);
}

body.theme-dark .section-alt {
  background: rgba(15, 23, 42, 0.5);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
}

.section-link {
  font-size: 14px;
  color: #2563eb;
}

body.theme-dark .section-link {
  color: #93c5fd;
}

/* ========== 首页主体：新闻、学术研究与侧边栏（贴合 preview.html） ========== */

.home-main-content {
  padding: 52px 0 40px;
}

.home-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .home-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-section {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 28px;
}

body.theme-dark .home-section {
  background-color: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.home-section-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #1a4d8f, #2d6cb5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-section-title {
  margin: 0;
  font-size: 18px;
  font-family: "Noto Serif SC", "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

.home-section-more {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.9;
}

.home-section-more:hover {
  opacity: 1;
}

.home-news-list {
  padding: 16px 22px 22px;
}

.home-news-item {
  padding: 16px 0;
  border-bottom: 1px solid #e1e8ed;
}

.home-news-item:last-child {
  border-bottom: none;
}

.home-news-date {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background-color: #f8f9fc;
  font-size: 14px;
  color: #5a5a5a;
  margin-bottom: 10px;
}

.home-news-tag {
  background-color: #e0ecff;
  color: #1a4d8f;
}

.home-news-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
  text-decoration: none;
}

.home-news-title:hover {
  color: #e74c3c;
}

.home-news-excerpt {
  margin: 0;
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.7;
}

.home-main-right .home-section {
  margin-bottom: 28px;
}

/*修改内容-品牌及特色活动*/
/* 列表容器：增加左右内边距，使内容不贴边 */
.home-event-list {
  padding: 14px 24px 18px; /* 增加了左右 padding (18px -> 24px) */
  max-width: 800px;        /* 可选：限制最大宽度，防止在大屏幕上过宽 */
  margin: 0 auto;          /* 可选：居中显示 */
}

/* 单个事件卡片 */
.home-event-item {
  display: flex;           /* 【关键】启用 Flexbox 布局 */
  flex-direction: column;  /* 垂直排列：上部分是时间地点，下部分是标题 */
  padding: 16px 20px;      /* 稍微增加内边距，让内容更呼吸 */
  margin-bottom: 16px;     /* 增加卡片之间的垂直间距 */
  border-radius: 8px;      /* 稍微增大圆角 */
  background-color: #f8f9fc;
  border-left: 4px solid #e74c3c; /* 加粗左边框以增强模块感 */
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 默认添加轻微阴影 */
}

.home-event-item:last-child {
  margin-bottom: 0;
}

/* 悬停效果增强 */
.home-event-item:hover {
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* 悬停时阴影更深 */
  transform: translateX(4px); /* 悬停位移稍大一点 */
  border-left-color: #c0392b; /* 悬停时左边框颜色变深 */
}

/* 时间与地点的容器行 */
.event-meta-row {
  display: flex;
  align-items: center;
  gap: 24px; /* 【关键】时间和地点之间的大间隔 (之前是连在一起的) */
  margin-bottom: 8px;
  color: #e74c3c;
  font-weight: 600;
  font-size: 14px;
}

/* 单独的时间项和地点项 (可选：添加图标或特定样式) */
.event-date, .event-location {
  display: flex;
  align-items: center;
  white-space: nowrap; /* 防止文字换行 */
}

/* 如果需要图标，可以使用伪元素 */
.event-date::before {
  content: "📅";
  margin-right: 6px;
  font-size: 14px;
}

.event-location::before {
  content: "📍";
  margin-right: 6px;
  font-size: 14px;
}

/* 标题样式 */
.home-event-title {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.5;
}

/* 响应式适配：屏幕太窄时，时间和地点改为上下排列 */
@media (max-width: 480px) {
  .event-meta-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  
  .home-event-list {
    padding: 14px 16px 18px; /* 小屏幕上减小左右边距 */
  }
}




.home-notice-list {
  padding: 10px 18px 18px;
}

.home-notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e1e8ed;
}

.home-notice-item:last-child {
  border-bottom: none;
}

.home-notice-icon {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #e74c3c;
  flex-shrink: 0;
}

.home-notice-title {
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: none;
}

.home-notice-title:hover {
  color: #e74c3c;
}

/* 首页快速入口（参考 preview.html） */

.quick-links {
  background-color: #ffffff;
}

.quick-links-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e1e8ed;
  border-top: none;
  padding: 0;
}

@media (max-width: 1024px) {
  .quick-links-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .quick-links-container {
    grid-template-columns: minmax(0, 1fr);
  }
}

.quick-link-item {
  display: block;
  padding: 26px 18px;
  text-align: center;
  color: #1a1a1a;
  text-decoration: none;
  border-right: 1px solid #e1e8ed;
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.quick-link-item:last-child {
  border-right: none;
}

.quick-link-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #e74c3c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.quick-link-item:hover {
  background-color: #f8f9fc;
  transform: translateY(-2px);
}

.quick-link-item:hover::before {
  transform: scaleX(1);
}

.quick-link-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

.quick-link-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.quick-link-subtitle {
  font-size: 12px;
  color: #5a5a5a;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-grid-news {
  margin-top: 4px;
}

.home-column-main {
  min-width: 0;
}

.home-column-side {
  min-width: 0;
}

.home-panel {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  margin-bottom: 14px;
}

body.theme-dark .home-panel {
  background-color: #020617;
  border-color: rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.home-panel-title {
  margin: 0 0 8px;
  font-size: 15px;
}

.home-panel-list {
  margin: 0 0 8px 16px;
  padding: 0;
  font-size: 13px;
}

.home-panel-list li {
  margin-bottom: 4px;
}

.home-panel-link {
  display: inline-flex;
  margin-top: 4px;
  font-size: 13px;
  color: #2563eb;
}

body.theme-dark .home-panel-link {
  color: #93c5fd;
}

.home-panel-timeline {
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.home-panel-timeline-item {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}

.home-panel-timeline-item:last-child {
  border-bottom: none;
}

.home-panel-timeline-item dt {
  font-weight: 500;
}

.home-panel-timeline-item dd {
  margin: 0;
  color: #4b5563;
}

body.theme-dark .home-panel-timeline-item dd {
  color: #e5e7eb;
}

.home-panel-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

body.theme-dark .home-panel-note {
  color: #9ca3af;
}

.label-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 16px;
  color: #4b5563;
  margin-right: 6px;
}

.label-pill-primary {
  border-color: rgba(37, 99, 235, 0.7);
  color: #1d4ed8;
  background-color: rgba(37, 99, 235, 0.06);
}

.label-pill-outline {
  border-style: dashed;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.notice-list-item:last-child {
  border-bottom: none;
}

.notice-list-item-muted {
  opacity: 0.9;
}

.notice-list-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 4px;
}

.notice-list-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.notice-list-meta {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

body.theme-dark .notice-list-meta {
  color: #e5e7eb;
}

.date-badge {
  width: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  font-size: 11px;
  flex-shrink: 0;
}

.date-day {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.date-month {
  opacity: 0.9;
}

.date-badge-small {
  width: 54px;
  font-size: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-body {
  min-width: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .cards-grid,
  .cards-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .cards-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.theme-dark .card {
  background: #020617;
  border-color: rgba(51, 65, 85, 0.8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card-tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-color: rgba(34, 197, 94, 0.1);
  color: #15803d;
  margin-bottom: 8px;
}

.card-tag-secondary {
  background-color: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.card-tag-muted {
  background-color: rgba(148, 163, 184, 0.12);
  color: #4b5563;
}

body.theme-dark .card-tag-muted {
  color: #e5e7eb;
}

.card-title {
  margin: 10px 0px 16px;
  font-size: 18px;
}

.card-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: #6b7280;
}

body.theme-dark .card-meta {
  color: #9ca3af;
}

.card-desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  font-size: 13px;
  color: #2563eb;
}

body.theme-dark .card-link {
  color: #93c5fd;
}

.card-horizontal {
  display: flex;
  gap: 12px;
  padding: 12px;
}

.card-horizontal .card-body {
  flex: 1;
}

.card-horizontal .card-image-wrapper {
  width: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .card-horizontal {
    flex-direction: column;
  }

  .card-horizontal .card-image-wrapper {
    width: 100%;
  }
}

.card-vertical .card-image-wrapper {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.news-title a {
  color: #111827;
}

body.theme-dark .news-title a {
  color: #e5e7eb;
}

.news-meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7280;
}

body.theme-dark .news-meta {
  color: #9ca3af;
}

.news-summary {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

body.theme-dark .news-summary {
  color: #e5e7eb;
}

/* ========== 关于模块 ========== */

.section-about {
  padding-bottom: 52px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.about-text p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.about-media .about-image-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

body.theme-dark .about-media .about-image-card {
  border-color: rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========== 页面级样式：通用标题区 ========== */

.page-hero {
  padding: 52px 0 24px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 26px;
}

.page-hero-subtitle {
  margin: 0;
  color: #4b5563;
  max-width: 720px;
}

body.theme-dark .page-hero-subtitle {
  color: #e5e7eb;
}

.page-hero-committee {
  background:
    linear-gradient(180deg, rgba(102, 125, 154, 0.14), rgba(26, 77, 143, 0.04)),
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.12), transparent 48%);
}

body.theme-dark .page-hero-committee {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.24)),
    radial-gradient(circle at 12% 18%, rgba(96, 165, 250, 0.22), transparent 46%);
}

.overview-section-intro {
  background:
    linear-gradient(180deg, rgba(217, 220, 226, 0.05), rgba(255, 255, 255, 0.9)),
    #f8fbff;
}

body.theme-dark .overview-section-intro {
  background:
    linear-gradient(180deg, rgba(30, 64, 175, 0.2), rgba(2, 6, 23, 0.9)),
    #020617;
}

.overview-section-modules {
  background:
    linear-gradient(180deg, rgba(26, 77, 143, 0.07), rgba(15, 23, 42, 0.02)),
    #e7f1fd;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

body.theme-dark .overview-section-modules {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.72)),
    #020617;
  border-top-color: rgba(96, 165, 250, 0.22);
  border-bottom-color: rgba(96, 165, 250, 0.22);
}

.committee-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1024px) {
  .committee-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.committee-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.95));
  border-radius: 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

body.theme-dark .committee-card {
  background: #020617;
  border-color: rgba(51, 65, 85, 0.8);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.9);
}

.committee-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.committee-card p {
  margin: 0;
  line-height: 1.75;
}

.committee-bullet-list {
  margin: 0 0 0 18px;
  padding: 0;
  line-height: 2.6;
}
.committee-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .committee-modules {
    grid-template-columns: minmax(0, 1fr);
  }
}

.committee-module-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.95));
  border-left: 4px solid #1a4d8f;
  border-radius: 10px;
  padding: 16px 16px 14px;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

body.theme-dark .committee-module-item {
  background: #020617;
  border-left-color: #60a5fa;
}

.committee-module-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.committee-module-item p {
  margin: 0;
  line-height: 1.7;
}

.org-structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1024px) {
  .org-structure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .org-structure-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.org-role-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.theme-dark .org-role-card {
  background: #020617;
  border-color: rgba(51, 65, 85, 0.8);
}

.org-role-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.org-role-card p {
  margin: 0;
  line-height: 1.7;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.leaders-top-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.leaders-top-col .member-grid {
  grid-template-columns: minmax(0, 1fr);
}

.leaders-top-col {
  grid-column: span 1;
}

@media (max-width: 1024px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leaders-top-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .leaders-top-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .member-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.member-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 14px 14px 12px;
}

body.theme-dark .member-card {
  background: #020617;
  border-color: rgba(51, 65, 85, 0.8);
}

.member-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.member-card p {
  margin: 0 0 6px;
  line-height: 1.6;
}

.member-card p:last-child {
  margin-bottom: 0;
}

.member-card.has-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-photo {
  width: 112px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
  margin-bottom: 10px;
  background: #f8fafc;
}

body.theme-dark .member-photo {
  border-color: rgba(100, 116, 139, 0.7);
  background: #0f172a;
}

/* ========== 会议通知列表布局 ========== */

.list-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .list-with-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
}

.notice-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.notice-meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7280;
}

.notice-info-list {
  margin: 0 0 8px 18px;
  padding: 0;
  font-size: 14px;
}

.notice-info-list li {
  margin-bottom: 4px;
}

.notice-item-muted {
  opacity: 0.85;
}

.list-sidebar .sidebar-block {
  background-color: #fdfdfd;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(134, 150, 173, 0.3);
  margin-bottom: 12px;
  font-size: 18px;
}

body.theme-dark .list-sidebar .sidebar-block {
  background-color: #020617;
  border-color: rgba(51, 65, 85, 0.9);
}

.list-sidebar h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
}

.list-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-sidebar li {
  margin-bottom: 4px;
}

.org-hierarchy {
  margin-top: 0;
  padding: 14px 16px 12px;
  border-radius: 10px;
  border: 1px solid rgba(26, 77, 143, 0.16);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.95));
}

body.theme-dark .org-hierarchy {
  border-color: rgba(96, 165, 250, 0.28);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.2), rgba(2, 6, 23, 0.92));
}

.org-node {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #1f2937;
}

body.theme-dark .org-node {
  color: #e5e7eb;
}

.org-node-symbol {
  min-width: 28px;
  color: #1d4ed8;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.org-node-text {
  font-weight: 500;
}

body.theme-dark .org-node-symbol {
  color: #93c5fd;
}

.org-node-root {
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(59, 130, 246, 0.28);
}

.org-node-group {
  margin: 8px 0;
  padding-left: 12px;
  border-left: 1px dashed rgba(59, 130, 246, 0.35);
}

.org-node-bottom {
  padding-top: 8px;
  border-top: 1px dashed rgba(59, 130, 246, 0.28);
}

.organization-hierarchy-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.organization-hierarchy-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

body.theme-dark .organization-hierarchy-panel {
  border-color: rgba(96, 165, 250, 0.24);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(2, 6, 23, 0.96));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.9);
}

.organization-hierarchy-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1e3a8a;
  letter-spacing: 0.02em;
}

body.theme-dark .organization-hierarchy-panel h3 {
  color: #bfdbfe;
}

@media (max-width: 640px) {
  .organization-hierarchy-panel {
    padding: 14px 14px 12px;
  }

  .organization-hierarchy-panel h3 {
    font-size: 16px;
  }

  .org-hierarchy {
    padding: 12px 12px 10px;
  }

  .org-node {
    font-size: 14px;
  }
}

/* ========== 活动时间轴 ========== */

.timeline {
  position: relative;
  margin-top: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #22c55e, #2563eb);
}

.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 18px;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #22c55e;
}

body.theme-dark .timeline-dot {
  background: #020617;
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.timeline-meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7280;
}

body.theme-dark .timeline-meta {
  color: #9ca3af;
}

.timeline-content p {
  margin: 0 0 4px;
  font-size: 14px;
}

/* ========== 新闻列表布局 ========== */

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.news-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.news-card:last-child {
  border-bottom: none;
}

.news-card-image {
  border-radius: 12px;
  overflow: hidden;
}

.news-card-title {
  margin: 0 0 4px;
  font-size: 17px;
}

.news-card-meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7280;
}

body.theme-dark .news-card-meta {
  color: #9ca3af;
}

.news-card-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .news-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

.news-sidebar .sidebar-block {
  background-color: #f4f3f3;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  margin-bottom: 12px;
  font-size: 16px;
}

body.theme-dark .news-sidebar .sidebar-block {
  background-color: #020617;
  border-color: rgba(51, 65, 85, 0.9);
}


/* 新闻详情页样式 */

.news-detail {
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9); /* 更淡雅的浅灰边框 */
  padding: 22px 24px 26px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

body.theme-dark .news-detail {
  background-color: #020617;
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.8);
}

.news-detail-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.news-detail-title {
  margin: 0 0 6px;
  font-size: 22px;
}

.news-detail-meta {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

body.theme-dark .news-detail-meta {
  color: #9ca3af;
}

.news-detail-body {
  font-size: 17px;
  line-height: 1.9;
  color: #1f2933;
}

body.theme-dark .news-detail-body {
  color: #e5e7eb;
}

.news-detail-body p {
  margin: 0 0 12px;
  text-indent: 2em;
}

.news-detail-figure {
  margin: 16px auto;
  text-align: center;
}

.news-detail-caption {
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
}

body.theme-dark .news-detail-caption {
  color: #94a3b8;
}

.news-detail-figure img {
  max-width: 70%;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.news-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 820px;
  margin: 12px auto 4px;
}

.news-detail-gallery .news-detail-figure {
  margin: 0;
}

.news-detail-gallery .news-detail-figure img {
  width: 100%;
  height: auto;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.news-article-nav {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-article-nav-link {
  font-size: 14px;
  color: #1d4ed8;
  text-decoration: none;
}

.news-article-nav-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

body.theme-dark .news-article-nav-link {
  color: #93c5fd;
}

/* 列举格式 */
.two-column-list {
  column-count: 2;           /* 分成两列 */
  column-gap: 6px;         /* 列间距 */
  list-style-type: disc;    /* 使用圆点符号 */
  padding-left: 200px;       /* 左侧缩进 */
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

/* 可选：在小屏幕上改为单列 */
@media (max-width: 600px) {
  .two-column-list {
    column-count: 1;
  }
}


/* ========== 关于页面布局 ========== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.about-section {
  margin-bottom: 20px;
}

.about-section h2 {
  margin: 0 0 8px;
}

.about-section p {
  margin: 0 0 8px;
  line-height: 1.7;
}

.about-list {
  margin: 0 0 8px 18px;
  padding: 0;
}

.about-list li {
  margin-bottom: 16px;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .org-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.org-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 16px;
}

body.theme-dark .org-card {
  background-color: #020617;
  border-color: rgba(51, 65, 85, 0.9);
}

.org-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.about-note {
  font-size: 12px;
  color: #6b7280;
}

body.theme-dark .about-note {
  color: #9ca3af;
}

.about-sidebar .about-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 12px;
}

body.theme-dark .about-sidebar .about-image-wrapper {
  border-color: rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.about-sidebar .sidebar-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 13px;
}

body.theme-dark .about-sidebar .sidebar-block {
  background-color: #020617;
  border-color: rgba(51, 65, 85, 0.9);
}

/* ========== 页脚 ========== */

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.92);
  margin-top: 0;
  backdrop-filter: blur(8px);
}

body.theme-dark .site-footer {
  background: rgba(15, 23, 42, 0.95);
  border-top-color: rgba(51, 65, 85, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
}

.footer-text p {
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
}

body.theme-dark .footer-links a {
  color: #d1d5db;
}

