/* HORIZON PROPERTIES: FIX THE PROPERTY CARD IN THE OWNER'S SCREENSHOT ONLY.
 * Preserves every previously approved site-wide color, menu, shape and layout.
 * Pill actions are the default. No generic button, header, or section overrides.
 */
.site-container #propertyGrid.property-grid {
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px;align-items:stretch;
}
.site-container #propertyGrid .buyer-card {
 display:flex;flex-direction:column;overflow:hidden;min-width:0;
 background:#fffefa;border:1px solid rgba(171,187,168,.38);
 border-radius:24px;box-shadow:0 14px 33px rgba(24,49,31,.09);
 color:#173e2d;
}
.site-container #propertyGrid .buyer-art {
 position:relative;display:block;width:100%;height:clamp(220px,24vw,295px);
 padding:13px;margin:0;border:0;background:#f5f3ed;cursor:pointer;
 overflow:hidden;text-align:center;
}
.site-container #propertyGrid .buyer-art img {
 display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fffefa;
}
.site-container #propertyGrid .buyer-caption {
 position:absolute;left:17px;bottom:17px;z-index:1;
 display:inline-flex;align-items:center;justify-content:center;
 background:rgba(23,62,45,.94);color:#fff;padding:8px 15px;
 border-radius:999px;font:600 12px/1.6 'Noto Sans Bengali',Manrope,sans-serif;
}
.site-container #propertyGrid .buyer-body {
 display:flex;flex-direction:column;flex:1;min-width:0;gap:0;
 padding:clamp(21px,3vw,28px);
}
.site-container #propertyGrid .buyer-area {
 color:#6e846f;font:600 12px/1.7 Manrope,'Noto Sans Bengali',sans-serif;
 margin:0 0 7px;overflow-wrap:anywhere;
}
.site-container #propertyGrid .buyer-body h3 {
 font:700 clamp(23px,2.5vw,31px)/1.32 'Libre Baskerville',Georgia,'Noto Sans Bengali',serif;
 letter-spacing:-.028em;margin:0 0 20px;color:#173e2d;overflow-wrap:anywhere;
}
.site-container #propertyGrid dl.buyer-facts {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:0 16px;padding:10px 0;margin:0;border-top:1px solid #e4e9df;
 border-bottom:1px solid #e4e9df;
}
.site-container #propertyGrid .buyer-facts>div {
 display:flex;flex-direction:column;min-width:0;
 padding:9px 0;margin:0;
}
.site-container #propertyGrid .buyer-facts dt {
 margin:0 0 4px;font:600 12px/1.5 'Noto Sans Bengali',Manrope,sans-serif;color:#6d816f;
}
.site-container #propertyGrid .buyer-facts dd {
 margin:0;padding:0;font:500 13px/1.7 'Noto Sans Bengali',Manrope,sans-serif;
 color:#254632;overflow-wrap:anywhere;
}
.site-container #propertyGrid .buyer-facts>div:last-child:nth-child(odd){grid-column:1/-1;}
.site-container #propertyGrid .hp-card-pricing {
 display:flex;align-items:baseline;justify-content:space-between;gap:10px;
 padding:15px 0 4px;margin:2px 0 6px;flex-wrap:wrap;
}
.site-container #propertyGrid .hp-card-pricing span{font-size:11px;color:#8a7856;letter-spacing:.1em;font-weight:600;}
.site-container #propertyGrid .hp-card-pricing strong {
 font:700 clamp(16px,2vw,21px)/1.5 'Libre Baskerville',Georgia,'Noto Sans Bengali',serif;
 color:#17462f;overflow-wrap:anywhere;
}
.site-container #propertyGrid .buyer-actions {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
 align-items:stretch;margin-top:auto;padding-top:15px;min-width:0;
}
.site-container #propertyGrid .buyer-actions :is(button,a) {
 box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
 min-height:45px;min-width:0;width:100%;padding:10px 13px;
 border:1px solid #d1dfd2;border-radius:999px;
 background:#fffefa;color:#1e4934;text-decoration:none;
 text-align:center;white-space:normal;overflow-wrap:anywhere;
 font:600 12px/1.55 'Noto Sans Bengali',Manrope,sans-serif;
 box-shadow:0 5px 14px rgba(22,54,34,.055);cursor:pointer;
}
.site-container #propertyGrid .buyer-actions .buyer-action-detail {
 background:#173e2d;color:#fff;border-color:#173e2d;
}
.site-container #propertyGrid .buyer-actions :is(button,a):hover {
 border-color:#a1b6a4;box-shadow:0 7px 16px rgba(28,64,40,.12);
}
.site-container #propertyGrid .buyer-actions .buyer-action-detail:hover{background:#22543c;color:#fff;}
.site-container #propertyGrid .buyer-actions .hp-action-quiet {grid-column:1/-1;}
.site-container #propertyGrid .buyer-actions :is(button,a):focus-visible,
.site-container #propertyGrid .buyer-art:focus-visible{outline:3px solid #b9a16c;outline-offset:2px;}
@media(max-width:540px){
 .site-container #propertyGrid.property-grid{grid-template-columns:minmax(0,1fr);gap:17px}
 .site-container #propertyGrid .buyer-body{padding:20px}
 .site-container #propertyGrid .buyer-body h3{font-size:24px}
 .site-container #propertyGrid .buyer-art{height:220px}
 .site-container #propertyGrid .buyer-actions :is(button,a){min-height:45px}
}
