/* Shared Sold/Leased label sizing and typography; each status has its own color. */
.listing-status-badge {
    /* Scale the label's text, padding and tracking together. */
    --listing-badge-scale: 1.3;
    --listing-badge-font-family: "beaufort-pro", serif;
    display: inline-block;
    box-sizing: border-box;
    padding: calc(4px * var(--listing-badge-scale)) calc(12px * var(--listing-badge-scale));
    background: rgba(255, 0, 0, .8);
    color: #fff;
    font: italic 700 calc(22px * var(--listing-badge-scale))/1 var(--listing-badge-font-family);
    letter-spacing: calc(.8px * var(--listing-badge-scale));
    text-transform: uppercase;
}
.listing-status-badge--leased {
    background: rgba(255, 127, 0, .8); /* Bright orange #FF7F00, preserving 80% opacity. */
}
/* Match the card artwork: Prime Bank St's left edge and 1,500 SQFT's bottom edge.
   Percentages keep the alignment tied to the image as the card resizes. */
.listings-card-artwork > .listing-status-badge {
    position: absolute;
    left: 6.5%;
    bottom: 8.1%;
}
.listing-detail-map-container > .listing-detail-status {
    flex: 0 0 auto;
    margin: 0;
    padding: 5px 0 0;
    border: 0;
}
@media (max-width: 1000px) {
    .listing-status-badge {
        font-size: calc(18px * var(--listing-badge-scale));
    }
    .listings-card-artwork > .listing-status-badge { padding: calc(4px * var(--listing-badge-scale)) calc(8px * var(--listing-badge-scale)); }
}
