/* Global custom styles */

/* Better container width */
body {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Improve overall typography */
body {
    font-size: 18px;
    line-height: 1.6;
}

/* Better link styling */
a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-thickness: 2px;
}

/* Navigation improvements */
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer styling */
footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    opacity: 0.7;
}

/* Homepage post list */
.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list h3 {
    margin-bottom: 0.5rem;
}

.post-list .post-date {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Tag styling */
.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.tag {
    background: var(--background-alt);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.85em;
    text-decoration: none;
}

.tag:hover {
    background: var(--border);
}

/* Responsive improvements */
@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}