/* ===== 仅对文章生效的 Markdown 渲染样式 ===== */

/* 段落呼吸感 */
.md-post p {
    line-height: 1.85;
    margin-bottom: 1.2em;
}

/* 表格响应式 */
.md-post table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
    width: 100%;
}
.md-post td,
.md-post th {
    padding: 10px 14px;
    border: 1px solid #ccc;
}
.md-post th {
    background: #f5f5f5;
    font-weight: 600;
    text-align: left;
}

/* 链接高亮 */
.md-post a {
    color: #d35400;
    border-bottom: 1px dotted #d35400;
    text-decoration: none;
}

/* 引用块柔和化 */
.md-post blockquote {
    background: #f9f9f9;
    border-left: 4px solid #d35400;
    padding: 14px 18px;
    font-size: 0.95em;
    color: #555;
}

/* 代码块 */
.md-post pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 16px 20px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.6;
}

/* 行内代码 */
.md-post code {
    background: #f0f0f0;
    color: #d35400;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* 分割线 */
.md-post hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 2em 0;
}

/* 图片 */
.md-post img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
