@media screen and (min-width: 768px) {
    .overview .sidebar--filters {
        position: relative;
    }
}

section.overview .vehicles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

section.overview .vehicles-list__item {
    display: flex;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    min-height: 240px;
    transition: box-shadow 0.2s;
    align-items: stretch;
    padding: 1rem;
}
section.overview .vehicles-list__item:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
section.overview .vehicles-list .block--car:hover {
    background-color: #f0f0f0
    
}
section.overview .vehicle-card__img-wrap {
    flex: 0 0 320px;
    min-width: 190px;
    max-width: 340px;
    display: flex;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    background: none;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: auto;
}
section.overview .vehicle-card__img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    border-radius: 0;
    margin: 0 !important;
    padding: 0 !important;
}
section.overview .vehicles-list__item:hover .vehicle-card__img-bg {
    transform: scale(1.08);
}

/* Remove old .vehicle-card__img styles if not used */
section.overview .vehicle-card__img { display: none; }

section.overview .vehicle-card__content {
    flex: 1 1 0;
    padding: 0 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-width: 0;
    height: 100%;
    /* min-height: 240px; */
}
section.overview .vehicle-card__title {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}
section.overview .vehicle-card__brand {
    color: #0071b3;
    font-weight: bold;

}
section.overview .vehicle-card__description {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 1rem;
    overflow: hidden;
    display: block;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
    /* //white-space: nowrap;
    //text-overflow: ellipsis;
    //padding-right: 4rem; */
}
section.overview .vehicle-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.25rem 1rem;
    font-size: 1rem;
    color: #19325c;
}

section.overview .vehicle-card__features li {
    /* Remove the width calculation since grid handles the layout */
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

section.overview .bullet-item {
    position: relative;
    padding-left: 1.5em;
    display: inline-block; /* Needed for padding and relative positioning */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

section.overview .bullet-item::before {
    content: '';
    position: absolute;
    left: 0.2em; /* Adjust slightly for positioning */
    top: 50%;
    width: 6px;
    height: 6px;
    background: rgb(191, 30, 27); /* This makes the dot red */
    border-radius: 50%;
    display: inline-block;
    transform: translateY(-50%); /* Vertically centers the dot */
}

section.overview .vehicle-card__price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0px;
    justify-content: flex-start;
}
section.overview .vehicle-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0071b3;
}
section.overview .vehicle-card__price-label {
    font-size: 1rem;
    color: #505050;
    margin-right: 1.5rem;
}
section.overview .vehicle-card__button {
    background: #19325c;
    color: #fff;
    font-weight: 600;
    border-radius: 0.3rem;
    padding: 0.6em 1.5em;
    font-size: 1rem;
    margin-left: auto;
    transition: background 0.2s;
    cursor: pointer;
}
section.overview .vehicles-list__item:hover .vehicle-card__button {
    background: #19325c;
}

section.overview .block--quick-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding:40px;
}






section.overview .block--quick-contact .left {
    flex: 0 0 100px;
    min-width: 280px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
section.overview .block--quick-contact .right {
    flex: 1 1 0;
    padding: 0 2rem 0 2rem;
    text-align: left;
}
section.overview .vehicles-list .block--quick-contact .block__title, section.overview .vehicles-list .block--quick-contact .block__text {
    text-align: left;
}
section.overview .vehicles-list .block--quick-contact .block__title {
    font-size: 1.75rem;
    font-weight: bold;
}
section.overview .vehicles-list .block--quick-contact .block__text {
    padding-bottom: 1rem;
}
section.overview .vehicles-list .block__avatar {
    margin: 0;
    height: 160px;
    width: 160px;
}


/*Extra stap*/

@media screen and (max-width: 1150px) and (min-width: 768px) {
   
    html body.customize-support main.wrapper section.overview div.content {
        max-width: calc(100% - 200px);
    }
    .overview {
        display: flex!important;
    } 
    .sidebar--filters {
        padding: 20px;
        max-width: 200px;
        min-width: 170px;
    }
    html .fs-wrap {
        width: 120px!important;
        display: contents;
        font-size: 12px;
    }
    html .facetwp-dropdown {
        font-size: 12px;   
    }
    html .fs-label-wrap {
        padding: 5px !important;
    }
    html .fs-dropdown {
        max-width: 120px;
    }
    .facetwp-type-checkboxes {
        font-size: 12px;
    }
    section.overview .vehicles-list__item {
        min-height: 170px;
    }
    section.overview .vehicle-card__img-wrap {
        min-width: 200px;
        max-width: 200px;
        min-height: 170px;
        max-height: 170px;
    }

    section.overview .vehicle-card__description {
        font-size: 1rem;
    }
    section.overview .vehicle-card__title {
        font-size: 1.5rem;
    }
    section.overview .vehicle-card__features {
        flex-wrap: nowrap;
    }
    section.overview .vehicle-card__price-row {
        margin-top:0;
    }
    section.overview .vehicle-card__price-label {
        margin-right: 0px;
    }
    section.overview .vehicle-card__content {
        min-height: 170px;
        padding: 0 1rem 0 1rem;
    }   

}



/*Tussenliggende stap*/

@media screen and (max-width:768px) and (min-width: 626px) {
    html section.overview .vehicle-card__img-wrap {
        height: 150px;
        max-width: 150px;
    }
    section.overview .vehicles-list__item {
        min-height: 150px;
    }
    section.overview .vehicle-card__title {
        font-size: 1.3rem;
    }
    section.overview .vehicle-card__description {
        font-size: 1rem;
    }
    section.overview .vehicle-card__features li {
        font-size: 14px;
    }
}




/*Onderstaande max-width was 768px*/
@media screen and (max-width:625px) { 
    html body.customize-support main.wrapper section.overview div.content {
        max-width: var(--container);
        margin-right: 5px;
    }
    
    section.overview .vehicles-list__item {
        flex-direction: column;
        min-height: unset;
    }
    section.overview .vehicle-card__img-wrap {
        max-width: 100%;
        min-width: 0;
        min-height: 140px;
        padding: 0;
    }
    section.overview .vehicle-card__img-bg {
        height: 100%;
    }
    section.overview .vehicle-card__content {
        padding: 1rem;
        flex: 0;
    }
    section.overview .vehicle-card__features {
        flex-direction: row;
        gap: 0.75rem;
        font-size: 0.95rem;
    }

    section.overview .vehicle-card__description {
        font-size: 1.1rem;
        padding-right: 0;
    }
    section.overview .vehicle-card__price-row {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
    }
    
    section.overview .vehicle-card__button {
        width: 50%;
        text-align: center;
        margin-left: 0;
    }
    /*contactblokje*/
    section.overview .block--quick-contact {
        flex-direction: column!important;
    }
    
}




@media screen and (min-width:1024px) { 
    .header__menu ul {
        margin: auto 0;
    }
    .header__menu ul:last-of-type {
        margin: auto 0;
      }
}

.klantenvertellen-widget {
    margin-left: auto;
}

@media screen and (min-width: 1024px) and (max-width:1184px) { 
    .header__menu ul li a {
        font-size: 15px;
    }
    .header__menu ul li a {
        margin: 0 15px;
    }
}
@media screen and (min-width: 1024px) {
    .header__menu ul {
      margin: auto auto;
    }
}

/* --- Price Table Layout --- */
section.overview .vehicle-card__price-table {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0rem 1rem;
    margin-top: 0.5rem;
    align-items: center;
}
section.overview .vehicle-card__price-cell {
    display: flex;
    align-items: center;
    min-height: 2.5em;
}
section.overview .vehicle-card__price-cell.price {
    justify-content: flex-end;
    text-align: left;
}
section.overview .vehicle-card__price-cell.label {
    justify-content: flex-start;
    text-align: left;
    align-self: center;
}
section.overview .vehicle-card__price-cell.button {
    justify-content: flex-end;
    text-align: right;
}

/* Remove any green background from button wrapper */
section.overview .vehicle-card__price-cell.button {
    background: none !important;
}

section.overview .vehicle-card__button {
    background: #19325c;
    color: #fff;
    font-weight: 600;
    border-radius: 0.3rem;
    padding: 0.6em 1.5em;
    font-size: 1rem;
    margin-left: auto;
    transition: background 0.2s;
    cursor: pointer;
    box-shadow: none;
    text-align: center;
}
section.overview .vehicles-list__item:hover .vehicle-card__button {
    background: #19325c;
}

/* Remove old price-row margin if needed */
section.overview .vehicle-card__price-row {
    margin-top: 0;
}

@media screen and (min-width:768px) and (max-width: 925px) {
    section.overview .vehicle-card__price-table {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 0.25rem 1rem;
    }
    /* First price row */
    section.overview .vehicle-card__price-table > .vehicle-card__price-cell.price:nth-of-type(1),
    section.overview .vehicle-card__price-table > .vehicle-card__price-cell.label:nth-of-type(2) {
        grid-row: 1;
    }
    /* Second price row */
    section.overview .vehicle-card__price-table > .vehicle-card__price-cell.price:nth-of-type(4),
    section.overview .vehicle-card__price-table > .vehicle-card__price-cell.label:nth-of-type(5) {
        grid-row: 2;
    }
    /* Button row */
    section.overview .vehicle-card__price-cell.button {
        grid-column: 1 / span 2;
        grid-row: 3;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }
    /* Hide empty cells if present */
    section.overview .vehicle-card__price-table > .vehicle-card__price-cell:not(.price):not(.label):not(.button) {
        display: none;
    }
}



.h2 {
    font-size: 1.4285714286rem;
}
html body.customize-support main.wrapper section.section.section--shape.section--no-padding div.grid.grid--about div.block.block--about h1.block__title {
    max-width: auto!important;
}