:root {
    --font-family: "Inter", "Arial", sans-serif;
    --font-family-heading: "Poppins", "Arial", sans-serif;
	--font-size-heading: 2.5rem;
	--line-height-heading: 3.75rem;
    --container-max-width: 1140px;
    --color-primary: #427730;
    --color-secondary: #ff7600;
    --color-tertiary: #CEE6A2;
}

.hidden,
span[aria-hidden] {
    display: none !important;
}

.invisible {
    position: absolute;
    margin: -1px;
    width: 1px;
    height: 1px;
    border: 0;
    overflow: hidden;
}

.archive__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.5;
    cursor: pointer;
    transition: all 10s ease-in-out;
    z-index: 99;
}

.no-results {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.makelaar-container {
    font-family: var(--font-family);
    padding: 1.25rem;
    margin: 0 auto;
    max-width: var(--container-max-width);
}

#entity-search-form {
    margin: 5rem 0;
}

.search__fields__wrapper {
    padding: 1rem;
    background-color: var(--color-primary);
    border-radius: 0.5rem;
}

.makelaar-container .shortcode-search .search__title {
    font-family: "Poppins";
    font-size: 40px;
    line-height: 60px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 1.5rem;
}

.search__fields {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
}

.search__field.search__field--select,
.form__custom-select {
    padding: 0;
    border-radius: 0.5rem;
    background-color: #fff;
}

.search__field input,
.search__field.search__field--select {
    width: 100%;
}

.search__field.search__field--select,
.form__custom-select {
    position: relative;
}

.search__field.search__field--select::after,
.form__custom-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    width: 7px;
    height: 7px;
    margin: -5px -5px 0 0;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    transform-origin: right bottom;
    transform: translateX(0) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.form__custom-select select.form__select,
.search__field select.form__select {
    width: 100%;
    padding: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
	font-size:18px;
	line-height:20px;
    background: transparent;
}

.form__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
	font-weight: 600;
    border: 0;
    border-radius: 0.5rem;
    color: var(--color-primary);
    background-color: var(--color-tertiary);
    padding: 0.75rem 1.5rem;
	font-size:18px;
	font-family:var(--font-family-heading);
}

.form__button svg {
    width: 1rem;
    height: 1rem;
}

.search__settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-block: 1.5rem;
}

.archive__title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-heading);
    line-height: var(--line-height-heading);
    font-weight: 700;
    margin: 0;
}

.form__custom-select {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    border: 1px solid #e5e7eb;
}

.form__custom-select svg {
    width: 1rem;
    height: 1rem;
}

.form__custom-select select {
    width: 100%;
    padding: 0.75rem 1rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    padding: 0;
    overflow: hidden;
}

.card__inner {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    background-color: white;
    height: 100%;
}

.card__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.card__photo,
.photos__grid__item {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card__photo {
	aspect-ratio: 4 / 3;
    position: relative;
}

.card__status {
    position: absolute;
    display: inline-block;
    font-size: 18px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0.5rem;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
}
.card__status.VERKOCHT{
    background-color: #ff7600;
}

.card__image,
.photos__image {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    transition: all 0.3s;
    aspect-ratio: 4/3;
}

.card__detail,
.single__header {
    display: flex;
    justify-content: space-between;
}

.single__header {
	align-items: flex-end;
}

.card__detail {
	flex-direction: column;
}

.card__detail p {
	font-size: 18px;
	line-height:26px;
	margin: 0;
	padding: 0;
}

.card__title {
    font-size: 20px;
	font-family:"Poppins";
    font-weight: 600;
	line-height:30px;
    margin-block: 0.5rem;
}

.card__city,
.single__city {
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 26px;
    padding: 0;
    margin: 0;
}

.card__city svg,
.single__city svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.form .navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.form .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 54px;
    height: 54px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
	color: #121212;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
	font-size: 18px;
  line-height: 20px;
}

.page-numbers.current {
    background-color: var(--color-primary);
    color: #fff;
}

.page-numbers.next,
.page-numbers.prev {
    height: auto;
    width: auto;
    padding: 0.5rem 1rem;
}

.page-numbers.next svg,
.page-numbers.prev svg {
    width: 1rem;
    height: 1rem;
}

.page-numbers:not(.current):hover {
    background-color: #f9fafb;
}

@media (min-width: 640px) {
    .makelaar-container {
        padding-inline: 0;
    }

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

    .form__button {
        grid-column: 1 / -1;
    }

    .search__settings {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .form__custom-select select {
        width: auto;
    }

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

@media (min-width: 768px) {
    .search__title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .search__fields {
        padding: .5rem;
    }

    .archive__title {
        font-size: 2.5rem;
        line-height: 3.75rem;
    }

    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .search__fields {
        grid-template-columns: repeat(5, minmax(0, 1fr)) 0.5fr;
    }

    .form__button {
        grid-column: initial;
    }
}

.single__row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.single__block {
    margin-block: 2.25rem;
}

.single__block__title {
    font-family: "Poppins";
    font-size: 28px;
    line-height: 42px;
    font-weight: 600;
    margin: 0;
}

.single__title {
    font-family: "Poppins";
    font-size: 40px;
    line-height: 60px;
    font-weight: 600;
    margin-bottom: 0;
}

.photos {
    position: relative;
    min-height: 200px;
}

.photos__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.375rem;
}

.photos__grid__item {
    grid-column: span 4;
}

.photos .photos__grid__item:first-child {
    grid-column: span 12;
}

.photos .photos__grid__item:nth-of-type(n + 5) {
    display: none;
}

.photos__grid__item:nth-of-type(4) img {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
    transition: all 0.2s ease-out;
}

.photos__grid__item:nth-of-type(4) img:hover {
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
}

.photos__grid__item:nth-of-type(4)::after {
    content: "+" attr(data-count);
    position: absolute;
    top: 50%;
    right: 50%;
    font-size: 2.25rem;
    font-weight: 600;
    color: white;
    transform: translate(50%, -50%);
    pointer-events: none;
}

.table__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3em;
}

.faded {
    position: relative;
    transition: all ease-in-out 0.3s;
    margin-bottom: 1.25rem;
}

.faded:not(.toggler)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            #fff);
    pointer-events: none;
}

.single__block__more {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease-out, border 0.3s ease-out,
        color 0.3s ease-out, fill 0.3s ease-out;
}

.single__block__more:hover {
    color: var(--color-primary);
}

.single__block__more__text {
    position: relative;
    padding-left: 20px;
    pointer-events: none;
}

.single__block__more__text::before {
    content: "\2193";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.single__block__more__text.active::before {
    content: "\2191";
}

.table__grid:not(.toggler) .table__group:nth-child(n + 2) {
    display: none;
}

.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
}

.table__title {
    font-family: var(--font-family-heading);
    font-weight: 700;
    margin-bottom: 1em;
}

.table__row {
    display: table-row;
    border-bottom: 1px solid #e5e7eb;
}

.table__row:not(:first-child) {
    border-top: 1px solid #e5e7eb;
}

.table__cell {
    display: table-cell;
    padding: 11px 0;
}

.single__boombox.contact {
    position: sticky;
    top: 9rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--color-secondary);
}

.contact__title,
.contact__subtitle,
.contact__price {

    margin: 0 0 0.25rem;
    color: white;
}

.contact__subtitle {
    font-size: 18px;
	font-weight:400;
    line-height: 26px;
	margin-top: 1.5rem;
}

.contact__title,
.contact__price {
	font-size: 24px;
	font-family: "Poppins";
    line-height: 35px;
    font-weight: 600;
}

.contact__price {
    margin-bottom: 1.5rem;
}

.contact__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.contact__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 1 0;
    font-size: 18px;
    line-height: 26px;
    border: 0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
	font-family:"Poppins";
	font-weight:600;
	text-decoration:none;
}

.contact__button.contact__button--primary {
    color: #fff;
    background-color: var(--color-secondary);
    border: 1px solid #fff;
}

.contact__button.contact__button--secondary {
    color: var(--color-secondary);
    background-color: #fff;
}

.contact__button:hover {
    color: var(--color-secondary);
    background-color: #fff;
    border: 1px solid var(--color-secondary);
    text-decoration: none;
}

@media (min-width: 640px) {
    .photos .photos__grid {
        gap: 1rem;
    }

    .photos .photos__grid__item:first-child {
        grid-column: span 8;
        grid-row: span 3;
    }
}

@media (min-width: 1024px) {
    .single__row {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .single__column.single__column--main {
        grid-column: span 4;
    }

    .single__column.single__column--sidebar {
        grid-column: span 2;
    }

    .photos .photos__grid__item {
        grid-column: span 2;
    }

    .photos .photos__grid__item:first-child {
        grid-column: span 8;
    }

    .photos .photos__grid__item:nth-of-type(n + 5) {
        display: block;
    }

    .photos .photos__grid__item:nth-of-type(n + 8) {
        display: none;
    }

    .photos__grid__item:nth-of-type(4) img {
        -webkit-filter: blur(0px);
        -moz-filter: blur(0px);
        -o-filter: blur(0px);
        -ms-filter: blur(0px);
        filter: blur(0px);
    }

    .photos__grid__item:nth-of-type(4)::after {
        content: "";
    }

    .photos__grid__item:nth-of-type(7) img {
        -webkit-filter: blur(2px);
        -moz-filter: blur(2px);
        -o-filter: blur(2px);
        -ms-filter: blur(2px);
        filter: blur(2px);
        transition: all 0.2s ease-out;
    }

    .photos__grid__item:nth-of-type(7) img:hover {
        -webkit-filter: blur(0px);
        -moz-filter: blur(0px);
        -o-filter: blur(0px);
        -ms-filter: blur(0px);
        filter: blur(0px);
    }

    .photos__grid__item:nth-of-type(7)::after {
        content: "+" attr(data-count);
        position: absolute;
        top: 50%;
        right: 50%;
        font-size: 2.25rem;
        font-weight: 600;
        color: white;
        transform: translate(50%, -50%);
        pointer-events: none;
    }
}

/* Google Maps */

.search-map {
    margin: 0 0.5em 2em 0.5em;
    padding: 40px 0;
}

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

/* Info Windows */
#google-map .card {
    border-radius: 0;
}

#google-map .card__photo {
    flex: 1;
}

#google-map .card__detail {
    padding: 0;
}

.single #google-map .card__status,
.single #google-map .card__link {
    display: none;
}

@media (min-width: 720px) {
    #google-map .card__inner {
        flex-direction: row;
    }

    #google-map .card__detail {
        padding: 25px 30px;
    }
}

/* View helpers */

.search-content .visible-map,
.search-content.map .hidden-map,
.search-content.map .navigation {
    display: none;
}

.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);
}

.shortcode .cards {
    display: block;
}

.shortcode-carousel {
    --f-carousel-slide-height: 100%;
    --f-carousel-slide-width: 100%;
    --f-carousel-slide-gap: 1rem;
    --f-carousel-gap: 1rem;
    --f-arrow-width: 3rem;
    --f-arrow-height: 3rem;
    --f-arrow-pos: -1.5rem;
    --f-arrow-border-radius: 9999px;
    --f-arrow-bg: #fff;
    --f-arrow-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --f-button-border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .shortcode-carousel {
        --f-carousel-gap: 8px;
        --f-carousel-slide-width: calc((100% - 16px) / 2);
    }
}

@media (min-width: 1024px) {
    .shortcode-carousel {
        --f-carousel-gap: 12px;
        --f-carousel-slide-width: calc((100% - 24px) / 3);
    }
}

.is-horizontal .f-button.is-arrow.is-prev,
.is-horizontal .f-button.is-arrow.is-next {
    inset: 40% auto auto;
}

html:has(body.single-realworks_wonen) {
    overflow: visible;
}

.gutenberg .wp-block-group:has(.makelaar-container) {
	max-width:1200px;
}

.shortcode-search .search__fields {
	padding-top:0;
}

.shortcode-search .search__fields__wrapper {
	padding-top:2rem;
}

.recent-objects h2 {
	margin-bottom:0;
}

.table__cell,
.single__description,
.single__details {
	font-size:18px;
	line-height:26px;
}

.single__block__comparable h2,
.single__block__map h2 {
	margin-bottom:15px;
}

@media (max-width: 375px) {
    .archive__title {
        font-size: 2.3rem;
    }
}