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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f3f0;
    color: #2d2d2d;
    line-height: 1.5;
    min-height: 100vh;
}

header {
    padding: 1rem 0;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.nav-tabs {
    display: flex;
    gap: 2rem;
}

.nav-tab {
    text-decoration: underline;
    color: #2d2d2d;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-tab:hover {
    color: #1a1a1a;
}

.x-logo {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 5rem;
    display: flex;
    align-items: flex-start;
    gap: 5rem;
}

.section-title {
    flex: 0 0 150px;
    text-align: left;
}

.section-content {
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

h2 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 400;
}

h3 {
    font-size: 1.4rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #404040;
    font-weight: 400;
}

p a {
    text-decoration: none;
    background-color: #e8ddd4;
    color: #2d2d2d;
    padding: 1px 3px;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

p a:hover {
    background-color: #d4c9c0;
}

.writings-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.writing-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.writing-link {
    text-decoration: underline;
    color: #2d2d2d;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.writing-link:hover {
    color: #1a1a1a;
}

.writing-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    flex-shrink: 0;
}


@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .nav-tabs {
        gap: 1rem;
    }
    
    .name {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .section {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .section-title {
        flex: none;
    }
    
    .writing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .writing-date {
        font-size: 0.85rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-tabs {
        gap: 1rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
    
    .section {
        margin-bottom: 2.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}