.posts .boxed .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.posts .boxed .items .item {
    position: relative;
    border: 1px solid rgba(80, 22, 94, 0.28);
    border-radius: 16px;
}

.posts .boxed .items .item .category {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 12px 40px;
    background-color: var(--soft-orange);
    border-radius: 20px;
    color: #0B031C;
    font-family: ExpletusSans-400, Arial, sans-serif;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.5px;
}

.posts .boxed .items .item .media img {
    border-radius: 16px 16px 0 0;
    max-height: 700px;
}

.posts .boxed .items .item .info .post-info {
    display: flex;
    flex-direction: row;
    margin-bottom: 12px;
}

.posts .boxed .items .item .info {
    border-radius: 0 0 16px 16px;
    padding: 35px 40px;
}

.posts .boxed .items .item .info a {
    text-decoration: none;
}

.posts .boxed .items .item .info a h2 {
    color: #0B031C;
    font-family: Roboto-600, sans-serif;
    font-size: 30px;
    margin-bottom: 8px;
    line-height: normal;
}

.posts .boxed .items .item .info .post-info span {
    padding: 0 6px
}

.posts .boxed .items .item .info .post-info p, .posts .boxed .items .item .info .post-info span, .posts .boxed .items .item .content p, .posts .boxed .search .btn-delete {
    color: var(--dusty-purple);
    font-family: Roboto-400, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.posts .boxed .items .item .content p {
    margin-bottom: 4px;
}

.posts .boxed .category-filter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 80px;
}

.posts .boxed .category-filter .btn-filter {
    text-decoration: none;
    color: var(--charcoal-grey);
    border: 2px solid var(--soft-orange);
}

.posts .boxed .category-filter .btn-filter.orange {
    background-color: var(--soft-orange);
}

.posts .boxed .category-filter .btn-filter.orange::before {
    top: 1px;
    position: relative;
    padding-right: 8px;
    content: url("images/delete-btn.svg");
}

.posts .boxed .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.posts .boxed .pagination .prev,
.posts .boxed .pagination .next {
    flex: 1;
}

.posts .boxed .pagination .numbers {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.posts .boxed .pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 6px;
    color: #2f2f4f;
    font-weight: 400;
    transition: all 0.2s ease;
}

/* Actieve pagina */
.posts .boxed .pagination .page-numbers.current {
    background-color: #ff7a00;
    color: white;
    font-weight: 600;
}

/* Hover effect */
.posts .boxed .pagination .page-numbers:hover {
    background-color: #ffe4cc;
    color: #ff7a00;
}

@media (max-width: 820px) {
    .posts .boxed .items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 570px) {
    .search > form .search-field {
        width: 200px !important;
    }
}
