/**
 * 文章模块样式
 * Article Module Styles
 */

/* Carousel Styles */
.carousel-control.left {
    background-image: none;
}
.carousel-control.right {
    background-image: none;
}
.news-new {
    color: red;
}


/* 文章详情页样式 */
.article-title {
    color: #222222;
}

.news_detail_div {
    max-width: 900px;
}

/* 新闻列表样式 */
.news-list-container {
    margin-top: 1rem;
}

.news-item {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title:hover {
    color: #0d6efd;
    text-decoration: none;
}

.news-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.news-tags {
    margin-top: 0.5rem;
}

.news-tag {
    display: inline-block;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-decoration: none;
}

.news-tag:hover {
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
}

/* 文章详情样式 - 使用Bootstrap 5和basecss.css的全局样式 */
.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-meta {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 2rem;
}

/* 分类文章卡片样式 - 简化设计 */
.category-news-card {
    transition: box-shadow 0.2s ease;
}

.category-news-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 空状态 - 使用Bootstrap 5样式 */
.news-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.news-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
