.flex_layout.locatie_links .locatie_links_content{
    margin-bottom: 50px;
    gap: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flex_layout.locatie_links .locatie_links_content > div{
    flex: 1;
}

.flex_layout.locatie_links .locatie_links_content > div.light_gmwp_search{
    display: flex;
    justify-content: flex-end;
}

.flex_layout.locatie_links .locatie_links_content > div.light_gmwp_search > div{
    max-width: 400px;
}



.flex_layout.locatie_links .locaties_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


@media (max-width: 1024px) {
    .flex_layout.locatie_links .locaties_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px){
    .flex_layout.locatie_links .locatie_links_content{
        margin-bottom: 50px;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .flex_layout.locatie_links .locatie_links_content > div.light_gmwp_search{
        width: 100%;
    }
    
    .flex_layout.locatie_links .locatie_links_content > div.light_gmwp_search > div{
        max-width: unset;
        width: 100%;
    }
        
    .flex_layout.locatie_links .locaties_grid {
        grid-template-columns: 1fr;
    }
}
#locaties {
  scroll-margin-top: 150px; /* hoogte van de header */
}
html {
  scroll-behavior: smooth;
}
.opvangsoort-badge {
  display: inline-block;
  padding: 4px 8px;
  margin: 0 4px 4px 0;
  border-radius: 4px;
  font-size: 0.85em;
  line-height: 1.4;
  text-decoration: none !important;
  color: #fff !important;
  vertical-align: middle;
}

.opvangsoort-badge.default {
  background-color: #777; /* fallback voor sites ≠ 6 */
}

.opvangsoort-badge:hover {
  opacity: 0.9;
}

/* Container */
.locatie_filter {
    display: block;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

/* Verberg echte checkbox */
.locatie_filter input {
    display: none;
}

/* Pill styling */
.filter-pill {
    cursor: pointer;
}

.filter-pill span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--wp--preset--color--fl-accent) !important;
    color: #333;
    font-size: 14px;
    transition: all 0.75s ease;
}

/* Hover */
.filter-pill:hover span {
    background: #e6e3db;
}

/* Active */
.filter-pill input:checked + span {
    background: var(--wp--preset--color--fl-accent) !important;
    color: #fff;
}

/* Subtle press effect */
.filter-pill span:active {
    transform: scale(0.96);
}

.locatie_item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.locatie_item.is-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.locatie_item.hidden-complete {
    display: none;
}

.locatie_filter {
    margin-bottom: 25px;
}

.locatie_filter_title {
    margin-bottom: 10px;
}

/* Pills container */
.locatie_filter_pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}