:root {
    --system-color-background-primary: #FAFAFA;
    --system-color-text-primary: #1A1A1A;
    --system-color-primary: #B17457;
    --system-color-secondary: #D8D2C2;
    --system-color-tertiary: #55433b;
}

*, *::before, *::after {
    box-sizing: inherit;
    letter-spacing: 0;
    line-height: 1.6;
}

html {
    box-sizing: border-box;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 1.6;
    background: var(--system-color-background-primary);
    color: var(--system-color-text-primary);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 2rem 0 1rem 0;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

a {
    color: var(--system-color-primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

h2 a {
    color: var(--system-color-text-primary);
    line-height: 1.3;
}

h2 a:hover,
h2 a:focus {
    color: var(--system-color-primary);
    text-decoration: underline;
}

h1.post-title,
h2.post-title {
    font-size: 40px;
    margin: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1.25em;
    line-height: 1.6;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 1.25em;
    padding-left: 2rem;
}

li + li {
    margin-top: 0.25em;
}

blockquote {
    border-left: 3px solid var(--system-color-primary);
    font-style: italic;
    margin: 0 0 1.25rem 0;
    padding: 1.5rem 0 1.5rem 1.5rem;
}

blockquote.kg-blockquote-alt {
    font-size: 28px;
}

code {
    background: var(--system-color-secondary);
    font-family: Menlo, Consolas, "Courier New", monospace;
    font-size: 0.9em;
    padding: 0.15em 0.3em;
}

pre {
    margin: 0 0 1.25em 0;
    padding: 1em;
    overflow-x: auto;
    background: var(--system-color-secondary);
}

pre code {
    display: block;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    margin: 1.75em 0;
    width: 100%;
}

th, td {
    border: 1px solid var(--system-color-secondary);
    padding: 0.5em;
    text-align: left;
}

th {
    background: var(--system-color-secondary);
    font-weight: 600;
}

hr {
    border: 0;
    border-top: 1px solid var(--system-color-secondary);
    margin: 2.5rem 0;
}