:root {
    --sidebar-max-width: 20%;
    --content-max-width: 920px;
}

.content main {
    font-size: 18px;
    line-height: 1.82;
    letter-spacing: 0.01em;
}

.content p {
    margin: 0.95em 0;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.55em;
}

.content h3 {
    margin-top: 1.55em;
    margin-bottom: 0.5em;
}

.content h4 {
    margin-top: 1.25em;
    margin-bottom: 0.42em;
}

.content li {
    margin: 0.22em 0;
}

.content blockquote {
    margin: 1.1em 0;
    padding: 0.65em 1em;
    border-left: 4px solid #2f6feb;
    background: rgba(47, 111, 235, 0.08);
    border-radius: 0 8px 8px 0;
}

.content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    border: 1px solid rgba(120, 120, 120, 0.25);
    border-radius: 10px;
    background: #fff;
}

.content code {
    font-size: 0.92em;
}

.content pre code {
    font-size: 0.88em;
    line-height: 1.65;
}

@media (max-width: 900px) {
    :root {
        --sidebar-max-width: 260px;
        --content-max-width: 96vw;
    }

    .content main {
        font-size: 16.5px;
        line-height: 1.78;
    }
}
