:root {
    --bg: #faf9f6;
    --text: #1a1a1a;
    --accent: #a67c7c;
    --border: #d1d1d1;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --spacing: 1.5rem;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    margin: 0;
    padding: var(--spacing);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-transform: lowercase;
}

header {
    margin-bottom: 3rem;
}

nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.9rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--accent);
    font-weight: 500;
}

.sep {
    color: var(--border);
    font-size: 0.8rem;
}

h1, h2, h3 {
    font-weight: 500;
    margin-top: 2.5rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }


.note-list { list-style: none; padding: 0; }
.note-item { margin-bottom: 1.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.note-date { font-size: 0.85rem; color: #666; min-width: 100px; }

/* Breadcrumb */
.breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 2rem;
    color: #888;
}

.breadcrumb a {
    color: #888;
}

.breadcrumb .current {
    color: var(--text);
}

/* Notes Layout */
.notes-container {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.notes-sidebar h3 {
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #888;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    border-left: 1px solid var(--border);
}

.sidebar-item {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.sidebar-item a {
    color: #888;
    text-decoration: none;
}

.sidebar-item.active {
    border-left: 2px solid var(--accent);
    margin-left: -1px;
    padding-left: calc(1rem - 1px);
}

.sidebar-item.active a {
    color: var(--accent);
    font-weight: 500;
}

.note-header {
    margin-bottom: 2rem;
}

.note-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.note-meta {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 600px) {
    .notes-container {
        grid-template-columns: 1fr;
    }
    .notes-sidebar {
        display: none; /* Hide sidebar on mobile or move it? */
    }
}

footer {
    margin-top: 5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: #888;
    text-align: center;
}

hr.heart-divider {
    border: none;
    text-align: center;
    margin: 3rem 0;
}

hr.heart-divider::after {
    content: "♥";
    color: var(--accent);
    font-size: 1rem;
}
