/* 文章详情页样式 */

/* 面包屑导航 */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* 文章标题 */
.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-item {
    display: flex;
    align-items: center;
}

/* 文章内容区 */
.article-main {
    background-color: #f8f9fa;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article-content {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4361ee;
}

.content-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #212529;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.2rem;
}

.content-section ul {
    margin-bottom: 1.2rem;
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #495057;
}

.content-section ul li strong {
    color: #212529;
    font-weight: 600;
}

/* 引用块 */
.content-section blockquote {
    border-left: 4px solid #4361ee;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 4px;
    font-style: italic;
    color: #6c757d;
}

/* 标签 */
.article-tags {
    padding-top: 20px;
}

.tags-label {
    font-weight: 600;
    color: #212529;
}

.badge {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

/* 分享 */
.article-share {
    padding-top: 15px;
}

.share-label {
    font-weight: 600;
    color: #212529;
}

.btn-outline-primary {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

/* 文章导航 */
.article-navigation {
    background: white;
    padding: 30px !important;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.article-navigation .nav-link {
    transition: all 0.3s ease;
    text-decoration: none;
}

.article-navigation .nav-link:hover {
    background-color: #f8f9fa !important;
    transform: translateX(5px);
}

.hover-bg-light:hover {
    background-color: #f8f9fa !important;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .article-header {
        padding: 50px 0 !important;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content {
        padding: 20px 15px;
    }
    
    .article-navigation .nav-link {
        text-align: center !important;
    }
}

/* 代码块样式（如有需要） */
.content-section pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.content-section code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #e83e8c;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
}

.content-section pre code {
    background: transparent;
    padding: 0;
    color: #212529;
}

/* 表格样式（如有需要） */
.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-section table th,
.content-section table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}

.content-section table th {
    background: #f8f9fa;
    font-weight: 600;
}

.content-section table tr:nth-child(even) {
    background: #f8f9fa;
}
