/* Life in Azizi: public cards only. No Firebase or admin changes. */
#propertyCards.cards {align-items:stretch!important;grid-auto-rows:1fr!important}
#propertyCards .property-public-card {display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important;box-sizing:border-box!important}
#propertyCards .property-public-image {display:block!important;position:relative!important;height:170px!important;min-height:170px!important;max-height:170px!important;flex:0 0 170px!important;overflow:hidden!important}
#propertyCards .property-public-image>img,#propertyCards .property-public-image>.property-no-photo {width:100%!important;height:100%!important;object-fit:cover!important}
#propertyCards .property-public-body {display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:28px 58px 43px 34px 36px 46px!important;gap:5px!important;align-content:start!important;flex:1 0 auto!important;min-width:0!important}
#propertyCards .property-public-body>* {box-sizing:border-box!important;min-width:0!important;margin-top:0!important;margin-bottom:0!important}
#propertyCards .property-public-badge {align-self:center!important;justify-self:start!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#propertyCards .property-public-body h3 {align-self:start!important;line-height:1.35!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
#propertyCards .property-public-body p {align-self:center!important;line-height:1.4!important;max-height:42px!important;overflow:hidden!important}
#propertyCards .property-public-body strong {align-self:center!important;line-height:1.3!important}
#propertyCards .property-public-reference {align-self:center!important;justify-self:start!important}
#propertyCards .property-ref-placeholder {visibility:hidden!important}
#propertyCards .property-public-view {align-self:center!important;justify-self:start!important;white-space:nowrap!important}
/* Request cards: variable notes may wrap, but the contact button stays at the bottom. */
#rqList.rq-grid {align-items:stretch!important;grid-auto-rows:1fr!important}
#rqList .rq-card {display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;box-sizing:border-box!important}
#rqList .rq-card h3 {line-height:1.35!important;min-height:2.7em!important;margin:0 0 12px!important}
#rqList .rq-card .rq-meta {flex:0 0 auto!important}
#rqList .rq-card .rq-wa {margin-top:auto!important;align-self:flex-start!important;flex:0 0 auto!important}
#rqList .rq-card p {overflow-wrap:anywhere!important}
/* Business cards: identical media, text, and action slots. */
#businessCards.cards {align-items:stretch!important;grid-auto-rows:1fr!important}
#businessCards .business-live-card {display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important;box-sizing:border-box!important}
#businessCards .business-cover-open {display:block!important;flex:0 0 190px!important;width:100%!important;height:190px!important;min-height:190px!important;max-height:190px!important;overflow:hidden!important;padding:0!important}
#businessCards .business-cover {width:100%!important;height:190px!important;object-fit:cover!important}
#businessCards .business-live-content {display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:32px 58px 42px 50px!important;gap:7px!important;align-content:start!important;flex:1 0 auto!important;min-width:0!important}
#businessCards .business-live-content>* {min-width:0!important;box-sizing:border-box!important;margin-top:0!important;margin-bottom:0!important}
#businessCards .business-live-content h3 {align-self:center!important;line-height:1.3!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
#businessCards .business-live-content p {align-self:center!important;line-height:1.35!important;max-height:42px!important;overflow:hidden!important}
#businessCards .business-live-content .show-discount {align-self:center!important;width:100%!important}
@media(max-width:600px){#propertyCards .property-public-body {grid-template-rows:28px 58px 43px 34px 36px 46px!important}#businessCards .business-live-content {grid-template-rows:32px 58px 42px 50px!important}}
