/* liam-press — clean editorial theme */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.center {
    display: block;
    margin: 0 auto;
}

html {
    background-color: #fff1e5;
    color: #1a1a1a;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #fff1e5;
    min-height: 100vh;
}

/* ── Typography ── */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Google Sans Code', monospace;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
}

p {
    margin-bottom: 1.25em;
}

a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    opacity: 0.7;
}

strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

blockquote {
    border-left: 3px solid #1a1a1a;
    margin: 1.5em 0;
    padding: 0.25em 0 0.25em 1.25em;
    font-style: italic;
    color: #444;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Layout ── */

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Site Header ── */

.site-header {
    border-bottom: 1px solid #d6c4af;
    padding: 22px 0;
    margin-bottom: 48px;
}

.site-header .container {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.site-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
}

.site-header-logo:hover {
    opacity: 0.75;
}

.site-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.site-avatar img {
    display: none;
}

.site-title {
    font-family: 'Google Sans Code', monospace;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: #1a1a1a;
}

.site-tagline {
    font-size: 13px;
    color: #777;
    font-family: 'Open Sans', sans-serif;
}

/* ── Blog listing ── */

.page-heading {
    font-size: 28px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d6c4af;
}

.article-list {
    list-style: none;
}

.article-list-item {
    padding: 28px 0;
    border-bottom: 1px solid #d6c4af;
}

.article-list-item:first-child {
    padding-top: 0;
}

.article-list-item .article-title {
    font-size: 21px;
    margin-bottom: 6px;
}

.article-list-item .article-title a {
    text-decoration: none;
    color: #1a1a1a;
}

.article-list-item .article-title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 1;
}

.article-meta {
    font-family: 'Google Sans Code', monospace;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.article-summary {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-family: 'Google Sans Code', monospace;
    text-decoration: none;
    border-bottom: 1px solid #d6c4af;
    padding-bottom: 1px;
}

.read-more:hover {
    opacity: 0.65;
}

/* ── Single post ── */

.article-header {
    margin-bottom: 36px;
}

.article-header .article-title {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.article-content {
    font-size: 18px;
    line-height: 1.78;
}

.article-content p {
    margin-bottom: 1.3em;
}

.article-content h2 {
    font-size: 22px;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.article-content h3 {
    font-size: 18px;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.25em 1.5em;
}

.article-content li {
    margin-bottom: 0.4em;
}

.article-content img {
    margin: 1.5em 0;
    border: 1px solid #d6c4af;
}

.article-content figcaption {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
    font-style: italic;
}

.article-content code {
    font-family: 'Google Sans Code', monospace;
    font-size: 0.875em;
    background: #eedec8;
    padding: 2px 5px;
    border-radius: 2px;
}

.article-content pre {
    background: #eedec8;
    padding: 1em 1.25em;
    overflow-x: auto;
    font-size: 14px;
    margin-bottom: 1.25em;
    border-radius: 2px;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-back {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #d6c4af;
    font-size: 14px;
    font-family: 'Google Sans Code', monospace;
}

.article-back a {
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1px;
}

/* ── Default page ── */

.page-content {
    font-size: 18px;
    line-height: 1.78;
}

.page-content h1:first-child {
    font-size: 32px;
    margin-bottom: 24px;
}

.page-content p {
    margin-bottom: 1.3em;
}

/* ── Site footer ── */

.site-footer {
    margin-top: 72px;
    padding: 24px 0 32px;
    border-top: 1px solid #d6c4af;
    font-size: 13px;
    color: #888;
    font-family: 'Google Sans Code', monospace;
}


/* ── Responsive ── */

@media (max-width: 600px) {
    html {
        font-size: 17px;
    }

    .article-header .article-title {
        font-size: 26px;
    }

    .article-list-item .article-title {
        font-size: 19px;
    }
}