/* Theme Name: BJR Minimalist Theme */


@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-main: #111111;
    --text-muted: #737373;
    --border-color: #e5e5e5;
    --link-hover: #000000;
    --font-stack: "IBM Plex Sans", sans-serif;
    --font-headers: "Space Mono", monospace;
}

/* Auto dark mode based on user system preferences */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #111111;
        --text-main: #ededed;
        --text-muted: #888888;
        --border-color: #333333;
        --link-hover: #ffffff;
    }
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 1vw 4vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
    border-bottom-color: var(--text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.site-header {
    margin-bottom: 4rem;
}

.site-title {
    font-family: var(--font-headers);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.site-title a {
    border: none;
}

.site-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.post-article {
    margin-bottom: 5rem;
}

.post-title {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.post-title a {
    border: none;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-family: var(--font-headers);
}

.post-content p {
    margin-bottom: 1.5em;
    font-size: 1.05rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
}

blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
    color: var(--text-muted);
    font-style: italic;
}

pre, code {
    font-family: var(--font-headers);
    background: rgba(128, 128, 128, 0.1);
    font-size: 0.85em;
    border-radius: 3px;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

.site-footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.5rem;
}

.footer-widgets {
    margin-bottom: 1.5rem;
}

.site-nav {
    margin-top: 1.5rem;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: none;
}

.site-nav a:hover,
.site-nav .current-menu-item a {
    color: var(--text-main);
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    font-size: 0.9rem;
}
