/* 头部固定样式 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* 1. 全局变量 */
:root {
    /* 颜色 */
    --primary: #045cb7;
    --primary-hover: #0468d7;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #fff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    
    /* 透明度颜色 */
    --white-10: rgba(255, 255, 255, 0.1);
    --white-90: rgba(255, 255, 255, 0.9);
    
    /* 动画 */
    --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    
    /* 阴影 */
    --shadow: 0 8px 25px rgba(4, 92, 183, 0.15);
    
    /* 间距 */
    --gap-sm: 8px;
    --gap: 16px;
    --gap-lg: 24px;
    
    /* 圆角 */
    --radius: 12px;
}
/* 1. 在文件开头添加全局变量和通用过渡 */
:root {
    /* 颜色系统 */
    --primary-color: #045cb7;
    --primary-hover: #0468d7;
    --primary-light: #f0f7ff;
    --danger-color: #ef4444;
    --danger-light: #fef2f2;
    
    /* 文字颜色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    /* 背景颜色 */
    --bg-primary: #fff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* 边框颜色 */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    /* 动画 */
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* 阴影 */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(4, 92, 183, 0.15);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.1);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* 字体大小 */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    
    /* 层级 */
    --z-modal: 1000;
    --z-overlay: 999;
    --z-dropdown: 100;
    --z-header: 50;
    --z-base: 1;
    
    /* 动画时间 */
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.4s;
    
    /* 新增透明度颜色 */
    --white-15: rgba(255, 255, 255, 0.15);
    --white-20: rgba(255, 255, 255, 0.2);
    --black-50: rgba(0, 0, 0, 0.5);
    --primary-10: rgba(4, 92, 183, 0.1);
    --danger-10: rgba(239, 68, 68, 0.1);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #045cb7 0%, #057ade 100%);
    --gradient-white: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.9));
    
    /* 添加新的变量 */
    /* 布局 */
    --header-height: 80px;
    --container-width: 1200px;
    --thumb-width: 200px;
    --thumb-height: 140px;
    
    /* 动画曲线 */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 滤镜 */
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    
    /* 堆叠顺序 */
    --z-negative: -1;
    --z-elevate: 2;
    --z-sticky: 100;
    --z-drawer: 200;
    --z-popover: 400;
    --z-maximum: 999;
}
:root {
    --primary-color: #2B5DE0;
    --secondary-color: #5C7CE0;
    --accent-color: #1E40AF;
    --text-color: #333333;
    --light-gray: #F5F7FA;
    --border-color: #E5E7EB;
    --card-padding-lg: 24px;
    --card-padding-md: 20px;
    --card-padding-sm: 16px;
    --card-gap-lg: 20px;
    --card-gap-md: 16px;
    --card-gap-sm: 12px;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition-normal: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --color-border: rgba(0, 0, 0, 0.04);
    --color-hover-bg: #f8faff;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #64748b;
    --color-text-tertiary: #94a3b8;
}
.page-item {
    transition: var(--transition-normal);
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #F8FAFC;
}

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

/* 调整主内容区域的上边距，防止被固定头部遮挡 */
.main-content {
    padding-top: 80px; /* 减小与header的距离 */
}

/* 资讯分类样式 */
.news-categories {
    padding: 20px 0;
    background: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1; /* 确保低于header */
}

/* 添加背景光效 */
.news-categories::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title::before,
.section-title::after {
    content: '';
    height: 2px;
    width: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}

.section-title::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.category-item i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.category-item h3 {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
}

.category-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.category-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
}

/* 添加玻璃态hover效果 */
.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover::before {
    opacity: 1;
}

/* 主要内容区域布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--card-gap-lg);
}

/* 新闻列表容器 */
.news-list {
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* 新闻网格布局 */
.news-grid {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
    gap: 16px;
}

/* 卡片基础样式 */
.news-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: var(--card-padding-md);
    gap: var(--card-gap-md);
    transition: var(--transition-smooth);
    display: flex;
    position: relative;
    min-height: 150px;
    border: 1px solid rgba(43, 93, 224, 0.05);
    cursor: pointer;
}

/* 悬浮效果 */
.news-card:hover {
    transform: translateX(8px);
    background: linear-gradient(to right, #f8faff, #ffffff);
    box-shadow: 0 4px 20px rgba(43, 93, 224, 0.08);
    border-color: rgba(43, 93, 224, 0.1);
}

/* 点击效果 */
.news-card:active {
    transform: translateX(8px) scale(0.995);
}

/* 图片容器 */
.news-card-image {
    flex: 0 0 150px;
    height: 150px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #f1f5f9;
    transition: var(--transition-smooth);
}

.news-card:hover .news-card-image {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(43, 93, 224, 0.1);
}

/* 图片懒加载相关样式 */
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.news-card-image img.lazy {
    opacity: 0;
}

/* 图片加载时的占位效果 */
.news-card-image {
    position: relative;
    background: #f1f5f9;
}

.news-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* 图片加载完成后隐藏动画 */
.news-card-image.loaded::before {
    display: none;
}

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

/* 分类标签 */
.news-card-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(43, 93, 224, 0.06);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.news-card:hover .news-card-category {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* 标题样式 */
.news-card-title,.news-card-title a {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: var(--primary-color);
}

/* 摘要文本 */
.news-card-excerpt {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 元信息 */
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.04);
    color: #94a3b8;
    font-size: 13px;
    transition: all 0.3s ease;
}

.news-card:hover .news-card-meta {
    border-top-color: rgba(43, 93, 224, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.news-card:hover .meta-item {
    transform: translateY(-1px);
}

.meta-item i {
    font-size: 18px;
    color: var(--primary-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.news-card:hover .meta-item i {
    opacity: 1;
    transform: scale(1.1);
}

/* 添加点击波纹效果 */
.news-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at center, rgba(43, 93, 224, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.news-card:active::after {
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    from {
        transform: scale(0.8);
        opacity: 1;
    }
    to {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* 添加加载动画 */
.news-card {
    animation: cardAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为每个卡片添加延迟加载动画 */
.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }
.news-card:nth-child(4) { animation-delay: 0.3s; }
.news-card:nth-child(5) { animation-delay: 0.4s; }

/* 无图片样式 */
.news-card.no-image {
    height: auto;
    min-height: 180px;
    background: linear-gradient(to right, #f8faff, #ffffff);
}

.news-card.no-image .news-card-content {
    /*padding: 30px 35px;*/
}

/* 侧边栏样式 - 现代简约设计 */
.news-sidebar > div {
    background: white;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* 侧边栏标题样式 */
.sidebar-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    padding: 20px 25px;
    color: #1A1A1A;
    background: linear-gradient(to right, #f8faff, #ffffff);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* 排行榜样式优化 */
.ranking-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.ranking-item {
    padding: 0;
    position: relative;
    counter-increment: ranking;
}

.ranking-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #2c3e50;
    padding: 16px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #ffffff;
}

/* 排行榜序号样式 */
.ranking-number {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: #f8faff;
}

/* 前三名特殊样式 */
.ranking-item:nth-child(1) .ranking-number {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.ranking-item:nth-child(2) .ranking-number {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
    color: white;
}

.ranking-item:nth-child(3) .ranking-number {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
    color: white;
}

/* 排行榜标题样式 */
.ranking-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 悬浮效果 */
.ranking-link:hover {
    background: linear-gradient(to right, #f8faff, #ffffff);
    transform: translateX(8px);
}

.ranking-link:hover .ranking-title {
    color: var(--primary-color);
}

/* 修改序号hover效果，移除旋转 */
.ranking-link:hover .ranking-number {
    transform: scale(1.1); /* 移除 rotate(-5deg) */
    box-shadow: 0 4px 12px rgba(43, 93, 224, 0.1);
}

/* 分隔线效果 */
.ranking-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0.04), transparent);
    transition: all 0.3s ease;
}

/* 加载动画 */
.ranking-item {
    animation: rankingAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes rankingAppear {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 为每个排行项添加延迟加载动画 */
@for $i from 1 through 10 {
    .ranking-item:nth-child(#{$i}),
    .latest-item:nth-child(#{$i}) {
        animation-delay: #{$i * 0.1}s;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ranking-link {
        padding: 14px 20px;
    }
    
    .ranking-number {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
    
    .ranking-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ranking-link {
        padding: 12px 16px;
    }
    
    .ranking-item:not(:last-child)::after {
        left: 16px;
        right: 16px;
    }
}

/* 最新资讯特殊样式 */
.latest-link {
    padding: 14px 25px;
}

.latest-title {
    position: relative;
    padding-left: 15px;
}

.latest-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.latest-link:hover .latest-title::before {
    background: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .content-wrapper {
        grid-template-columns: 1fr 350px;
        gap: var(--card-gap-md);
    }
}

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr 320px;
        gap: var(--card-gap-sm);
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--card-gap-md);
    }
    
    .news-sidebar > div {
        margin-bottom: 0;
    }
    
    .news-card-image {
        flex: 0 0 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .news-sidebar {
        grid-template-columns: 1fr;
    }
    
    .news-card,
    .ranking-link,
    .latest-link {
        padding: var(--card-padding-sm);
    }
    
    .news-card-image {
        flex: 0 0 100px;
        height: 100px;
    }
    
    .news-card-content {
        padding: 4px 0;
    }
}

@media (max-width: 480px) {
    .sidebar-title {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .ranking-link,
    .latest-link {
        padding: 10px 20px;
    }
    
    .ranking-title,
    .latest-title {
        font-size: 14px;
    }
    
    .ranking-item:not(:last-child)::after,
    .latest-item:not(:last-child)::after {
        left: 20px;
        right: 20px;
    }
    
    .news-grid {
        padding: var(--card-padding-sm);
        gap: var(--card-gap-sm);
    }
    
    .news-card {
        padding: 10px;
        gap: 12px;
    }
    
    .news-card-image {
        flex: 0 0 100px;
        height: 100px;
    }
    
    .news-card-content {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .news-card-title {
        font-size: 16px;
    }
    
    .news-card-excerpt {
        font-size: 13px;
    }
    
    .news-card-meta {
        padding-top: 10px;
        gap: 12px;
        font-size: 12px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .categories-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    .news-card-image {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .categories-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .news-card-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .categories-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .news-card-image {
        height: 200px;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-card.no-image .news-card-content {
        padding: 24px;
    }
    
    .news-card-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .categories-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .news-grid {
        padding: 16px;
        gap: 16px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-content {
        padding: 16px;
        gap: 12px;
    }
    
    .news-card.no-image .news-card-content {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 16px;
    }
    
    .news-card-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .news-card-meta {
        padding-top: 12px;
        gap: 16px;
        font-size: 13px;
    }
}

/* 分页样式优化 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
}
.pagination a{
    text-decoration: none;
}

.page-item {
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--trans);
    padding: 0 var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.page-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.page-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.page-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
    font-weight: 500;
    box-shadow: 0 4px 12px var(--primary-10);
}

/* 省略号样式 */
.page-item.dots {
    border: none;
    padding: 0 4px;
    cursor: default;
    background: transparent;
}

.page-item.dots:hover {
    transform: none;
    color: var(--text-light);
}

/* 上一页/下一页按钮 */
.page-item i {
    font-size: var(--font-size-md);
    transition: transform 0.3s var(--ease);
}

.page-item:hover i {
    transform: translateX(2px);
}

.page-item[title="上一页"]:hover i {
    transform: translateX(-2px);
}

/* 禁用状态 */
.page-item:disabled,
.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pagination {
        gap: var(--spacing-xs);
    }
    
    .page-item {
        min-width: 36px;
        height: 36px;
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-item {
        min-width: 32px;
        height: 32px;
    }
    
    /* 在小屏幕上隐藏部分页码 */
    .page-item:not(.active):not([title]):not(.dots) {
        display: none;
    }
} 
/* 调整第一个卡片的上边距 */
.news-card:first-child {
    margin-top: 0;
}

/* 推荐资讯列表样式 */
.latest-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.latest-item {
    padding: 0;
    position: relative;
}

.latest-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    padding: 16px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #ffffff;
}

/* 标题样式 */
.latest-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-left: 16px;
    position: relative;
}

/* 标题前的小圆点 */
.latest-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

/* 悬浮效果 */
.latest-link:hover {
    background: linear-gradient(to right, #f8faff, #ffffff);
    transform: translateX(8px);
}

.latest-link:hover .latest-title {
    color: var(--primary-color);
}

.latest-link:hover .latest-title::before {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

/* 分隔线效果 */
.latest-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0.04), transparent);
    transition: all 0.3s ease;
}

/* 加载动画 */
.latest-item {
    animation: latestAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes latestAppear {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 进度条样式 */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #6d9aff);
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 4px rgba(43, 93, 224, 0.1);
}

/* 添加发光效果 */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3));
    transform: translateX(100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(-100%);
    }
} 