.posts-page {
    padding: 2rem 0 6rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
    margin: 2rem auto 4rem;
    width: 90%;
    max-width: var(--wide-width);
}

.posts-grid .post-card {
    margin: 0;
    height: 100%;
}

.load-more {
    text-align: center;
    margin-top: 4rem;
}

.load-more-button {
    cursor: pointer;
    font-size: 1rem;
}

.load-more-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}