@charset "UTF-8";

/*
 * detail-cases.css - 文章详情页样式
 * 根据Figma设计图重构，实现现代化详情页面布局
 */

/* ===================== Banner区域 ===================== */
.detail-banner {
    position: relative;
    width: 100%;
    height: 400px;
    /* margin-top: 106px; header高度 */
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 黄色装饰条 */
/* .banner-accent {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: #D89335;
} */

/* ===================== 文章详情区域 ===================== */
.article-detail {
    padding: 80px 0;
    background: #FFFFFF;
}

.article-detail .container-outer {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 360px;
}

/* 分隔线 */
.section-divider {
    width: 100%;
    height: 1px;
    background: #E7E7E7;
    margin: 40px 0;
}

/* ===================== 文章标题区域 ===================== */
.article-header {
    text-align: center;
    margin: 60px 0;
}

.article-title {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: #2E3033;    
    text-transform: uppercase;
    margin: 0 0 20px 0;
    /* max-width: 510px; */
    margin-left: auto;
    margin-right: auto;
}

.article-time {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;
    color: #737980;
    text-transform: uppercase;
}

/* ===================== 文章内容区域 ===================== */
.article-content {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.875;
    color: #2E3033;
    text-align: left;
}

/* 文章段落样式 */
.article-content p {
    margin: 0 0 30px 0;
    text-indent: 2em; /* 首行缩进 */
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* 文章图片样式 */
.article-content img {
    max-width: 580px;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
    display: block;
}

/* 两列图片布局 */
.article-content .image-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin: 30px 0;
}

.article-content .image-row img {
    width: 580px;
    height: 300px;
    object-fit: cover;
    margin: 0;
}

/* 文章标题样式 */
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: 700;
    color: #2E3033;
    margin: 40px 0 20px 0;
    line-height: 1.4;
}

.article-content h2 {
    font-size: 24px;
}

.article-content h3 {
    font-size: 20px;
}

.article-content h4 {
    font-size: 18px;
}

/* 文章列表样式 */
.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin: 8px 0;
    line-height: 1.875;
}

/* 文章引用样式 */
.article-content blockquote {
    border-left: 4px solid #D89335;
    padding: 16px 24px;
    margin: 30px 0;
    background: rgba(216, 147, 53, 0.05);
    font-style: italic;
}

/* ===================== 上下篇导航 ===================== */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.case-nav-item {
    flex: 1;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.article-nav-link {
    display: inline-block;
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4285714285714286;
    color: #1673FF;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.article-nav-link:hover {
    opacity: 0.8;
    text-decoration: none; /* 确保没有下划线 */
}

.article-nav-link.disabled {
    color: #CCCCCC;
    cursor: not-allowed;
}

.nav-label,
.nav-title {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* 调整span间距 */
.article-nav-link .nav-label {
    margin-right: 4px;
}

.article-nav-link .nav-title {
    margin-left: 4px;
}
