#jp-relatedposts,
.jp-relatedposts,
.jp-relatedposts-items,
.jp-relatedposts-headline {
    display: none !important;
}
div.agent-details {
    display: none !important;
}
#pills-gallery-tab {
    display: none !important;
}
/* Target both Previous and Next buttons */
.slick-arrow {
    /* Make background transparent */
    background: transparent !important;
    
    /* Optional: Change the arrow icon color so it remains visible against the slide */
    color: #333; 

    /* Optional: Remove the default border if you want a cleaner look */
    border: none;
}

/* Optional: Change color on hover */
.slick-arrow:hover {
    background: transparent !important;
    color: #000;
}
.slick-arrow::before {
    color: #590916;
}
html {
    overflow-x: hidden;
    overflow-y: auto !important;
}

body {
    overflow: visible !important;
}

/* Kill overflow on common WordPress containers 
.site,
.site-content,
#page,
.main-container,
.wrapper,
.elementor,
.elementor-inner,
.elementor-section-wrap {
    overflow: visible !important;
}

/* Specifically target any element forcing a left scrollbar 
* {
}
 */
/* ✅ FINAL COMBINED FIX — replaces everything previous */

/* Contain overflow without clipping the offcanvas */
body > *:not(.offcanvas):not(.offcanvas-backdrop) {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Hide offcanvas when closed (fixes the horizontal overflow) */
.offcanvas.offcanvas-end:not(.show) {
  visibility: hidden !important;
  transform: translateX(100%) !important;
}

/* Offcanvas menu display when open */
.offcanvas.offcanvas-mobile-menu {
  z-index: 99999 !important;
  max-width: 100vw !important;
  width: 100% !important;
  height: 100% !important;
}

.offcanvas-backdrop {
  z-index: 99998 !important;
}

/* Fix hero slideshow */
.elementor-background-slideshow__slide__image {
  max-width: 100% !important;
  width: 100% !important;
}

/* Fix ticker */
.amur-ticker-track,
[class*="ticker"] {
  overflow: hidden !important;
  max-width: 100vw !important;
}
/* Force all property images to fill their container without white space */
.property-image img,
.listing-image img,
.single-property-image img,
.wp-block-image img,
.owl-item img,
.slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Set a consistent aspect ratio for all property blocks */
.property-card,
.listing-item,
.property-item,
.real-estate-box {
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
}

/* For the image containers themselves */
.property-image,
.listing-image,
.property-thumbnail,
.entry-image {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}
button.houzez_agent_property_form,
.houzez-ele-button.houzez_agent_property_form,
.houzez-ele-button[class*="agent_property_form"] {
    font-size: 0 !important;
}

button.houzez_agent_property_form::before,
.houzez-ele-button.houzez_agent_property_form::before,
.houzez-ele-button[class*="agent_property_form"]::before {
    content: "Enquire About This Property" !important;
    font-size: 1rem !important;
    display: inline-block !important;
}
