/*
Theme Name: WP Jim
Theme URI: https://example.com/jime-theme
Author: WP Jim
Description: A minimal WordPress theme designed for the WP Jim Editor visual editor.
Version: 0.2.5
License: GPL-2.0-or-later
Text Domain: jime-theme
*/

:root {
    color-scheme: light;
    --nb-text: #17202a;
    --nb-muted: #667085;
    --nb-border: #e5e7eb;
    --nb-accent: #2563eb;
    --nb-content-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--nb-text);
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}
a { color: var(--nb-accent); }
img { max-width: 100%; height: auto; }
.nb-site-header, .nb-site-footer { border-color: var(--nb-border); }
.nb-site-header { border-bottom: 1px solid var(--nb-border); }
.nb-site-header__inner, .nb-site-footer__inner, .nb-main {
    width: min(100% - 2rem, var(--nb-content-width));
    margin-inline: auto;
}
.nb-site-header__inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nb-brand { color: inherit; font-weight: 700; text-decoration: none; }
.nb-menu ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.nb-main { padding-block: 3rem; min-height: 60vh; }
.nb-entry__header { margin-bottom: 2rem; }
.nb-entry__title { margin: 0 0 .5rem; line-height: 1.2; }
.nb-entry__meta { color: var(--nb-muted); font-size: .9rem; }
.nb-entry__content { max-width: 900px; }
.nb-entry__content > :first-child { margin-top: 0; }
.nb-entry__content > :last-child { margin-bottom: 0; }
.nb-pagination { margin-top: 3rem; }
.nb-site-footer { border-top: 1px solid var(--nb-border); padding-block: 1.5rem; color: var(--nb-muted); }
.nb-empty { padding: 3rem 0; text-align: center; }
@media (max-width: 640px) {
    .nb-site-header__inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
    .nb-main { padding-block: 2rem; }
}
