﻿/* 文章列表样式 */
.主内容 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.标题栏 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.标题栏 h2 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 500;
}

.标题栏  {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 14px;
}
.更多{
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.标题栏 .更多:hover {
    opacity: 1;
}

.文章列表容器 {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
}

.文章列表 {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.文章列表::-webkit-scrollbar {
    display: none;
}

.文章卡片 {
    flex: 0 0 auto;
    width: calc(33.333% - 1rem);
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.文章卡片:hover {
    transform: translateY(-5px);
}

.文章链接 {
    text-decoration: none;
    color: #ffffff;
}

.文章图片 {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.文章图片 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.文章卡片:hover .文章图片 img {
    transform: scale(1.05);
}

.文章内容 {
    padding: 1.5rem;
}

.文章内容 h3 {
    font-size: 18px;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.文章信息 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.作者 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.作者 img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.滑动指示器 {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.指示点 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.指示点.当前 {
    background: #ffffff;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .文章卡片 {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .文章卡片 {
        width: calc(100% - 1rem);
    }
    
    .标题栏 {
        padding: 0 0.5rem;
    }
    
    .文章列表 {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .主内容 {
        padding: 1rem;
    }
    
    .文章内容 {
        padding: 1rem;
    }
    
    .文章内容 h3 {
        font-size: 16px;
    }
    
    .文章信息 {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
