/* News List Page Styles */
.news-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/news/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.news-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.news-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px 0;
}

.news-filter select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.news-search {
    display: flex;
    gap: 10px;
}

.news-search input {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.news-search button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* News Detail Page Styles */
.news-detail-section {
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 30px;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.news-cover {
    margin: 30px 0;
}

.news-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-content {
    line-height: 1.8;
    color: #333;
}

.news-share {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.news-share a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 10px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
}

.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-linkedin { background: #0A66C2; }

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

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.related-news-item {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
}

.related-news-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.related-news-item h4 {
    margin: 10px 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .news-filter {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-search input {
        width: 100%;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

.news-search {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.news-search input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.news-search input:focus {
    border-color: #007bff;
    outline: none;
}

.news-search button {
    width: 50px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.news-search button:hover {
    background: #0056b3;
}

.news-categories {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.news-categories a {
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.news-categories a.active,
.news-categories a:hover {
    background: #007bff;
    color: white;
}

/* Featured News */
.featured-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: white;
}

.news-card.large {
    height: 500px;
}

.sub-news {
    display: grid;
    gap: 30px;
}

.sub-news .news-card {
    height: 235px;
}

.news-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
}

.news-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
}

.news-category {
    display: inline-block;
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-card.large h2 {
    font-size: 2rem;
    margin: 0 0 15px 0;
}

.news-card h3 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* News List */
.news-list {
    display: grid;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item .news-image {
    height: 250px;
}

.news-item .news-content {
    padding: 30px;
}

.news-content img {
    max-width: 100%;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-date {
    color: #666;
}

.news-item h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: #333;
}

.news-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.read-more {
    color: #007bff;
    font-weight: 500;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin: 40px 0;
}

.load-more button {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more button:hover {
    background: #007bff;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-news {
        grid-template-columns: 1fr;
    }
    
    .news-card.large {
        height: 400px;
    }
    
    .sub-news {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .news-search {
        width: 100%;
    }
    
    .sub-news {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-item .news-image {
        height: 200px;
    }
}

/* News Section */
.news-section {
    padding: 100px 0 60px;
    background: #f8f9fa;
}

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

/* News Header */
.news-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.news-filter a {
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.news-filter a.active,
.news-filter a:hover {
    background: #007bff;
    color: white;
}

/* News List */
.news-list {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 220px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
}

.news-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
}

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

.news-content h3 a:hover {
    color: #007bff;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-numbers {
    display: flex;
    flex-wrap:wrap;
    gap: 10px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a.active {
    background: #007bff;
    color: white;
}

.pagination a:hover:not(.active) {
    background: #eee;
}

.pagination .prev,
.pagination .next {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-item {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 200px;
    }

    .news-filter {
        flex-wrap: wrap;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 1.2rem;
    }

    .page-numbers a:not(.active) {
    }
} 
