/* BulliExplorer — base styles */

:root {
    --color-bg: #fafaf9;
    --color-text: #1c1917;
    --color-muted: #78716c;
    --color-accent: #b45309;
    --color-border: #e7e5e4;
    --font-sans: system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, monospace;
    --max-width: 680px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    padding: 0 1rem;
}

/* --- Header --- */
header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

header nav a {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

/* --- Main --- */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 0;
}

/* --- Hero --- */
.hero {
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero .tagline {
    color: var(--color-muted);
    font-size: 1.05rem;
}

/* --- Posts list --- */
.posts h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-muted);
    font-weight: 500;
}

.post-card {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.post-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.post-card h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--color-accent);
}

.post-card time {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.post-card p {
    margin-top: 0.35rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    background: var(--color-border);
    color: var(--color-muted);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

.empty {
    color: var(--color-muted);
    font-style: italic;
}

/* --- Footer --- */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.85rem;
}
