.archive-main {
    padding: 60px 0;
    background-color: #fff;
}

.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-header {
    margin-bottom: 40px;
    text-align: left;
}

.archive-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

/* --- Mreža 3 stolpcev --- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

/* Slike */
.post-thumbnail {
    margin-bottom: 20px;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 4px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Tekst v mrežah */
.post-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.post-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #bc9f84;
}

.post-meta {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.post-excerpt {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* --- Paginacija --- */
.pagination-container {
    margin-top: 60px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    text-decoration: none;
    color: #111;
    border-radius: 50%;
    transition: all 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #111;
    color: #fff;
    border-color: #111;
}

/* --- Odzivnost --- */
@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .posts-grid { grid-template-columns: 1fr; }
    .archive-title { font-size: 28px; }
}