/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  color: #2c3e50;
  background-color: #f5f7fa;
}

/* 导航栏样�?*/
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.main-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-menu a:hover {
  color: #4CAF50;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-left: -450px;
  width: 900px;
  padding: 30px 40px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  z-index: 1000;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 95vw;
  overflow-x: hidden;
}

.dropdown:hover .dropdown-content {
  display: flex;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
}

.submenu {
  flex: 1;
  padding: 0 15px;
}

.submenu h4 {
  color: #2c3e50;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.submenu h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #3498db;
}

.submenu ul {
  list-style: none;
  padding: 0;
}

.submenu li {
  margin: 12px 0;
}

.submenu a {
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-left: 18px;
}

.submenu a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3498db;
  opacity: 0;
  transition: all 0.3s ease;
}

.submenu a:hover {
  color: #3498db;
  transform: translateX(5px);
}

.submenu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.divider {
  width: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 10px;
}

.banner-title {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  font-size: 3em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* 页面内容区域 */
.page-content {
  margin-top: 120px;
}

/* 封面容器 */
.cover-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.cover-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(44, 62, 80, 0.7) 0%, rgba(44, 62, 80, 0.4) 100%);
  z-index: 1;
}

/* 新闻内容区域 */
.news-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 50px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.5;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 3px solid #3498db;
  position: relative;
}

.news-content h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #4fd1c5);
  border-radius: 2px;
}

.news-content p {
  font-size: 16px;
  color: #5a6672;
  line-height: 2;
  margin-bottom: 25px;
  text-align: justify;
  text-indent: 2em;
}

.news-content p:last-child {
  margin-bottom: 0;
}

/* 文章装饰元素 */
.news-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.news-content::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

/* 文章标签 */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(79, 209, 197, 0.1));
  border-radius: 20px;
  font-size: 14px;
  color: #3498db;
  font-weight: 500;
}

.article-tag::before {
  content: '#';
  margin-right: 4px;
}

/* 阅读进度指示�?*/
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #4fd1c5);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* 响应式设�?*/
@media (max-width: 1024px) {
  .news-content {
    margin: 40px 20px;
    padding: 30px;
  }
  
  .news-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-content {
    margin-top: 100px;
  }
  
  .cover-container {
    height: 200px;
  }
  
  .banner-title {
    font-size: 3em;
    left: 5%;
  }
  
  .news-content {
    margin: 30px 15px;
    padding: 25px 20px;
  }
  
  .news-content h2 {
    font-size: 20px;
    padding-bottom: 15px;
    margin-bottom: 25px;
  }
  
  .news-content p {
    font-size: 15px;
    line-height: 1.8;
    text-indent: 1.5em;
  }
}

@media (max-width: 480px) {
  .news-content {
    margin: 20px 10px;
    padding: 20px 15px;
  }
  
  .news-content h2 {
    font-size: 18px;
  }
  
  .banner-title {
    font-size: 3em;
  }
}