/* 页面标题 */
.page-title {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 30px 30px;
    margin-top: 150px;
}

.page-title h1 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.breadcrumb {
    font-size: 13px;
    opacity: 0.9;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #fff;
    opacity: 0.9;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.8;
}

/* 新闻列表 */
.news-list-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-main {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 新闻筛选 */
.news-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.news-filter h3 {
    font-size: 24px;
    color: #1e3c72;
    font-weight: 600;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #1e3c72;
    background: #fff;
    color: #1e3c72;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1e3c72;
    color: #fff;
}

/* 新闻项目 */
.news-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

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

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

.news-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
}

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

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

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: rgba(30, 60, 114, 0.9);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.news-item-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-content h3 {
    color: #1e3c72;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.news-item-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    color: #1e3c72;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2a5298;
}

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

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #1e3c72;
    background: #fff;
    color: #1e3c72;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: #1e3c72;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* 热门新闻 */
.popular-news {
    list-style: none;
}

.popular-news li {
    margin-bottom: 15px;
}

.popular-news a {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.popular-news .rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.popular-news .title {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.popular-news a:hover .title {
    color: #1e3c72;
}

/* 最新活动 */
.upcoming-activity {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.upcoming-activity:last-child {
    border-bottom: none;
}

.upcoming-activity .activity-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.activity-date .day {
    font-size: 20px;
    font-weight: 700;
}

.activity-date .month {
    font-size: 12px;
}

.upcoming-activity .activity-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.upcoming-activity .activity-info h4:hover {
    color: #1e3c72;
}

.upcoming-activity .activity-info p {
    font-size: 14px;
    color: #999;
}

/* 联系我们小部件 */
.contact-widget p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-widget i {
    color: #1e3c72;
    width: 20px;
}

.contact-widget .btn {
    width: 100%;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        margin-top: 100px;
        padding: 20px 0;
    }

    .page-title h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .news-list-section {
        padding: 40px 0;
    }

    .news-main {
        padding: 30px 20px;
    }

    .news-filter {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

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

    .news-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .news-item-content h3 {
        font-size: 18px;
    }

    .news-item-content p {
        font-size: 14px;
    }

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

    .popular-news .title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 14px;
    }

    .news-filter h3 {
        font-size: 20px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 13px;
    }

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

    .news-item-content h3 {
        font-size: 16px;
    }

    .sidebar-widget h3 {
        font-size: 18px;
    }

    .popular-news .title {
        font-size: 13px;
    }
}

/* ==================== 新闻详情页样式 ==================== */

.news-detail-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-main-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 封面图片 */
.news-cover-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

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

/* 新闻详情标题 */
.news-detail-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 700;
}

/* 新闻元数据 */
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 30px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}

.meta-category {
    padding: 4px 12px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
}

.meta-source,
.meta-author,
.meta-date,
.meta-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 新闻内容 */
.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.news-content h2 {
    font-size: 24px;
    color: #1e3c72;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e3c72;
}

.news-content h3 {
    font-size: 20px;
    color: #2a5298;
    margin: 25px 0 12px 0;
}

.news-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
}

.news-content ul,
.news-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 分享按钮 */
.share-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border: 2px solid #1e3c72;
    background: #fff;
    color: #1e3c72;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #1e3c72;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* 相关新闻列表 */
.related-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.related-news-list a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-news-list a:hover .related-news-title {
    color: #1e3c72;
    transform: translateX(5px);
}

.related-news-title {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.related-news-date {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 - 新闻详情 */
@media (max-width: 992px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }
}

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

    .news-detail-title {
        font-size: 26px;
    }

    .news-detail-meta {
        font-size: 13px;
        gap: 15px;
    }

    .news-content {
        font-size: 15px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .news-detail-title {
        font-size: 22px;
    }

    .news-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
    }
}

/* 热门新闻列表 */
.hot-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.hot-news-list li:hover {
    transform: translateX(5px);
}

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

.hot-news-list li a {
    flex: 1;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    padding-right: 15px;
}

.hot-news-list li a:hover {
    color: #1e3c72;
}

.hot-news-list .news-views {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* 侧边栏活动列表 */
.sidebar-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-activity-list li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-activity-list li:last-child {
    border-bottom: none;
}

.sidebar-activity-list .activity-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 12px;
}

.sidebar-activity-list .activity-date span {
    line-height: 1;
}

.sidebar-activity-list a {
    flex: 1;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar-activity-list a:hover {
    color: #1e3c72;
}

/* 新闻项目内容无图片样式 */
.news-item-content.no-image {
    grid-column: 1 / -1;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state p {
    font-size: 16px;
}
