* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
      
body {
  font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  min-height: 100vh;
}

header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

ol, ul {
  padding-left:20px;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

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

.home-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.home-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  min-height: calc(100vh - 200px);
  display: flex;
  gap: 2rem;
  position: relative;
}

.main-content {
  flex: 1;
  max-width: 1100px;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-subtitle {
  font-size: 16px;
  color: #787878;
  margin-bottom: 1.5rem;
  line-height: 24px;
}

.divider {
  width: 60px;
  height: 2px;
  background: #ddd;
  margin: 1.5rem 0;
}

.article-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 2rem;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #262626;
}

.article-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

img {
  vertical-align: middle;
  border-style: none;
}

.article-content p img {
  max-width: 690px;
  display: block;
  border-radius: 2px;
  margin: 30px auto 10px;
}

h2 {
  font-size: 20px;
  color: #4285f4;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
}

.sidebar-sticky {
  position: sticky;
  top: 2rem;
}

.next-article {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.next-article-header {
  color: #4285f4;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #4285f4;
}

.next-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.next-article-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.next-article-time {
  font-size: 0.8rem;
  color: #999;
}

.next-link {
  color: #262626;
  line-height: 20px;
}

.next-link:hover {
  color: #4d7fd0;
}

footer {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-info {
  flex: 1;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
}

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

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.icp-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.icp-link:hover {
  color: #667eea;
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.footer-contact {
  text-align: center;
}

.footer-contact h4 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.1rem;
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qrcode {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.qrcode-container p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .logo span {
    font-size: 1.2rem;
  }
  
  .home-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .sidebar-sticky {
    position: static;
  }
  
  .article-title {
    font-size: 24px;
  }
  
  .article-subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .article-content p img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
    padding: 0;
    border: 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-info {
    order: 2;
  }
  
  .footer-contact {
    order: 1;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 20px;
  }
  
  .article-subtitle {
    font-size: 13px;
    line-height: 18px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }
  
  .footer-info {
    order: 1;
    text-align: left;
  }
  
  .footer-info p:first-child,
  .footer-info p:nth-child(2),
  .footer-info p:nth-child(3) {
    text-align: left;
  }

  .article-content p img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
    padding: 0;
    border: 0;
  }
  
  .footer-contact {
    display: none;
  }
  
  .contact-info {
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  
  .contact-info img {
    flex-shrink: 0;
  }

  .qrcode {
    width: 100px;
    height: 100px;
  }
  
  .contact-info {
    align-items: flex-start;
    gap: 0.5rem;
  }
}