body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-main {
    padding: 2rem 0;
}

.archive-header {
    text-align: center;
    margin-bottom: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card-thumbnail img {
    width: 100%;
    display: block;
}

.post-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.post-card-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.post-card-excerpt {
    flex-grow: 1;
    font-size: 1rem;
    color: #333;
}

.pagination {
    margin-top: 2rem;
    text-align: center;
}

.pagination a {
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.pagination a:hover {
    background: #f0f0f0;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.main-nav {
    display: flex;
}

.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 1.5rem;
}

.menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
    }

    .main-nav.active {
        display: flex;
    }

    .menu {
        flex-direction: column;
        padding: 1rem;
    }

    .menu li {
        margin: 0.5rem 0;
    }

    .burger {
        display: flex;
    }
}
