/* Archive Grid Layout */
.tag-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    margin-bottom: 40px;
}

.tag-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.tag-header .highlight {
    border: 2px solid #55a630;
    padding: 2px 10px;
    color: #333;
    display: inline-block;
}

.archive-grid-container {
    max-width: 1620px;
    margin: 0 auto;
    padding: 0 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-thumbnail {
    margin-bottom: 15px;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: 373.75px;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #55a630;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0 60px;
}

.load-more-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #55a630;
    background: transparent;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.load-more-btn:hover {
    background: #55a630;
    color: #fff;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tag-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .tag-header h1 {
        font-size: 1.5rem;
    }
}