/* Rubani Cars: availability notice for a journal note. Kept separate from the editorial styles. Uses site.css tokens. */
.sale-badge { margin: 0 0 1rem; }
.sale-badge a { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.8rem 0.4rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); background: rgba(198, 181, 154, 0.07); font-family: var(--font-display); font-weight: 700; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.sale-badge a::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(198, 181, 154, 0.18); }
.sale-badge a:hover, .sale-badge a:focus-visible { background: rgba(198, 181, 154, 0.16); color: var(--text); }
.sale-notice { margin: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3.5rem); padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.5rem); border: 1px solid rgba(198, 181, 154, 0.45); border-left: 3px solid var(--accent); background: linear-gradient(100deg, rgba(198, 181, 154, 0.10), rgba(198, 181, 154, 0.02) 60%), var(--bg-raise); display: grid; gap: 0.6rem 2.5rem; grid-template-columns: minmax(0, 1fr); }
.sale-notice .sale-label { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.sale-notice h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.sale-notice p { margin: 0; max-width: 40rem; }
.sale-notice .sale-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 0.5rem; }
.sale-notice .sale-fine { font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 900px) {
  .sale-notice { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .sale-notice .sale-label, .sale-notice h2, .sale-notice > p:not(.sale-actions) { grid-column: 1; }
  .sale-notice .sale-actions { grid-column: 2; grid-row: 1 / span 4; margin: 0; flex-direction: column; align-items: flex-start; }
}
.related { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
/* FOR SALE sign on a journal card image (set by for_sale.enabled + for_sale.live in the renderer). */
.card-media { position: relative; }
.card-sale-badge { position: absolute; top: clamp(0.65rem, 1.6vw, 1rem); right: clamp(0.65rem, 1.6vw, 1rem); z-index: 1; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.85rem 0.47rem; border: 1px solid rgba(198, 181, 154, 0.9); border-radius: 999px; background: rgba(7, 8, 10, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; white-space: nowrap; pointer-events: none; -webkit-font-smoothing: antialiased; }
.card-sale-badge::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(198, 181, 154, 0.2); }
.card-link:hover .card-sale-badge, .card-link:focus-visible .card-sale-badge { color: var(--text); border-color: var(--accent); }
@media (max-width: 480px) { .card-sale-badge { font-size: 0.6875rem; padding: 0.48rem 0.8rem 0.45rem; } }
/* /collection/ cards: enquiry link under each car (Dec 2026). */
.card-actions { margin: 0.9rem 0 0; }
.card-actions .text-action { color: var(--accent); }
/* /collection/ refinements (Dec 2026): model fact line, underlined price-guide link, sourcing card, process line. */
.page-intro .process-line { margin: 1rem 0 1.1rem; max-width: 40rem; font-size: 0.9375rem; color: var(--text); padding-left: 0.9rem; border-left: 2px solid var(--accent); }
.card .card-fact { margin: 0.65rem 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--text); }
.card .card-fact + .excerpt { margin-top: 0.45rem; }
.card .excerpt a { color: var(--text); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.card .excerpt a:hover, .card .excerpt a:focus-visible { color: var(--accent); }
.card-media--panel { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin-bottom: 0.9rem; border: 1px solid var(--line); background: radial-gradient(85% 115% at 50% 0%, rgba(120, 84, 40, 0.5), rgba(120, 84, 40, 0) 68%), var(--bg-raise); }
.card-media--panel .panel-mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(198, 181, 154, 0.62); }
.card-media--panel .card-badge--sourcing::before { display: none; }
.card-link:hover .card-media--panel .panel-mark, .card-link:focus-visible .card-media--panel .panel-mark { color: var(--accent); }
.card--sourcing .card-link:hover h2 { color: var(--accent); }
