/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 18px;
}

/* Layout with sidebar */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    padding: 60px 40px;
    background-color: #fff;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}

.site-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000;
}

nav {
    display: flex;
    flex-direction: column;
}

nav a {
    color: #333;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 18px;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: #000;
}

/* Main content area */
.content {
    margin-left: 280px;
    flex: 1;
    padding: 60px 80px;
    max-width: 900px;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
}

p {
    margin-bottom: 20px;
    color: #333;
}

a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Reading list specific styles */
.reading-section {
    margin-bottom: 50px;
}

.reading-section:first-child h2 {
    margin-top: 0;
}

.book-list {
    list-style: none;
    padding-left: 0;
}

.book-list li {
    margin-bottom: 25px;
    padding-left: 20px;
    position: relative;
}

.book-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
    font-weight: bold;
}

.book-list strong {
    font-weight: 600;
    color: #000;
}

.book-list .note {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.book-list.simple li {
    margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .sidebar {
        width: 220px;
        padding: 40px 30px;
    }

    .site-title {
        font-size: 20px;
    }

    nav a {
        font-size: 16px;
    }

    .content {
        margin-left: 220px;
        padding: 40px 60px;
    }
}

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        border-bottom: 1px solid #eee;
    }

    .site-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    nav {
        flex-direction: row;
        gap: 20px;
    }

    nav a {
        margin-bottom: 0;
        font-size: 16px;
    }

    .content {
        margin-left: 0;
        padding: 40px 20px;
    }

    body {
        font-size: 16px;
    }

    h2 {
        font-size: 20px;
    }
}
