/* 全局重置与基础配置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "SimSun", sans-serif;
}

:root {
  /* 蓝色主题色体系 */
  --primary-color: #165DFF;
  --primary-dark: #0E42B3;
  --primary-light: #4080FF;
  --bg-light: #F5F7FA;
  --text-dark: #1D2129;
  --text-gray: #4E5969;
  --text-light: #86909C;
  --border-color: #E5E6EB;
  --white: #FFFFFF;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 顶部导航栏 */
header {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list li a {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* 首页轮播Banner */
.banner-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  color: var(--white);
  z-index: 10;
}

.banner-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-text p {
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 右侧悬浮快捷导航 */
.quick-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-nav a {
  width: 120px;
  padding: 0.8rem 0.5rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.quick-nav a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.quick-nav a img {
  width: 24px;
  height: 24px;
}

/* 轮播指示器 */
.banner-dots {
  position: absolute;
  bottom: 2rem;
  right: 15%;
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dots span.active {
  background-color: var(--white);
  width: 30px;
  border-radius: 6px;
}

/* 资讯与公告模块（首页双栏） */
.news-notice-section {
  padding: 3rem 0;
}

.news-notice-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.module-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border-color);
}

.module-title h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-title h2 span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: normal;
}

.more-btn {
  color: var(--primary-color);
  font-size: 0.95rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

.more-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.notice-title-wrap {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
  border-bottom: none;
}

.notice-title-wrap h2,
.notice-title-wrap .more-btn {
  color: var(--white);
}

.notice-title-wrap .more-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.news-list,
.notice-list {
  background-color: var(--white);
  border-radius: 0 0 8px 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-list li,
.notice-list li {
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-list li:last-child,
.notice-list li:last-child {
  border-bottom: none;
}

.news-list li a,
.notice-list li a {
  font-size: 1rem;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  padding-left: 1rem;
  position: relative;
}

.news-list li a::before,
.notice-list li a::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.news-list li a:hover,
.notice-list li a:hover {
  color: var(--primary-color);
  padding-left: 1.2rem;
}

.news-date,
.notice-date {
  font-size: 0.9rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 1rem;
}

/* 页面通用标题 */
.page-header {
  background-color: var(--primary-color);
  padding: 2rem 0;
  color: var(--white);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: bold;
}

/* 内容卡片通用样式 */
.content-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.content-card h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border-color);
}

.content-card h3 {
  font-size: 1.2rem;
  margin: 1.2rem 0 0.8rem;
  color: var(--text-dark);
}

.content-card p,
.content-card li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
}

/* 期刊中心-论文列表样式 */
.journal-year-block {
  margin-bottom: 2rem;
}

.journal-year-title {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.paper-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.paper-item {
  background-color: var(--white);
  padding: 1.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-color);
}

.paper-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.paper-info {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
}

.download-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.download-btn:hover {
  background-color: var(--primary-dark);
}

/* 新闻列表页样式 */
.news-page-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-page-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.news-page-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.news-page-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.news-page-title:hover {
  color: var(--primary-color);
}

.news-page-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.news-page-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* 页脚 */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .nav-list {
    gap: 1rem;
  }
  .banner-section {
    height: 400px;
  }
  .banner-text h1 {
    font-size: 2rem;
  }
  .news-notice-wrap {
    grid-template-columns: 1fr;
  }
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }
  .quick-nav {
    display: none;
  }
}

@media (max-width: 576px) {
  .nav-wrap {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
  }
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
  }
  .banner-section {
    height: 300px;
  }
  .banner-text {
    left: 5%;
  }
  .banner-text h1 {
    font-size: 1.5rem;
  }
  .footer-wrap {
    grid-template-columns: 1fr;
  }
}