.protect_carousel-content {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.protect_carousel-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 640px) {
    .banner-img {
        height: 200px;
    }
    .protect_carousel-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 2;
    }
    .protect_carousel-content h2 {
        font-size: 1.5rem;
    }
}
@media (max-width: 968px) {
    .protect_carousel-content h2 {
        font-size: 2rem;
    }
}
.banner-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 页面头部 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1A4FA2, #2563eb);
    opacity: 0.05;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1A4FA2, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

/* 新闻列表 */
.news-list {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.news-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #1A4FA2;
}

.news-image {
    width: 200px;
    height: 140px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.news-date-news {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #6b7280;
}

.news-date-icon {
    font-size: 0.9rem;
}

.news-category {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 分页组件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover {
    border-color: #1A4FA2;
    color: #1A4FA2;
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #1A4FA2, #2563eb);
    color: white;
    border-color: #1A4FA2;
    box-shadow: 0 4px 12px rgba(26, 79, 162, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: #9ca3af;
    font-weight: 500;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px !important;
    }

    .page-header {
        margin-bottom: 25px !important;
        padding: 25px 15px !important;
    }

    .page-title {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }

    .page-subtitle {
        font-size: 1rem !important;
    }

    .news-item {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .news-image {
        width: 100% !important;
        height: 180px !important;
    }

    .news-content {
        padding: 15px !important;
    }

    .news-title {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .news-excerpt {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
    }

    .news-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .news-date {
        font-size: 0.8rem !important;
    }

    .news-category {
        font-size: 0.75rem !important;
    }

    .pagination {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }

    .pagination-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 10px !important;
    }

    .page-header {
        padding: 20px 10px !important;
        margin-bottom: 20px !important;
    }

    .page-title {
        font-size: 1.6rem !important;
    }

    .news-content {
        padding: 12px !important;
    }

    .news-title {
        font-size: 1rem !important;
    }

    .news-excerpt {
        font-size: 0.8rem !important;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    animation: fadeInUp 0.5s ease forwards;
}

.news-item:nth-child(1) {
    animation-delay: 0.1s;
}

.news-item:nth-child(2) {
    animation-delay: 0.2s;
}

.news-item:nth-child(3) {
    animation-delay: 0.3s;
}

.news-item:nth-child(4) {
    animation-delay: 0.4s;
}

.news-item:nth-child(5) {
    animation-delay: 0.5s;
}

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

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-text {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.empty-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
}
