/* Joseph Voelbel — Hyper-Minimal Theme */

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

html { font-size: 16px; }

body {
    background: #fff;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ---- Layout: centered block ---- */

.site {
    width: 100%;
    max-width: 480px;
    padding: 80px 24px 80px;
    text-align: center;
}

/* ---- Header ---- */

.site-header {
    margin-bottom: 40px;
}

.site-title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.site-title a:hover { color: #555; }

/* ---- Post List ---- */

.post-list {
    margin-bottom: 56px;
}

.post-item {
    padding: 3px 0;
}

.post-link {
    color: #1a1a1a;
    text-decoration: none;
    font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    line-height: 1.9;
    letter-spacing: -0.01em;
}

.post-link:visited { color: #555; }
.post-link:hover { color: #0000EE; }

/* ---- Newsletter ---- */

.site-footer {
    border-top: 1px solid #e8e8e8;
    padding-top: 32px;
}

.subscribe p {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 12px;
}

.subscribe form {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe input[type="email"] {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    padding: 7px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 0.75rem;
    outline: none;
    font-family: inherit;
    text-align: left;
}

.subscribe input[type="email"]:focus { border-color: #888; }

.subscribe button {
    padding: 7px 14px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
}

.subscribe button:hover { background: #333; }

.subscribe-success, .subscribe-error {
    font-size: 0.75rem;
    color: #888;
    margin-top: 8px;
}

.subscribe-error { color: #c00; }

/* ---- Post Content ---- */

.post-content {
    text-align: left;
}

.post-title {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.post-meta {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 36px;
}

.post-body {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #1a1a1a;
}

.post-body p { margin-bottom: 1.4em; }

.post-body h1, .post-body h2, .post-body h3 {
    font-weight: 600;
    margin: 2em 0 0.6em;
    line-height: 1.3;
}

.post-body h1 { font-size: 1.3rem; }
.post-body h2 { font-size: 1.1rem; }
.post-body h3 { font-size: 0.9375rem; }

.post-body a { color: #0000EE; }
.post-body a:visited { color: #551A8B; }

.post-body blockquote {
    border-left: 2px solid #d0d0d0;
    padding-left: 16px;
    margin: 1.5em 0;
    color: #666;
    font-style: italic;
}

.post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em 0;
}

.post-body ul, .post-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.4em;
}

.post-body li { margin-bottom: 0.3em; }

.post-body pre {
    background: #f5f5f5;
    padding: 14px;
    overflow-x: auto;
    font-size: 0.8125rem;
    border-radius: 2px;
    margin-bottom: 1.4em;
}

.post-body iframe {
    max-width: 100%;
    margin: 2em 0;
    display: block;
}

.post-nav {
    margin-top: 52px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    text-align: left;
}

.post-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
}

.post-nav a:hover { color: #1a1a1a; }

/* Ghost Koenig editor required classes */
.kg-width-wide { margin-left: -40px; margin-right: -40px; }
.kg-width-full { margin-left: -24px; margin-right: -24px; }

/* ---- Mobile ---- */

@media (max-width: 520px) {
    .site { padding: 48px 20px 60px; }
    .kg-width-wide, .kg-width-full { margin-left: -20px; margin-right: -20px; }
}
