/* 新闻页面基础样式 */
.news-page {
    min-height: 800px;
    background: var(--bg-color);
}

/* 新闻页头部 */
.news-page .news-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), var(--bg-color)),
                url('/static/index/img/news-banner.png') center/cover;
    padding: 80px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.news-page .news-header .page-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.news-page .news-header .page-desc {
    font-size: 18px;
    color: var(--text-color-secondary);
    max-width: 600px;
}

/* 新闻主体内容 */
.news-page .news-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* 左侧主要内容 */
.news-page .news-main {
    min-width: 0;
}

/* 新闻导航 */
.news-page .news-nav {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.news-page .news-nav .nav-inner {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.news-page .news-nav .nav-inner::-webkit-scrollbar {
    height: 4px;
}

.news-page .news-nav .nav-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.3);
    border-radius: 2px;
}

.news-page .news-nav .nav-item {
    color: var(--text-color-secondary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: transparent;
}

.news-page .news-nav .nav-item:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
}

.news-page .news-nav .nav-item.active {
    color: #fff;
    background: var(--primary-color);
}

/* 新闻列表 */
.news-page .news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-page .news-list .news-item {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-page .news-list .news-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 新闻图片 */
.news-page .news-list .news-item .news-img {
    flex: 0 0 300px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.news-page .news-list .news-item .news-img .img-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-page .news-list .news-item .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-page .news-list .news-item .news-img .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.news-page .news-list .news-item .news-img .read-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.news-page .news-list .news-item .news-img .read-icon i {
    color: #fff;
    font-size: 20px;
}

.news-page .news-list .news-item:hover .news-img .img-overlay {
    opacity: 1;
}

.news-page .news-list .news-item:hover .news-img .read-icon {
    transform: scale(1);
}

.news-page .news-list .news-item:hover .news-img img {
    transform: scale(1.05);
}

/* 新闻信息 */
.news-page .news-list .news-item .news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-page .news-list .news-item .news-info .news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.news-page .news-list .news-item .news-info .news-meta .news-category {
    color: var(--primary-color);
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 4px;
}

.news-page .news-list .news-item .news-info .news-meta .news-date,
.news-page .news-list .news-item .news-info .news-meta .news-views {
    color: var(--text-color-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-page .news-list .news-item .news-info .news-title {
    margin-bottom: 15px;
}

.news-page .news-list .news-item .news-info .news-title a {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page .news-list .news-item .news-info .news-title a:hover {
    color: var(--primary-color);
}

.news-page .news-list .news-item .news-info .news-desc {
    color: var(--text-color-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* 新闻底部 */
.news-page .news-list .news-item .news-info .news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-page .news-list .news-item .news-info .news-footer .read-more {
    color: var(--primary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-page .news-list .news-item .news-info .news-footer .read-more:hover {
    gap: 10px;
}

.news-page .news-list .news-item .news-info .news-footer .news-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-page .news-list .news-item .news-info .news-footer .news-share .share-title {
    color: var(--text-color-light);
    font-size: 13px;
}

.news-page .news-list .news-item .news-info .news-footer .news-share .share-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-page .news-list .news-item .news-info .news-footer .news-share .share-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* 右侧边栏 */
.news-page .news-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
}

.news-page .news-sidebar .sidebar-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.news-page .news-sidebar .block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-page .news-sidebar .block-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.news-page .news-sidebar .block-header .more {
    color: var(--text-color-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-page .news-sidebar .block-header .more:hover {
    color: var(--primary-color);
    gap: 8px;
}

/* 热门新闻 */
.news-page .news-sidebar .hot-news .hot-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-page .news-sidebar .hot-news .hot-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-page .news-sidebar .hot-news .hot-item:first-child {
    padding-top: 0;
}

.news-page .news-sidebar .hot-news .hot-img {
    width: 100px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.news-page .news-sidebar .hot-news .hot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-page .news-sidebar .hot-news .hot-item:hover .hot-img img {
    transform: scale(1.05);
}

.news-page .news-sidebar .hot-news .hot-info {
    flex: 1;
    min-width: 0;
}

.news-page .news-sidebar .hot-news .hot-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-page .news-sidebar .hot-news .hot-info h4 a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page .news-sidebar .hot-news .hot-info h4 a:hover {
    color: var(--primary-color);
}

.news-page .news-sidebar .hot-news .hot-meta {
    display: flex;
    gap: 15px;
}

.news-page .news-sidebar .hot-news .hot-meta span {
    color: var(--text-color-light);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 推荐新闻 */
.news-page .news-sidebar .recommend-news .recommend-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-page .news-sidebar .recommend-news .recommend-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-page .news-sidebar .recommend-news .recommend-item:first-child {
    padding-top: 0;
}

.news-page .news-sidebar .recommend-news .recommend-rank {
    width: 24px;
    height: 24px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.news-page .news-sidebar .recommend-news .recommend-info {
    flex: 1;
    min-width: 0;
}

.news-page .news-sidebar .recommend-news .recommend-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-page .news-sidebar .recommend-news .recommend-info h4 a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page .news-sidebar .recommend-news .recommend-info h4 a:hover {
    color: var(--primary-color);
}

.news-page .news-sidebar .recommend-news .recommend-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-page .news-sidebar .recommend-news .recommend-category {
    color: var(--primary-color);
    font-size: 12px;
}

.news-page .news-sidebar .recommend-news .recommend-views {
    color: var(--text-color-light);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 新闻标签 */
.news-page .news-sidebar .news-tags .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-page .news-sidebar .news-tags .tag-item {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-color-light);
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-page .news-sidebar .news-tags .tag-item:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.news-page .news-sidebar .news-tags .tag-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

/* 关注我们 */
.news-page .news-sidebar .follow-us .qrcode-item {
    text-align: center;
    margin-bottom: 20px;
}

.news-page .news-sidebar .follow-us .qrcode-item img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.news-page .news-sidebar .follow-us .qrcode-item p {
    color: var(--text-color-light);
    font-size: 13px;
}

.news-page .news-sidebar .follow-us .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.news-page .news-sidebar .follow-us .social-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    font-size: 18px;
    transition: all 0.3s ease;
}

.news-page .news-sidebar .follow-us .social-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* 分页 */
.news-page .pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.news-page .pagination a,
.news-page .pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-page .pagination a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    border-color: rgba(255, 107, 0, 0.2);
}

.news-page .pagination .active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.news-page .pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式样式 */
@media screen and (max-width: 1200px) {
    .news-page .news-content {
        gap: 30px;
    }

    .news-page .news-list .news-item .news-img {
        flex: 0 0 250px;
        height: 150px;
    }
}

@media screen and (max-width: 992px) {
    .news-page .news-content {
        grid-template-columns: 1fr;
    }

    .news-page .news-sidebar {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .news-page {
        padding: 20px 0;
    }

    .news-page .news-header {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .news-page .news-header .page-title {
        font-size: 32px;
    }

    .news-page .news-header .page-desc {
        font-size: 16px;
    }
    
    .news-page .news-list .news-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-page .news-list .news-item .news-img {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    .news-page .news-list .news-item .news-info .news-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .news-page .news-list .news-item .news-info .news-title a {
        font-size: 18px;
    }
    
    .news-page .pagination a,
    .news-page .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
} 