/* 纯文本新闻列表样式 */

/* 列表容器 */
.news-list-text {
    padding: 30px;
}

/* 列表项卡片化 */
.news-item-text {
    display: flex; /* 保持flex布局以便扩展，但主要是列方向 */
    flex-direction: column;
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

/* 左侧装饰条 (可选) */
.news-item-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item-text:hover::before {
    opacity: 1;
}

/* 标题样式优化 */
.news-item-text .news-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-item-text .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-text .news-title a:hover {
    color: var(--primary-color);
}

/* Meta信息行 */
.news-item-text .news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #888;
}

.news-item-text .news-category {
    background: rgba(0, 157, 181, 0.1); /* 基于主色的浅背景 */
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.news-item-text .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-item-text .meta-item i {
    color: #ccc;
}

/* 摘要样式 */
.news-item-text .news-summary {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* 底部区域 */
.news-item-text .news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    margin-top: auto;
}

.news-item-text .news-stats {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
}

.news-item-text .read-more-btn {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.news-item-text .read-more-btn:hover {
    transform: translateX(5px);
    color: var(--primary-dark);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .news-list-text {
        padding: 20px 0;
    }
    
    .news-item-text {
        padding: 20px;
    }
    
    .news-item-text .news-title {
        font-size: 18px;
    }
    
    .news-item-text .news-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}
