/* 新闻列表布局 */
.news-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* 新闻卡片样式 */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* 图片容器 */
.news-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

/* 日期样式 */
.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7)
    );
    backdrop-filter: blur(4px);
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
}

.news-month {
    font-size: 0.875rem;
    color: #666;
}

.news-day {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* 内容区域 */
.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.news-summary {
    color: #666;
    margin-bottom: 1rem;
    flex: 1;
}

/* 更多链接 */
.news-more {
    color: #007bff;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-more::after {
    content: "→";
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.news-card:hover .news-more {
    color: #0056b3;
}

.news-card:hover .news-more::after {
    transform: translateX(4px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .news-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
/* 分页器 */
/* 记录数卡片样式 */
.fy {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.record-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem 2rem;
    max-height: 60px;
    text-align: center;
    transition: all 0.3s ease;
}

.record-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.record-badge {
    display: flex;
    flex-direction: column;
}

.record-count {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.record-label {
    font-size: 0.875rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* 数字计数动画 */
@keyframes countUp {
    from {
        opacity: 0.5;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 576px) {
    .record-card {
        padding: 0.8rem 1.5rem;
        min-width: auto;
    }
    .record-count {
        font-size: 1.8rem;
    }
}
