/* 极简杂志风格 */
:root {
    --primary: #e63946;
    --secondary: #1d3557;
    --light: #f1faee;
    --dark: #1a1a1a;
    --accent: #a8dadc;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  }
  
  body {
    background-color: #f8f9fa;
    color: var(--dark);
    line-height: 1.6;
  }
  
  /* 杂志风格头部 */
  .magazine-header {
    background: white;
    border-bottom: 3px solid var(--primary);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .magazine-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
  }
  
  .magazine-logo a {
    color: inherit;
    text-decoration: none;
  }
  
  /* 杂志导航 */
  .magazine-nav {
    width: 100%;
  }
  
  .magazine-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .magazine-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .magazine-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
  }
  
  .magazine-nav a:hover:after {
    width: 100%;
  }
  
  /* 杂志内容区 */
  .magazine-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
  }
  
  /* 杂志文章网格 */
  .magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .magazine-article {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
  }
  
  .magazine-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: transparent;
  }
  
  .article-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  
  .article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .magazine-article:hover .article-cover img {
    transform: scale(1.05);
  }
  
  .article-content {
    padding: 1.5rem;
  }
  
  .article-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
  }
  
  .article-excerpt {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
  
  .article-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
  /* 杂志分类标题 */
  .section-heading {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
  }
  
  .section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
  }
  
  /* 杂志分页 */
  .magazine-pagination {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
    gap: 0.5rem;
  }
  
  .magazine-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
  }
  
  .magazine-pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  /* 杂志文章详情 */
  .magazine-article-detail {
    background: white;
    padding: 3rem;
    margin: 3rem 0;
  }
  
  .article-header {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .article-headline {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }
  
  .article-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .article-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #999;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  
  .article-body {
    line-height: 1.8;
    font-size: 1.1rem;
  }
  
  .article-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
  }
  
  .article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
  }
  
  .article-navigation a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
  }
  
  /* 杂志友情链接 */
  .magazine-links {
    background: white;
    padding: 2rem;
    margin: 3rem 0;
  }
  
  .links-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }
  
  .links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .links-grid a {
    display: block;
    padding: 0.8rem;
    background: #f5f5f5;
    color: var(--dark);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .links-grid a:hover {
    background: var(--primary);
    color: white;
  }
  
  /* 杂志页脚 */
  .magazine-footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0;
    text-align: center;
  }
  
  .footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .copyright-notice {
    margin-top: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .header-wrapper {
      padding: 0 1rem;
    }
    
    .magazine-nav ul {
      gap: 1rem;
    }
    
    .magazine-container {
      padding: 0 1rem;
    }
    
    .magazine-grid {
      grid-template-columns: 1fr;
    }
    
    .magazine-article-detail {
      padding: 2rem 1rem;
    }
    
    .article-headline {
      font-size: 1.8rem;
    }
    
    .article-info {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .links-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }