.category-posts-wrapper {
    padding: 48px 0 72px 0;
}

.category-description {
    margin-bottom: 32px;
}

.category-description p {
    color: var(--neutral-gray);
    font-size: 16px;
    line-height: 24px;
}

.category-post-wrapper {
    margin-bottom: 48px;
}

.category-post-image {
    display: block;
}

.category-post-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
}

.category-post-title {
    margin: 24px 0 0 0;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.category-post-title a {
    color: var(--title-black-color);
    text-decoration: none;
}

.category-post-title a:hover {
    text-decoration: underline;
}

.no-posts-found {
    padding: 24px 0;
}

.no-posts-found h3 {
    margin-bottom: 12px;
}

.pagination {
    margin-top: 16px;
}

.pagination .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.pagination a.page-numbers:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pagination .page-numbers.current {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--white);
}

.pagination .page-numbers.dots {
    border: none;
    min-width: auto;
    padding: 0 4px;
}

@media(max-width: 991px) {
    .category-posts-wrapper {
        padding: 32px 0 48px 0;
    }

    .category-post-wrapper {
        margin-bottom: 32px;
    }

    .category-post-title {
        margin-top: 16px;
        font-size: 20px;
    }
}
