/* „Schimb imobiliar” (views/schimb/*.ejs): peste stilurile anunțurilor de coleg (colegi.css, cl-*), în violet; făcut după parcari.css */
.sx .cl-hero { background: linear-gradient(135deg, #0f172a, #4c1d95 55%, #6d28d9); }
.sx .cl-lead:not(.cl-lead--dark), .sx .cl-crumbs:not(.cl-crumbs--dark) { color: #ede9fe; }
.sx .cl-btn { background: #6d28d9; border-color: #6d28d9; }
.sx .cl-btn--light { background: #fff; color: #5b21b6; border-color: #fff; }
.sx .cl-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.sx .cl-btn--soft { background: #f5f3ff; color: #5b21b6; border-color: #ddd6fe; }
.sx .cl-card__price, .sx .cl-ad__price { color: #5b21b6; }
.sx .cl-pages a[aria-current] { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.sx .cl-card__img { background: #f5f3ff; }
.sx .cl-cities a[aria-current] { border-color: #6d28d9; color: #5b21b6; background: #f5f3ff; }
.sx .cl-cities span { background: #ede9fe; color: #5b21b6; }
.sx .cl-short { border-color: #ddd6fe; border-left-color: #6d28d9; }
.sx .cl-short__l { color: #6d28d9; }
.sx .cl-sec a, .sx .cl-link { color: #6d28d9; }
.sx .cl-checks li::before { background: #ede9fe; color: #6d28d9; }
.sx .cl-cta { background: linear-gradient(135deg, #4c1d95, #6d28d9); }
.sx .cl-cta p { color: #ede9fe; }
.sx .cl-av { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.sx-ph { color: #6d28d9; font-size: 2rem !important; background: repeating-linear-gradient(135deg, #f5f3ff 0 14px, #ede9fe 14px 28px) !important; }
.sx-ph--garaj, .sx-ph--boxa { font-size: 1.4rem !important; color: #334155; background: repeating-linear-gradient(135deg, #f8fafc 0 14px, #e2e8f0 14px 28px) !important; }
.sx-tag--inchiriere { background: #6d28d9; }
.sx-tag--vanzare { background: #b45309; }
.sx-res { padding: 16px 18px; border-radius: 16px; background: #f5f3ff; border: 1px solid #ddd6fe; }
.sx-res h2 { font-size: 1.2rem !important; }
.sx-kind--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-phone { font-size: 1.05rem; letter-spacing: .02em; }
/* banda de promovare de pe alte pagini (views/partials/parcari-promo.ejs) */
.sx-promo { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #f5f3ff, #faf5ff); border: 1px solid #ddd6fe; }
.sx-promo__t { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.sx-promo__t b { color: #4c1d95; font-size: 1rem; }
.sx-promo__t span { color: #6d28d9; font-size: .88rem; }
.sx-promo a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px; border-radius: 12px; background: #6d28d9; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; }
/* anunțul inactiv (șters de autor, expirat, pe pauză): rămâne pe site, fără contact */
.sx-inactive { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 14px; padding: 12px 16px; border-radius: 14px; background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; }
.sx-inactive b { color: #0f172a; font-size: 1.02rem; }
.sx-inactive span { flex: 1 1 260px; font-size: .92rem; }
.sx-inactive .cl-btn { min-height: 40px; padding: 7px 14px; font-size: .9rem; }
.sx-tag--inactiv { background: #64748b; }
.sx .sx-price--old { color: #475569; font-size: 1.1rem; }
.sx .cl-more a { color: #6d28d9; }
/* cardul: „Ofer” și „Caut” pe câte un rând */
.sx-line { display: block; color: #334155; font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.sx-line b { display: inline-block; min-width: 42px; margin-right: 4px; padding: 1px 7px; border-radius: 6px; background: #ede9fe; color: #5b21b6; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }
.sx-line--want b { background: #fef3c7; color: #92400e; }
.sx-line:first-child { color: #0f172a; font-weight: 700; }
.sx-ph { font-size: 2.6rem !important; color: #6d28d9 !important; background: repeating-linear-gradient(135deg, #f5f3ff 0 14px, #ede9fe 14px 28px) !important; }
.sx-tag { background: #16a34a; }
/* pagina anunțului: cele două coloane, „Am” și „Caut” */
.sx-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 12px 0; }
@media (min-width: 640px) { .sx-pair { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; } }
.sx-side { padding: 14px 16px; border-radius: 14px; border: 1px solid #ddd6fe; background: #f5f3ff; }
.sx-side--want { border-color: #fde68a; background: #fffbeb; }
.sx-side small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6d28d9; margin-bottom: 4px; }
.sx-side--want small { color: #92400e; }
.sx-side p { margin: 0; color: #0f172a; font-weight: 700; line-height: 1.4; }
.sx-side span { display: block; margin-top: 4px; color: #475569; font-size: .88rem; }
.sx-arrow { display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #6d28d9; }
.sx-match h2 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sx-match h2 small { font-size: .9rem; font-weight: 600; color: #64748b; }
.sx-none { padding: 14px 16px; border: 1px dashed #ddd6fe; border-radius: 14px; color: #475569; background: #fff; }
/* formularul: cele două părți */
.sx-part { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid #ddd6fe; background: #faf5ff; }
.sx-part--want { border-color: #fde68a; background: #fffbeb; }
.sx-part h2 { margin: 0; font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.sx-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.sx-kinds label { display: flex !important; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; font-weight: 600 !important; cursor: pointer; }
.sx-kinds label:has(input:checked) { border-color: #7c3aed; box-shadow: 0 0 0 2px #ede9fe; }
.sx-part--want .sx-kinds label:has(input:checked) { border-color: #d97706; box-shadow: 0 0 0 2px #fef3c7; }
.sx-form label[hidden] { display: none !important; }
/* cardurile din secțiunile paginii: fără sublinierea legăturilor din .cl-sec; fără poză, mai scunde */
.sx .cl-sec a.cl-card, .sx .cl-sec a.cl-card:hover { text-decoration: none; color: inherit; }
.sx-card .cl-card__img:has(.sx-ph) { aspect-ratio: 3 / 1; }
