.articles-page {
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
}

#articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem auto;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 1rem;
    margin: 2rem auto 1rem auto;
}

.category-filter a {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.category-filter a.active,
.category-filter a:hover {
    background-color: #86a17e;
    color: #fff;
    border-color: #86a17e;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


@media only screen and (max-width: 600px) {
    #articles-list {
        grid-template-columns: repeat(1, 1fr);
    }
}