/* === Medium 风格文章区 === */
#mainContent {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.65;
    color: #222;
}
#mainContent h1, #mainContent h2, #mainContent h3, #mainContent h4 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    color: #111;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
#mainContent p {
    margin: 1em 0;
}
#mainContent img {
    max-width: 100%;
    display: block;
    margin: 1em 0;
}
pre, code {
    background: #f6f8fa;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: "Courier New", monospace;
}

/* === Medium 风格页首 === */
.medium-header {
    max-width: 720px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
}
.medium-header h1 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 0.2em;
    color: #111;
}
.medium-header p {
    color: #555;
    margin-bottom: 1em;
}
.medium-header nav a {
    color: #1a73e8;
    text-decoration: none;
    margin: 0 8px;
}
.medium-header nav a:hover {
    text-decoration: underline;
}

/* === Medium 风格侧边栏 === */
.medium-sidebar {
    background: #f7f7f7;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.medium-sidebar h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}
.medium-sidebar p {
    font-size: 14px;
    color: #555;
    margin: 0.5em 0;
}
.medium-sidebar a {
    color: #1a73e8;
    text-decoration: none;
}
.medium-sidebar a:hover {
    text-decoration: underline;
}

/* === Medium 风格页脚 === */
.medium-footer {
    max-width: 720px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}
.medium-footer a {
    color: #1a73e8;
    text-decoration: none;
}
.medium-footer a:hover {
    text-decoration: underline;
}
