/* CSS Reset - 统一各页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* News Page Styles (EN) */
.main-content {
    max-width: 1650px;
    margin: 0 auto;
    padding: 90px 0 270px 0;
}

body { 
    background-color: #f5f5f5; 
}

.page-title {
    font-size: 46px;
    font-weight: normal;
    margin-bottom: 30px;
    color: #333;
}

.tabs-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid #ddd; 
}

.tabs { 
    display: flex; 
    gap: 0; 
}

.tab {
    padding: 15px 30px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    color: #000;
    text-decoration: none;
}

.tab.active { 
    border-bottom-color: #000; 
}

.page-info { 
    color: #666; 
    font-size: 14px; 
}

.news-container { 
    max-width: 1400px; 
    margin: 50px auto 0 auto; 
}

.news-list { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}

.news-item { 
    display: flex; 
    align-items: stretch; 
    background: #fff; 
    overflow: hidden; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    text-decoration: none; 
    color: inherit; 
}

.news-image { 
    flex: 0 0 420px; 
    height: 260px; 
    overflow: hidden; 
}

.news-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.news-item:hover .news-image img { 
    transform: scale(1.05); 
}

.news-content { 
    flex: 1; 
    padding: 24px 32px; 
    display: flex; 
    flex-direction: column; 
}

.news-title { 
    font-size: 18px; 
    font-weight: normal; 
    color: #2a2a2a; 
    line-height: 1.4; 
}

.news-excerpt { 
    font-size: 15px; 
    line-height: 1.8; 
    color: #666; 
    margin-bottom: 20px; 
}

.news-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.news-views { 
    color: #999; 
    font-size: 14px; 
}

.read-more { 
    color: #ff0000; 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    transition: color 0.3s ease; 
}

.read-more:hover { 
    color: #cc0000; 
}

/* Remove hover underline */
.news-container a:hover, 
.news-item:hover, 
.tabs a:hover, 
.pagination a:hover { 
    text-decoration: none; 
}

/* Pagination (align with events.css) */
.pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    padding: 40px 0; 
    margin-top: 50px; 
}

.pagination a { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 8px 12px; 
    background: #fff; 
    color: #333; 
    text-decoration: none; 
    border-radius: 8px; 
    font-size: 16px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    border: 2px solid #e8e8e8; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.pagination a:hover { 
    background: #ff0000; 
    color: #fff; 
    border-color: #ff0000; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3); 
    text-decoration: none; 
}

.pagination a:first-child,
.pagination a:last-child { 
    background: #ff0000; 
    color: #fff; 
    border-color: #ff0000; 
    font-weight: bold; 
}

.pagination a:first-child:hover,
.pagination a:last-child:hover { 
    background: #cc0000; 
    border-color: #cc0000; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3); 
}

@media (max-width: 1024px) {
    .main-content { 
        padding: 80px 20px 200px 20px; 
    }
    
    .news-image { 
        flex: 0 0 360px; 
        height: 220px; 
    }
}

@media (max-width: 768px) {
    .main-content { 
        padding: 60px 15px 150px 15px; 
    }
    
    .tabs-container { 
        flex-direction: column; 
        gap: 20px; 
        align-items: flex-start; 
    }
    
    .tabs { 
        overflow-x: auto; 
        width: 100%; 
    }
    
        .tab {
        white-space: nowrap;
        font-size: 16px !important;
        padding: 8px 16px;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }
    
    .news-item { 
        flex-direction: column; 
    }
    
    .news-image { 
        width: 100%; 
        height: 220px; 
        flex: none; 
    }
    
    .pagination { 
        justify-content: center; 
        padding-top: 60px; 
    }
}

@media (max-width: 480px) {
    .main-content { 
        padding: 50px 10px 100px 10px; 
    }
    
    .news-content { 
        padding: 20px; 
    }
    
    .news-title { 
        font-size: 16px; 
        font-weight: normal;
    }
    
    .pagination { 
        padding-top: 40px; 
    }
}
