/* ========== 文章页 Main 区域 ========== */
.main {
    /* 背景图片全覆盖 */
    background-image: url(../img/displaybody.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 2253px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 20px 80px 20px;
}

.mainarea {
    width: 1330px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* 文章卡片（白色磨砂质感） */
.article-card {
    width: 1200px;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 70px 80px 60px 80px;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.13);
}

/* ---------- Article 语义化样式 ---------- */
.article {
    display: flex;
    flex-direction: column;
}

.article-header {
    border-bottom: 2px solid #c5d5e8;
    padding-bottom: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.article-header .topic {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    color: #0b2b4a;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 32px;
    font-size: 17px;
    color: #3a5a7c;
    letter-spacing: 0.03em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.meta-item:not(:first-child)::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #6b8cbf;
    margin-right: 6px;
}

.author {
    font-weight: 600;
    color: #1d3b5c;
}

/* 正文区域 */
.article-body {
    padding: 10px 0 40px 0;
    min-height: 400px;
}

.article-body .content {
    font-size: 19px;
    line-height: 2.05;
    color: #1e2f40;
    letter-spacing: 0.025em;
    text-align: justify;
    word-break: break-word;
}

.article-body .content p {
    margin-bottom: 1.2em;
    text-indent: 2em;
}

.article-body .content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 28px auto;
    border-radius: 8px;
}

.article-body .content blockquote {
    border-left: 4px solid #6b8cbf;
    padding-left: 24px;
    margin: 24px 0;
    color: #2c4b6e;
    background-color: #f0f4fa;
    padding: 18px 24px;
    border-radius: 0 10px 10px 0;
}

.article-body .content h2,
.article-body .content h3 {
    margin: 1.8em 0 0.8em 0;
    color: #0b2b4a;
    font-weight: 600;
}

.article-body .content a {
    color: #1f5090;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body .content a:hover {
    color: #0d3b6e;
}

/* 文章底部 */
.article-footer {
    border-top: 1px solid #c5d5e8;
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #5a7290;
}

.editor {
    color: #3a5a7c;
}

.rd-times {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rd-times::before {
    content: '👁';
    font-size: 16px;
}

/* 响应式微调 */
@media (max-width: 768px) {
    .article-card {
        padding: 40px 24px 32px 24px;
    }
    .article-header .topic {
        font-size: 30px;
    }
    .article-body .content {
        font-size: 16px;
    }
}