/* ===== 文章页专有样式（2026-09-17 自 header.php 迁出，原 header L363-491）===== */
.post-page-mode .post-page-intro,
.post-page-mode .app-recommend-section,
.post-page-mode #download {
    display: none !important;
}

.post-page-mode .notice-banner-card {
    margin-top: 76px;
}

@media (max-width: 575.98px) {
    .post-page-mode .notice-banner-card {
        margin-top: 60px;
    }
}

.post-page-mode .post-page-comments-section {
    padding-top: 24px;
    padding-bottom: 0;
}

.post-page-mode .buyer-section>#comments.section-gap {
    margin-bottom: 40px;
}

.post-page-content {
    padding-top: 102px;
}

.post-detail-card {
    padding:50px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(31, 45, 61, .06);
}

.post-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf0f4;
}

.post-detail-title {
    margin: 0;
    color: #313a46;
    font-size: 30px;
    line-height: 1.4;
}

.post-detail-meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    color: #98a6ad;
    font-size: 14px;
    white-space: nowrap;
}

.post-detail-meta-item {
    display: inline-flex;
    align-items: center;
}

.post-detail-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.post-detail-keyword {
    padding: 8px 10px;
    border-radius: 24px;
    background: #edf4ff;
    color: #4d78bd;
    font-size: 12px;
    line-height: 1.2;
}

.post-detail-keyword:nth-child(2) {
    background: #eef9f2;
    color: #4b9170;
}

.post-detail-keyword:nth-child(3) {
    background: #fff4e8;
    color: #bd7b3d;
}

.post-detail-meta svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.post-detail-meta-divider {
    width: 1px;
    height: 16px;
    margin: 0 12px;
    background: #d9dee5;
}

.post-detail-content {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.post-detail-content p {
    margin: 0 0 29px;
}

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

.post-detail-content img {
    display: block;
    max-width: min(100%, 1000px);
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.post-detail-content a {
    color: var(--app-theme);
}

.post-detail-notice {
    margin-top: 28px;
    padding: 12px 14px;
    border: 1px solid #f3b9bd;
    border-radius: 6px;
    background: #fff0f1;
}

.post-detail-notice .notice-banner-label {
    height: 26px;
    padding: 0 10px;
    background: #dc3545;
    color: #fff;
    line-height: 26px;
}

.post-detail-notice .notice-banner-icon {
    color: #dc3545;
}

.post-page-mode .post-banner-card {
    margin-top: 16px;
}

@media (max-width: 575.98px) {
    .post-page-content {
        padding-top: 86px;
    }

    .post-detail-card {
        padding: 20px;
    }

    .post-detail-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .post-detail-title {
        font-size: 24px;
    }
}