/* ==============================
   IndustrialSphere Blog Theme
   ============================== */

:root {
    --is-green: #16a34a;
    --is-green-dark: #15803d;
    --is-green-light: #ecfdf3;
    --is-blue: #0f766e;
    --is-text: #1f2937;
    --is-muted: #64748b;
    --is-border: #e5e7eb;
}

/* 全局字体 */
body {
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Segoe UI",
        Arial,
        sans-serif;
    color: var(--is-text);
}

/* 博客标题 */
#blogTitle h1 a {
    color: var(--is-green-dark) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}

#blogTitle h2 {
    color: var(--is-muted);
    font-size: 14px;
    font-weight: normal;
}

/* 顶部导航 */
#navigator {
    border-bottom: 2px solid var(--is-green);
}

#navList a:hover {
    color: var(--is-green) !important;
}

/* 文章标题 */
.postTitle a {
    color: #111827;
    font-weight: 650;
}

.postTitle a:hover {
    color: var(--is-green);
}

/* 正文 */
.postBody {
    line-height: 1.9;
    font-size: 16px;
    color: #252b33;
}

.postBody h2 {
    margin-top: 36px;
    padding-left: 12px;
    border-left: 4px solid var(--is-green);
    color: #111827;
}

.postBody h3 {
    color: var(--is-green-dark);
}

/* 链接 */
.postBody a {
    color: var(--is-green-dark);
}

/* 引用 */
.postBody blockquote {
    background: #f7fdf9;
    border-left: 4px solid var(--is-green);
    padding: 12px 18px;
    color: #475569;
}

/* 行内代码 */
.postBody code {
    border-radius: 4px;
}

/* 图片 */
.postBody img {
    max-width: 100%;
    border-radius: 6px;
}

/* 表格 */
.postBody table {
    width: 100%;
    border-collapse: collapse;
}

.postBody table th {
    background: var(--is-green-light);
}

.postBody table th,
.postBody table td {
    border: 1px solid var(--is-border);
    padding: 8px 12px;
}

/* IndustrialSphere 侧边栏卡片 */
.isphere-card {
    line-height: 1.7;
    color: #374151;
}

.isphere-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--is-green-dark);
    margin-bottom: 8px;
}

.isphere-desc {
    font-size: 13px;
    color: #5b6472;
    margin-bottom: 14px;
}

.isphere-section {
    font-size: 13px;
    font-weight: 700;
    margin: 14px 0 8px;
    color: #1f2937;
}

.isphere-tags span {
    display: inline-block;
    padding: 3px 8px;
    margin: 3px 3px 3px 0;
    border-radius: 12px;
    background: #ecfdf3;
    color: var(--is-green-dark);
    font-size: 12px;
}

.isphere-note {
    margin-top: 14px;
    padding: 9px 10px;
    background: #f0fdf4;
    border-left: 3px solid var(--is-green);
    font-size: 12px;
    color: #4b5563;
}

/* 博客园默认按钮、链接略微统一 */
a:hover {
    text-decoration: none;
}
.isphere-footer {
    text-align: center;
    padding: 24px 10px;
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.isphere-footer strong {
    color: #15803d;
}