/* 基础样式设置 */
:root {
  /* 企业蓝为主色调 */
  --primary-blue: #006855; /* #0a4da2; */
  --primary-blue-light: #008153; /* #1e6bc8; */
  --primary-blue-dark: #00a450; /* #073a7d; */
  --secondary-blue: #00c84e; /* #3584e4; */
  --light-blue: #e6f0ff;

  /* 主橙色调 */
  --primary-orange: #dd6c32;
  --primary-orange-dark: #e4895b;
  --primary-orange-light: #e4895b;
  --secondary-orange: #eba784;
  --light-orange: #f1c4ad;

  /* 辅助色 */
  --accent-red: #e63946;
  --accent-gray: #6c757d;

  /* 中性色 */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --mid-gray: #e9ecef;
  --dark-gray: #343a40;

  /* 字体设置 */
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* 阴影设置 */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
}

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

body {
  font-family: var(--font-main);
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 头部样式 */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--mid-gray);
}

.home-link {
  font-size: 1rem;
  /* font-weight: bold; */
  color: var(--primary-blue);
  text-decoration: none;
}

.current-time {
  color: var(--accent-gray);
  margin-left: 15px;
}

.header-right {
  display: flex;
  align-items: center;
}

.qrcode-container {
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

.qrcode-trigger {
  color: var(--primary-blue);
  font-size: 1rem;
}

.qrcode-image {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  padding: 10px;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  display: none;
  z-index: 100;
}

.qrcode-container:hover .qrcode-image {
  display: block;
}

.login-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.login-link:hover {
  text-decoration: underline;
}

/* 用户头像及下拉菜单样式 */
.user-profile {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px; /* 头像和其他元素之间的间距 */
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue-light);
  transition: transform 0.3s ease;
}

.user-profile:hover .avatar {
  transform: scale(1.05);
}

/* 用户名样式 - 优化设计 */
.menu-username-container {
  padding: 12px 15px 8px;
  border-bottom: 1px solid rgba(0, 120, 212, 0.1); /* 淡蓝色分隔线 */
  margin-bottom: 5px;
  display: none; /* 默认隐藏 */
}

.user-menu.active .menu-username-container {
  display: block; /* 菜单激活时显示 */
}

.menu-username {
  color: var(--primary-blue-dark);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}

.menu-user-role {
  color: var(--accent-gray);
  font-size: 0.8rem;
  font-weight: 400;
}

.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: 6px; /* 圆角更圆润 */
  min-width: 180px; /* 加宽菜单 */
  list-style: none;
  padding: 5px 0;
  margin-top: 5px;
  display: none;
  z-index: 100;
  border: 1px solid rgba(0, 120, 212, 0.1); /* 淡蓝色边框 */
}

.user-menu.active {
  display: block;
  animation: fadeIn 0.2s ease-in-out; /* 淡入动画 */
}

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

.user-menu-item {
  padding: 0;
}

.user-menu-link {
  display: block;
  color: var(--dark-gray);
  text-decoration: none;
  padding: 9px 18px; /* 增加内边距 */
  transition: all 0.3s;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.user-menu-link i {
  width: 18px;
  margin-right: 8px; /* 图标与文字间距 */
  color: var(--primary-blue-light);
}

.user-menu-link:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  padding-left: 20px; /* hover时轻微缩进效果 */
}

.user-menu-divider {
  height: 1px;
  background-color: rgba(0, 120, 212, 0.1); /* 淡蓝色分隔线 */
  margin: 5px 0;
}

/* Logo和搜索区域 */
.logo-banner {
  position: relative;
  /* margin: 15px 0; */
}

.logo-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

.search-container {
  position: absolute;
  right: 20px;
  /* top: 50%; */
  transform: translateY(-50%);
  background-color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  bottom: 10px;
}

.search-input {
  border: none;
  outline: none;
  padding: 5px 10px;
  width: 200px;
}

.search-button {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 导航菜单样式 */
.main-nav {
  background-color: var(--primary-blue);
  position: relative;
  z-index: 50;
}

/* 修改导航列表样式，使其充满容器并设置flex基础属性 */
.nav-list {
  display: flex;
  list-style: none;
  width: 100%; /* 让导航列表充满容器宽度 */
  margin: 0;
  padding: 0;
}

/* 修改菜单项样式，实现平分宽度 */
.nav-item {
  position: relative;
  flex: 1; /* 关键：每个菜单项平均分配可用宽度 */
  text-align: center; /* 文字居中显示，增强平分视觉效果 */
}

/* 调整链接样式，确保填充整个菜单项区域 */
.nav-link {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 12px 10px; /* 适当调整内边距，避免文字过长溢出 */
  font-weight: 500;
  transition: background-color 0.3s;
  white-space: nowrap; /* 防止文字换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出内容显示省略号 */
  font-size: 18px;
}

.nav-link:hover {
  background-color: var(--primary-blue-light);
}

/* 二级菜单样式 */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0; /* 新增：让二级菜单右边界与父元素对齐 */
  background-color: var(--primary-blue);
  list-style: none;
  width: 100%; /* 关键：设置宽度为100%，与一级菜单相同 */
  min-width: auto; /* 移除最小宽度限制 */
  box-shadow: var(--shadow-md);
  display: none;
}

.nav-item:hover .submenu {
  display: block;
}

.submenu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.submenu-item:last-child {
  border-bottom: none;
}

.submenu-link {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  transition: background-color 0.3s;
  white-space: normal; /* 关键：允许文字换行 */
}

.submenu-link:hover {
  background-color: var(--primary-blue-light);
  padding-left: 25px;
}

/* 横幅链接区域 */
.banner-links {
  margin: 5px 0;
}

.banner-link-item {
  width: 100%;
  height: auto;
  max-height: 120px;
  margin-bottom: 5px;
  /* border-radius: 4px; */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.banner-link-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.banner-link-image:hover {
  transform: scale(1.02);
}

/* 主要内容区域通用样式 */
.section {
  margin-bottom: 1px;
  padding: 5px 0;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue-light);
}

/* 双列布局样式 */
.two-column {
  display: flex;
  gap: 10px;
}

.left-column {
  flex: 1;
}

.right-column {
  flex: 1;
}

/* 三列布局样式 */
.three-column {
  display: flex;
  gap: 10px; /* 列之间的间距 */
}

.column {
  flex: 1; /* 三列平均分配宽度 */
  /* width: 33.3333%; */
}

/* 响应式调整 - 在小屏幕上自动堆叠 */
@media (max-width: 768px) {
  .three-column {
    flex-direction: column;
    gap: 20px;
  }
}

/* 幻灯片样式 */
.slideshow {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  /* 非激活状态的幻灯片 */
  display: none; /* 或使用 opacity: 0; */
  pointer-events: none; /* 禁止点击 */
}

.slide.active {
  opacity: 1;
  /* 激活状态的幻灯片 */
  display: block; /* 或使用 opacity: 1; */
  pointer-events: auto; /* 允许点击 */
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 10px 15px;
  font-size: 0.9rem;
}

/* 右侧信息标签页 */
.info-tabs {
  border: 1px solid var(--mid-gray);
  border-radius: 4px;
  overflow: hidden;
}

/* 选项卡按钮基础样式 */
.tab-button {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent; /* 透明下划线（默认） */
  cursor: pointer;
  font-weight: 500;
  color: var(--accent-gray);
  transition: all 0.3s;
  font-size: 18px;
}

/* 激活状态：下划线+文字变色 */
.tab-button.active {
  border-bottom-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* 悬停效果 */
.tab-button:hover {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange-light); /* 浅蓝下划线（悬停） */
}

.tab-content {
  padding: 15px;
  display: none;
}

/* 更多链接样式（保持原有蓝色） */
.tab-more-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.tab-more-link:hover {
  color: var(--primary-orange); /*  hover时加深颜色 */
  text-decoration: underline; /*  hover时下划线 */
}

.tab-content.active {
  display: block;
}

/* 列表通用样式 */
.generic-list {
  list-style: none;
}

.generic-list-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--mid-gray);
  height: 45px;
}

.generic-list-item:last-child {
  border-bottom: none;
}

.generic-list-link {
  color: var(--dark-gray);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s;
}

.generic-list-link:hover {
  color: var(--primary-orange);
}

.list-date {
  color: var(--accent-gray);
  font-size: 0.85rem;
  margin-left: 10px;
}

/* 学术会议、分支机构等列表区域 */
.content-card {
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}

.content-card-header {
  background-color: var(--light-blue);
  padding: 12px 15px;
  border-bottom: 1px solid var(--mid-gray);
}

.content-card-title {
  color: var(--primary-orange);
  font-size: 1.1rem;
  margin: 0;
}

.content-card-body {
  padding: 15px;
}

/* 友情链接样式调整 */
.friend-links {
    margin: 30px 0;
    padding: 0 15px;
}

.friend-links .links-header {
    text-align: center;
    margin-bottom: 20px;
}

.friend-links .links-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-blue); /* 蓝色标题 */
    margin-bottom: 8px;
    display: inline-block;
}

.friend-links .links-short-divider {
    height: 2px;
    background-color: var(--primary-blue); /* 蓝色短横线 */
    width: 60px; /* 短横线宽度 */
    margin: 0 auto 0px; /* 居中并与长横线保持距离 */
    width: 70px;
}

.friend-links .links-long-divider {
    height: 1px;
    background-color: #e0e0e0; /* 灰色长横线 */
    width: 100%; /* 长横线宽度占满容器 */
    margin-bottom: 15px;
}

.friend-links .links-container {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.friend-links .links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    max-width: calc(313px * 5 + 15px * 4);
    box-sizing: border-box;
}

.friend-links .link-item {
    width: 100%;
    box-sizing: border-box;
}

.friend-links .link-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.friend-links .link-item img:hover {
    border-color: #0066cc;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .friend-links .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .friend-links .link-item:nth-child(4),
    .friend-links .link-item:nth-child(5) {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .friend-links .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .friend-links .link-item:nth-child(3),
    .friend-links .link-item:nth-child(4),
    .friend-links .link-item:nth-child(5) {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .friend-links .links-grid {
        grid-template-columns: 1fr;
    }
    .friend-links .link-item {
        margin-bottom: 10px;
    }
}

/* 页脚样式 */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 15px 0;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column-title {
  font-size: 16px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact {
  list-style: none;
  font-size: 12px;
}

.footer-contact-item {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

.footer-contact-icon {
  margin-right: 10px;
  margin-top: 3px;
}

.footer-bottom {
  /* margin-top: 20px; */
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* 关于学会等页面特定样式 */
.content-page {
  padding: 20px 0;
}

.content-page-title {
  color: var(--primary-blue);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue-light);
}

.content-section {
  margin-bottom: 30px;
}

.content-section h3 {
  color: var(--primary-blue);
  margin: 15px 0;
}

.content-image {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 4px;
}

/* 文件下载列表样式 */
.download-list {
  list-style: none;
}

.download-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--mid-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download-item:hover {
  background-color: var(--light-gray);
}

.download-link {
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.download-link:hover {
  text-decoration: underline;
}

.download-icon {
  margin-right: 8px;
}

.download-date {
  color: var(--accent-gray);
  font-size: 0.85rem;
}

/* 幻灯片指示器样式 */
.dots-container {
    position: absolute;
    bottom: 15px; /* 距离底部15px */
    right: 15px; /* 距离右侧15px */
    display: flex;
    gap: 8px; /* 点之间的间距 */
    z-index: 10; /* 确保在幻灯片上方显示 */
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%; /* 圆形 */
    background-color: rgba(255, 255, 255, 0.6); /* 半透明白色 */
    cursor: pointer;
    transition: all 0.3s ease; /* 过渡动画 */
}

/* 激活状态的点 */
.dot.active {
    background-color: var(--white); /* 纯白色 */
    transform: scale(1.2); /* 轻微放大 */
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); /* 阴影效果 */
}

/* 标题栏内容容器 - 用于横向排列标题和更多链接 */
.header-content {
  display: flex;
  justify-content: space-between; /* 标题左对齐，链接右对齐 */
  align-items: center; /* 垂直居中对齐 */
}

/* 更多链接样式 */
.more-link {
  color: var(--primary-orange); /* 使用主蓝色，与主题统一 */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.more-link:hover {
  color: var(--primary-orange); /*  hover时加深颜色 */
  text-decoration: underline; /*  hover时下划线 */
}

/* 调整标题边距，避免与链接太近 */
.content-card-title {
  margin: 0; /* 清除默认margin，避免影响对齐 */
}


/* 响应式设计 */
@media (max-width: 992px) {
  .two-column {
    flex-direction: column;
  }

  .link-item {
    min-width: 33.333%;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-right {
    width: 100%;
    justify-content: flex-end;
  }

  .nav-list {
    flex-wrap: wrap;
  }

  .nav-item {
    flex: 1 0 auto;
    text-align: center;
  }

  .slideshow {
    height: 250px;
  }

  .link-item {
    min-width: 50%;
  }
}

@media (max-width: 576px) {
  .search-container {
    position: static;
    transform: none;
    margin-top: 10px;
    width: 100%;
  }

  .search-input {
    width: 100%;
  }

  .nav-link {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .submenu {
    min-width: 160px;
  }

  .slideshow {
    height: 200px;
  }

  .link-item {
    min-width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* 选项卡头部（标题+更多） */
.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-gray);
  border-bottom: 1px solid var(--mid-gray);
  padding: 0 15px;
}

/* 标题按钮容器 */
.tab-titles {
  display: flex;
}

/*******************************************************************************************/
/** 浮动工具栏 **/
/* 基础样式保持不变，新增白色光环效果 */
.floating-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 核心修改：添加白色光环 */
.toolbar-item {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    /* 白色光环效果（使用多重阴影叠加） */
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.8), /* 白色光环 */
        0 2px 8px rgba(0, 0, 0, 0.2); /* 原有阴影保持立体感 */
    transition: all 0.3s ease;
}

/* 悬停时增强光环效果 */
.toolbar-item:hover {
    background-color: var(--primary-blue-light);
    transform: scale(1.1);
    /* 光环略微放大，增强交互感 */
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 1), /* 白色光环变亮变大 */
        0 3px 12px rgba(0, 0, 0, 0.3);
}

/* 微信弹出层样式保持不变 */
.wechat-popup {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    padding: 15px;
    width: 220px;
    display: none;
    z-index: 1000;
}

.wechat-popup::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.wechat-item:hover .wechat-popup {
    display: block;
}

.popup-content {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.image-item {
    text-align: center;
    width: 33.33%;
}

.contact-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    padding: 2px;
    box-sizing: border-box;
}

.image-caption {
    margin: 5px 0 0;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .floating-toolbar {
        right: 10px;
    }

    .wechat-popup {
        width: 180px;
        right: 50px;
        padding: 10px;
    }

    .toolbar-item {
        width: 44px;
        height: 44px;
        font-size: 18px;
        /* 小屏幕光环相应缩小 */
        box-shadow:
            0 0 0 2px rgba(255, 255, 255, 0.8),
            0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .toolbar-item:hover {
        box-shadow:
            0 0 0 3px rgba(255, 255, 255, 1),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/*******************************************************************************************/
/** 新闻动态列表 **/

/* 面包屑：需求文档的路径 */
.breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px dashed #ddd;
}

/* 新闻动态标题：需求文档的层级 */
.news-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
    border-left: 4px solid var(--primary-blue-dark);
    padding-left: 10px;
}

/* 新闻列表：需求文档的结构（文本+日期） */
.news-list {
    list-style: none;
}
.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
    line-height: 1.6;
}
.news-date {
    color: #999;
    min-width: 120px;
    text-align: right;
}

/* 分页：需求文档的样式 */
.news_pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    font-size: 14px;
}
.news_pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: background 0.3s;
}
.news_pagination a:hover {
    background-color: #f5f5f5;
}
.news_pagination .current {
    background-color: #0a4da2;
    color: #fff;
    border: 1px solid #0a4da2;
    text-decoration: none;
}

.news_pagination .other {
  color: var(--dark-gray);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s;
}

/*******************************************************************************************/
/** 新闻详情 **/
/* 新闻详情核心样式 */
.news-detail {
    padding: 20px 0;
}
.news-detail-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}
.news-meta {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}
.news-content {
    line-height: 1.8;
    font-size: 16px;
}
.news-content p {
    margin-bottom: 15px;
    /*text-indent: 2em;  首行缩进，还原文档排版 */
}
.news-content img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
}

/*******************************************************************************************/
/** 分支机构 **/

.branch-breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: #666;
}

/* 表格样式 - 保留纵向表格线，去除其他边框和分隔线 */
.branch-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    /* 只保留顶部边框，去除左右下边框 */
    border-top: 1px solid #ccc;
    border-left: none;
    border-right: none;
    border-bottom: none;
}
.branch-table th, .branch-table td {
    padding: 12px 8px;
    /* 为每个单元格添加右侧边框（纵向线条） */
    border-right: 1px solid #ccc;
}

.branch-table th {
    background-color: #f5f5f5;
}
.btn-group {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.btn-group button {
    padding: 4px 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
}

/*******************************************************************************************/
/** 关于学会 **/
/* 页面容器样式 */
.about-container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    border: 1px solid var(--border-gray);
    overflow: hidden;
}

/* 左侧导航栏 - 整体背景为浅灰色（非主蓝色） */
.sidebar {
    width: 220px;
    background-color: var(--light-gray); /* 导航栏整体用浅灰背景 */
    flex-shrink: 0;
}

/* 核心："关于学会"标题区域使用主蓝色背景 */
.sidebar-title {
    background-color: var(--primary-blue); /* 仅标题区用主蓝色 */
    color: var(--white); /* 标题文字白色 */
    font-size: 18px;
    font-weight: bold;
    padding: 16px 0;
    text-align: center; /* 标题文字居中 */
    margin: 0; /* 去除默认边距 */
    border-bottom: 1px solid #D9D9D9;
}

/* 导航菜单 - 菜单项居中显示 */
.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu a {
    text-decoration: none;
}

.sidebar-menu li {
    color: var(--dark-gray); /* 菜单项文字深色 */
    padding: 14px 0;
    text-align: center; /* 菜单项居中 */
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
}

/* 激活项样式 */
.sidebar-menu li.active {
    background-color: var(--primary-blue-light); /* 激活项浅蓝背景 */
    color: var(--white);
    font-weight: bold;
}

/* 菜单项悬停效果 */
.sidebar-menu li:hover:not(.active) {
    background-color: #e9ecef;
}

/* 右侧内容区 */
.content {
    flex: 1;
    padding: 30px;
    background-color: var(--white);
}

/* 面包屑导航 */
.about-breadcrumb {
    color: var(--accent-gray);
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D9D9D9;
    font-weight: bold;
}

.about-img {
  text-align: center;
}

.about-img img{
  width: 80%;
}

/* 内容标题 - 居中显示 */
.section-title {
    color: var(--primary-blue);
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: normal;
}

/* 内容标题 - 附加 */
.section-title-one {
    color: var(--accent-gray);
    font-size: 24px;
    text-align: center;
    font-weight: bold;
}

.section-title-two {
    color: var(--accent-gray);
    font-size: 20px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-menu ul {
        display: flex;
        flex-wrap: wrap;
    }

    .sidebar-menu li {
        flex: 1;
        min-width: 33.33%;
        border-bottom: none;
        border-right: 1px solid var(--border-gray);
    }

    .sidebar-menu li:last-child {
        border-right: none;
    }
}

/*******************************************************************************************/
/* 个人中心内容区域 - 添加personal-前缀 */
.personal-center {
    display: flex;
    margin: 30px 0;
    gap: 20px;
}

/* 左侧导航 */
.personal-sidebar {
    flex: 0 0 250px;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.personal-sidebar-title {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.personal-sidebar-menu {
    list-style: none;
}

.personal-sidebar-item {
    border-bottom: 1px solid var(--mid-gray);
}

.personal-sidebar-item:last-child {
    border-bottom: none;
}

.personal-sidebar-link {
    display: block;
    padding: 15px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.personal-sidebar-link:hover,
.personal-sidebar-link.active {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.personal-sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-blue);
}

/* 右侧内容区域 */
.personal-content-area {
    flex: 1;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.personal-content-header {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--mid-gray);
}

.personal-content-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
}

/* 个人信息表单样式 */
.personal-profile-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.personal-form-group {
    margin-bottom: 15px;
}

.personal-form-group.full-width {
    grid-column: 1 / -1;
}

.personal-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-gray);
}

.personal-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mid-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.personal-form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(10, 77, 162, 0.1);
}

.personal-form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--accent-gray);
}

.personal-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.personal-btn:hover {
    background-color: var(--primary-blue-dark);
}

/* 缴费记录表格样式 */
.personal-payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.personal-payment-table th,
.personal-payment-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--mid-gray);
}

.personal-payment-table th {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 500;
}

.personal-payment-table tr:hover {
    background-color: var(--light-gray);
}

.personal-status-paid {
    color: #28a745;
    font-weight: 500;
}

.personal-status-unpaid {
    color: var(--accent-red);
    font-weight: 500;
}

/* 账户设置样式 */
.personal-settings-list {
    list-style: none;
}

.personal-settings-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--mid-gray);
}

.personal-settings-item:last-child {
    border-bottom: none;
}

.personal-settings-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.personal-settings-desc {
    color: var(--accent-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.personal-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.personal-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.personal-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--mid-gray);
    transition: .4s;
    border-radius: 24px;
}

.personal-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .personal-slider {
    background-color: var(--primary-blue);
}

input:checked + .personal-slider:before {
    transform: translateX(26px);
}

/* 修改密码表单样式 */
.personal-password-form {
    max-width: 500px;
}

/* 响应式设计 - 针对个人中心内容 */
@media (max-width: 992px) {
    .personal-center {
        flex-direction: column;
    }

    .personal-sidebar {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }

    .personal-profile-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-right {
        width: 100%;
        justify-content: flex-end;
    }

    .nav-list {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 1 0 auto;
        text-align: center;
    }

    .search-container {
        position: static;
        transform: none;
        margin-top: 10px;
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .nav-link {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    .submenu {
        min-width: 160px;
    }
}

@media (max-width: 576px) {
    .personal-payment-table {
        display: block;
        overflow-x: auto;
    }

    .footer-content {
        flex-direction: column;
    }
}

/*****************************************************************************/
/* 附件区域整体样式 */
.attachments-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid var(--secondary-blue); /* #2563eb; */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 附件标题样式 */
.attachments-title {
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    font-size: 18px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

/* 附件列表样式 */
.attachments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 单个附件项样式 */
.attachment-item {
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.attachment-item:last-child {
    margin-bottom: 0;
}

.attachment-item:hover {
    background-color: #f1f5f9;
}

/* 附件链接通用样式 */
.attachment-link {
    display: flex;
    align-items: center;
    color: #1e40af;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.attachment-link:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* 附件图标通用样式 */
.attachment-link i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px; /* 确保图标对齐 */
    text-align: center;
}

/* 各类型文件图标颜色 */
/* PDF文件 - 红色系 */
.attachment-link .fa-file-pdf {
    color: #dc2626;
}

/* 图片文件 - 绿色系 */
.attachment-link .fa-file-image {
    color: #16a34a;
}

/* 文本文件 - 灰色系 */
.attachment-link .fa-file-text {
    color: #64748b;
}

/* Word文件 - 蓝色系 */
.attachment-link .fa-file-word {
    color: #2563eb;
}

/* Excel文件 - 绿色系 */
.attachment-link .fa-file-excel {
    color: #059669;
}

/* PPT文件 - 橙色系 */
.attachment-link .fa-file-powerpoint {
    color: #ea580c;
}

/* 加入文字过长时，限制长度，防止益出 */
.truncate-text {
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden;    /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出部分显示省略号 */
    max-width: 400px;     /* 确保容器宽度正确 */
}

/* 加入文字过长时，限制长度，防止益出 */
.truncate-text-90 {
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden;    /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出部分显示省略号 */
    max-width: 90%;     /* 确保容器宽度正确 */
}

/* 加入文字过长时，限制长度，防止益出 */
.truncate-text-600 {
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden;    /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出部分显示省略号 */
    max-width: 600px;     /* 确保容器宽度正确 */
}

/* 加入文字过长时，限制长度，防止益出 */
.truncate-text-270 {
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden;    /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出部分显示省略号 */
    max-width: 270px;     /* 确保容器宽度正确 */
}

