.bronk-blogs-wrapper {
    position: relative;
    padding-bottom: 60px;
}

.bronk-blogs-slider {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.bronk-blogs-item {
    display: none;
    text-align: left;
    opacity: 0;
    transition: all 0.3s ease;
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.bronk-blogs-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.bronk-blogs-item.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.bronk-blogs-image {
    width: 100%;
    height: 50%;
    position: relative;
    overflow: hidden;
}

.bronk-blogs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bronk-blogs-content {
    padding: 20px;
    height: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    pointer-events: none;
    min-height: 220px;
}

.bronk-blogs-title {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.bronk-blogs-description {
    font-size: 15px;
    color: #000;
    margin: 0 0 10px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 60px;
    line-height: 1.4;
    max-height: 4.2em;
}

.bronk-blogs-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.bronk-blogs-date {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.bronk-blogs-link {
    width: 40px;
    height: 40px;
    background: #099747;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    text-decoration: none;
    border-bottom: none;
    pointer-events: auto;
}

.bronk-blogs-link:hover,
.bronk-blogs-link:focus,
.bronk-blogs-link:active {
    background: #067a33;
    text-decoration: none;
    border-bottom: none;
}

.bronk-blogs-link i {
    color: #fff;
}

/* Slider animaties */
.bronk-blogs-slider .bronk-blogs-item.slide-from-left {
    transform: translateX(-100px);
}

.bronk-blogs-slider .bronk-blogs-item.slide-from-right {
    transform: translateX(100px);
}

.bronk-blogs-slider .bronk-blogs-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Navigatie styling */
.bronk-blogs-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bronk-blogs-nav .bronk-nav-button {
    width: 40px;
    height: 40px;
    background: #099747;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.bronk-blogs-nav .bronk-nav-button:hover,
.bronk-blogs-nav .bronk-nav-button:focus,
.bronk-blogs-nav .bronk-nav-button:active {
    background: #067a33;
    text-decoration: none !important;
    border: none !important;
}

.bronk-blogs-nav .bronk-nav-button.disabled {
    background: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Responsive styling */
@media screen and (max-width: 1200px) {
    .bronk-blogs-item {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 768px) {
    .bronk-blogs-item {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width: 480px) {
    .bronk-blogs-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.bronk-blogs-item-overlay,
.bronk-blogs-link {
    pointer-events: auto;
}

.bronk-blogs-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.bronk-blogs-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.bronk-blogs-link.ortho-button {
    background-color: #0A3A2D;  /* Lichtere versie van #092B1E */
}

.bronk-blogs-link.ortho-button:hover {
    background-color: #099747;
}

/* Filter layout styles */
.bronk-blogs-filter {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.bronk-blogs-filter .blog-filter-button {
    background-color: #099747;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bronk-blogs-filter .blog-filter-button:before {
    background-color: #003618;
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
    z-index: -1;
}

.bronk-blogs-filter .blog-filter-button:hover:before,
.bronk-blogs-filter .blog-filter-button:focus:before,
.bronk-blogs-filter .blog-filter-button:active:before,
.bronk-blogs-filter .blog-filter-button.active:before {
    left: 0;
}

/* Grid layout */
.bronk-blogs-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    min-height: auto; /* Verwijder de vaste min-height */
    padding-bottom: 80px; /* Ruimte voor de paginering */
}

.bronk-blogs-grid .bronk-blogs-item {
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    transform: none !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    display: block !important;
    height: auto; /* Laat de hoogte bepalen door de inhoud */
}

/* Alleen verbergen wanneer gefilterd */
.bronk-blogs-grid .bronk-blogs-item.filterable-item.hidden {
    display: none !important;
}

/* Zorg dat de content binnen de items ook de volledige breedte gebruikt */
.bronk-blogs-grid .bronk-blogs-item-link {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bronk-blogs-grid .bronk-blogs-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bronk-blogs-grid .bronk-blogs-image {
    width: 100%;
    padding-bottom: 66.67%; /* 2:3 aspect ratio */
    position: relative;
    overflow: hidden;
}

.bronk-blogs-grid .bronk-blogs-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bronk-blogs-description {
    flex: 1;
    margin-bottom: 15px;
}

/* Responsive voor grid layout */
@media screen and (max-width: 1200px) {
    .bronk-blogs-grid .bronk-blogs-item {
        flex: 0 0 calc((100% - 40px) / 3); /* 40px is voor 2 gaps tussen 3 items */
        max-width: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 768px) {
    .bronk-blogs-grid .bronk-blogs-item {
        flex: 0 0 calc((100% - 20px) / 2); /* 20px is voor 1 gap tussen 2 items */
        max-width: calc((100% - 20px) / 2);
    }
    
    .bronk-blogs-filter {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .bronk-blogs-grid .bronk-blogs-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Pagination styling */
.bronk-blogs-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.bronk-blogs-pagination .bronk-nav-button {
    width: 40px;
    height: 40px;
    background: #099747;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.bronk-blogs-pagination .bronk-nav-button:hover:not(.disabled) {
    background: #067a33;
    transform: scale(1.05);
}

.bronk-blogs-pagination .bronk-nav-button.disabled {
    background: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.5;
}

.bronk-blogs-pagination .bronk-pagination-info {
    font-size: 14px;
    color: #000;
    margin: 0 10px;
}

/* Responsive aanpassingen voor paginering */
@media screen and (max-width: 768px) {
    .bronk-blogs-pagination {
        position: relative;
        justify-content: center;
    }
    
    .bronk-blogs-grid {
        padding-bottom: 40px;
    }
}

.bronk-container {
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
} 