.search-archive .archive-header {
    background-image: url(https://occasionmaastricht.nl/wp-content/uploads/2026/04/Occasion-center-maastricht-42.webp);
    background-position: center center;
    background-size: cover;
    position: relative;
}
.search-archive .archive-header:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(0 0 0 / 57%);
}
.search-archive .archive-header ._container {
    position: relative;
    z-index: 1;
    padding-bottom: 75px;
}
.search-archive .archive-header h2 {
    font-family: var(--exo2);
    font-size: 57px;
    font-weight: 800;
    font-style: italic;
    color: #fff;
    padding: 0;
    margin: 0;
}
.search-archive .archive-header .breadcrumb{
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 16px;
    align-items: center;
}
.search-archive .archive-header .breadcrumb li {
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-family: var(--arial);
    font-weight: 400;
}
.search-archive .archive-header .breadcrumb li a {
    color: #fff;
}
.search-archive .archive-header .breadcrumb li a:hover {
    color: #E02B20;
}
.search-archive .archive-header .elementor-shape svg {
    width: calc(100% + 1.3px);
    height: 75px;
}
    

#entity-search-form {
    display: flex;
    gap: 20px 50px;
    padding-top: 50px;
}
#entity-search-form select {
    border-radius: 50px;
    appearance: none;
    position: relative;
    padding: .5rem 2.3rem .5rem 1rem;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E") no-repeat calc(100% - 15px) 50%;
    background-size: 13px;
}
#entity-search-form #entity-search {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#entity-search-form #entity-search h2 {
    padding: 0;
    margin: 0;
    font-family: var(--arial);
    font-weight: 400;
    font-size: 17px;
}

#entity-search-form #entity-results {
    width: calc(100% - 300px);
}

#entity-results .search-settings {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}
#entity-results .search-settings h2 {
    padding: 0;
    margin: 0;
    font-family: var(--arial);
    font-weight: 400;
    font-size: 17px;
}
#entity-results .search-settings select {
    width: auto;
    margin-left: auto;
}


.pagination {
    margin-top: 50px;
}
.pagination .paging {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    margin: 0 auto;
}
.pagination .paging ul {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination .paging svg {
    width: 15px;
}
.pagination .paging a,
.pagination .paging span{
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
    box-shadow: 0 0 1px rgba(0, 0, 0, .25);
    height: 40px;
    min-width: 40px;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--black-color);
}
.pagination .paging a:hover,
.pagination .paging .current span {
    background-color: #E02B20;
    color: #fff;
}
.pagination .paging .current span:hover {
    background-color: #E02B20;
}
.pagination .paging > a{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}




@media screen and (max-width: 1300px) {
    #entity-search-form {
        gap: 30px;
    }
    #entity-search-form #entity-results {
        width: calc(100% - 280px);
    }

    .results-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media screen and (max-width: 900px) {
    .results-container {
        grid-template-columns: repeat(1, 1fr); 
    }
}
@media screen and (max-width: 767px) {
    #entity-search-form {
        flex-direction: column;
    }
    #entity-search-form #entity-search {
        width: 100%;
    }
    #entity-search-form #entity-results {
        width: 100%;
    }
    #entity-results .search-settings {
        align-items: center;
    }
    .results-container article .item img {
        height: 65vw;
    }
    
}









/* Teksten links en bovenaan wit */
#entity-search-form #entity-search h2,
#entity-results .search-settings h2,
#entity-search-form #entity-search label,
#entity-search-form #entity-search .filter-label {
  color: #fff;
}

/* Selects links en bovenaan wit maken */
#entity-search-form select,
#entity-results .search-settings select {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 60%);
  background-color: rgb(255 255 255 / 6%);
}

/* Witte dropdown pijl */
#entity-search-form select,
#entity-results .search-settings select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) 50%;
  background-size: 13px;
}

/* Hover en focus netter op donkere achtergrond */
#entity-search-form select:hover,
#entity-results .search-settings select:hover {
  border-color: rgb(255 255 255 / 85%);
}

#entity-search-form select:focus,
#entity-results .search-settings select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(224 43 32 / 35%);
}

/* Dropdown opties leesbaar houden */
#entity-search-form select option,
#entity-results .search-settings select option {
  background-color: #111;
  color: #fff;
}


/* Paginering wit op donkere achtergrond */
.pagination .paging a,
.pagination .paging span {
  color: #fff;
  border-color: rgb(255 255 255 / 60%);
  background-color: rgb(255 255 255 / 6%);
  box-shadow: none;
}

/* SVG pijlen ook wit */
.pagination .paging svg path,
.pagination .paging svg {
  fill: #fff;
  color: #fff;
}

/* Hover en current zoals je accentkleur */
.pagination .paging a:hover,
.pagination .paging .current span {
  background-color: #E02B20;
  border-color: #E02B20;
  color: #fff;
}

/* Focus state */
.pagination .paging a:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(224 43 32 / 35%);
}


/* Schuine balk in header weghalen */
.search-archive .archive-header .elementor-shape,
.search-archive .archive-header .elementor-shape-divider,
.search-archive .archive-header .elementor-shape svg,
.search-archive .archive-header .elementor-shape-divider svg{
  display: none !important;
}


/* Header tekst verticaal centreren */
.search-archive .archive-header ._container{
  min-height: 320px;              /* pas aan naar wens */
  display: flex;
  flex-direction: column;
  justify-content: center;        /* verticaal */
}

/* Lettertype Lato voor header + breadcrumb */
.search-archive .archive-header h2,
.search-archive .archive-header .breadcrumb,
.search-archive .archive-header .breadcrumb li,
.search-archive .archive-header .breadcrumb a{
  font-family: "Lato", sans-serif !important;
}

/* Optioneel: breadcrumb ook netjes onder de titel */
.search-archive .archive-header .breadcrumb{
  margin-top: 10px;
}
