<style>
/* ============================================
   现代新闻列表组件 - 红色主题适配
   ============================================ */

/* 主容器 - 使用浅暖色调背景，与页面协调 */
.modern-news-list {
    max-width: 900px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8e0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(180, 50, 50, 0.15);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(200, 80, 80, 0.1);}

/* 装饰性背景元素 */
.modern-news-list::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(200, 50, 50, 0.05) 0%, transparent 70%);
    pointer-events: none;}

/* 列表容器 */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;}

/* 新闻项 */
.news-item {
    margin-bottom: 0;
    transition: all 0.3s ease;}

/* 新闻内容区域 - 白色卡片 */
.news-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(200, 80, 80, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;}

/* 左侧红色渐变边框 */
.news-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #c9302c 0%, #a02622 100%);
    border-radius: 16px 0 0 16px;}

.news-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(180, 50, 50, 0.12);
    border-color: rgba(200, 80, 80, 0.15);}

/* 栏目名称 - 红色主题标签 */
.news-category {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 8px;}

.news-category a {
    color: #c9302c;
    background: linear-gradient(135deg, #fef2f0 0%, #fde8e5 100%);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 48, 44, 0.15);}

.news-category a:hover {
    background: linear-gradient(135deg, #c9302c 0%, #a02622 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(201, 48, 44, 0.3);}

/* 新闻标题 */
.news-title {
    display: block;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 12px;}

.news-title a {
    color: #2c1816;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;}

.news-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c9302c 0%, #a02622 100%);
    transition: width 0.3s ease;}

.news-title a:hover {
    color: #c9302c;}

.news-title a:hover::after {
    width: 100%;}

/* 元信息区域 */
.news-meta {
    margin-top: 12px;
    font-size: 0.85em;
    color: #8b6b65;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;}

.news-date::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b6b65' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.7;}

.news-clicks {
    display: inline-flex;
    align-items: center;
    gap: 6px;}

.news-clicks::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b6b65' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.7;}

/* new 徽章 - 红色主题 */
.news-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 0.65em;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);}
    50% {
        transform: scale(1.05);}
}

/* 分段分隔线 - 红色虚线 */
.section-divider {
    margin: 20px 0;
    border: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(201, 48, 44, 0.2) 0px,
        rgba(201, 48, 44, 0.2) 20px,
        transparent 20px,
        transparent 30px
    );}

/* 现代分页样式 */
.modern-pagination {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 48, 44, 0.1);
    text-align: center;
    font-family: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;}

.modern-pagination .p_t {
    color: #8b6b65;
    background: linear-gradient(135deg, #fef2f0 0%, #fde8e5 100%);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid rgba(201, 48, 44, 0.1);}

/* 分页链接 */
.modern-pagination a,
.modern-pagination span:not(.p_t) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: #ffffff;
    color: #c9302c;
    border: 1px solid rgba(201, 48, 44, 0.15);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);}

.modern-pagination a:hover {
    background: linear-gradient(135deg, #fef2f0 0%, #fde8e5 100%);
    color: #a02622;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 50, 50, 0.15);}

.modern-pagination .current {
    background: linear-gradient(135deg, #c9302c 0%, #a02622 100%);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 48, 44, 0.4);}

/* 响应式优化 */
@media (max-width: 768px) {
    .modern-news-list {
        padding: 20px;
        margin: 15px;
        border-radius: 16px;}
    
    .news-content {
        padding: 16px 20px;}
    
    .news-title {
        font-size: 1em;}
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;}
    
    .modern-pagination {
        gap: 6px;}
    
    .modern-pagination a,
    .modern-pagination span:not(.p_t) {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85em;}
}

/* 空状态样式 */
.news-list:empty::after {
    content: '暂无新闻';
    display: block;
    text-align: center;
    padding: 60px 20px;
    color: #8b6b65;
    font-size: 1.1em;}
</style>
