/* Property banner supplied by the admin; empty banners retain existing cards. */
.ark-market-featured .ark-new-badge{position:absolute;z-index:2;top:20px;right:20px;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:#214f73;color:#fff;border-radius:999px;font-size:16px;font-weight:400;line-height:1.4}
.ark-new-badge svg{flex:none}
.ark-market-featured.ark-has-banner{height:auto!important;display:flex;flex-direction:column;align-self:start}
.ark-market-featured.ark-has-banner>img{display:block;width:100%;height:auto;aspect-ratio:2.65;object-fit:cover}
.ark-property-banner{background:#211f1c;color:#fff;padding:24px 32px;overflow-wrap:anywhere;word-break:normal}
.ark-property-banner h2{color:inherit;margin:0;font-size:clamp(22px,2.4vw,38px);font-weight:400;line-height:1.4;white-space:pre-wrap}
.ark-property-banner strong{font-weight:700}
.ark-property-banner p{color:inherit;margin:10px 0 0;font-size:16px;line-height:1.6;white-space:pre-wrap}
.ark-property-card>.ark-property-banner{padding:16px 20px}
.ark-property-card>.ark-property-banner h2{font-size:21px}
.ark-property-card>.ark-property-banner p{font-size:14px}
@media(max-width:600px){.ark-market-featured .ark-new-badge{top:12px;right:12px;padding:7px 12px;font-size:14px}.ark-property-banner{padding:18px 20px}.ark-property-banner h2{font-size:22px}.ark-property-banner p{font-size:14px}.ark-market-featured.ark-has-banner>img{aspect-ratio:1.85}}

/* Override legacy design-system heading/strong font shorthands only inside banners. */
#app .ark-market-grid .ark-property-banner{font-family:Heebo,"Noto Sans TC","Microsoft JhengHei","PingFang TC",sans-serif}
#app .ark-market-grid .ark-property-banner h2{font-family:inherit!important;font-size:clamp(24px,2.4vw,38px)!important;font-weight:300!important;font-variation-settings:"wght" 300!important;line-height:1.4!important;letter-spacing:0!important;margin:0!important;color:#fff!important}
#app .ark-market-grid .ark-property-banner h2 strong{font:inherit!important;font-weight:700!important;font-variation-settings:"wght" 700!important;letter-spacing:inherit!important;vertical-align:baseline}
#app .ark-market-grid .ark-property-banner p{font-family:inherit!important;font-size:16px!important;font-weight:300!important;font-variation-settings:"wght" 300!important;line-height:1.6!important;letter-spacing:0!important;margin:10px 0 0!important;color:#fff!important}
#app .ark-market-grid .ark-property-card>.ark-property-banner h2{font-size:21px!important}
#app .ark-market-grid .ark-property-card>.ark-property-banner p{font-size:14px!important}
#app .ark-market-grid .ark-new-badge{font-weight:400!important;font-variation-settings:"wght" 400!important}
@media(max-width:600px){#app .ark-market-grid .ark-property-banner h2{font-size:22px!important}#app .ark-market-grid .ark-property-banner p{font-size:14px!important}}
