/* Keep property actions aligned without trimming translated titles. */
.houzez-properties-carousel-js .slick-track:has(> .item-wrap-v9, > .item-wrap-v3) {
    display: flex;
}

.houzez-properties-carousel-js .slick-track:has(> .item-wrap-v9, > .item-wrap-v3)::before,
.houzez-properties-carousel-js .slick-track:has(> .item-wrap-v9, > .item-wrap-v3)::after {
    display: none;
}

.houzez-properties-carousel-js .slick-track > :is(.item-wrap-v9, .item-wrap-v3) {
    flex-shrink: 0;
    height: auto;
}

.houzez-properties-carousel-js .slick-track > .item-wrap-v3,
.grid-view > .item-wrap-v9,
.grid-view > .item-wrap-v3 {
    display: flex;
    flex-direction: column;
}

.grid-view :is(.item-wrap-v1, .item-wrap-v9) > .item-wrap {
    min-width: 0;
}

.grid-view :is(.item-wrap-v1, .item-wrap-v9, .item-wrap-v10) .item-body {
    overflow-wrap: anywhere;
}

.grid-view :is(.item-wrap-v1, .item-wrap-v9) .item-footer {
    margin-top: auto;
}

.grid-view > .item-wrap-v10 > .item-wrap-v10-half-map {
    height: 100%;
}

.grid-view .item-wrap-v3 .item-wrap-outside {
    flex: 1 0 auto;
    min-width: 0;
}

/* Extend the existing localized guide link across each icon tile. */
.elementor-element-5a06b2ff .text-with-icon-item-v1 {
    position: relative;
    min-width: 0;
}

.elementor-element-5a06b2ff .text-with-icon-link a[href]:not([href=""]):not([href="#"])::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
}

.elementor-element-5a06b2ff .text-with-icon-item-v1:focus-within {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

/* Reuse the theme footer widgets and translated menus. */
.footer-wrap .footer-top-wrap {
    padding-block: clamp(1.5rem, 4vw, 3rem);
}

.footer-wrap .footer-top-wrap > .container > .row {
    row-gap: 1.5rem;
}

.footer-wrap .footer-top-wrap > .container > .row > div {
    margin-bottom: 0 !important;
    min-width: 0;
}

.footer-wrap .footer-top-wrap .footer-widget {
    padding: 0 !important;
    margin-bottom: 0 !important;
    color: #f5f7fc;
    overflow-wrap: break-word;
}

.footer-wrap .footer-top-wrap .widget-title {
    margin-bottom: .75rem !important;
    color: #ffdc9a;
    font-size: 1.18rem;
    line-height: 1.3;
}

.footer-wrap .footer-top-wrap :is(.widget-content, .widget-content p, .footer-widget a) {
    color: #f5f7fc;
    font-size: .94rem;
    line-height: 1.55;
}

.footer-wrap .footer-top-wrap .footer-widget a:hover,
.footer-wrap .footer-top-wrap .footer-widget a:focus-visible {
    color: #ffdc9a;
    text-decoration: underline;
}

.footer-wrap .footer-top-wrap .widget_nav_menu li a {
    display: inline-block;
    padding-block: .3rem;
}

.footer-wrap .widget-blog-posts .blog-post-item-widget {
    margin-top: .8rem !important;
}

.footer-wrap .widget-blog-posts .blog-post-item-widget + .blog-post-item-widget {
    border-top: 1px solid rgb(255 255 255 / 25%);
    padding-top: .8rem;
}

.footer-wrap .widget-blog-posts .blog-post-image-widget {
    flex: 0 0 4.5rem;
}

.footer-wrap .widget-blog-posts .blog-post-image-widget img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 3px;
}

.footer-wrap .widget-blog-posts .blog-post-content-widget h4 {
    margin: 0;
    line-height: 1.35;
}

.footer-wrap .widget-blog-posts .blog-post-content-widget p {
    display: none;
}

.ie-mobile-search-button {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-height: 64px;
    padding: .55rem 1rem .55rem 3rem;
    border: 1px solid #c6cde0;
    border-radius: 8px;
    background: #fff;
    color: #122656;
    text-align: left;
    line-height: 1.25;
    cursor: pointer;
}

.ie-mobile-search-button :is(strong, small) {
    display: block;
}

.ie-mobile-search-button strong {
    font-size: 1.08rem;
}

.ie-mobile-search-button small {
    margin-top: .2rem;
    color: #455370;
    font-size: .82rem;
}

.ie-mobile-search-chevron {
    flex: 0 0 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.ie-mobile-search-button:focus-visible {
    outline: 2px solid #122656;
    outline-offset: 3px;
}

.mobile-search-nav .search-icon:has(.ie-mobile-search-button)::before {
    top: 50%;
    color: #122656;
    pointer-events: none;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    body.home .top-banner-wrap.property-slider-wrap {
        display: none;
    }

    body.home .mobile-search-nav:has(.ie-mobile-search-button) {
        padding-block: 12px;
        background: #eff3fa;
    }

    .elementor-element-5a06b2ff .text-with-icons-module {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elementor .elementor-element.elementor-element-5a06b2ff .text-with-icons-module > .text-with-icon-item-v1 {
        width: auto;
        padding: .65rem .35rem;
        overflow-wrap: anywhere;
    }

    .elementor-element-5a06b2ff .text-with-icon-item-v1 .icon-thumb {
        margin-bottom: .35rem;
        font-size: 1.65rem;
    }

    .footer-wrap .footer-top-wrap .widget_nav_menu li a {
        min-height: 40px;
    }

    .footer-wrap .footer-top-wrap > .container > .row > div:has(> .widget_nav_menu) {
        width: 50%;
    }
}

.ie-menu-shortcuts,
.ie-carousel-controls,
.ie-gallery-controls {
    display: none;
}

@media (max-width: 991.98px) {
    body.ie-social-in-menu .top-bar-right-wrap {
        display: none !important;
    }

    #hz-offcanvas-mobile-menu {
        --bs-offcanvas-width: min(88vw, 410px);
        background: #f7f9fd;
        color: #142858;
        overscroll-behavior: contain;
    }

    #hz-offcanvas-mobile-menu .offcanvas-header {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: .8rem 1rem;
        background: #13275a;
        color: #fff;
    }

    #hz-offcanvas-mobile-menu .offcanvas-header .btn-close {
        position: static;
        display: grid;
        flex: 0 0 44px;
        place-items: center;
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        margin: 0 0 0 auto;
        padding: 0;
        border: 1px solid rgb(255 255 255 / 32%);
        border-radius: 8px;
        background: rgb(255 255 255 / 9%);
        color: #fff;
        line-height: 1;
        opacity: 1;
    }

    #hz-offcanvas-mobile-menu .offcanvas-header .btn-close i {
        position: static;
        display: block;
        margin: 0;
        font-size: 18px;
        line-height: 1;
    }

    #header-mobile {
        height: 56px;
        padding: 0 .85rem;
    }

    #header-mobile .header-mobile-center {
        display: flex;
        min-width: 0;
        justify-content: flex-end;
    }

    #header-mobile .header-mobile-right:not(:has(> *)) {
        display: none;
    }

    #header-mobile .logo-mobile {
        margin: 0;
    }

    #header-mobile .logo-mobile a,
    #header-mobile .logo-mobile img {
        display: block;
    }

    #header-mobile .logo-mobile img {
        position: static;
        width: clamp(132px, 37vw, 166px);
        height: auto;
        max-height: 44px;
        object-fit: contain;
        object-position: right center;
    }

    #header-mobile .toggle-button-left {
        display: grid;
        min-width: 44px;
        min-height: 44px;
        place-items: center;
        padding: 0;
        border: 1px solid #dce5f2;
        border-radius: 8px;
        background: #f6f8fc;
        color: #13275a;
    }

    #hz-offcanvas-mobile-menu .ie-mobile-menu {
        padding: .5rem .75rem 1.25rem;
    }

    .ie-mobile-menu #mobile-main-nav > li[hidden],
    .ie-mobile-menu .ie-mobile-submenu[hidden] {
        display: none !important;
    }

    .ie-mobile-menu #mobile-main-nav > li {
        border-bottom: 1px solid #dce4f2;
    }

    .ie-mobile-menu #mobile-main-nav > li > a,
    .ie-mobile-menu .ie-submenu-toggle {
        min-height: 50px;
        color: #13275a;
        background: transparent;
        font-size: .96rem;
        font-weight: 700;
    }

    .ie-mobile-menu .ie-submenu-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .65rem .9rem;
        border: 0;
        text-align: start;
    }

    .ie-mobile-menu .ie-submenu-toggle[aria-expanded="true"] {
        color: #0e2150;
        background: #e7eefc;
    }

    .ie-menu-chevron {
        flex: 0 0 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    [aria-expanded="true"] > .ie-menu-chevron {
        transform: rotate(225deg);
    }

    .ie-mobile-menu #mobile-main-nav .ie-mobile-submenu {
        width: 100%;
        margin: 0;
        padding: .25rem 0;
        background: #f0f4fb;
        list-style: none;
    }

    .ie-mobile-menu #mobile-main-nav .dropdown-item {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: .45rem .85rem .45rem 1.25rem;
        color: #263c65;
        white-space: normal;
    }

    .ie-menu-shortcuts {
        display: block;
        padding: .25rem .9rem;
    }

    .ie-menu-label {
        margin: .95rem 0 .35rem;
        color: #142858;
        font-size: .86rem;
        font-weight: 700;
    }

    .ie-menu-links {
        display: flex;
        flex-wrap: wrap;
        gap: .35rem;
    }

    .ie-menu-links.ie-language-row {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: .2rem;
    }

    .ie-menu-links :is(.ie-language-link, .ie-social-link) {
        display: inline-flex;
        min-height: 44px;
        min-width: 44px;
        align-items: center;
        justify-content: center;
        gap: .3rem;
        padding: .3rem .45rem;
        border: 1px solid #d4deee;
        border-radius: 8px;
        background: #fff;
        color: #122656;
        font-size: .75rem;
    }

    .ie-menu-links .ie-social-link {
        font-size: 1rem;
    }

    .ie-language-row .ie-language-link {
        flex-direction: column;
        min-width: 0;
        gap: .2rem;
        padding-inline: .1rem;
    }

    .ie-menu-links .ie-social-link svg {
        fill: currentColor;
    }

    .ie-menu-links .ie-social-link svg path {
        fill: currentColor;
    }

    .ie-menu-links [aria-current="true"] {
        border-color: #122656;
        box-shadow: inset 0 -2px #a57f3f;
    }
}

@media (max-width: 767.98px) {
    .mobile-search-nav:has(.ie-mobile-search-button) {
        padding-block: 12px;
        background: #eff3fa;
    }

    #overlay-search-advanced-module {
        background: #f5f7fc;
        color: #142858;
    }

    #overlay-search-advanced-module .search-title {
        color: #142858;
        font-weight: 700;
    }

    #overlay-search-advanced-module :is(.form-control, .bootstrap-select > .dropdown-toggle, .btn-clear, .reset-search-btn) {
        min-height: 44px;
        border-color: #a3b3cd;
        background: #fff;
        color: #142858;
    }

    #overlay-search-advanced-module .form-control::placeholder,
    #overlay-search-advanced-module .bootstrap-select > .dropdown-toggle.bs-placeholder {
        color: #445677;
        opacity: 1;
    }

    #overlay-search-advanced-module :is(.filter-option, .dropdown-item, .overlay-search-module-close) {
        color: #142858;
    }

    #overlay-search-advanced-module button[type="submit"] {
        min-height: 46px;
        border-color: #13275a;
        background: #13275a;
        color: #fff;
        font-weight: 700;
    }

    #overlay-search-advanced-module :is(input, button, a):focus-visible,
    .ie-mobile-menu :is(button, a):focus-visible {
        outline: 2px solid #315b9f;
        outline-offset: 2px;
    }

    .ie-carousel-enhanced > .property-carousel-buttons-wrap {
        display: none;
    }

    .agents-module-slider .ie-carousel-controls {
        margin-bottom: .55rem;
    }

    .ie-carousel-controls:not([hidden]) {
        display: flex;
        align-items: center;
        gap: .35rem;
        padding-block: .35rem .55rem;
        color: #142858;
    }

    .ie-carousel-label {
        flex: 1;
        font-size: .84rem;
        font-weight: 700;
    }

    .ie-carousel-count,
    .ie-gallery-count {
        font-size: .8rem;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .ie-carousel-arrow,
    .ie-gallery-arrow {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        padding: 0;
        border: 1px solid #b5c5de;
        border-radius: 9px;
        background: #fff;
        color: #142858;
        font: 1.7rem/1 system-ui, sans-serif;
    }

    .ie-carousel-arrow:disabled,
    .ie-gallery-arrow:disabled {
        opacity: .45;
    }

    .ie-property-gallery {
        position: relative;
        touch-action: pan-y pinch-zoom;
    }

    .ie-property-gallery .property-image-count[hidden] {
        display: none !important;
    }

    .ie-gallery-controls {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: block;
        pointer-events: none;
    }

    .ie-gallery-controls > * {
        position: absolute;
    }

    .ie-gallery-count,
    .ie-gallery-arrow {
        border: 1px solid #ffffff70;
        background: #13224aeb;
        color: #fff;
    }

    .ie-gallery-count {
        bottom: .7rem;
        right: .7rem;
        padding: .35rem .7rem;
        border-radius: 99px;
    }

    .ie-gallery-arrow {
        top: 50%;
        transform: translateY(-50%);
        pointer-events: auto;
    }

    .ie-gallery-prev { left: .5rem; }
    .ie-gallery-next { right: .5rem; }

    .mobile-property-tools.block-wrap {
        padding-block: .32rem !important;
    }

    .mobile-property-tools .property-item-tools {
        width: 100%;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-property-tools .item-tool :is(.item-tool-share, .item-tool-favorite) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        width: auto;
        min-width: 44px;
        min-height: 44px;
        padding: .35rem .65rem;
        border: 0;
        border-radius: 7px;
        background: #edf2fb;
        color: #142858;
        font-size: .9rem;
        line-height: 1.25;
    }

    .mobile-property-tools .item-tool-dropdown-menu {
        max-width: calc(100vw - 2rem);
    }

    .mobile-property-tools .item-tool-dropdown-menu .dropdown-item {
        min-height: 40px;
        padding-block: .55rem;
    }

    .blog-posts-module-v3 .blog-post-item-v3 {
        display: flex;
        height: auto !important;
        margin-bottom: 1rem !important;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid #dce5f2;
        border-radius: 12px;
        background: #fff;
    }

    .blog-posts-module-v3 .blog-post-item-v3 .blog-post-thumb,
    .blog-posts-module-v3 .blog-posts-module-v3-right-wrap .blog-post-item-v3 .blog-post-thumb {
        display: block !important;
        width: 100% !important;
        max-width: none;
        height: auto !important;
        flex: 0 0 auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .blog-posts-module-v3 .blog-post-item-v3 .blog-post-thumb .image-wrap {
        display: block;
        width: 100%;
        height: 100%;
    }

    .blog-posts-module-v3 .blog-post-item-v3 .blog-post-thumb img,
    .blog-posts-module-v3 .blog-posts-module-v3-right-wrap .blog-post-item-v3 .img-fluid {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
    }

    .blog-posts-module-v3 .blog-post-item-v3 .blog-post-content-wrap {
        display: flex;
        width: 100% !important;
        flex-direction: column;
        padding: .85rem 1rem !important;
    }

    .blog-posts-module-v3 .blog-post-title {
        order: -1;
        margin-bottom: .25rem;
    }

    .blog-posts-module-v3 .blog-post-title h3 {
        margin-bottom: .35rem;
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .blog-posts-module-v3 .blog-post-title a {
        color: #142858;
    }

    .blog-posts-module-v3 .blog-post-meta ul {
        flex-wrap: wrap;
        gap: .2rem .55rem;
        margin-bottom: .35rem;
        color: #485873;
        line-height: 1.4;
    }

    .blog-posts-module-v3 .blog-post-meta a {
        color: #364d74;
    }

    .blog-posts-module-v3 .blog-post-body {
        display: -webkit-box;
        overflow: hidden;
        color: #303e59;
        font-size: .91rem;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 768px) {
    .ie-share-label { display: none; }
}
 
/* Match the shape of listing, location and agent cards. */
.item-listing-wrap > .item-wrap,
.agents-module .agent-item,
.taxonomy-grids-module .taxonomy-item,
.taxonomy-grids-module .taxonomy-link {
    border-radius: 12px;
}

.item-listing-wrap .item-header {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.item-wrap-v3 .item-header {
    border-radius: 12px;
}

.taxonomy-grids-module .taxonomy-item {
    overflow: hidden;
}

.elementor-element-a505f55 .elementor-main-swiper {
    border-radius: 12px;
    overflow: hidden;
}

.elementor-element-5a06b2ff .text-with-icons-module {
    border-radius: 12px;
    overflow: hidden;
}
