.ka-location-field label { display:block; font-weight:600; margin:0 0 6px; }
.agent-grid .agent-logo img[src$="/agent-placeholder.svg"],
.agent-grid .agent-logo img[data-src$="/agent-placeholder.svg"] { width:100%; height:auto; aspect-ratio:7/8; object-fit:cover; }
/* Keep the six-item native header menu beside the logo on smaller desktops. */
@media (min-width:1024px) and (max-width:1439px) {
 .elementor-widget-apus_element_primary_menu #primary-menu > li > a { padding-left:12px; padding-right:12px; }
}
@media (min-width:1024px) and (max-width:1199px) {
 .elementor-widget-apus_element_primary_menu #primary-menu > li > a { padding-left:8px; padding-right:8px; font-size:13px; }
}
/* Compact listing cards only when no genuine cover/gallery image exists. */
.property-item.ka-no-photo-card { padding:24px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; }
.ka-no-photo-card .ka-card-labels { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:12px; }
.ka-no-photo-card .property-price { position:static; margin:0 0 12px; font-size:16px; font-weight:700; white-space:normal; line-height:1.9; }
.ka-no-photo-card .property-title { font-size:17px; line-height:1.9; margin:0 0 8px; }
.ka-no-photo-card .property-title a { display:block; }
.ka-card-facts { display:flex; flex-wrap:wrap; gap:16px; margin-top:14px; color:#555; font-size:13px; }
.ka-card-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid #eee; }
.ka-card-details { font-weight:600; color:var(--homez-theme-color); }
.property-single-layout.ka-property-no-photo .content-property-detail { margin-top:24px; }
.property-action-detail .action-item .btn-copy-property-link.is-copied { color: var(--homez-theme-color); }
.property-action-detail .action-item .btn-copy-property-link.is-copy-failed { color: #c0392b; }
/* Keep every selectable option in the listing/map sidebar evenly spaced.
   Nested property types get a clear, indented second level as well. */
.widget-property-search-form form.form-search.vertical .tax-radios-field .circle-check,
.widget-property-search-form form.form-search.vertical .tax-checklist-field .circle-check {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}
.widget-property-search-form form.form-search.vertical .tax-radios-field .circle-check li,
.widget-property-search-form form.form-search.vertical .tax-checklist-field .circle-check li {
    float: none;
    width: 100%;
    margin: 0;
    line-height: 1.55;
}
.widget-property-search-form form.form-search.vertical .tax-radios-field .list-item-inner,
.widget-property-search-form form.form-search.vertical .tax-checklist-field .list-item-inner {
    min-height: 24px;
}
.widget-property-search-form form.form-search.vertical .tax-radios-field label,
.widget-property-search-form form.form-search.vertical .tax-checklist-field label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
}
.widget-property-search-form form.form-search.vertical .tax-radios-field label::before,
.widget-property-search-form form.form-search.vertical .tax-checklist-field label::before {
    flex: 0 0 16px;
    margin: 4px 0 0;
}
.widget-property-search-form form.form-search.vertical .circle-check .circle-check {
    margin-top: 10px;
    padding-inline-start: 24px;
}
/* Homez hard-codes these accents instead of using its global brand variable. */
.featured-property,
.property-item .property-thumbnail-wrapper .action-item [class*="btn"][class*="added"],
.property-item .property-thumbnail-wrapper .action-item [class*="btn"][class*="remove"],
.property-grid-v6 .property-thumbnail-wrapper .action-item [class*="btn"][class*="added"],
.property-grid-v6 .property-thumbnail-wrapper .action-item [class*="btn"][class*="remove"] { background-color:var(--homez-theme-color); }
.detail-post .entry-tags-list a { background:var(--homez-theme-color-007); }
.wp-block-quote, blockquote { background:var(--homez-theme-color-007); }
.testimonials-item .icon-top { color:var(--homez-theme-color-015); }
.yelp-list .yelp-circle.perfect { border-color:var(--homez-theme-color); }
.ka-location-field select { width:100%; padding:0 12px; min-height:50px; cursor:pointer; }
.ka-location-message:empty { display:none; }
.ka-location-message { display:block; font-size:11px; margin-top:4px; }
.ka-brand a { display:inline-flex; align-items:center; gap:9px; white-space:nowrap; font-size:24px; line-height:1.2; font-weight:800; color:#181a20; }
.ka-brand-icon { width:44px; height:44px; flex:none; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:var(--homez-theme-color, #04a2c5); color:#fff; }
#apus-footer .ka-brand a, .apus-footer .ka-brand a { color:#fff; }
.ka-location-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ka-location-triple { grid-template-columns:repeat(3,minmax(0,1fr)); }
/* Hero search only: wider property type, separate actions, responsive stacking. */
.elementor-element-b63ddec .content-main-inner .list-fileds {
 display:grid !important; grid-template-columns:repeat(3,minmax(140px,1fr)) minmax(250px,1.35fr) 180px; gap:24px; margin:0; align-items:center;
}
.elementor-element-b63ddec .content-main-inner .list-fileds > div { width:auto; max-width:none; padding:0; min-width:0; }
.elementor-element-b63ddec .content-main-inner .select2-container { width:100% !important; min-width:0; }
.elementor-element-b63ddec .content-main-inner .form-group { margin-bottom:0; }
.elementor-element-b63ddec .content-main-inner .form-group-search { align-self:center; }
.elementor-element-b63ddec form.form-search.horizontal .content-main-inner .form-group-search > .no-text { display:flex; align-items:center; justify-content:center; gap:24px; }
.elementor-element-b63ddec .content-main-inner .advance-link { flex:0 0 auto; margin:0; }
.elementor-element-b63ddec .content-main-inner .advance-search-btn { gap:10px; white-space:nowrap; }
.elementor-element-b63ddec .content-main-inner .advance-search-btn i { flex:0 0 auto; margin:0; }
.elementor-element-b63ddec form.form-search.horizontal .content-main-inner .form-group-search .no-text .advance-link + .btn-submit { flex:0 0 auto; margin:0; }
.elementor-element-b63ddec .content-main-inner { padding-top:24px; padding-bottom:24px; }
/* Select2 mounts its dropdown under body, outside the Elementor widget. */
body.home:has(.elementor-element-b63ddec .form-group-type .select2-container--open) > .select2-container--open .select2-results__option { white-space:nowrap; }
@media(min-width:768px) and (max-width:1199px) {
 .elementor-element-b63ddec .content-main-inner .list-fileds { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .elementor-element-b63ddec .content-main-inner .form-group-search { grid-column:1/-1; }
}
.elementor-element-b63ddec .ka-location-field select { background:#f7f7f7; border:1px solid transparent; border-radius:8px; }
.elementor-element-b63ddec .ka-location-field select:focus { border-color:#181a20; outline:2px solid #d9e3e5; }
@media(max-width:767px) {
 .elementor-element-b63ddec .content-main-inner .list-fileds { grid-template-columns:1fr; row-gap:18px; }
 .elementor-element-b63ddec .content-main-inner .list-fileds > div { margin-bottom:0; }
 .ka-location-pair { grid-template-columns:1fr; }
}
/* Keep the home-page advanced-search amenity list aligned inside its popup. */
.home.page-id-19 .mfp-content .form-group-amenity .circle-check {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 column-gap:24px;
 row-gap:12px;
 align-items:start;
}
.home.page-id-19 .mfp-content .form-group-amenity .circle-check li {
 float:none;
 width:auto;
 min-width:0;
 margin:0;
 line-height:1.55;
}
.home.page-id-19 .mfp-content .form-group-amenity .circle-check label {
 display:flex;
 align-items:flex-start;
 gap:10px;
 line-height:1.55;
}
.home.page-id-19 .mfp-content .form-group-amenity .circle-check label:before {
 flex:0 0 16px;
 margin:5px 0 0;
}
/* Contact Form 7 is created with an LTR locale; keep the Persian contact form RTL. */
.page-id-37 #wpcf7-f5309-p37-o1,
.page-id-37 #wpcf7-f5309-p37-o1 form,
.page-id-37 #wpcf7-f5309-p37-o1 .get-touch {
 direction:rtl;
 text-align:right;
}
.page-id-37 #wpcf7-f5309-p37-o1 label,
.page-id-37 #wpcf7-f5309-p37-o1 p {
 text-align:right;
}
.page-id-37 #wpcf7-f5309-p37-o1 .form-control {
 direction:rtl;
 text-align:right;
}
.page-id-37 #wpcf7-f5309-p37-o1 .form-control::placeholder {
 text-align:right;
}
.page-id-37 #wpcf7-f5309-p37-o1 .btn {
 direction:rtl;
 text-align:center;
}
/* FAQ sections use entrance animations that can remain hidden after an editor update. */
.page-id-44 .elementor-invisible {
 visibility:visible;
}
/* Make only the title in a single property detail view more prominent. */
.single-property-wrapper .property-single-layout .top-header-detail-property .property-title {
 font-weight:700;
}
/* Keep the single-property price directly below its title and on one line. */
.single-property-wrapper .top-header-detail-property .left-infor > .property-price {
 margin-top:6px;
 white-space:nowrap;
 line-height:1.4;
}
.single-property-wrapper .top-header-detail-property .ka-header-price-separator {
 display:inline-block;
 margin:0 .55em;
}
@media(max-width:767px) {
 .single-property-wrapper .top-header-detail-property .left-infor > .property-price { white-space:normal; }
}
/* The RTL theme shortens the actual price-slider track and fakes the missing end. */
.form-group-price .price-range-slider.ui-slider-horizontal {
 width:100% !important;
 margin-left:0 !important;
 margin-right:0 !important;
}
.form-group-price .price-range-slider.ui-slider-horizontal:before {
 display:none;
}
.form-group-price .price-range-slider.ui-slider-horizontal .ui-slider-handle {
 margin-left:-14.5px;
}
/* jQuery UI calculates the selected range with left/width. The theme's RTL
   right: 0 rule pins it to the edge instead of leaving it between the handles. */
.form-group-price .price-range-slider.ui-slider-horizontal .ui-slider-range {
 right:auto !important;
}
/* The map's advanced-search template puts price in a half-width Bootstrap
   column. It is the only control in its row, so let it use that full row. */
.page-id-2219 .inner-search-advance .row > :has(> .form-group-price) {
 flex:0 0 100%;
 max-width:100%;
 width:100%;
}
/* Match the map popup on the home-page advanced-search popup. */
.home.page-id-19 .inner-search-advance .row > :has(> .form-group-price) {
 flex:0 0 100%;
 max-width:100%;
 width:100%;
}
/* Give longer amenity names room in the map advanced-search popup. */
.page-id-2219 .inner-search-advance .form-group-amenity .circle-check {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 column-gap:24px;
 row-gap:12px;
 align-items:start;
}
.page-id-2219 .inner-search-advance .form-group-amenity .circle-check li {
 float:none;
 width:auto;
 min-width:0;
 margin:0;
 line-height:1.55;
}
.page-id-2219 .inner-search-advance .form-group-amenity .circle-check label {
 display:flex;
 align-items:flex-start;
 gap:10px;
 line-height:1.55;
}
.page-id-2219 .inner-search-advance .form-group-amenity .circle-check label:before {
 flex:0 0 16px;
 margin:5px 0 0;
}
