.ervin-re-available-homes{grid-column:1/-1}.ervin-re-listing-grid{display:grid;gap:1.25rem;grid-template-columns:repeat(2,minmax(0,1fr))}.ervin-re-listing-card{background:#fff;border:1px solid #d9e2ec;border-radius:14px;box-shadow:0 8px 24px rgba(16,42,67,.07);overflow:hidden}.ervin-re-listing-card>a{display:block}.ervin-re-listing-card img{aspect-ratio:16/10;display:block;object-fit:cover;width:100%}.ervin-re-listing-card__body{padding:1.15rem}.ervin-re-listing-card__top{align-items:center;display:flex;gap:.75rem;justify-content:space-between}.ervin-re-listing-card__top strong,.ervin-re-listing-detail__price{color:#102a43;font-size:1.35rem}.ervin-re-listing-card h3{font-size:1.15rem;margin:.65rem 0 .35rem}.ervin-re-listing-card h3 a{color:#102a43;text-decoration:none}.ervin-re-listing-card p{color:#486581;margin:.5rem 0}.ervin-re-listing-facts{display:flex;flex-wrap:wrap;gap:.55rem;margin:.8rem 0}.ervin-re-listing-facts span{background:#eef6fc;border-radius:999px;color:#174f78;padding:.35rem .65rem}.status{background:#e7f6ec;border-radius:999px;color:#176b37;font-size:.75rem;font-weight:800;padding:.35rem .65rem;text-transform:uppercase}.status--pending{background:#fff4d6;color:#845d00}.ervin-re-listing-button{background:#186faf;border:1px solid #186faf;border-radius:8px;color:#fff;display:inline-block;font-weight:800;margin-top:.6rem;padding:.7rem 1rem;text-decoration:none}.ervin-re-listing-button.secondary{background:#fff;color:#186faf;margin-left:.35rem}.ervin-re-listing-detail{box-sizing:border-box;color:#243b53;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;margin:2rem auto;max-width:1180px}.ervin-re-listing-detail *{box-sizing:border-box}.ervin-re-listing-detail>header{background:linear-gradient(135deg,#102a43,#184d72);border-radius:20px;color:#fff;padding:2rem}.ervin-re-listing-detail>header h1{color:#fff;margin:.25rem 0}.ervin-re-listing-detail>header p{margin:.5rem 0 1rem}.ervin-re-listing-detail__gallery{display:grid;gap:.75rem;grid-template-columns:2fr 1fr 1fr;margin:1.25rem 0}.ervin-re-listing-detail__gallery img{aspect-ratio:4/3;border-radius:12px;height:100%;object-fit:cover;width:100%}.ervin-re-listing-detail__gallery img:first-child{grid-row:span 2}.ervin-re-listing-detail__layout{display:grid;gap:1.25rem;grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.ervin-re-listing-detail .ervin-re-card{background:#fff;border:1px solid #d9e2ec;border-radius:16px;padding:1.5rem}@media(max-width:700px){.ervin-re-listing-grid,.ervin-re-listing-detail__layout{grid-template-columns:1fr}.ervin-re-listing-detail{margin:1rem}.ervin-re-listing-detail__gallery{grid-template-columns:1fr 1fr}.ervin-re-listing-detail__gallery img:first-child{grid-column:1/-1;grid-row:auto}.ervin-re-listing-button{min-height:44px;text-align:center}.ervin-re-listing-button.secondary{margin-left:0}}

/* Canonical public listing detail only: do not restyle listing management or profile cards. */
body.ervin-public-listing-page{margin:0;background:#080f19}
.ervin-re-listing-detail{--navy:#172a40;--blue:#15549c;--ink:#172a40;--muted:#52657b;--line:#d5dfeb;--paper:#f8fafc;background:#080f19;color:#172a40;max-width:1240px;margin:0 auto;padding:32px clamp(16px,3vw,40px) 64px;font:16px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-wrap:anywhere}
.ervin-re-listing-detail :is(h1,h2,h3,h4){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:650;font-style:normal;letter-spacing:-.025em;line-height:1.2}.ervin-re-listing-detail :focus-visible{outline:3px solid #79aff5;outline-offset:4px}
.ervin-re-listing-brand{padding-bottom:22px;margin-bottom:28px;border-bottom:1px solid #2b3a4c}.ervin-re-listing-brand img{display:block;width:200px;max-width:100%;height:auto}
.ervin-re-listing-detail>header{background:linear-gradient(125deg,#192e49,#0d1826);border:1px solid #344b66;border-radius:16px;padding:clamp(24px,4vw,44px)}.ervin-re-listing-detail>header h1{font-size:clamp(30px,4vw,48px);color:#f1f5fb}.ervin-re-listing-detail>header p{color:#d9e6f7}.ervin-re-listing-detail>header .ervin-re-eyebrow{font-size:12px;color:#a7caff}
.ervin-re-listing-detail__gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.ervin-re-listing-detail__gallery img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;background:#101c2b;border:1px solid #2b3a4c;border-radius:12px;align-self:start}.ervin-re-listing-detail__gallery img:first-child{grid-column:1/-1;grid-row:auto;max-height:620px}
.ervin-re-listing-detail__layout{gap:24px;margin-top:24px}.ervin-re-listing-detail__layout>*{min-width:0}.ervin-re-listing-detail .ervin-re-card{background:#f8fafc;border:1px solid #d5dfeb;border-radius:12px;padding:26px;box-shadow:0 12px 30px #0002;color:#172a40}.ervin-re-listing-detail .ervin-re-card h2{color:#172a40;font-size:22px}.ervin-re-listing-detail__price{font-size:30px;color:#172a40;font-weight:650}.ervin-re-listing-detail .ervin-re-listing-facts span{background:#e5eefb;border-radius:6px;color:#174c8b}.ervin-re-listing-detail .ervin-re-listing-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;font-size:14px;line-height:1.4;font-weight:650;border-radius:7px;background:#15549c;border-color:#15549c;color:#fff}.ervin-re-listing-detail .ervin-re-listing-button.secondary{margin-left:0;background:#fff;color:#15549c}.ervin-re-listing-detail .ervin-re-card a:not(.ervin-re-listing-button){color:#15549c}.ervin-re-listing-detail :is(input,select,textarea,button){font:inherit;max-width:100%}.ervin-re-listing-detail :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,button){min-height:44px}.ervin-re-listing-detail img{max-width:100%}.ervin-re-listing-detail iframe{max-width:100%}
@media(max-width:820px){.ervin-re-listing-detail__layout{grid-template-columns:1fr}.ervin-re-listing-detail__gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ervin-re-listing-detail{margin:0;padding:20px 16px 40px}.ervin-re-listing-brand img{width:170px}.ervin-re-listing-detail .ervin-re-card{padding:20px}.ervin-re-listing-detail__gallery{gap:12px}.ervin-re-listing-detail .ervin-re-listing-button{width:100%}}

