/*
 Theme Name:     Realworks
 Theme URI:
 Description:    Realworks base theme
 Author:         Joost Koehoorn
 Author URI:
 Template:       uncode
 Version:        1.0.2
*/

@import url("../twentytwelve/style.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #151d52;
    --primary-light: #242c66;
    --primary-lighter: #353F93;
    --secondary: #f6e833;
    --secondary-light: #DACC2F;
    --button: #151d52;
    --button-medium: #036cff;
    --button-light: #e3eeff;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: "Poppins", sans-serif !important;
}

body.single-realworks_wonen .menu-wrapper,
body.single-realworks_wonen .menu-wrapper .menu-container,
body.single-realworks_wonen .menu-wrapper>*:not(.overlay-search) {
    opacity: 1 !important;
    background-color: white !important;
}

/* Apply same menu styling to archive pages */
body.post-type-archive-realworks_wonen .menu-wrapper {
    opacity: 1 !important;
}

body.post-type-archive-realworks_wonen .menu-wrapper,
body.post-type-archive-realworks_wonen .menu-wrapper .menu-container,
body.post-type-archive-realworks_wonen .menu-wrapper>*:not(.overlay-search) {
    opacity: 1 !important;
    background-color: var(--primary) !important;
}

body.post-type-archive-realworks_wonen .menu-item a {
    color: white !important;
}

body.post-type-archive-realworks_wonen .menu-item a:hover {
    color: var(--secondary) !important;
}

/* Ensure menu items are visible on archive */
body.post-type-archive-realworks_wonen .menu-wrapper .menu-container .menu-horizontal,
body.post-type-archive-realworks_wonen .menu-wrapper .menu-container .menu-horizontal-inner {
    opacity: 1 !important;
}

.section-wrapper {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    background-color: white;
    position: relative;
    margin: 0 auto;
}

.section-wrapper .site-content {
    max-width: 1300px;
}

.woning {
    border-bottom: none !important;
}

.grid-item {
    border-radius: .5rem;
    overflow: hidden;
    aspect-ratio: 16/10;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

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

.icon-wrapper {
    flex-grow: 0;
    flex-shrink: 0;
    height: 24px;
    position: relative;
    transform: translateZ(-15px);
    transform-style: preserve-3d;
    transition: .25s;
    width: 2.5rem;
    display: flex;
    flex-direction: row;
    gap: .5rem;
    margin: auto 0;
}

.icon-front,
.icon-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-icon {
    width: 16px;
}

.btn-with-icon:hover .icon-wrapper {
    transform: rotateY(-90deg);
}

.icon-front {
    transform: translateZ(15px);
}

.icon-side {
    transform: rotateY(90deg) translateZ(15px);
}

.residence-header {
    margin-bottom: 3.5rem;
}

.section-wrapper h1 {
    color: var(--primary);
    font-weight: bolder !important;
    margin-top: 5rem;
    margin-bottom: 2rem;
    font-size: 3rem !important;
}

.residence-title {
    width: 100%;
    margin-top: 3rem !important;
    margin-bottom: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.residence-address {
    padding-right: 20px;
}

.residence-zip {
    font-size: x-large;
    text-align: center;
    padding: 0;
    margin: 0;
    font-weight: 300;
    color: var(--primary-light);
}

.status-label{
    position: absolute;
    left: 5px;
    bottom: 5px;
    z-index: 1;
    
}

.status-label, .status-label-detail{
    background: #F06006;
    color: #fff;
    padding: 7px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: lowercase;
}

.status-label.beschikbaar, .status-label-detail.beschikbaar{
    background: #22C55E;
}

#status-label-detail-wrapper{
text-align:center;
margin-top:20px;
}


.available-wrapper {
    position: absolute;
    top: 11rem;
    right: 2.5rem;
    padding: 24px;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 25px 50px -12px #00000040;
    z-index: 10;
    width: 27rem;
}

.price {
    font-size: 20px;
    font-weight: bold;
}

.price span:nth-child(1) {
    font-size: 36px;
}

.available {
    font-size: 1rem;
    font-weight: 600;
    background-color: #22C55E;
    color: white;
    padding: .25rem .5rem;
    border-radius: .125rem;
}

.energy-class {
    display: inline-flex;
    align-items: center;
}

/* Arrow-shaped energy label */
.energy-label {
    --energy-bg: #e5e7eb;
    /* fallback */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 2.2rem;
    padding: 0 0 0 0.8rem;
    padding-right: 1.20rem;
    /* room for arrow */

    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1;

    color: #111;
    background: var(--energy-bg);
    border-radius: 0.35rem;
    position: relative;
    white-space: nowrap;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.energy-label::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1.0rem;
    width: 0;
    height: 0;
    border-top: 1.1rem solid transparent;
    border-bottom: 1.1rem solid transparent;
    border-left: 1.1rem solid var(--energy-bg);
}

.energy-label[data-energy="A++++"],
.energy-label[data-energy="A+++"],
.energy-label[data-energy="A++"],
.energy-label[data-energy="A+"],
.energy-label[data-energy="A"] {
    --energy-bg: #009639;
    color: #fff;
}

.energy-label[data-energy="B"] {
    --energy-bg: #8CBF26;
    color: #fff;
}

.energy-label[data-energy="C"] {
    --energy-bg: #FFF200;
    color: #111;
}

.energy-label[data-energy="D"] {
    --energy-bg: #F7941D;
    color: #111;
}

.energy-label[data-energy="E"] {
    --energy-bg: #ED6B06;
    color: #fff;
}

.energy-label[data-energy="F"] {
    --energy-bg: #C1272D;
    color: #fff;
}

.energy-label[data-energy="G"] {
    --energy-bg: #8B0000;
    color: #fff;
}

.action-btns {
    position: absolute;
    bottom: 38px;
    left: 10px;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.primary-button:first-child {
    background-color: var(--primary-light) !important;
    color: white;
}

.primary-button:first-child:hover,
.primary-button:first-child:focus,
.primary-button:first-child:active {
    background-color: var(--primary-lighter) !important;
    filter: brightness(0.9);
    background: var(--primary-lighter) !important;
    outline: none !important;
    box-shadow: none !important;
}

.secondary-button {
    background-color: var(--secondary) !important;
}

.secondary-button:hover,
.secondary-button:focus,
.secondary-button:active {
    background-color: var(--secondary-light) !important;
    background: var(--secondary-light) !important;
    outline: none !important;
    box-shadow: none !important;
}

.button-format {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.button-format:first-child span {
    border-right: 1px solid #ffffff80;
}

.button-format:not(:first-child) span {
    border-right: 1px solid #000;
}

.button-format span {
    flex-grow: 1;
    padding-right: 1rem;
}

.button-format svg {
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    flex-grow: 0;
    margin-left: 0.5rem;
}

.sidebar-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.sidebar-btns button:first-child {
    background-color: var(--button);
    color: white;
}

.sidebar-btns button:last-child {
    color: black;
}

.sidebar-btns button {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    position: relative;
}


.action-btns .button-format {
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content
}

.action-btns a {
    color: black
}

.residence-main-content {
    display: grid;
    grid-template-columns: 1fr .45fr;
    padding-top: 2rem;
    align-items: start;
}

.residence-desc {
    padding-right: 1rem;
}

.residence-desc p {
    font-size: 1.3rem;
    line-height: 1.6;
}

.residence-desc-content {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.residence-desc-content.expanded {
    max-height: none;
}

.residence-desc-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    pointer-events: none;
}

.residence-desc-content.expanded::after {
    opacity: 0;
}

.show-more {
    margin-top: 10px;
    background-color: transparent;
    color: var(--button);
    border: none;
    cursor: pointer;
    border-radius: 4px;
    outline: none;
    padding-left: 0;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.show-more span {
    font-size: 14px;
}

.show-more svg {
    width: 20px;
    transform: translateX(0px);
    transition: transform 0.2s;
}

.show-more:hover,
.show-more:focus,
.show-more:active {
    background-color: transparent !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    transition: none !important;
    color: var(--button) !important;
}

.show-more:hover svg {
    transform: translateX(5px);
    transition: transform 0.2s;
}

.residence-desc-toggle svg,
.residence-specs-toggle svg {
    transition: transform 0.3s ease;
}

.residence-desc-content.expanded~.residence-desc-toggle svg,
.residence-specs-content.expanded~.residence-specs-toggle svg {
    transform: rotate(180deg);
}

.residence-sidebar h3 {
    margin-top: 0;
}

.broker-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.broker-contact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.broker-img-wrapper {
    width: 8rem;
    height: 8rem;
    border-radius: 99999px;
    overflow: hidden;
    flex-shrink: 0;
}

.broker-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 1.2rem;
    flex: 1;
}

.residence-desc p:first-child,
.residence-sidebar p {
    margin-top: 0;
    padding-top: 0;
}

.table-title {
    font-weight: bold;
    font-size: 24px !important;
    margin-bottom: 1rem;
}

.residence-specs table {
    border-collapse: collapse;
    width: 90%;
    border: none;
    margin-top: 0.3rem;
    font-size: 18px !important;
}

.residence-specs table td {
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-weight: normal;
}

.residence-specs table td:first-child {
    width: 400px;
    vertical-align: top;
}

.residence-specs table td:last-child {
    vertical-align: top;
}

.residence-specs-content {
    max-height: 600px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.residence-specs-content.expanded {
    max-height: none;
}

.residence-specs-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    pointer-events: none;
}

.residence-specs-content.expanded::after {
    opacity: 0;
}

.residence-sidebar {
    background-color: white;
    box-shadow: 0 25px 50px -12px #00000040;
    padding: 2rem;
    border-radius: 1rem;
    height: fit-content;
    width: 100%;
    position: sticky;
    top: 0px;
    align-self: flex-start;
}

.back-btn-single {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--button-medium);
    border: 1px solid var(--button-medium);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border-radius: 2rem;
    width: fit-content;
    padding-block: 1rem;
    padding-inline: 3rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.image-grid .nested-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.image-fade {
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.image-fade:hover {
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

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

.bold-text {
    font-weight: bold;
}

.normal-text {
    font-weight: normal !important;
}

.hidden {
    display: none !important;
}

.m30b {
    margin-bottom: 30px;
}

.contain {
    position: relative;
}

/* Layout styles */
.site-content.archive {
    width: 100%;
    float: none;
}

.search-sidebar {
    width: 160px;
    float: left;
}

.search-content {
    padding-bottom: 2em;
    position: relative;
}


/* Search Form styles */
.search-field {
    margin: 0 0 1em 0;
}

.search-field h4 {
    margin: 0 0 0.5em 0;
}

.search-field label {
    display: block;
    cursor: pointer;
}

/* Active search options are displayed slightly bolder */
.search-field label.active {
    font-weight: 600;
}

.search-field label.active.hidden {
    display: block !important;
}

/* Fade results without any results */
.search-field label[data-count="0"]:not(.active) {
    color: #777;
}

.search-field label span {
    color: #999;
    font-size: 90%;
}

.search-field select {
    width: 100%;
}

.search-field input[type=text] {
    width: 90%;
}

.search-field a {
    display: block;
    font-size: 90%;
    text-decoration: none;
}



/* Slider styling */
.search-field.has-slider .search-items {
    display: none;
}

.search-field .slider-values {
    font-size: 85%;
    margin-bottom: 1em;
    overflow: hidden;
}

.search-field .slider-values small {
    font-size: 100%;
    color: #999;
    display: none;
}

.search-field.tracking-min .slider-values .low small,
.search-field.tracking-max .slider-values .high small {
    display: inline;
}

.search-field .slider-values .low {
    float: left;
}

.search-field .slider-values .high {
    float: right;
}



/* Search field hide all non-selected items */
.search-field.hide-non-selected label {
    margin-bottom: 6px;
}

.search-field.hide-non-selected label.active {
    font-weight: normal;
}

.search-field.hide-non-selected input[type=checkbox] {
    display: none;
}

.search-field.hide-non-selected:not([data-selected="1"]) .clear-selected {
    display: none;
}

/* When a single item is selected, hide all other options */
.search-field.hide-non-selected[data-selected="1"] label:not(.active),
.search-field.hide-non-selected[data-selected="1"] .show-more-toggle {
    display: none !important;
}


/* Results Settings styles */
.search-settings {
    padding: 1em 0.5em;
    line-height: 22px;
}


.search-settings .display {
    float: right;
}

.search-settings .display li {
    float: left;
    padding: 0 0.5em;
}

.search-settings .display a {
    font-weight: bold;
    font-size: 90%;
    color: #999;
    text-decoration: none;
}

.search-settings .display a:hover {
    color: #000;
}

.search-content.list .display-list a,
.search-content.grid .display-grid a,
.search-content.map .display-map a {
    color: #000;
}


/* Search Results styles */
.search-content article {
    width: 100%;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.search-content article .item {
    position: relative;
    margin: 0 0.5em 2em 0.5em;
    overflow: hidden;
}

.search-content article .item a {
    width: 100%;
    height: 100%;
    display: block;
}

.search-content article h1 {
    clear: none;
}

.search-content article a {
    text-decoration: none;
}

.search-content article dl {
    margin: 0;
}

.search-content article dd {
    margin: 0;
}

.nav-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.3rem;
    width: 100vw;
    gap: 0.5rem;
    padding: 20px 36px 15px 36px;
}

.nav-footer>* {
    font-size: medium;
}

.nav-footer p {
    margin: 0 !important;
    padding: 0 !important;
}

.thumbnail {
    position: relative;
}

.item-energy-class {
    top: 6px;
    left: 6px;
}

.item {
    position: relative;
}

.item-thumbnail img {
    position: relative;
    z-index: 1;
}

.item-energy-class,
.info-items {
    position: absolute;
    z-index: 2;
}



.info-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .5rem;
}

.info-wrapper p {
    margin: 0;
    line-height: 1;
    font-size: 13px;
}

.info-wrapper svg {
    width: 22px;
    height: 22px;
}

.item-top-content>* {
    color: #444444;
}

.info-items {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: .3rem;
    position: absolute;
    bottom: 5px;
    right: 5px;
    top: auto;
    gap: 1rem;
    padding-inline: .7rem;
    padding-block: .25rem;
}

.info-items>* {
    color: black;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
margin:0 20px 3rem 20px;
}

.results-header button {
    border: none;
    background-color: var(--primary-light);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.results-header button:hover,
.results-header button:focus,
.results-header button:active {
    background-color: var(--primary-lighter);
    background: var(--primary-lighter);
    outline: none !important;
    box-shadow: none !important;
}

.results-header a span {
    border-right: 1px solid #ffffff80;
    padding-right: 1rem;
}

.item-thumbnail {
    aspect-ratio: 16/10;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.item a img {
    transition: 0.2s;
}

.item a:hover img {
    filter: brightness(0.8);
    transform: scale(1.05);
    transition: 0.3s;
}

.item a:hover .item-bottom div {
    opacity: .8;
    transition: opacity 0.2s;
}

.item a:hover .item-address {
    color: var(--primary-light);
}

.item-desc {
    padding-top: 1rem;
}

.item-subtitle {
    font-weight: normal;
    color: #868686;
    font-size: 16px !important;
}

.item-desc p {
    margin: 0;
    padding: 0;
    font-size: 20px;
}

.item-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
}

.item-bottom div {
    padding: 10px;
    display: flex;
    opacity: 0;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    border-radius: .25rem;
    transition: opacity 0.2s;
}

.item-bottom svg {
    width: 20px;
    height: 20px;
}

#entity-results {
    width: 85vw;
    margin: 0 auto;
}

#entity-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.promotional-divider {
    grid-column: span 2;
    display: flex;
    position: relative;
    flex-direction: row;
    border-radius: 1.8rem;
    overflow: hidden;
    background-color: #eaeaea;
    height: 25rem;
    justify-content: space-between;
    width: 95%;
    height: 90%;
}

.promo-div-text h1 {
    color: var(--primary);
    font-weight: bold;
    font-size: 2.3rem !important;
}

.promo-div-text p {
    color: var(--primary);
    font-weight: 300;
    font-size: 1.6rem;
    letter-spacing: 0.1px;
    line-height: 2rem;
}

.promo-div-text {
    padding-top: 1rem;
    padding-left: 2.5rem;
    width: 70%;
}

.promo-img-wrapper {
    border-top-left-radius: 999rem;
    border-bottom-left-radius: 999rem;
    overflow: hidden;
    height: 100%;
    width: 35%;
}

.promo-img-wrapper img {
    object-fit: cover;
    height: 100%;
}

.promo-btn-wrapper {
    position: absolute;
    bottom: 3.5rem;
    left: 2rem;
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1rem;
}

.promo-btn-wrapper a:first-child {
    box-shadow: 0 0 0 3px var(--button-medium);
    color: var(--button-medium);
}

.promo-btn-wrapper a:first-child:hover {
    background-color: var(--button-medium);
    color: white;
}

.promo-btn-wrapper a:nth-child(2) {
    background-color: var(--button-medium);
    box-shadow: 0 0 0 3px var(--button-medium);
}

.promo-btn-wrapper a:nth-child(2):hover {
    color: var(--button-medium);
    background-color: white;
}

.promo-btn-wrapper a {
    padding-block: 1.2rem;
    padding-inline: 3rem;
    color: white;
    border-radius: 10em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: larger;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

.item-info {
    width: 100%;
    height: 100%;
    position: absolute;
}

.results-amnt {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#entity-search-form {
    margin-top: 5vh;
}

.header-divider {
    background-color: var(--primary) !important;
    width: 100%;
    position: relative;
    min-height: 200px;
    padding-bottom: 150px;
}

.divider-content {
    position: relative;
    z-index: 2;
    width: 60vw;
    margin: 0 auto;
    color: white;
    display: flex;
    flex-direction: row;
}

.divider-content p {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 300;
    width: 70%;
}

.divider-text {
    padding-left: 2rem;
}

.divider-title {
    gap: 2rem;
    margin-block: 2rem !important;
}

.divider-title h1 {
    color: white;
    font-size: 50px !important;
}

.divider-title span {
    transform: translateY(-20px);
}

.divider-content button {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-btn-wrapper {
    margin-top: 3rem;
}

.filter-city-btn {
    border: 1px solid var(--secondary) !important;
    background-color: transparent !important;
    color: var(--secondary) !important;
    text-transform: uppercase !important;
    transition: background-color .2s;
    padding-block: 1.5rem !important;
    padding-inline: 3.5rem !important;
    border-radius: 2rem !important;
    letter-spacing: 0.1rem !important;
}

.filter-city-btn:hover,
.filter-city-btn:focus,
.filter-city-btn:active {
    background-color: var(--secondary) !important;
    background: var(--secondary) !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
    transition: background-color .2s;
}

.header-divider svg {
    transform: translateX(-50%) scaleY(-1);
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 150px;
    display: block;
    z-index: 1;
}

.filters-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: min(10vh, 90px) 24px 24px;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    pointer-events: none;
}

.filters-modal.is-open {
    opacity: 1;
    display: flex;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.55);
position:absolute;
}

.filters-modal-content {
    background-color: #fff;
    width: min(1500px, 50vw);
    border-radius: 18px;
    padding: 34px 38px 26px;
    max-height: 80vh;
    overflow: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px #00000040;
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
}

.filters-modal.is-open .filters-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.filters-modal h2 {
    margin: 0 0 22px 0;
    font-size: clamp(28px, 2.4vw, 44px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.filters-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
    border-radius: 10px;
}

.filters-modal-close:hover {
    background: #f4f6fb;
}

/* 2-column grid wrapper (we’ll add this wrapper in search.php) */
.filters-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    row-gap: 0;
}

/* Accordion row style */
.filter-accordion {
    border-bottom: 1px solid #e7e7e7;
}

.filter-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 18px 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    gap: 1rem;
    font-size: 16px;
}

.filter-accordion-toggle:hover,
.filter-accordion-toggle:focus,
.filter-accordion-toggle:active {
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: black;
}

.filter-accordion-toggle .chevron {
    width: 20px;
    height: 20px;
    color: #111;
    transition: transform 0.2s ease;
}

.filter-accordion.active .chevron {
    transform: rotate(180deg);
}

/* Content panel */
.filter-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0;
}

.filter-accordion.active .filter-accordion-content {
    max-height: 420px;
    padding: 0 0 18px 0;
}

/* Inputs inside accordion */
.filter-accordion-content select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e3e3e3;
    background: #fff;
    font-size: 16px;
    margin-top: 10px;
}

.filter-accordion-content label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 16px;
    color: #111;
}

.filter-accordion-content label:has(input[type="checkbox"]) {
    padding: 0 !important;
}

.filter-accordion-content label.active {
    font-weight: 700;
    color: var(--primary);
}

.filter-accordion-content input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--button-medium);
}

.filter-accordion-content input[type="checkbox"] {
    border: 1px solid #e3e3e3 !important;
}

/* Footer buttons like screenshot */
.filters-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
}

.filters-modal-actions .button-format {
    width: 100%;
    border-radius: 10px;
    padding: 18px 22px;
    font-size: 18px;
    font-weight: 700;
    text-transform: initial !important;
    letter-spacing: initial !important;
}

/* Reset = light blue */
.filters-modal-actions .secondary-button {
    background: var(--secondary) !important;
    color: black !important;
}

/* Apply = blue */
.filters-modal-actions .primary-button {
    background: var(--primary) !important;
    color: #fff !important;
}

.filters-modal-actions .primary-button:hover,
.filters-modal-actions .primary-button:focus {
    filter: brightness(0.95);
}

@media (max-width: 1120px){
	#entity-items {
    		grid-template-columns: repeat(2, 1fr);
	}

.promotional-divider{
	height: 337px;
    width: 100%;
    margin-bottom: 40px;
}

}

@media (min-width: 1120px) and (max-width:1270px){
.promo-div-text p{
display:none;
}
}

/* Responsive: single column like your current mobile screenshot */
@media (max-width: 900px) {
    .filters-modal-content {
        width: min(680px, 94vw);
        padding: 26px 22px 18px;
    }

    .filters-accordion-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .filters-modal-actions {
        grid-template-columns: 1fr;
    }
}



#google-map,
#google-streetview {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.video-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.video-title h1 {
    margin: 0;
}

/* Segmented control (zoals screenshot) */
.tab-content {
    display: none;
}

.tab-content.is-active {
    display: block;
}

.video-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.video-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.video-tab:hover {
    background-color: #f5f5f5;
}

.video-tab.is-active {
    background-color: #006cff;
    color: white;
    border-color: #006cff;
}

.video-embed a.video-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #111;
    background: transparent;
}

.video-embed a.video-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: currentColor;
}

.video-embed a.video-tab.is-active {
    background: var(--button);
    color: #fff;
}

.video-embed a.video-tab:hover {
    filter: brightness(0.98);
}

.video-embed a.video-tab.is-active:hover {
    filter: brightness(0.95);
}

.floorplans-section {
    margin-block: 6rem;
}

.floorplans-section h1 {
    margin-bottom: 1.5rem;
}

.floorplans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.floorplans-grid .floor-plan {
    overflow: hidden;
    display: block;
    aspect-ratio: 1;
}

.floorplans-grid .floor-plan img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.floorplans-grid .floor-plan:hover img {
    filter: brightness(0.8);
}

.residence-top-content {
    display: flex;
    flex-direction: column;
    position: relative;
}

.filters-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.filter-accordion {
    border-bottom: 1px solid #e0e0e0;
}

.filter-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.filter-accordion.active .filter-accordion-content {
    max-height: 500px;
    padding: 0 16px 16px 16px;
}

.leaflet-control {
    visibility: hidden;
}

@media (max-width: 1600px) {
    .section-wrapper {
        padding-inline: 0;
    }

    .section-wrapper .site-content {
        width: 100vw;
    }
}

@media screen and (max-width: 1434px) {

	.status-label{
		max-width: 150px;
	}
}


@media (max-width: 1200px) {
    .floorplans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.floorplans-section {
    margin-block: 6rem;
}

.floorplans-section h1 {
    margin-bottom: 1.5rem;
}

.floorplans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Mobile navigation for floor plans */
@media (max-width: 768px) {
    .floorplans-section {
        position: relative;
        margin-block: 4rem;
    }

    .floorplans-grid {
        display: flex;
        overflow-x: hidden;
        scroll-snap-type: x mandatory;
        gap: 0;
        scroll-behavior: smooth;
    }

    .floorplans-grid .floor-plan {
        flex: 0 0 100%;
        scroll-snap-align: center;
        aspect-ratio: 4/3;
    }

    .floorplans-nav {
        display: flex;
        align-items: center;
        justify-content: left;
        gap: 1rem;
        margin-block: 1.5rem;
    }

    .floorplans-nav-btn {
        background: var(--button-light);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .floor-plans-nav-btn {
        box-shadow: none !important;
    }

    .floorplans-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .floorplans-nav-btn:not(:disabled):hover {
        background: var(--primary-light);
        color: white;
    }

    .floorplans-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .floorplans-dots {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .floorplans-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s;
    }

    .floorplans-dot.active {
        background: var(--button);
        width: 24px;
        border-radius: 4px;
    }
}

@media (min-width: 769px) {
    .floorplans-nav {
        display: none;
    }
	.single-content {
		padding-left:20px;
		padding-right:20px;
	}
}

@media (max-width: 768px) {
    .single-realworks_wonen .section-wrapper {
        padding-top: 0;
    }

    .single-realworks_wonen #primary {
        margin-top: 0 !important;
    }

    /* Archive */
    .header-divider svg {
        display: none;
    }

    .header-divider {
        padding-bottom: 0;
    }

    .divider-title h1 {
        font-size: 35px !important;
    }

    .divider-content p {
        font-size: 1.3rem;
    }

    .filter-btn-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        width: 100%
    }

    .divider-content {
        flex-direction: column;
        width: 90% !important;
        padding-bottom: 2rem;
    }

    .divider-content span {
        padding-left: 16px;
    }

    .divider-content p {
        width: 100%
    }

    .filters-accordion-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Single */
    .image-grid {
        display: block;
    }

    .image-grid .nested-grid {
        display: none;
    }

    .image-grid .mobile-hidden {
        display: none !important;
    }

    .image-grid .grid-item:first-child {
        width: 100%;
        display: block;
    }

    .floorplans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .residence-details-row ul {
        flex-direction: column !important;
    }

    .residence-details-row ul li:not(:first-child)::before {
        content: none;
    }

    .residence-details-row ul li {
        font-size: 15px;
    }

    .residence-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .action-btns {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        top: 220px;
        left: 0 !important;
        padding-inline: 1.2rem;
        height: 2rem
    }

    .residence-title {
        margin-top: 6rem !important;
    }

    .action-btns button {
        grid-column: 1 / -1;
        width: 50% !important;
    }

    .action-btns a:nth-child(2) {
        grid-column: 1;
    }

    .action-btns a:nth-child(3) {
        grid-column: 2;
    }

    .action-btns a {
        width: 100% !important;
    }

    .action-btns a {
        background-color: var(--button-light);
    }

    .action-btns span {
        text-align: start;
        padding-left: 0.5rem;
        font-size: 14px !important;
    }

    .residence-top-content {
        flex-direction: column-reverse;
    }

    .available-wrapper.desktop {
        display: none;
    }

    .available-wrapper.mobile {
        position: relative;
        top: 0;
        margin-top: 0.5rem;
        right: 0;
        width: 25rem;
    }

    .residence-specs table td {
        width: 50%;
    }

    .residence-specs table>* {
        font-size: 14px !important;
    }

    .section-wrapper h1 {
        font-size: 2rem !important;
    }

    .section-wrapper h3 {
        font-size: 1.5rem !important;
    }

    .residence-desc-content p {
        font-size: 15px !important;
    }

    .residence-title {
        margin-bottom: .5rem !important;
        text-align: left;
        justify-content: left;
    }

    .residence-header {
        margin-bottom: 0 !important;
    }

    .residence-zip {
        text-align: left;
    }

    .single-content {
        padding-inline: 1.2rem;
    }

    .video-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .price span:first-child {
        font-size: 25px;
    }

    .button-format span {
        font-size: 14px;
    }

    .woning {
        /*width: 85% !important;*/
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .back-btn {
        display: none !important;
    }

    .promotional-divider {
        grid-column: span 1;
        flex-direction: column;
        height: auto;
        min-height: 480px;
        width: 90% !important;
        margin: 2rem auto;
        padding-bottom: 2rem;
    }

    .promo-img-wrapper {
        width: 100%;
        height: 200px;
        border-radius: 0;
        border-top-left-radius: 1.8rem;
        border-top-right-radius: 1.8rem;
        border-bottom-left-radius: 0;
        order: -1;
    }

    .promo-img-wrapper img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .promo-div-text {
        width: 100%;
        padding: 0 1.5rem 0 1.5rem;
    }

    .promo-div-text h1 {
        font-size: 1.5rem !important;
        margin-bottom: .5rem !important;
        line-height: 1.3;
    }

    .promo-div-text p {
        display: block;
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 1.6rem;
    }

    .promo-btn-wrapper {
        position: static;
        flex-direction: column;
        gap: 1rem;
        width: calc(100% - 3rem);
        margin: 0 1.5rem;
        padding: 0;
        bottom: auto;
        left: auto;
    }

    .promo-btn-wrapper a {
        width: 100% !important;
        font-size: 1.1rem !important;
        padding: 1rem 1.5rem !important;
        justify-content: center;
    }

    .promo-btn-wrapper a span {
        border-right: none !important;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .floorplans-grid {
        grid-template-columns: 1fr;
    }

    .item .item-desc {
        padding-left: 20px;
    }
}

@media (max-width: 825px) {
    #entity-results {
        width: 95vw;
    }
}

@media (max-width: 719px) {
    .item-thumbnail {
        min-width: 224px;
    }

    .filter-btn-wrapper {
        gap: 0 !important;
        margin-top: 1rem;
    }

    .filter-btn-wrapper a {
        width: 100%;
        font-size: 16px;
    }

    .divider-content span {
        padding-left: 0;
    }

    .divider-text {
        padding-left: 1rem;
    }

    #entity-items {
        display: block;
        padding-inline: 1rem;
    }
}

@media (max-width: 580px) {
    .search-content.grid article .thumbnail {
        float: none !important;
    }
}


@media screen and (min-width: 720px) {
    .search-content article dt {
        float: left;
        width: 100px;
        clear: right;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-content article dd {
        margin: 0 0 0 120px;
    }
}

.search-content article header {
    padding: 1em;
}

.search-content article a.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.search-content article .thumbnail img {
    border-radius: 0;
}

.search-content article .entry-content {
    padding: 0 1em 1em 1em;
}

.search-content.list article .thumbnail {
    width: 40%;
    max-width: 300px;
    float: left;
}

.search-content.list article .item-content {
    margin-left: 40%;
}

.search-content.grid article .thumbnail img {
    width: 100%;
}

@media screen and (min-width: 960px) {
    .search-content.grid article:nth-child(3n+4) {
        clear: both;
    }
}

@media screen and (min-width: 720px) and (max-width: 959px) {
    .search-content.grid article:nth-child(2n+3) {
        clear: both;
    }
}




/* Google Maps styles */

.search-content .search-map {
    margin: 0 0.5em 2em 0.5em;
}

#google-map,
#google-streetview {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    box-shadow: 0 0 4px 0 #999;
}

#google-map .gm-style-iw

/* Info Windows */
a {
    font-size: 120%;
    font-weight: bold;
    text-decoration: none;
}

#google-map .gm-style-iw img {
    float: left;
}

#google-map .gm-style-iw .address {
    float: left;
    margin-left: 1em;
    min-width: 200px;
    line-height: 1.5;
}



/* View helpers */
.search-content .visible-grid,
.search-content .visible-list,
.search-content .visible-map,
.search-content.grid .hidden-grid,
.search-content.list .hidden-list,
.search-content.map .hidden-map {
    display: none;
}

.search-content.grid .visible-grid,
.search-content.list .visible-list,
.search-content.map .visible-map {
    display: block;
}



/* Loading View styles */
.search-load-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
}

.search-loading .search-load-overlay {
    display: block;
}

.search-loading .results-container {
    -webkit-filter: blur(2px);
    filter: blur(2px);
}

/* jQuery UI slider styles */
.ui-slider {
    position: relative;
    text-align: left;
    background: #ddd;
    height: 4px;
    margin: 0 4px;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    padding: 10px;
    width: 8px;
    height: 8px;
    top: -12px;
    margin-left: -14px;
    outline: none;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
}

.ui-slider .ui-slider-handle span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #1b5e7e;
    box-shadow: 0 0 2px 2px #fff;
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0;
    background-color: #21759b;
}

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
    filter: inherit;
}

.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}


.woningen-plaats-geen{
color:#151515;text-align:center;width:100%;
}
@media screen and (max-width: 768px) {

.status-label{
max-width: 150px;
}
#status-label-detail-wrapper{
	text-align:left;
	margin-bottom:20px;
	margin-top:20px;
}
}



/* Responsive styles */
@media screen and (max-width: 719px) {



    /* Grid becomes list */
    .search-content.grid .hidden-list,
    .search-content.grid .visible-grid {
        display: none;
    }

    .search-content.grid .hidden-grid,
    .search-content.grid .visible-list {
        display: block;
    }

    .search-content.grid article .thumbnail {
        width: 40%;
        max-width: 300px;
        float: left;
    }

    .search-content.grid article .item-content {
        margin-left: 42%;
    }

    .search-settings .display-grid {
        display: none;
    }

    .search-content.grid .search-settings .display-list a {
        color: #000;
    }
}

@media screen and (max-width: 599px) {



    /* Change sliders back into dropdowns */
    .search-field.has-slider .slider-container {
        display: none;
    }

    .search-field.has-slider .search-items {
        display: block;
    }

    .search-sidebar {
        width: 100%;
        float: none;
    }

    .search-content {
        margin-left: 0;
    }

	.woningen_plaats_wrapper{
        	width: 100vw !important;
        	margin-left: -17px !important;
        	padding: 0 !important;
	}

	.woningen-plaats-block{
		width: 100vw;
       	 	margin-left: -36px !important;
        	padding-left: 10px;
        	padding-right: 10px;
	}
}

@media screen and (max-width: 400px) {
    .hidden-sm {
        display: none;
    }
}

@media screen and (max-width: 400px) {

    .search-content .results-container,
    .search-content .search-load-overlay {
        margin: 0 -1.714285714rem;
    }

    .search-content article {
        border-top: 1px solid #ddd;
    }

    .search-content article:last-child {
        border-bottom: 1px solid #ddd;
        margin-bottom: 1em;
    }

    .search-content article .item {
        position: relative;
        margin: 0;
        box-shadow: none;
        overflow: hidden;
    }

    .search-content article a.overlay {
        display: block;
    }

    .search-content.list article .thumbnail {
        width: 25%;
    }

    .search-content.list article .item-content {
        margin-left: 25%;
    }
}