  /* 基础样式 */
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Arial', sans-serif;
  }

  body {
      background-color: #f5f5f5;
      color: #333;
      line-height: 1.6;
  }

  a {
      text-decoration: none;
      color: #333;
      transition: color 0.3s ease;
  }

  a:hover {
      color: #e63946;
  }

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

  /* 主内容区样式 */
  main {
      padding: 40px 0;
  }

  .news-detail {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      padding: 30px;
      margin-bottom: 40px;
  }

  .news-header {
      margin-bottom: 30px;
  }

  .news-title {
      font-size: 32px;
      margin-bottom: 20px;
      line-height: 1.4;
  }

  .news-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      color: #999;
      font-size: 14px;
      margin-bottom: 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid #eee;
  }

  .news-meta span {
      margin-right: 20px;
      margin-bottom: 10px;
  }

  .news-meta .category {
      display: inline-block;
      color: #e63946;
      background-color: #ffebee;
      padding: 3px 10px;
      border-radius: 20px;
  }

  .news-banner {
      width: 100%;
      max-height: 500px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 30px;
  }

  .news-content {
      font-size: 16px;
      color: #444;
  }

  .news-content p {
      margin-bottom: 20px;
      line-height: 1.8;
  }

  .news-content h3 {
      font-size: 20px;
      margin: 30px 0 15px;
      color: #222;
  }

  .news-content img {
      max-width: 100%;
      height: auto;
      margin: 20px 0;
      border-radius: 4px;
  }

  .news-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 15px;
      margin: 30px 0;
  }

  .news-gallery img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      cursor: pointer;
      transition: transform 0.3s ease;
  }

  .news-gallery img:hover {
      transform: scale(1.03);
  }

  .related-news {
      margin-top: 60px;
  }

  .related-title {
      font-size: 22px;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid #e63946;
      display: inline-block;
  }

  .related-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
  }

  .related-item {
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      transition: box-shadow 0.3s ease;
  }

  .related-item:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .related-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
  }

  .related-content {
      padding: 15px;
      flex: 1;
      display: flex;
      flex-direction: column;
  }

  .related-item-title {
      font-size: 16px;
      margin-bottom: 10px;
      flex: 1;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }

  .related-date {
      font-size: 13px;
      color: #999;
  }

  .backToList {
      display: inline-block;
      margin-bottom: 30px;
      color: #666;
      font-size: 14px;
  }

  .backToList:hover {
      color: #e63946;
  }

  .backToList::before {
      content: '←';
      margin-right: 5px;
  }


  /* 响应式设计 */
  @media (max-width: 768px) {
      .header-container {
          flex-direction: column;
      }

      nav ul {
          margin-top: 15px;
      }

      nav ul li {
          margin: 0 10px;
      }

      .news-title {
          font-size: 24px;
      }

      .news-detail {
          padding: 20px;
      }

      .news-gallery {
          grid-template-columns: 1fr;
      }

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

  Z