/* Keep every home-page property slide consistent, even when listing text varies. */
.properties .property-track{align-items:stretch}
.properties .property-track .property-card{display:flex;flex-direction:column;height:auto;align-self:stretch}
.properties .property-track .property-image{height:215px;min-height:215px;flex:none}
.properties .property-track .property-info{display:flex;flex:1;flex-direction:column;min-width:0}
.properties .property-track .property-title{height:48px;min-height:48px;max-height:48px;overflow:hidden}
.properties .property-track .property-title>div{min-width:0;width:100%}
.properties .property-track .property-title h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.35;max-height:2.7em}
.properties .property-track .property-location.property-card-location{display:flex;align-items:center;gap:5px;height:22px;min-height:22px;max-height:22px;margin:0 0 3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#495449;font-size:12px;font-weight:500;letter-spacing:0;line-height:1.2;text-transform:none}
.properties .property-track .property-card-location span{flex:none;font-size:13px}
.properties .property-track .property-description{display:-webkit-box;height:61px;min-height:61px;max-height:61px;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;line-height:1.45}
.properties .property-track .property-gallery{display:none}
.properties .property-track .reference-prices{min-height:61px;align-content:start}
.properties .property-track .property-actions{min-height:38px;margin-top:auto;align-items:flex-start}
.properties .property-track .property-actions a:nth-child(n+4){display:none}
.properties .property-track .property-actions a{min-width:0;overflow:hidden;text-overflow:ellipsis}
.properties .property-track .property-card{border:1px solid #b7d89f;border-radius:4px;background:#fff;box-shadow:0 2px 7px rgba(45,86,32,.13);overflow:hidden}
.properties .property-track .property-image{border-radius:3px 3px 0 0}
.properties .property-track .property-info{padding:5px 12px 10px;text-align:center}
.properties .property-track .property-title{justify-content:center;text-align:center}
.properties .property-track .property-title h3{font-family:var(--sans);font-size:16px;font-weight:700;letter-spacing:0;line-height:1.25}
.properties .property-track .property-location.property-card-location{justify-content:center;height:24px;min-height:24px;max-height:24px;margin:0;color:#222;font-size:13px;font-weight:500;white-space:normal}
.properties .property-track .property-card-location span{font-size:14px}
.properties .property-track .property-description{height:43px;min-height:43px;max-height:43px;padding:0 0 7px;border-bottom:1px solid #e5e8e1;text-align:center;font-family:var(--sans);font-size:13px;line-height:1.4;color:#222;-webkit-line-clamp:2;line-clamp:2}
.properties .property-track .reference-prices{height:63px;min-height:63px;padding:7px 0 9px;gap:8px;text-align:center;align-content:start}
.properties .property-track .reference-prices b{min-height:30px;margin-bottom:1px;font-size:13px;line-height:1.25}
.properties .property-track .reference-prices strong{width:max-content;max-width:100%;margin:0 auto;border-radius:0 0 14px 14px;background:var(--theme-secondary,#67ad3c);padding:3px 9px;font-size:13px;line-height:1.3;white-space:nowrap}
.properties .property-track .property-actions{min-height:36px;margin:8px 0 0;gap:8px;align-items:center}
.properties .property-track .property-actions a{border-radius:18px;background:var(--theme-secondary,#67ad3c);color:#fff;padding:6px 8px;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:.5px;text-align:center;white-space:nowrap}
.properties .property-track .property-actions a:hover{background:#5b9e31}
.properties .property-track .property-card[data-category="sold"] .property-tag{display:none}
.properties .property-track .property-card[data-category="sold"] .property-image{overflow:hidden}
.properties .property-track .property-card[data-category="sold"] .property-image:before{content:'SOLD OUT';position:absolute;z-index:3;top:23px;right:-45px;width:150px;height:37px;display:grid;place-items:center;transform:rotate(45deg);background:var(--theme-primary,#d8343b);color:white;font:600 16px var(--sans);letter-spacing:1.2px;box-shadow:0 2px 6px rgba(0,0,0,.25)}
@media(max-width:640px){
  .properties .property-track .property-image{height:160px;min-height:160px}
  .properties .property-track .property-title{height:38px;min-height:38px;max-height:38px}
  .properties .property-track .property-title h3{font-size:13px;line-height:1.3;max-height:2.6em}
  .properties .property-track .property-location.property-card-location{height:20px;min-height:20px;max-height:20px;font-size:11px}
  .properties .property-track .property-card-location span{font-size:12px}
  .properties .property-track .property-description{height:43px;min-height:43px;max-height:43px;font-size:11px;line-height:1.4}
  .properties .property-track .reference-prices{height:63px;min-height:63px;gap:3px}
  .properties .property-track .reference-prices b{font-size:10px}
  .properties .property-track .reference-prices strong{font-size:10px;padding:3px 5px}
  .properties .property-track .property-actions{min-height:32px;gap:4px}
  .properties .property-track .property-actions a{font-size:9px;padding:6px 3px;letter-spacing:0}
}
/* Mobile carousel: make one card readable at a time and let listing copy wrap. */
@media(max-width:640px){
  .properties .property-viewport{margin-right:0;overflow:hidden}
  .properties .property-track{gap:12px;align-items:stretch}
  .properties .property-track .property-card{flex:0 0 90%;width:90%;min-width:0;overflow:hidden}
  .properties .property-track .property-image{height:175px;min-height:175px}
  .properties .property-track .property-info{padding:12px 12px 14px}
  .properties .property-track .property-title{height:auto;min-height:42px;max-height:none;overflow:visible;white-space:normal}
  .properties .property-track .property-title h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;font-size:14px;line-height:1.35;max-height:none;overflow-wrap:anywhere}
  .properties .property-track .property-location.property-card-location{height:auto;min-height:24px;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
  .properties .property-track .property-description{display:block;height:auto;min-height:0;max-height:none;overflow:visible;overflow-wrap:anywhere;line-height:1.45}
  .properties .property-track .reference-prices{height:auto;min-height:62px;gap:6px;padding:8px 0;align-content:start}
  .properties .property-track .reference-prices b{min-height:0;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
  .properties .property-track .reference-prices strong{max-width:100%;font-size:11px;white-space:normal;overflow-wrap:anywhere}
  .properties .property-track .property-specs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 10px;line-height:1.35}
  .properties .property-track .property-actions{height:auto;min-height:34px;flex-wrap:wrap;gap:6px}
  .properties .property-track .property-actions a{white-space:normal;overflow-wrap:anywhere;line-height:1.25}
}
/* Final narrow-screen repair for featured property carousel cards. */
@media(max-width:640px){
  .properties .property-viewport{width:100%;margin-right:0!important;padding-right:0;overflow:hidden}
  .properties .property-track{gap:10px!important;align-items:stretch}
  .properties .property-track>.property-card{box-sizing:border-box;flex:0 0 94%!important;width:94%!important;min-width:0;max-width:94%;overflow:hidden}
  .properties .property-track>.property-card .property-info{display:flex;flex-direction:column;justify-content:flex-start!important;gap:0;height:auto!important;min-height:0!important;padding:11px 12px 13px!important}
  .properties .property-track>.property-card .property-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 5px;overflow:visible!important;text-align:left}
  .properties .property-track>.property-card .property-title>div{flex:1;min-width:0;width:auto}
  .properties .property-track>.property-card .property-card-location{display:block;width:100%;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 5px!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip;line-height:1.35;text-align:left}
  .properties .property-track>.property-card .property-title h3{display:block;height:auto!important;min-height:0!important;max-height:none!important;margin:0;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;font-size:15px;line-height:1.3;text-align:left}
  .properties .property-track>.property-card .property-description{display:block;height:auto!important;min-height:0!important;max-height:none!important;margin:6px 0 9px;padding:0 0 8px;overflow:visible!important;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
  .properties .property-track>.property-card .home-agent{flex:none;width:100%;margin:7px 0 8px!important}
  .properties .property-track>.property-card .home-agent-copy{min-width:0;overflow-wrap:anywhere}
  .properties .property-track>.property-card .property-specs:empty{display:none!important}
  .properties .property-track>.property-card .property-specs{height:auto!important;min-height:0!important;margin:0!important;padding:5px 0!important;flex-wrap:wrap;gap:4px 8px;line-height:1.35}
  .properties .property-track>.property-card .property-price{height:auto!important;min-height:0!important;margin:5px 0 0!important;padding:8px 0!important;gap:8px;align-items:flex-start;flex-wrap:wrap}
  .properties .property-track>.property-card .property-price strong,.properties .property-track>.property-card .property-price span{max-width:100%;overflow-wrap:anywhere;white-space:normal}
  .properties .property-track>.property-card .property-actions{height:auto!important;min-height:0!important;margin:6px 0 0!important;padding:0;flex-wrap:wrap;gap:6px}
  .properties .property-track>.property-card .property-actions a{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.3}
}
/* Text flow and compact spacing override for compact mobile cards. */
@media(max-width:640px){
  .properties .property-track>.property-card .property-info{text-align:left!important;justify-content:flex-start!important;gap:0!important}
  .properties .property-track>.property-card .property-title{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:8px;text-align:left!important;padding:0 0 8px!important;margin:0!important;border:0}
  .properties .property-track>.property-card .property-title>div{display:block;grid-column:1;grid-row:1;min-width:0;width:100%!important}
  .properties .property-track>.property-card .property-title .property-card-location{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 6px!important;overflow:visible!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.35!important}
  .properties .property-track>.property-card .property-title h3{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:visible!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.4!important}
  .properties .property-track>.property-card .property-title .property-arrow{grid-column:2;grid-row:1;position:static;align-self:start}
  .properties .property-track>.property-card .property-description{display:block!important;clear:both;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 8px!important;padding:7px 0!important;overflow:visible!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.45!important}
  .properties .property-track>.property-card .home-agent{margin:5px 0!important}
  .properties .property-track>.property-card .property-specs:empty{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
  .properties .property-track>.property-card .property-price{margin:2px 0 0!important;padding:6px 0!important}
}


/* Centered, high-contrast property action and rent/sale label. */
.properties .property-track .property-actions{display:flex!important;justify-content:center!important;align-items:center!important;min-height:48px!important;margin:9px 0 0!important;padding:0!important;gap:0!important}
.properties .property-track .property-actions a{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;gap:16px!important;width:max-content!important;min-width:158px!important;max-width:100%!important;min-height:42px!important;padding:5px 6px 5px 15px!important;border:0!important;border-radius:11px!important;background:#173b27!important;color:#fff!important;font-size:12px!important;font-weight:800!important;letter-spacing:0!important;line-height:1.2!important;text-align:left!important;text-decoration:none!important;white-space:nowrap!important;overflow:visible!important;box-shadow:0 2px 5px rgba(18,48,29,.16)}
.properties .property-track .property-actions a:hover{background:#245d35!important;color:#fff!important;transform:translateY(-1px)}
.properties .property-track .property-actions a .property-action-arrow{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:7px;background:#c9f64a;color:#173b27;font-size:21px;font-weight:900;line-height:1}
.properties .property-track .property-price span{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:5px 9px;border:1px solid #b9d7a8;border-radius:999px;background:#edf5e8;color:#173b27!important;font-size:11px;font-weight:800;line-height:1.25;text-align:center;overflow-wrap:anywhere}
@media(max-width:640px){.properties .property-track>.property-card .property-actions{justify-content:center!important;min-height:44px!important;margin:8px 0 0!important;flex-wrap:nowrap!important}.properties .property-track>.property-card .property-actions a{width:max-content!important;min-width:min(158px,100%)!important;max-width:100%!important;min-height:40px!important;font-size:11px!important}.properties .property-track>.property-card .property-actions a .property-action-arrow{flex-basis:29px;width:29px;height:29px;font-size:20px}.properties .property-track>.property-card .property-price span{font-size:10px;padding:4px 7px}}


/* Location-pin icon sizing for cards. */
.properties .property-track .property-card-location .property-location-icon,.listing-location .property-location-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 14px;width:14px;height:16px;color:#477c58}
.properties .property-track .property-card-location .property-location-icon svg,.listing-location .property-location-icon svg{display:block;width:14px;height:14px;fill:currentColor}
.listing-location{display:flex;align-items:flex-start;gap:5px}
.listing-location .property-location-icon{margin-top:1px}


/* Inline green price and rental period treatment. */
.properties .property-track .property-price{justify-content:flex-start!important;align-items:baseline!important;gap:6px!important;flex-wrap:wrap!important}
.properties .property-track .property-price strong{color:#287341!important;font-size:17px!important;font-weight:800!important;white-space:nowrap}
.properties .property-track .property-price span{display:inline!important;max-width:none!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#287341!important;font-size:13px!important;font-weight:500!important;line-height:1.2!important;white-space:nowrap!important}
@media(max-width:640px){.properties .property-track>.property-card .property-price{align-items:baseline!important;gap:5px!important;flex-wrap:wrap!important}.properties .property-track>.property-card .property-price strong{font-size:15px!important}.properties .property-track>.property-card .property-price span{font-size:12px!important}}


/* Reference card hierarchy and centered type-price row. */
.properties .property-track .property-info{padding:12px 12px 13px!important;text-align:center!important;gap:0!important}
.properties .property-track .property-title{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 9px!important;overflow:visible!important;text-align:center!important}
.properties .property-track .property-title>div{width:100%!important;min-width:0;text-align:center!important}
.properties .property-track .property-title .property-card-location{justify-content:center!important;width:100%;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 5px!important;overflow:visible!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere}
.properties .property-track .property-title h3{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:visible!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere;font-size:15px;line-height:1.35}
.properties .property-track .home-agent{box-sizing:border-box;width:100%;min-height:50px;margin:3px 0 8px!important;padding:7px 10px!important;border:1px solid #d2e3c8;border-radius:11px;background:#edf5e8;text-align:left}
.properties .property-track .home-agent-copy small{color:#596b5b!important}
.properties .property-track .home-agent-copy strong{color:#173b27!important}
.properties .property-track .property-type-price{display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap;width:100%;padding:2px 0 8px}
.properties .property-track .property-type-label{color:#17251c;font-size:12px;font-weight:600}
.properties .property-track .property-type-price .property-price{display:flex;align-items:baseline;justify-content:flex-start;gap:5px;flex-wrap:wrap;margin:0!important;padding:0!important}
.properties .property-track .property-type-price .property-price strong{color:#287341!important;font-size:17px!important;font-weight:800!important}
.properties .property-track .property-type-price .property-price span{display:inline!important;padding:0!important;border:0!important;background:none!important;color:#287341!important;font-size:13px!important;font-weight:500!important;white-space:nowrap!important}
.properties .property-track .property-specs{display:flex;justify-content:center;flex-wrap:wrap;gap:5px 9px;margin:0!important;padding:0 0 8px!important;font-size:11px;text-align:center}
.properties .property-track .property-card-divider{width:100%;height:1px;margin:0 0 8px;background:#e4e9e1}
.properties .property-track .property-actions{margin:0!important;min-height:46px!important}
@media(max-width:640px){.properties .property-track>.property-card .property-info{padding:11px 12px 12px!important;text-align:center!important}.properties .property-track>.property-card .property-title{display:block!important;text-align:center!important}.properties .property-track>.property-card .property-title>div{width:100%!important;text-align:center!important}.properties .property-track>.property-card .property-title .property-card-location{justify-content:center!important;text-align:center!important}.properties .property-track>.property-card .property-title h3{text-align:center!important}.properties .property-track>.property-card .home-agent{margin:2px 0 7px!important}.properties .property-track>.property-card .property-type-price{gap:6px;justify-content:center}.properties .property-track>.property-card .property-type-price .property-price strong{font-size:15px!important}.properties .property-track>.property-card .property-type-price .property-price span{font-size:12px!important}.properties .property-track>.property-card .property-specs{justify-content:center!important}}
