/* estate search */
.oo-searchform {
    --oo-search-accent: #b1a16c;
    --oo-search-accent-hover: #9c8d5c;
    --oo-search-accent-text: #15181d;
    --oo-search-bg: #f7f1e9;
    --oo-search-text: #15181d;
    margin: 0 0 25px 0;
    background-color: var(--oo-search-bg);
    color: var(--oo-search-text);
    padding: 40px;
    border-radius: 0px;
}

.oo-searchform fieldset {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    color: var(--oo-search-text);
}

.oo-searchform legend {
    display: block;
    width: 100%;
    float: none;
    padding: 0;
    margin: 0 0 8px;
    font-size: inherit;
    font-weight: 500;
    color: var(--oo-search-text);
}

.oo-searchform .oo-searchrange-fields {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
}

.oo-searchform .oo-searchrange-fields label {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oo-searchformfield:has(.oo-searchrange) {
    grid-column: span 2;
}

.oo-searchform label {
    font-weight: 400;
    font-size: 17px;
    margin-bottom: 14px;
}

.oo-searchform input:not([type="submit"]),
.oo-searchform select,
.oo-searchform textarea,
.oo-searchform .multiselect,
.oo-searchform .ts-wrapper .ts-control {
    background-color: var(--oo-search-bg) !important;
    border: 2px solid #000000 !important;
    border-radius: 0px;
    box-sizing: border-box;
    width: 100%;
    height: 56px;
}

.oo-searchform .ts-wrapper,
.oo-searchform .ts-wrapper.single,
.oo-searchform .ts-wrapper.multi {
    background-color: var(--oo-search-bg) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0px;
    box-sizing: border-box;
    width: 100%;
}

/* the text input nested inside the Tom Select control must not get the field border */
.oo-searchform .ts-wrapper .ts-control input {
    border: none !important;
    height: auto;
    background: transparent !important;
    outline: none;
}

.oo-searchform .oo-searchrange-fields input {
    background-color: var(--oo-search-bg) !important;
    border: 2px solid #000000 !important;
    border-radius: 0px;
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    min-width: 0;
}

.oo-searchformfield,
.oo-searchform .oo-searchrange-fields label {
    min-width: 0;
}

.oo-searchformfieldwrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 40px;
    align-items: start;
}

.oo-searchformfield {
    padding: 0;
    margin-bottom: 0;
    width: auto;
}

.oo-searchformfield:last-child {
    grid-column: 3 / span 2;
    align-self: end;
    position: relative;
}

/* keep the loading spinner from adding height below the submit button */
.oo-searchformfield:last-child #spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    pointer-events: none;
}

.oo-searchformfield label {
    display: block;
    margin: 0 0 4px;
    padding: 0;
}

.oo-searchform .oo-searchrange-fields label {
    margin-bottom: 0;
}
.oo-form label, .oo-single-select, .oo-multi-select {
    margin-bottom: 20px;
}

.oo-form label {
    width: 100%;
    display: block;
}

.oo-single-select label, .oo-multi-select label {
    margin: 0;
}

.oo-form input:not(.tomselect-checkbox):not([type="checkbox"]):not([type="radio"]), .oo-form textarea {
    display: block;
    padding: 8px 8px;
    width: 100%;
    box-sizing: border-box;
}

.oo-form input[type="checkbox"] {
    margin-left:10px;
    height: 20px;
    width: 20px;
}
.oo-form input[type="radio"] {
    width: auto;
}

.oo-form input[type=number] {
    min-width: 200px;
}

.oo-form.validated input:invalid, .oo-form.validated .oo-single-select .is-invalid, .oo-form.validated .oo-multi-select .is-invalid, .oo-form.validated textarea:invalid, .required.invalid:has(+ div[aria-hidden='false']), .oo-form input[aria-invalid='true'], .oo-form textarea[aria-invalid='true'], .oo-form .is-invalid {
    border: 2px solid #DC2625;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23DC2625" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.oo-form.validated input:invalid[type="checkbox"]{
    outline: 2px solid red;
}
.validated .oo-form input:invalid[type="checkbox"] ~ .error {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23DC2625" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>');
    background-repeat: no-repeat;
    padding-left: 30px;
 }

 .oo-form.validated textarea:required:valid,
 .oo-form.validated input:required:valid, .oo-form.validated .oo-single-select .required.has-items.ts-wrapper, .oo-form.validated .oo-multi-select .required.has-items.ts-wrapper  {
   background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%2328a745' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 15px center;
   border: 1px solid green;
   background-size: 1.25rem;
 }

 .oo-form.validated .oo-single-select .required.has-items.ts-wrapper, .oo-form.validated .oo-single-select .is-invalid, .oo-form.validated .oo-multi-select .required.has-items.ts-wrapper, .oo-form.validated .oo-multi-select .is-invalid, .oo-form.validated input:required:valid[type="date"], .oo-form.validated input:required:valid[type="number"], .oo-form.validated input:invalid[type="number"] {
    background-position: right 30px center;
}

.oo-form .error p {
    margin: 0;
}

.oo-form input:invalid~.oo-form.validated .error{
    display: block;
}

.oo-searchformfield input, .oo-searchformfield button, .oo-searchformfield .multiselect {
    width: 100%;
    margin: 0 !important;
    line-height: 28px;
    font-size: 16px;
    outline: 2px solid rgba(0,0,0,0);
}
.oo-searchformfield input:not([id$="ts-control"]) {
    height: 56px;
}

.oo-hidden-by-filter {
	display: none;
}

span.oo-searchrange {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
    display: grid;
}

.oo-searchformfield input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
.oo-searchformfield input[type="radio"] {
    width: auto;
}

.oo-searchformfield .multiselect {
    position: relative;
}

.oo-searchformfield .onoffice-multiselect-popup {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    max-height: 250px;
    overflow-y: scroll;
    z-index: 999;
    background-color: #ffffff;
}

.oo-searchformfield br {
    display: none;
}

.oo-form input:focus, .oo-form textarea:focus, .oo-form select:focus, .oo-detailview a:focus, .oo-searchformfield input:focus, .ts-wrapper.focus, .ts-wrapper:focus-visible, .ts-wrapper.single.focus, .ts-wrapper.single:focus-visible, .ts-wrapper.multi.focus, .ts-wrapper.multi:focus-visible, .oo-post-nav-links a:focus, .leadform-back:focus, .leadform-forward:focus, input[type="checkbox"]:focus, input[type="radio"]:focus {
    outline: #3d7bb1 solid 2px;
    border-color: #3d7bb1;
}

.oo-searchform input:focus,
.oo-searchform .ts-wrapper.focus .ts-control,
.oo-searchform .ts-wrapper:focus-visible {
    outline: var(--oo-search-accent) solid 2px;
    border-color: var(--oo-search-accent);
}

.leadform-forward {
    float:right;
}

.leadform-submit {
    margin-bottom: 20px;
    float: right;
}

.leadform-back {
    float:left
}

.lead-title {
    margin: 0 0 20px;
    padding: 20px 0 0;
}

.oo-form input[type='submit'], .oo-searchformfield input[type='submit'], .leadform-back, .leadform-forward {
    text-align: center;
    color: #ffffff !important;
    padding: 5px;
    background-color: #3d7bb1;
    transition: all 0.3s;
    font-size: 16px;
    line-height: 28px;
    border: 1px solid #000;
    display: block;
}
.oo-form input[type='submit']:hover, .oo-searchformfield input[type='submit']:hover {
    cursor: pointer;
}

.oo-searchform input[type='submit'] {
    background-color: var(--oo-search-accent);
    color: var(--oo-search-accent-text) !important;
    border: none;
    border-radius: 0px;
    font-weight: 400;
    height: 56px;
}

.oo-searchform input[type='submit']:hover,
.oo-searchform input[type='submit']:focus {
    background-color: var(--oo-search-accent-hover);
}

.oo-form .oo-input-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.oo-form input::placeholder, .oo-form input::-webkit-input-placeholder, .oo-form input:-moz-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}
/* estate map */
.oo-estate-map {
    padding: 0 15px;
    width: 100%;
}

.oo-detailsmap {
    position: relative;
    height: auto;
}

.oo-detailsmap #map, .oo-estate-map #map, .oo-detailsmap #gmap, .oo-estate-map #gmap  {
    height: 350px !important;
}

.oo-estate-map #map .leaflet-top, .oo-estate-map #map .leaflet-bottom {
    z-index: 888;
}

.oo-detailsmap .oo-map, .oo-estate-map .oo-map, .oo-detailsmap .oo-gmap, .oo-estate-map .oo-gmap {
    height: 350px !important;
    z-index: 0;
}

.oo-estate-map .oo-map .leaflet-top, .oo-estate-map .oo-map .leaflet-bottom {
    z-index: 888;
}

.oo-gmap .oo-infowindowtitle, .oo-map .oo-infowindowtitle {
    font-weight: 700;
    font-size: 18px;
    overflow: hidden;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.oo-gmap .oo-infowindow .oo-infowindowaddress, .oo-map .oo-infowindow .oo-infowindowaddress {
    margin-bottom: 15px;
}

/* estate sort */
.oo-estate-sort {
    padding: 15px;
}

/* listframe */
.oo-listheadline {
    padding: 10px 0px;
}

.oo-listframe {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.oo-empty-state {
    grid-column: 1 / -1;
    padding: 72px 24px 80px;
    text-align: center;
}

.oo-empty-state h2 {
    max-width: 680px;
    margin: 0 auto 16px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
}

.oo-empty-state p {
    max-width: 620px;
    margin: 0 auto 24px;
}

.oo-empty-state a {
    display: inline-block;
    color: var(--ph-oo-ink);
    border-bottom: 1px solid currentColor;
    font-weight: 600;
    text-decoration: none;
}

/* listobject */
.oo-listobject {
    flex: 1 1 300px;
    max-width: calc((100% - 40px) / 3);
    padding: 0;
    margin: 0;
}

.oo-listobjectwrap {
    background-color: #f7f1e9;
    transition: all 0.3s;
    height: 100%;
}

.oo-listobject:hover .oo-listobjectwrap {
    background-color: #f0e8dc;
}

.oo-listimage {
    display: block;
    width: 100%;
    position: relative;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.oo-listinfo {
    padding: 10px;
}

.oo-listtitle {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    height: 55px;
    overflow: hidden;
    color: #4a4a4a;
}

.oo-listinfotable {
    padding: 10px 0;
    font-size: 15px;
    min-height: 250px;
}

.oo-listtd {
    display: inline-block;
    width: 50%;
    border-bottom: 1px solid #efefef;
    padding: 2.5px 0;
}

.oo-listtd.--highlight {
    font-weight: bold;
    color: #3d7bb1;
}

.oo-detailslink {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oo-detailslink a, .oo-unitslink a, .oo-leadformlink {
    display: block;
    text-align: center;
    color: #15181d !important;
    padding: 12px;
    background-color: #b1a16c !important;
    border: none !important;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    cursor: pointer;
}

button.favorize {
    display: block;
    width: 100%;
    text-align: center;
    color: #15181d !important;
    padding: 12px;
    background: transparent !important;
    background-color: transparent !important;
    border: 2px solid #15181d !important;
    border-radius: 0;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    cursor: pointer;
    box-sizing: border-box;
}

.oo-detailslink a:hover, .oo-unitslink a:hover, .oo-leadformlink:hover, .oo-post-nav-links a:hover {
    background: #9c8d5c !important;
    color: #15181d !important;
    text-decoration: none !important;
}

button.favorize:hover,
button.favorize:focus {
    background: #15181d !important;
    background-color: #15181d !important;
    color: #ffffff !important;
}

.oo-details-btn:focus, .oo-leadformlink:focus, .oo-form input[type='submit']:focus, .oo-searchformfield input[type='submit']:focus {
    background: #9c8d5c;
}

.leaflet-container a.leaflet-popup-close-button:focus, .leaflet-bar a:hover, .leaflet-bar a:focus, .gm-style div:focus,  .gm-style button:focus {
    outline: 2px solid #174770;
}

/* details */
.oo-detailsheadline {
    padding: 10px 15px;
}

.oo-detailview {
    display: block;
}

.oo-detail-columns {
    display: flex;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto;
}

/* detail hero: full-width background image with centered title */
.oo-detail-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 32px;
}

.oo-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(21, 24, 29, 0.35);
}

.oo-detail-hero__title {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 44px;
    line-height: 1.25;
    font-weight: 400;
    margin: 0;
    padding: 0 24px;
    max-width: 900px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 991px) {
    .oo-detail-hero {
        height: 50vh;
        min-height: 320px;
    }

    .oo-detail-hero__title {
        font-size: 32px;
    }
}

@media only screen and (max-width: 575px) {
    .oo-detail-hero {
        height: 40vh;
        min-height: 260px;
    }

    .oo-detail-hero__title {
        font-size: 24px;
    }
}

/* photo mosaic */
.oo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 1080px;
    box-sizing: border-box;
    padding: 0 15px;
    gap: 8px;
    margin: 0 auto 24px;
}

.oo-gallery__thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.oo-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.oo-gallery__thumb:hover img {
    transform: scale(1.04);
}

.oo-gallery__zoom {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.oo-gallery__zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* lightbox */
.oo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oo-lightbox[hidden] {
    display: none;
}

.oo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 24, 29, 0.92);
}

.oo-lightbox__figure {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.oo-lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    display: block;
}

.oo-lightbox__caption {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    min-height: 1em;
}

.oo-lightbox__counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.oo-lightbox__close,
.oo-lightbox__nav {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 12px;
}

.oo-lightbox__close {
    top: 20px;
    right: 24px;
    font-size: 40px;
}

.oo-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
}

.oo-lightbox__nav--prev {
    left: 16px;
}

.oo-lightbox__nav--next {
    right: 16px;
}

.oo-lightbox__close:hover,
.oo-lightbox__nav:hover {
    color: #b1a16c;
}

@media only screen and (max-width: 575px) {
    .oo-lightbox__figure {
        max-width: calc(100vw - 24px);
    }

    .oo-lightbox__nav--prev {
        left: 4px;
    }

    .oo-lightbox__nav--next {
        right: 4px;
    }
}

/* summary: price / title / status / quick stats */
.oo-detail-summary {
    width: 100%;
    max-width: 1080px;
    box-sizing: border-box;
    padding: 0 15px;
    margin: 0 auto 32px;
}

.oo-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: #15181d;
    margin-bottom: 4px;
}

.oo-detail-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 10px;
    color: #15181d;
}

.oo-detail-status {
    display: inline-block;
    background-color: #15181d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.oo-detail-quickstats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 14px;
    border-top: 1px solid #e2ddd2;
}

.oo-detail-quickstat {
    font-size: 15px;
    color: #15181d;
}

.oo-detail-quickstat:not(:last-child) {
    position: relative;
    padding-right: 20px;
}

.oo-detail-quickstat:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: -14px;
    color: #b1a16c;
}

/* collapsible sections */
.oo-detail-section {
    border-bottom: 2px solid #efefef;
    padding: 20px 0;
}

.oo-detail-section summary {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    cursor: pointer;
}

.oo-detail-section summary::-webkit-details-marker {
    display: none;
}

.oo-detail-section__arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background-color: #15181d;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    transition: transform 0.2s ease;
}

.oo-detail-section[open] summary .oo-detail-section__arrow {
    transform: rotate(90deg);
}

.oo-detail-section summary h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    flex: 1 1 auto;
    color: #15181d;
}

/* safety net: hide legacy toggle labels if a cached template still renders them */
.oo-detail-section__toggle {
    display: none;
}

.oo-detail-section__body {
    padding-top: 16px;
    line-height: 1.7;
}

.oo-details-main {
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.oo-detailsgallery {
    margin-bottom: 25px;
}

.oo-detailsgallery .slick-arrow {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    z-index: 1;
}

.oo-detailsgallery .slick-prev {
    left: 25px;
}

.oo-detailsgallery .slick-next {
    right: 25px;
}

.oo-detailsgallery .slick-next:focus .slick-next-icon, .oo-detailsgallery .slick-next:focus .slick-prev-icon, .oo-detailsgallery .slick-prev:focus .slick-next-icon, .oo-detailsgallery .slick-prev:focus .slick-prev-icon, .slick-dots li button:focus .slick-dot-icon::before
{
    color: #3d7bb1;
}


.oo-detailspicture, .oo-detailspicture.slick-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 400px;
}

.oo-details-highlight {
    width: calc((100% - 3 * 8px) / 4);
}

.oo-details-highlights-headline {
	font-size: 22px;
    margin-bottom: 16px;
    font-weight:700;
}

.oo-details-highlights-table {
	display: flex;
	flex-wrap: wrap;
    gap:8px;
    border-bottom: 2px solid #efefef;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.oo-details-highlight__label {
    list-style: none;
	padding: 0;
	margin: 0;
}

.oo-details-highlight__value {
    font-weight:700;
    list-style: none;
	padding: 0;
	margin: 0;
}

.oo-detailstable {
    display: flex;
    flex-wrap: wrap;
}

.oo-details-fact__label {
    list-style: none;
    font-weight:700;
    width: 25%;
    padding: 5px 0;
	margin: 0;
    border-bottom: 2px solid #efefef;
}

.oo-details-fact__value {
    list-style: none;
    width: 25%;
    padding: 5px 0;
	margin: 0;
    border-bottom: 2px solid #efefef;
}

.oo-detailsfreetext, .oo-detailsmap, .oo-area-butler, .oo-detailspricecalculator, .oo-units {
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom: 2px solid #efefef;
}

.oo-details-sidebar {
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.oo-asp {
    margin-bottom: 25px;
    padding: 24px;
    border-bottom: none;
    background-color: #f7f1e9;
    border-radius: 0px;
}

.oo-asp h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #15181d;
}

.oo-video {
    display: flex;
    flex-direction: column;
}

.oo-aspname, .oo-video, .oo-detailsexpose {
    margin-bottom: 15px;
}

.player-title svg {
    display: inline;
}

.oo-asplocation {
    margin-bottom: 10px;
}

.oo-contact-info, .oo-aspinfo-wrapper {
    margin-bottom: 15px;
}

.oo-contact-info img {
    display: block;
    width: auto;
    max-width: min(320px, 100%);
    height: auto;
    border-radius: 0px;
}
.oo-contact-info p {
    margin: 0;
}

/* interest form inside main column */
.oo-interest-form {
    background-color: #f7f1e9;
    padding: 24px;
    margin: 0 auto 32px;
    max-width: 1050px;
    box-sizing: border-box;
}

.oo-interest-form h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #15181d;
}

.oo-interest-form label {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
    color: #15181d;
}

.oo-interest-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.oo-interest-form select,
.oo-interest-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #e2ddd2;
    border-radius: 0px;
    padding: 10px 12px;
    margin-top: 8px;
}

.oo-interest-form textarea {
    min-height: 120px;
}

.oo-interest-form input[type="checkbox"] {
    margin-right: 8px;
}

.oo-interest-form input[type="submit"] {
    background-color: #b1a16c;
    color: #15181d;
    border: none;
    border-radius: 0px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}

.oo-interest-form input[type="submit"]:hover {
    background-color: #9c8d5c;
}

.oo-interest-form input:focus,
.oo-interest-form select:focus,
.oo-interest-form textarea:focus {
    outline: #b1a16c solid 2px;
    border-color: #b1a16c;
}

/* detail contact form */
.detail-contact-form {
    background-color: #f7f1e9;
    border-radius: 0px;
    padding: 24px;
    max-width: 1050px;
    box-sizing: border-box;
    margin: 0 auto 32px;
}

.detail-contact-form h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #15181d;
}

.detail-contact-form .oo-form-required {
    grid-column: 1 / -1;
    text-align: right;
    font-size: 12px;
    color: #6b6558;
    margin-bottom: 4px;
}

.detail-contact-form #onoffice-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 0;
}

.detail-contact-form label {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
    color: #15181d;
}

.detail-contact-form label:has(textarea),
.detail-contact-form label:has(input[type="checkbox"]),
.detail-contact-form label:not(:has(input)):not(:has(textarea)):not(:has(select)),
.detail-contact-form .oo-gdpr-hint-text,
.detail-contact-form input[type="submit"] {
    grid-column: 1 / -1;
}

.detail-contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.detail-contact-form select,
.detail-contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #e2ddd2;
    border-radius: 0px;
    padding: 10px 12px;
    margin-top: 8px;
}

.detail-contact-form textarea {
    min-height: 120px;
}

.detail-contact-form input[type="checkbox"] {
    margin-right: 8px;
}

.detail-contact-form input[type="submit"] {
    background-color: #b1a16c;
    color: #15181d;
    border: 1px solid #000;
    border-radius: 0px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}

.detail-contact-form input[type="submit"]:hover {
    background-color: #9c8d5c;
}

.detail-contact-form input:focus,
.detail-contact-form select:focus,
.detail-contact-form textarea:focus {
    outline: #b1a16c solid 2px;
    border-color: #b1a16c;
}

@media only screen and (max-width: 575px) {
    .detail-contact-form #onoffice-form {
        grid-template-columns: 1fr;
    }

    .detail-contact-form label {
        grid-column: 1 / -1;
    }
}

.oo-similar {
    width: 100%;
    max-width: 1080px;
    box-sizing: border-box;
    margin: 0 auto;
}

#oo-similarframe {
    display: inherit;
    width: 100%;
}

#oo-similarframe .oo-listobject {
    width: inherit;
}


.oo-area-butler {
    position: relative;
    height: auto;
}

.oo-area-butler .oo-area-butler-iframe {
    height: 500px;
    width: 100%;
}

.oo-costs-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.oo-costs-container .oo-donut-chart {
    width: 40%;
}

.oo-costs-container .oo-costs-overview {
    width: 55%;
}

.oo-costs-container .oo-costs-overview > div {
    margin-bottom: 5px;
}

.oo-costs-container .oo-costs-overview .oo-price-label,
.oo-costs-container .oo-costs-overview .oo-costs-item {
    display: flex;
    align-items: center;
}

.oo-costs-container .oo-costs-overview .oo-price-label {
    width: 100%;
    justify-content: space-between;
}

.oo-costs-container .oo-costs-overview .oo-total-costs-label {
    margin-left: 20px;
}

.oo-costs-notice {
    font-size: 14px;
    padding-top: 1.5rem
}

.oo-costs-container .oo-costs-overview .color-indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 5px;
    flex-basis: 14px;
    flex-grow: 0;
    flex-shrink: 0;
}

.oo-details-energy-certificate {
    position: relative;
    height: auto;
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom: 2px solid #efefef;
}

.oo-details-energy-certificate .energy-certificate-container {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
}

.oo-details-energy-certificate .segmented-bar {
    display: flex;
    white-space: nowrap;
    align-items: flex-end;
}

.oo-details-energy-certificate .segment {
    flex: 1;
    text-align: center;
    height: 5px;
    position: relative;
    border-left: 1px solid #fff;
}

.oo-details-energy-certificate .segment:first-child {
    border-left: none;
}

.oo-details-energy-certificate .segment span {
    height: 28px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.oo-details-energy-certificate .energy-certificate-label span {
    position: absolute;
    transform: translateX(-50%);
}

.oo-details-energy-certificate .segment.selected {
    height: 34px;
}

.oo-details-energy-certificate .segment.selected span {
    color: #fff;
}

/* address list */
.oo-address-listframe .oo-address-image {
    width: 100%;
    height: auto;
}

.oo-address-listframe .oo-listtd {
    word-wrap: break-word;
}

.oo-address-listframe .oo-listinfotableview {
    display: flex;
    flex-wrap: wrap;
}

/* address map */
.oo-address-map {
    padding: 0 15px;
    width: 100%;
    margin-bottom: 15px;
}

.oo-address-map .oo-gmap, .oo-address-map .oo-map {
    height: 300px !important;
}

.oo-address-map .oo-map .leaflet-top, .oo-address-map .oo-map .leaflet-bottom {
    z-index: 888;
}

.oo-donut-chart-color0 {
    fill:#3F9DE4;
    background-color:#3F9DE4;
}

.oo-donut-chart-color1 {
    fill:#3ac411;
    background-color:#3ac411;
}
.oo-donut-chart-color2 {
    fill:#9C27B0;
    background-color:#9C27B0;
}
.oo-donut-chart-color3 {
    fill:#D81B60;
    background-color:#D81B60;
}
.oo-donut-chart-color4 {
    fill:#FEC800;
    background-color:#FEC800;
}

#TB_overlay, #TB_window {
    z-index: 1050 !important;
}

/* responsive */
@media only screen and (max-width: 991px) {
    .oo-listobject {
        max-width: calc((100% - 20px) / 2);
    }

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

    .oo-searchformfield:last-child,
    .oo-searchformfield:has(.oo-searchrange) {
        grid-column: span 2;
    }

    .oo-details-main {
        width: 100%;
        max-width: 100%;
    }

    .oo-details-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .oo-costs-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
    }

    .oo-costs-container .oo-donut-chart {
        width: 100%;
    }

    .oo-costs-container .oo-costs-overview {
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    .oo-detailslisttd {
        width: 50%;
    }
}

@media only screen and (max-width: 575px) {
    .oo-listobject, .oo-details-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .oo-searchformfieldwrap {
        grid-template-columns: 1fr;
    }

    .oo-searchformfield:last-child,
    .oo-searchformfield:has(.oo-searchrange) {
        grid-column: span 1;
    }

    .oo-searchform .oo-searchrange-fields {
        flex-direction: column;
    }

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

    .oo-detail-section summary {
        flex-wrap: wrap;
    }

}

.oo-units__wrapper {
    margin-bottom: 32px;
    vertical-align: top;
    caption-side: bottom;
    border-collapse: collapse;
    text-align: left;
    margin-left: 1px;
    width: 99%;
}

.oo-units__data.--empty {
    display: none;
}

.oo-units-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.oo-units__head {
    display: none;
}

.oo-units__head .oo-units__data{
    padding-bottom: 16px;

}

.oo-units__head .oo-units__data:not(:first-child) {
    padding-left: 16px;
}

.oo-units__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.oo-units__body .oo-units__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
}

.oo-units__body .oo-units__data:not(.oo-unitslink):before {
    content: attr(data-label);
    min-width: 50%;
    width: 50%;
    -ms-hyphens: auto;
    hyphens: auto;
}

.oo-units__data {
    display: flex;
    padding: 0;
    gap: 16px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 8px;
}

.oo-units__data.--empty {
    display: none;
}

.oo-unitslink a {
    width: 100%;
    margin-top: 8px;
}

.oo-units__data.oo-unitslink {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (min-width: 768px) {
    .oo-units__body {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {

    .oo-details-fact__label, .oo-details-fact__value {
        width: 50%;
    }
}
@media (min-width: 1200px) {

    .oo-units__wrapper {
        margin-left: 0;
    }

    .oo-unitslink a {
        background: transparent;
        text-decoration: underline;
        color: inherit !important;
        text-align: left;
        margin: 0;
    }

    .oo-unitslink a:hover {
        opacity: 1;
        color: inherit !important;
    }

    .oo-units__body .oo-units__data:not(.oo-unitslink):before {
        content: none;
    }

    .oo-units__data.--empty {
        display: table-cell;
    }

    .oo-units__head {
        display: table-header-group;
    }

    .oo-units__head .oo-units__data{
        min-width: 7.5rem;
        text-transform: none;
    }

    .oo-units__body {
        display: table-row-group;
      }

    .oo-units__body .oo-units__row{
        display: table-row;
        box-shadow: none;
        border: none;
    }

    .oo-units__data {
        text-align: left;
        display: table-cell;
        padding: 16px 16px 16px 0;
    }

    .oo-units__body  .oo-units__data {
        border-bottom: 2px solid #efefef;}

    .oo-units__body .oo-units__data:not(:first-child), .oo-units__data--empty {
            padding-left: 16px;
    }

     .oo-units__head .oo-units__data:not(:first-child) {
        padding-left: 16px;
    }

    .oo-units__data.--empty {
      display: table-cell;
    }

    .oo-units__body .oo-units__data:before {
        width: 40%;
        content: none;
    }

    .oo-units__data.oo-unitslink {
        padding-bottom: 16px;
    }
}

.ts-control {
    display: flex;
    flex-direction: row;
    background: transparent;
    height: 48px;
    line-height: 28px;
}

/* Private Hideaway compact property search */
.oo-searchform.oo-searchform--compact {
    width: min(calc(100% - 96px), var(--ph-oo-content));
    max-width: none;
    margin: 40px auto 56px;
    padding: 0;
    background: #fff;
    color: var(--ph-oo-ink);
    border-top: 1px solid var(--ph-oo-line);
    border-bottom: 1px solid var(--ph-oo-line);
}

.oo-searchform--compact .oo-searchformfieldwrap {
    display: grid;
    grid-template-columns: minmax(170px, 1.15fr) minmax(170px, 1.15fr) minmax(130px, .75fr) minmax(160px, .9fr) minmax(170px, auto);
    gap: 0;
    align-items: stretch;
}

.oo-searchform--compact .oo-searchformfield,
.oo-searchform--compact .oo-searchformfield:has(.oo-searchrange),
.oo-searchform--compact .oo-searchformfield:last-child {
    grid-column: auto;
    position: relative;
    min-width: 0;
    min-height: 82px;
    margin: 0;
    padding: 14px 18px;
    border-right: 1px solid var(--ph-oo-line);
}

.oo-searchform--compact .oo-searchformfield--submit {
    display: flex;
    align-items: center;
    padding: 14px 0 14px 18px;
    border-right: 0;
}

.oo-searchform--compact .oo-searchformfield > label,
.oo-searchform--compact .oo-searchformfield > fieldset > legend {
    display: block;
    width: 100%;
    margin: 0 0 5px;
    padding: 0;
    color: var(--ph-oo-muted);
    font-family: var(--ph-oo-body-font);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

.oo-searchform--compact input:not([type="submit"]),
.oo-searchform--compact select,
.oo-searchform--compact .multiselect,
.oo-searchform--compact .ts-wrapper,
.oo-searchform--compact .ts-wrapper.single,
.oo-searchform--compact .ts-wrapper.multi,
.oo-searchform--compact .ts-wrapper .ts-control {
    width: 100%;
    min-height: 30px;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--ph-oo-ink) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: var(--ph-oo-body-font);
    font-size: 16px;
    line-height: 1.45;
}

.oo-searchform--compact .ts-wrapper .ts-control {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

.oo-searchform--compact .ts-wrapper .ts-control input {
    min-width: 0;
    height: auto;
    padding: 0 !important;
}

.oo-searchform--compact .ts-wrapper .ts-control input::placeholder {
    color: var(--ph-oo-muted) !important;
    opacity: 1;
}

.oo-searchform--compact .ts-wrapper .ts-control .item {
    max-width: calc(100% - 22px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oo-searchform--compact .ts-wrapper .ts-control::after {
    right: 2px;
}

.oo-searchform--compact .oo-searchformfield--submit input[type="submit"] {
    width: 100%;
    min-width: 170px;
    min-height: 52px;
    height: 52px;
    padding: 0 24px;
    background: var(--ph-oo-ink) !important;
    color: #fff !important;
    border: 1px solid var(--ph-oo-ink) !important;
    border-radius: 0;
    font-family: var(--ph-oo-body-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.oo-searchform--compact .oo-searchformfield--submit input[type="submit"]:hover,
.oo-searchform--compact .oo-searchformfield--submit input[type="submit"]:focus {
    background: var(--oo-search-accent) !important;
    color: var(--ph-oo-ink) !important;
    border-color: var(--oo-search-accent) !important;
}

/* Refined sorting and pagination */
.oo-catalogue-toolbar .oo-estate-sort select {
    min-width: 190px;
    padding: 8px 28px 8px 0;
    background-color: transparent;
    color: var(--ph-oo-ink);
    border: 0;
    border-bottom: 1px solid var(--ph-oo-ink);
    border-radius: 0;
    font-family: var(--ph-oo-body-font);
    font-size: 15px;
}

.oo-listpagination {
    margin-top: 64px;
}

.oo-post-nav-links,
.oo-post-nav-links ul {
    margin-bottom: 0;
}

.oo-post-nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
}

.oo-post-nav-links a,
.oo-post-nav-links .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 7px 10px;
    background: transparent;
    color: var(--ph-oo-ink);
    border: 0;
    border-bottom: 1px solid transparent;
    font-family: var(--ph-oo-body-font);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.oo-post-nav-links .current {
    border-bottom-color: var(--ph-oo-ink);
    font-weight: 600;
}

/* Final compact-search corrections after the plugin's legacy rules. */
.oo-searchform.oo-searchform--compact {
    border: 1px solid var(--ph-oo-line);
}

.oo-searchform--compact .ts-dropdown {
    left: 0;
    right: auto;
    width: 100%;
    box-sizing: border-box;
}

.oo-searchform--compact .ts-dropdown .option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    white-space: normal;
}

.oo-searchform--compact .ts-dropdown .option input.tomselect-checkbox {
    flex: 0 0 20px;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px;
    height: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oo-searchform--compact .ts-dropdown .option > span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

@media (max-width: 767px) {
    .oo-post-nav-links a,
    .oo-post-nav-links .current {
        min-width: 44px;
        min-height: 44px;
    }
}

.oo-post-nav-links a:hover,
.oo-post-nav-links a:focus {
    background: transparent !important;
    color: var(--ph-oo-ink) !important;
    border-bottom-color: var(--oo-search-accent);
}

@media (max-width: 1100px) {
    .oo-searchform--compact .oo-searchformfieldwrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oo-searchform--compact .oo-searchformfield,
    .oo-searchform--compact .oo-searchformfield:has(.oo-searchrange),
    .oo-searchform--compact .oo-searchformfield:last-child {
        grid-column: auto;
        border-bottom: 1px solid var(--ph-oo-line);
    }

    .oo-searchform--compact .oo-searchformfield:nth-child(even) {
        border-right: 0;
    }

    .oo-searchform--compact .oo-searchformfield--submit {
        grid-column: 1 / -1;
        min-height: 0;
        padding: 18px 0 0;
        border: 0;
    }
}

@media (max-width: 767px) {
    .oo-searchform.oo-searchform--compact {
        width: calc(100% - 40px);
        margin: 24px auto 40px;
        padding: 0;
    }

    .oo-searchform--compact .oo-searchformfieldwrap {
        grid-template-columns: 1fr;
    }

    .oo-searchform--compact .oo-searchformfield,
    .oo-searchform--compact .oo-searchformfield:has(.oo-searchrange),
    .oo-searchform--compact .oo-searchformfield:last-child {
        grid-column: auto;
        min-height: 72px;
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid var(--ph-oo-line);
    }

    .oo-searchform--compact .oo-searchformfield--submit {
        padding-top: 16px;
        border-bottom: 0;
    }

    .oo-searchform--compact .oo-searchformfield--submit input[type="submit"] {
        width: 100%;
        min-width: 0;
    }

    .oo-catalogue-toolbar {
        align-items: stretch;
    }

    .oo-post-nav-links a,
    .oo-post-nav-links .current {
        min-width: 44px;
        min-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Private Hideaway property catalogue and detail view, 2026
   -------------------------------------------------------------------------- */

:root {
    --ph-oo-body-font: var(--et_global_body_font, var(--wp--preset--font-family--early-sans, sans-serif));
    --ph-oo-body-size: var(--et_global_body_font_size, 18px);
    --ph-oo-body-weight: var(--et_global_body_font_weight, 400);
    --ph-oo-body-line-height: var(--et_global_body_font_height, 1.7em);
    --ph-oo-heading-font: var(--et_global_heading_font, var(--wp--preset--font-family--ivymode, serif));
    --ph-oo-heading-weight: var(--et_global_heading_font_weight, 400);
    --ph-oo-ink: var(--gcid-body-color, #15181d);
    --ph-oo-heading-color: var(--gcid-heading-color, var(--ph-oo-ink));
    --ph-oo-link-color: var(--gcid-link-color, #27423f);
    --ph-oo-muted: #676767;
    --ph-oo-eyebrow: #605c3b;
    --ph-oo-line: #d8d6d1;
    --ph-oo-surface: #f2efe9;
    --ph-oo-accent: #b2a16a;
    --ph-oo-content: 1400px;
    --ph-oo-page-width: 80%;
}

.oo-catalogue,
.oo-detailview,
.oo-similar {
    color: var(--ph-oo-ink);
    font-family: var(--ph-oo-body-font);
    font-size: var(--ph-oo-body-size);
    font-weight: var(--ph-oo-body-weight);
    line-height: var(--ph-oo-body-line-height);
}

.oo-catalogue :is(h1, h2, h3),
.oo-detailview :is(h1, h2, h3),
.oo-similar :is(h2, h3) {
    color: var(--ph-oo-heading-color);
    font-family: var(--ph-oo-heading-font);
    font-weight: var(--ph-oo-heading-weight);
    letter-spacing: 0;
}

.oo-catalogue {
    width: min(calc(100% - 96px), var(--ph-oo-content));
    max-width: none;
    margin-inline: auto;
}

.oo-detail-summary,
.oo-detail-columns,
.oo-similar {
    width: var(--ph-oo-page-width);
    max-width: none;
    margin-inline: auto;
}

.oo-eyebrow,
.oo-listmeta,
.oo-detail-orientation {
    margin: 0 0 12px;
    color: var(--ph-oo-eyebrow);
    font-family: var(--ph-oo-body-font);
    font-size: 15px;
    font-weight: var(--ph-oo-body-weight);
    line-height: var(--ph-oo-body-line-height);
    text-transform: uppercase;
    letter-spacing: 0;
}

/* Search and catalogue toolbar */
.oo-searchform {
    width: min(calc(100% - 96px), var(--ph-oo-content));
    max-width: none;
    margin: 48px auto;
    padding: 32px;
    background: var(--ph-oo-surface);
    border: 0;
}

.oo-searchform fieldset,
.oo-searchformfield,
.oo-searchform input:not([type="submit"]),
.oo-searchform select,
.oo-searchform .multiselect,
.oo-searchform .ts-wrapper .ts-control {
    border-radius: 0;
}

.oo-searchform input[type="submit"] {
    min-height: 48px;
    padding: 0 24px;
    background: var(--ph-oo-ink);
    color: #fff;
    border: 1px solid var(--ph-oo-ink);
    border-radius: 0;
}

.oo-listheadline {
    max-width: 820px;
    margin: 96px 0 56px;
    text-align: left;
}

.oo-listheadline h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: var(--ph-oo-heading-weight);
    line-height: 1.04;
}

.oo-listheadline > p:last-child {
    max-width: 720px;
    margin: 0;
    font-family: var(--ph-oo-body-font);
    font-size: 19px;
    line-height: 1.55;
}

.oo-catalogue-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ph-oo-line);
}

.oo-result-count {
    margin: 0;
    color: var(--ph-oo-muted);
    font-size: 15px;
}

.oo-estate-sort {
    width: auto;
    margin: 0;
}

.oo-estate-sort > div {
    padding: 0;
}

/* Property cards */
.oo-listframe {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
    margin: 0;
}

.oo-catalogue .oo-listframe > .oo-listobject,
.oo-similar .oo-listframe > .oo-listobject {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    flex: none !important;
    margin: 0;
    padding: 0;
}

.oo-listobjectwrap,
.oo-listobject:hover .oo-listobjectwrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
}

.oo-listmedia {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e7e5e0;
}

.oo-listimage {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.oo-listimage picture,
.oo-listimage img {
    display: block;
    width: 100%;
    height: 100%;
}

.oo-listimage img {
    object-fit: cover;
    transition: transform .45s ease;
}

.oo-listobject:hover .oo-listimage img {
    transform: scale(1.025);
}

.oo-card-status {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 10px;
    background: rgba(255, 255, 255, .94);
    color: var(--ph-oo-ink);
    font-size: 12px;
    line-height: 1;
}

.oo-listinfo {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 20px 20px 22px;
    background: #fff;
}

.oo-listmeta {
    margin-bottom: 9px;
}

.oo-listtitle {
    height: auto;
    min-height: 2.4em;
    margin: 0 0 14px;
    padding-bottom: 0;
    overflow: visible;
    text-align: left;
    color: var(--ph-oo-heading-color);
    font-family: var(--ph-oo-heading-font);
    font-size: 25px;
    font-weight: var(--ph-oo-heading-weight);
    line-height: 1.2;
}

.oo-listtitle a {
    color: inherit;
    text-decoration: none;
}

.oo-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 0 0 16px;
    padding: 0;
}

.oo-card-fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oo-card-fact--type {
    margin-left: 0;
}

.oo-card-fact dt {
    color: var(--ph-oo-muted);
    font-size: 12px;
    line-height: 1.3;
}

.oo-card-fact dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.oo-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 0;
    border-top: 0;
}

.oo-card-price {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.oo-card-footer .oo-details-btn,
.oo-gallery-link {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0 0 3px;
    background: transparent;
    color: var(--ph-oo-link-color) !important;
    font-family: var(--ph-oo-body-font);
    border: 0;
    border-bottom: 1px solid var(--ph-oo-accent);
    border-radius: 0;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.oo-card-footer .oo-details-btn:hover,
.oo-gallery-link:hover {
    background: transparent;
    color: var(--ph-oo-link-color) !important;
    opacity: .7;
}

/* Property detail hero and summary */
.oo-detailview {
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    overflow: clip;
}

.oo-detail-hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    background: #e7e5e0;
}

.oo-detail-hero::before {
    display: none;
}

.oo-detail-hero__button {
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.oo-detail-hero__button img {
    display: block;
    width: 100%;
    height: 90vh;
    min-height: 0;
    object-fit: cover;
}

.oo-detail-hero__count {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--ph-oo-ink);
    font-size: 13px;
}

.oo-gallery-hook {
    display: contents;
}

.oo-detail-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 64px;
    margin: 0 auto;
    padding: 80px 0;
    border-bottom: 1px solid var(--ph-oo-line);
}

.oo-detail-title {
    max-width: 850px;
    margin: 0;
    padding: 0;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: var(--ph-oo-heading-weight);
    line-height: 1.04;
}

.oo-detail-deck {
    max-width: 720px;
    margin: 24px 0 0;
    font-family: var(--ph-oo-body-font);
    font-size: 19px;
    line-height: 1.55;
}

.oo-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.oo-primary-action,
.oo-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--ph-oo-ink);
    border-radius: 0;
    font-family: var(--ph-oo-body-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.oo-primary-action {
    background: var(--ph-oo-accent);
    color: #fff !important;
    border-color: var(--ph-oo-accent);
}

.oo-secondary-action {
    background: transparent;
    color: var(--ph-oo-accent) !important;
    border-color: var(--ph-oo-accent);
    border-width: 2px;
}

.oo-primary-action:hover,
.oo-secondary-action:hover {
    background: var(--ph-oo-eyebrow);
    color: #fff !important;
    border-color: var(--ph-oo-eyebrow);
}

.oo-detail-summary__facts {
    align-self: start;
    padding: 28px 30px 30px;
    background: var(--ph-oo-surface);
}

.oo-detail-price-label {
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.oo-detail-price {
    margin: 3px 0 16px;
    padding: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
}

.oo-detail-status {
    display: inline-block;
    margin-bottom: 22px;
    padding: 7px 10px;
    background: var(--ph-oo-eyebrow);
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.oo-detail-quickstats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 18px 32px;
    margin: 0;
    padding: 0;
    border: 0;
}

.oo-detail-quickstat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 0;
}

.oo-detail-quickstat::after {
    display: none !important;
}

.oo-detail-quickstat dt {
    color: var(--ph-oo-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

.oo-detail-quickstat dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

/* Detail narrative */
.oo-detail-columns {
    display: block;
    padding: 0;
}

.oo-details-main,
.oo-details-sidebar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.oo-property-section,
.oo-details-energy-certificate,
.oo-area-butler,
.oo-detailsmap,
.oo-detailsfreetext,
.oo-detailspricecalculator,
.oo-units {
    display: grid;
    grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
    gap: 56px;
    margin: 0;
    padding: 64px 0;
    border: 0;
    border-bottom: 1px solid var(--ph-oo-line);
}

.oo-property-section__heading {
    grid-column: 1;
    align-self: start;
}

.oo-property-section__heading .oo-eyebrow {
    margin: 0 0 12px;
}

.oo-property-section__heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: var(--ph-oo-heading-weight);
    line-height: 1.08;
}

.oo-property-section .oo-property-copy {
    grid-column: 2;
    grid-row: 1;
    max-width: 720px;
    color: var(--ph-oo-ink);
    font-family: var(--ph-oo-body-font);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
}

.oo-property-copy p {
    margin: 0;
    padding: 0;
}

.oo-property-copy p + p {
    margin-top: 8px;
}

.oo-property-copy p:empty {
    display: none;
}

.oo-equipment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oo-equipment-list li {
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--ph-oo-line);
    font-size: 16px;
    line-height: 1.45;
}

.oo-property-section__intro {
    max-width: 310px;
    margin: 20px 0 0;
    color: var(--ph-oo-muted);
    font-size: 15px;
    line-height: 1.55;
}

.oo-property-copy .oo-detailsmap {
    display: block;
    width: 100%;
    margin: 36px 0 0;
    padding: 0;
    border: 0;
}

.oo-property-gallery-section {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-block: 80px;
}

.oo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.oo-gallery__thumb {
    width: auto;
    height: auto;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.oo-gallery__thumb--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8.5;
}

.oo-gallery__zoom,
.oo-gallery__zoom img {
    display: block;
    width: 100%;
    height: 100%;
}

.oo-gallery__zoom {
    padding: 0;
    border: 0;
}

.oo-gallery__zoom img {
    object-fit: cover;
}

.oo-gallery-link {
    display: block;
    margin: 20px 0 0 auto;
    cursor: pointer;
}

.oo-at-a-glance {
    display: grid;
}

.oo-at-a-glance .oo-detailstable {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 720px;
    margin: 0;
    border: 0;
}

.oo-glance-item {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 24px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--ph-oo-line);
}

.oo-glance-item:first-child {
    padding-top: 0;
}

.oo-glance-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.oo-at-a-glance .oo-details-fact__label {
    width: auto;
    padding: 0;
    color: var(--ph-oo-muted);
    border: 0;
    font-size: 12px;
    font-weight: 400;
}

.oo-at-a-glance .oo-details-fact__value {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    font-weight: 300;
}

.oo-details-energy-certificate {
    display: none !important;
}

/* Personal advisor */
.oo-details-sidebar {
    padding: 80px 0;
}

.oo-property-contact {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    width: min(100%, 1120px);
    margin: 0 auto;
    background: var(--ph-oo-surface);
}

.oo-property-contact__image {
    min-height: 0;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
}

.oo-property-contact__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oo-property-contact__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 40px 48px;
}

.oo-property-contact__body > * {
    width: 100%;
    max-width: 460px;
}

.oo-property-contact__body h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: var(--ph-oo-heading-weight);
    line-height: 1.08;
}

.oo-property-contact__body > p {
    max-width: 460px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.55;
}

.oo-similar__actions {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.oo-similar__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--ph-oo-accent);
    color: var(--ph-oo-accent) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.oo-similar__all:hover {
    border-color: var(--ph-oo-eyebrow);
    color: var(--ph-oo-eyebrow) !important;
}

.oo-property-contact__body h3 {
    margin: 0 0 9px;
    font-family: var(--ph-oo-body-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.oo-property-contact__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.oo-property-contact__links a {
    display: grid;
    grid-template-columns: 18px 64px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.oo-contact-icon {
    width: 16px;
    height: 16px;
    align-self: center;
}

.oo-property-contact__links .oo-contact-label {
    color: var(--ph-oo-muted);
    text-decoration: none;
    white-space: nowrap;
}

.oo-property-contact__links .oo-contact-value {
    min-width: 0;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.oo-property-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.oo-property-contact__actions .oo-contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--ph-oo-accent);
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    width: auto;
}

.oo-contact-action--primary {
    background: var(--ph-oo-accent);
    color: #fff !important;
}

.oo-contact-action--secondary {
    background: transparent;
    color: var(--ph-oo-accent) !important;
    border-width: 2px !important;
}

.oo-property-contact__actions .oo-contact-action:hover {
    background: var(--ph-oo-eyebrow);
    color: #fff !important;
    border-color: var(--ph-oo-eyebrow);
}

.oo-detailsexpose,
.oo-videos,
.oo-tours,
.oo-objects,
.oo-links {
    width: min(100%, 1040px);
    margin: 24px auto 0;
    padding: 24px 0;
    background: transparent;
    border-top: 1px solid var(--ph-oo-line);
}

.oo-detailsexpose h2,
.oo-videos h2,
.oo-tours h2,
.oo-objects h2,
.oo-links h2 {
    font-size: 20px;
}

.oo-interest-form,
.detail-contact-form {
    display: none !important;
}

@media (max-width: 1100px) {
    .oo-listframe {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oo-detail-summary {
        gap: 42px;
    }

    .oo-property-section,
    .oo-details-energy-certificate,
    .oo-area-butler,
    .oo-detailsmap,
    .oo-detailsfreetext,
    .oo-detailspricecalculator,
    .oo-units {
        grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr);
        gap: 42px;
    }
}

@media (max-width: 767px) {
    .oo-catalogue,
    .oo-searchform,
    .oo-detail-summary,
    .oo-detail-columns,
    .oo-similar {
        width: calc(100% - 40px);
    }

    .oo-property-gallery-section {
        width: 100%;
    }

    .oo-searchform {
        margin-block: 24px 40px;
        padding: 20px;
    }

    .oo-listheadline {
        margin-block: 56px 36px;
    }

    .oo-listheadline > p:last-child,
    .oo-detail-deck {
        font-size: 17px;
    }

    .oo-catalogue-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .oo-estate-sort,
    .oo-estate-sort select {
        width: 100%;
    }

    .oo-listframe {
        grid-template-columns: 1fr;
        gap-block: 32px;
    }

    .oo-listinfo {
        min-height: 0;
    }

    .oo-detail-hero__button img {
        height: 100svh;
        min-height: 0;
        aspect-ratio: auto;
    }

    .oo-detail-hero__count {
        right: 12px;
        bottom: 12px;
    }

    .oo-detail-summary {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 0;
    }

    .oo-detail-summary__facts {
        padding: 28px 28px 30px;
    }

    .oo-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .oo-primary-action,
    .oo-secondary-action {
        width: 100%;
    }

    .oo-property-section,
    .oo-details-energy-certificate,
    .oo-area-butler,
    .oo-detailsmap,
    .oo-detailsfreetext,
    .oo-detailspricecalculator,
    .oo-units {
        display: block;
        padding-block: 48px;
    }

    .oo-property-section__heading {
        margin-bottom: 24px;
    }

    .oo-property-section__heading .oo-eyebrow {
        margin-bottom: 12px;
    }

    .oo-property-section__heading h2 {
        margin: 0;
    }

    .oo-property-section .oo-property-copy {
        font-size: 17px;
    }

    .oo-property-gallery-section {
        padding-block: 56px;
    }

    .oo-gallery {
        grid-template-columns: 1fr;
    }

    .oo-gallery__thumb,
    .oo-gallery__thumb--wide {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .oo-at-a-glance .oo-detailstable {
        display: block;
    }

    .oo-glance-item {
        grid-template-columns: minmax(110px, 140px) minmax(0, 1fr);
        gap: 18px;
    }

    .oo-details-sidebar {
        padding-block: 64px;
    }

    .oo-property-contact {
        grid-template-columns: 1fr;
    }

    .oo-property-contact__image,
    .oo-property-contact__body {
        aspect-ratio: auto;
    }

    .oo-property-contact__image {
        aspect-ratio: 4 / 3;
    }

    .oo-property-contact__body {
        padding: 32px 24px;
    }

    .oo-property-contact__links a {
        grid-template-columns: 16px 56px minmax(0, 1fr);
        column-gap: 8px;
        row-gap: 0;
        width: 100%;
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .oo-property-contact__links .oo-contact-icon {
        grid-row: auto;
    }

    .oo-equipment-list {
        grid-template-columns: 1fr;
    }

    .oo-property-contact__actions {
        align-items: center;
        flex-direction: row;
    }

    .oo-property-contact__actions .oo-contact-action {
        width: auto;
    }
}

.ts-dropdown, .ts-control, .ts-control input {
    font-size: inherit;
    color: inherit;
    border-color: #767676;
}

.oo-post-nav-links {
    text-align: center;
}

.oo-post-nav-links ul {
    display: flex;
    gap: .25rem;
    align-items: center;
    justify-content: center;
    list-style: none;
}

  .oo-post-nav-links a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ccc;
    text-decoration: none;
  }

  .oo-post-nav-links .current {
    font-weight: bold;
    color: #000;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ccc;
    text-decoration: none;
  }

  .oo-post-nav-links {
    margin-top: 20px;
  }


.ts-wrapper.has-items .ts-control input, .ts-wrapper.single.has-items .ts-control input, .ts-wrapper.multi.has-items .ts-control input {
    width: auto;
}


.ts-dropdown .option.selected {
    font-weight: bold;
}

.oo-searchform .ts-dropdown .option.active {
    background-color: var(--oo-search-accent);
    color: var(--oo-search-accent-text);
}
.ts-dropdown .option {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
}

.ts-wrapper .ts-control::after, .ts-wrapper.single .ts-control::after, .ts-wrapper.multi .ts-control::after {
    content: "";
    position: absolute;
    right: .5rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 14px;
    height: 100%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 1.25rem;
    mask-position: center;
    background: #000000;
}
.ts-wrapper.focus .ts-control::after, .ts-wrapper.single.focus .ts-control::after, .ts-wrapper.multi.focus .ts-control::after {
    top: 0%;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.ts-wrapper .ts-item-remove:before, .ts-wrapper.single .ts-item-remove:before, .ts-wrapper.multi .ts-item-remove:before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 1.25rem;
    mask-position: center;

}

.ts-wrapper.plugin-remove_button .item .remove {
    text-decoration: none;
    vertical-align: middle;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.ts-wrapper.multi.has-items .ts-control {
    overflow: hidden;
    display: inline-block;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    padding: 6px;
    height: 48px;
}

.plugin-checkbox_options:not(.rtl) .option input {
    min-width: 24px;
    min-height: 24px;
}

.ts-control {
    display: flex;
    flex-direction: row;
    background: transparent;
    height: 48px;
    line-height: 28px;
}

/* Keep compact search and pagination above the plugin's legacy tail rules. */
.oo-searchform--compact .ts-wrapper.multi.has-items .ts-control,
.oo-searchform--compact .ts-wrapper.single.has-items .ts-control {
    display: flex;
    height: auto;
    min-height: 30px;
    padding: 0 !important;
    overflow: hidden;
    white-space: nowrap;
}

.oo-post-nav-links {
    margin-top: 64px;
    text-align: center;
}

.oo-post-nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oo-post-nav-links a,
.oo-post-nav-links .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    background: transparent;
    color: var(--ph-oo-ink);
    border: 0;
    border-bottom: 1px solid transparent;
    text-decoration: none;
}

.oo-post-nav-links .current {
    border-bottom-color: var(--ph-oo-ink);
    font-weight: 600;
}
