/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
.top-nav {
  background: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

.search-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* 主导航 */
.main-nav {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h1 {
  color: #007bff;
  font-size: 24px;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #007bff;
}

/* Hero区域 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-content h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.cta-btn {
  background: white;
  color: #007bff;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* DM5区域 */
.dm5-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.section-header h3 {
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
}

.dm5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.dm5-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.dm5-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.dm5-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.dm5-card h5 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 300;
}

.dm5-card p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.learn-more {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.learn-more:hover {
  text-decoration: underline;
}

/* 合作伙伴 */
.partners-section {
  padding: 80px 0;
  background: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.partner-card:hover {
  transform: translateY(-3px);
}

.partner-logo {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.partner-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.partner-card p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 资讯区域 */
.news-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.news-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 1rem;
}

.news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.4;
}

.news-card p {
  color: #666;
  line-height: 1.6;
}

.view-more {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid #007bff;
  border-radius: 5px;
  transition: all 0.3s;
}

.view-more:hover {
  background: #007bff;
  color: white;
}

/* 联系我们 */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #007bff;
  width: 30px;
}

.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.submit-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #0056b3;
}

/* 页脚 */
.footer {
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #555;
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-links a:hover {
  background: #007bff;
}

.newsletter {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
  background: #444;
  border-radius: 10px;
}

.newsletter h4 {
  margin-bottom: 1rem;
  color: white;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.newsletter-form input {
  padding: 10px;
  border: 1px solid #666;
  border-radius: 5px;
  background: #555;
  color: white;
  width: 300px;
}

.newsletter-form button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #555;
  color: #ccc;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

.footer-links .separator {
  margin: 0 10px;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
    max-width: 300px;
  }
}
/* 页面标题 */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-nav a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb-nav span {
  color: #666;
}

/* 服务列表页面 */
.services-list {
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item .service-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-item p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid #007bff;
  border-radius: 5px;
  transition: all 0.3s;
}

.service-link:hover {
  background: #007bff;
  color: white;
}

/* 服务详情页面 */
.service-detail {
  padding: 60px 0;
}

.service-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.service-icon-large {
  font-size: 4rem;
  color: #007bff;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.service-info p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  gap: 0.5rem;
}

.tag {
  background: #007bff;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.service-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.content-section p {
  color: #666;
  line-height: 1.8;
}

.content-section ul {
  list-style: none;
  padding: 0;
}

.content-section li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.content-section li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* 服务流程 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.step-content p {
  color: #666;
  font-size: 0.9rem;
}

/* 侧边栏 */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.contact-info .contact-item i {
  color: #007bff;
}

.contact-btn {
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: #0056b3;
}

.related-services {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.related-services h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.related-services ul {
  list-style: none;
  padding: 0;
}

.related-services li {
  margin-bottom: 0.5rem;
}

.related-services a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.related-services a:hover {
  color: #0056b3;
}

/* CTA区域 */
.cta-section {
  background: #f8f9fa;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.cta-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* 联系我们页面 */
.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-intro p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* 导航链接样式 */
.nav-brand a {
  text-decoration: none;
  color: inherit;
}

.nav-menu .active {
  color: #007bff;
  font-weight: 600;
}

.top-nav .active {
  color: #007bff;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .service-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-content {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* 公司介绍区域 */
.about-intro {
  padding: 80px 0;
  background: #f8f9fa;
}

.intro-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.intro-subtitle {
  font-size: 1.3rem;
  color: #007bff;
  margin-bottom: 2rem;
  font-weight: 600;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

.intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 200px;
  background: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.image-placeholder i {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.image-placeholder p {
  color: #666;
  font-size: 1.1rem;
}

/* 核心价值 */
.core-values {
  padding: 80px 0;
}

.core-values h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.value-item p {
  color: #666;
  line-height: 1.6;
}

/* 五大核心元素 */
.core-elements {
  padding: 80px 0;
  background: #f8f9fa;
}

.core-elements h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.element-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s;
}

.element-item:hover {
  transform: translateY(-5px);
}

.element-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.element-item h3 {
  font-size: 1.3rem;
  margin: 1rem 0;
  color: #333;
}

.element-item p {
  color: #666;
  line-height: 1.6;
}

/* 合作伙伴 */
.partners {
  padding: 80px 0;
}

.partners h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.partner-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-logo {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.partner-item h4 {
  font-size: 1.1rem;
  color: #333;
}

/* 团队介绍 */
.team {
  padding: 80px 0;
  background: #f8f9fa;
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.team-member p {
  color: #666;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-text h2 {
    font-size: 2rem;
  }

  .intro-subtitle {
    font-size: 1.1rem;
  }

  .values-grid,
  .elements-grid,
  .partners-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .core-values h2,
  .core-elements h2,
  .partners h2,
  .team h2 {
    font-size: 2rem;
  }
}
/* 资讯页面样式 */

/* 资讯内容布局 */
.news-content {
  padding: 60px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

/* 精选文章 */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
  overflow: hidden;
}

.article-image {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-image .image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
}

.article-image .image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.article-content {
  padding: 2rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.category {
  background: #007bff;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.date, .views {
  color: #666;
}

.featured-article h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.featured-article p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid #007bff;
  border-radius: 5px;
  transition: all 0.3s;
}

.read-more:hover {
  background: #007bff;
  color: white;
}

/* 文章列表 */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s;
}

.article-item:hover {
  transform: translateY(-2px);
}

.article-thumbnail {
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.thumbnail-placeholder i {
  font-size: 2rem;
}

.article-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.article-info p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s;
}

.page-btn:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 侧边栏 */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
}

/* 热门文章 */
.popular-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.popular-number {
  width: 30px;
  height: 30px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.popular-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.popular-content .views {
  font-size: 0.8rem;
  color: #666;
}

/* 分类标签 */
.categories {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-tag {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.category-tag:hover {
  background: #e9ecef;
}

.category-tag span {
  color: #666;
  font-size: 0.9rem;
}

/* 订阅表单 */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  background: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #0056b3;
}

/* 文章详情页面 */
.article-detail {
  padding: 60px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.article-main {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.article-content {
  padding: 3rem;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.3;
}

.article-excerpt {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.article-body {
  line-height: 1.8;
  color: #333;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: #333;
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
  color: #333;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid #007bff;
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
  background: #f8f9fa;
  padding: 1.5rem 2rem;
  border-radius: 0 5px 5px 0;
}

.article-tags {
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.tag-label {
  font-weight: 600;
  color: #333;
  margin-right: 1rem;
}

.article-share {
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.share-label {
  font-weight: 600;
  color: #333;
  margin-right: 1rem;
}

.share-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  text-decoration: none;
  transition: transform 0.3s;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn.facebook {
  background: #3b5998;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.wechat {
  background: #1aad19;
  color: white;
}

/* 相关文章 */
.related-articles {
  margin-top: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.related-articles h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.related-thumbnail {
  height: 120px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-content {
  padding: 1rem;
}

.related-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.related-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* 作者卡片 */
.author-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.author-avatar {
  width: 80px;
  height: 80px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.author-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.author-card p {
  color: #666;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .news-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .article-item {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 2rem;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
