:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f5f5;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.news-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.news-header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.news-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--accent-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.news-title {
    font-size: 1.2rem;
    margin: 0 0 0.8rem 0;
    color: var(--text-color);
    font-weight: 600;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 0.3rem;
}

.featured-section {
    margin-bottom: 3rem;
}

.featured-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.main-feature {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.main-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.feature-overlay .news-category {
    background: var(--accent-color);
}

.feature-overlay .news-title {
    color: white;
    font-size: 1.8rem;
    margin: 0.5rem 0;
}

.side-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-feature {
    flex: 1;
    position: relative;
    /*height: calc(50% - 0.5rem);*/
    overflow: hidden;
    border-radius: 5px;
}

.side-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-feature .feature-overlay {
    padding: 1rem;
}

.side-feature .news-title {
    font-size: 1.1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.view-all {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.video-section {
    margin-bottom: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.video-info {
    padding: 1rem;
    background: white;
}

.video-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

/* 新增视频播放器样式 */
.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
    cursor: pointer;
}

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

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(189, 26, 45, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(189, 26, 45, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 5;
}

.video-info {
    padding: 10px;
    background: #fff;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 5px 0;
    color: #333;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    display: flex;
    align-items: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-thumbnail:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin: 0 5px;
}

.video-controls .progress {
    flex: 1;
    height: 4px;
    background: #555;
    border-radius: 2px;
    margin: 0 10px;
    position: relative;
}

.video-controls .progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #bd1a2d;
    border-radius: 2px;
    width: 0%;
}

.news-tabs {
    margin-bottom: 2rem;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-button {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list-item {
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
}

.news-list-item:last-child {
    border-bottom: none;
}

.list-title {
    font-weight: 500;
    color: var(--text-color);
    margin-right: 1rem;
}

.list-date {
    color: #888;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .column {
        width: 100% !important;
    }

    .column-section {
        flex-direction: column;
        gap: 15px;
    }

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

    .side-features {
        flex-direction: row;
    }

    .side-feature {
        height: 180px;
    }

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

.column-section {
    display: flex;
    flex-wrap: wrap;
    margin: 50px 0;
}

.column {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.column h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.column-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.column-item span {
    color: #999;
    font-size: 1rem;
}