 /* 基础样式 */
 * {
     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;
 }

 /* 头部样式 */
 header {
     background-color: #fff;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     position: sticky;
     top: 0;
     z-index: 100;
 }

 .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 15px 0;
 }

 .logo {
     font-size: 24px;
     font-weight: bold;
     color: #e63946;
 }

 nav ul {
     display: flex;
     list-style: none;
 }

 nav ul li {
     margin-left: 30px;
 }

 nav ul li a {
     font-weight: 500;
 }

 nav ul li a.active {
     color: #e63946;
     border-bottom: 2px solid #e63946;
 }

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

 .page-title {
     font-size: 32px;
     margin-bottom: 30px;
     color: #333;
     border-bottom: 1px solid #ddd;
     padding-bottom: 15px;
 }

 .news-list {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
     gap: 30px;
 }

 .news-card {
     background-color: #fff;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .news-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
 }

 .news-img {
     width: 100%;
     height: 200px;
     object-fit: cover;
     display: block;
 }

 .news-content {
     padding: 20px;
 }

 .news-category {
     display: inline-block;
     font-size: 14px;
     color: #e63946;
     background-color: #ffebee;
     padding: 3px 10px;
     border-radius: 20px;
     margin-bottom: 10px;
 }

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

 .news-excerpt {
     color: #666;
     margin-bottom: 20px;
     font-size: 15px;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .news-meta {
     display: flex;
     justify-content: space-between;
     align-items: center;
     color: #999;
     font-size: 14px;
 }

 .read-more {
     color: #e63946;
     font-weight: 500;
     display: inline-flex;
     align-items: center;
 }

 .read-more::after {
     content: '→';
     margin-left: 5px;
     transition: transform 0.3s ease;
 }

 .read-more:hover::after {
     transform: translateX(3px);
 }

 /* 分页样式 */
 .pagination {
     margin-top: 50px;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .pagination button {
     padding: 8px 16px;
     margin: 0 5px;
     border: 1px solid #ddd;
     background-color: #fff;
     border-radius: 4px;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .pagination button:hover {
     background-color: #f5f5f5;
 }

 .pagination button.active {
     background-color: #e63946;
     color: #fff;
     border-color: #e63946;
 }

 .pagination button:disabled {
     opacity: 0.5;
     cursor: not-allowed;
 }


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

     nav ul {
         margin-top: 15px;
     }

     nav ul li {
         margin: 0 10px;
     }

     .page-title {
         font-size: 26px;
     }

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