.journal-main { padding: 0 5%; }

.page-title {
    text-align: center;
    padding: 2rem 0 0.5rem;
    color: var(--accent-color);
    font-size: 2.5rem;
}

.page-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
}

.journal-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.journal-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.journal-sidebar h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.category-list {
    list-style: none;
}

.category-list li { margin: 0.5rem 0; }

.category-list a {
    text-decoration: none;
    color: #666;
    padding: 0.5rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-list a:hover, .category-list a.active {
    background: var(--secondary-color);
    color: var(--accent-color);
}

.journal-content { display: flex; flex-direction: column; gap: 1.5rem; }

.journal-entry {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.entry-header h2 { color: var(--text-color); font-size: 1.3rem; }

.entry-date { color: #999; font-size: 0.9rem; }

.entry-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--secondary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.entry-content { line-height: 1.8; color: #555; }

@media (max-width: 768px) {
    .journal-container { grid-template-columns: 1fr; }
    .journal-sidebar { position: static; }
}
