﻿.exclusive-company-news * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.exclusive-company-news {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.exclusive-company-news-container {
    max-width: 1200px;
    margin: 30px auto;
}

.exclusive-company-news-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.exclusive-company-news-sidebar {
    width: 25%;
    padding: 0 15px;
}

.exclusive-company-news-list {
    width: 75%;
    padding: 0 15px;
}

.exclusive-company-news-widget {
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.exclusive-company-news-widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 5px;
}

.exclusive-company-news-category-list {
    list-style-type: none;
}

.exclusive-company-news-category-item {
    margin-bottom: 0;
}

.exclusive-company-news-category-link {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

    .exclusive-company-news-category-link:hover {
        background-color: #f0f0f0;
        border-left: 3px solid #0066cc;
    }

.exclusive-company-news-category-active .exclusive-company-news-category-link {
    background-color: #e6f2ff;
    border-left: 3px solid #0066cc;
    color: #0066cc;
}

.exclusive-company-news-article {
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

    .exclusive-company-news-article:hover {
        transform: translateY(-5px);
    }

.exclusive-company-news-thumbnail {
    flex-basis: 200px;
    height: 150px;
    margin-right: 20px;
    background-color: #f5f5f5;
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

    .exclusive-company-news-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.exclusive-company-news-content {
    flex: 1;
    min-width: 0;
}

.exclusive-company-news-title {
    font-size: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exclusive-company-news-title-link {
    color: #333;
    text-decoration: none;
}

    .exclusive-company-news-title-link:hover {
        color: #0066cc;
    }

.exclusive-company-news-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.exclusive-company-news-summary {
    margin-bottom: 15px;
    color: #666;
    max-height: 60px;
    overflow: hidden;
}

.exclusive-company-news-readmore {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #0066cc;
    padding: 5px 15px;
    border-radius: 3px;
    transition: all 0.3s;
}

    .exclusive-company-news-readmore:hover {
        background-color: #0066cc;
        color: white;
    }

.exclusive-company-news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.exclusive-company-news-pagination-list {
    list-style-type: none;
    display: flex;
}

.exclusive-company-news-pagination-item {
    margin: 0 5px;
}

.exclusive-company-news-pagination-link {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

    .exclusive-company-news-pagination-link:hover {
        background-color: #f0f0f0;
    }

.exclusive-company-news-pagination-active .exclusive-company-news-pagination-link {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.exclusive-company-news-category-list li:hover {
    transform: translateY(-5px);
}
/* 新闻详情页样式 */
.exclusive-company-news-detail {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.exclusive-company-news-detail-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.exclusive-company-news-detail-meta {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.exclusive-company-news-detail-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

    .exclusive-company-news-detail-content p {
        margin-bottom: 20px;
    }

    .exclusive-company-news-detail-content img {
        max-width: 100%;
        height: auto;
        margin: 20px 0;
        border-radius: 5px;
    }

@media (max-width: 768px) {
    .exclusive-company-news-sidebar, .exclusive-company-news-list {
        width: 100%;
    }

    .exclusive-company-news-article {
        flex-direction: column;
    }

    .exclusive-company-news-thumbnail {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .exclusive-company-news-title {
        white-space: normal;
    }

    .exclusive-company-news-detail-title {
        font-size: 24px;
    }
}

.news-sidebar-container {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.news-sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-sidebar-item {
    display: flex;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .news-sidebar-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.news-sidebar-image {
    width: 100px;
    height: 75px;
    border-radius: 4px;
    margin-right: 15px;
}

.news-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-sidebar-headline {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.news-sidebar-timestamp {
    font-size: 14px;
    color: #6c757d;
}

.news-sidebar-headline {
    text-decoration: none;
}

    .news-sidebar-headline:hover {
        color: #004098
    }
