/* Editorial pass, 2026-09-12. Loaded last; only overrides. Delete this file and
   its link in homes/index.html to remove the whole layer. */

/* Hero: one photograph, cropped so the water and terrace carry the frame. */
.discovery-page .search-estate{background-position:center 72%;padding-bottom:26px}
.discovery-page .search-estate:before{background:linear-gradient(180deg,#0b2329b8 0,#0b232930 96px,#0b232900 150px),linear-gradient(90deg,#0c292fd0 0%,#13353b66 50%,#173d4310 88%)}
.discovery-page .search-estate .browse-toolbar{border-bottom-color:#ffffff30}
.discovery-page .search-estate .location-picker summary,.discovery-page .search-estate #browse-label,.discovery-page .search-workspace button{text-shadow:0 1px 8px #0b232999;font-weight:600}
.discovery-page .search-estate .discovery-intro{padding:34px 0 22px}
.discovery-page .search-estate .discovery-intro .eyebrow{letter-spacing:.14em;color:#dcecef}
.discovery-page .search-estate .discovery-intro h1{font-size:46px;text-shadow:0 2px 18px #0b232966}
.discovery-page .discovery-subtitle{font-size:15px;color:#f0f6f7;text-shadow:0 1px 10px #0b232980}

/* Search: the card and the budget row are one object, not a card with a strip hanging off it. */
.discovery-page .search-estate .home-search-row{border-radius:8px 8px 0 0;box-shadow:0 14px 34px #0b232933}
.discovery-page .search-estate .possible-homes{margin:0;padding:0 16px;background:#fff;border-top:1px solid #e6edf3;border-radius:0 0 8px 8px;box-shadow:0 14px 34px #0b232933}
.discovery-page .search-estate .possible-compact{min-height:42px}
.discovery-page .search-estate .possible-compact strong{font-size:12px}
.discovery-page .search-estate .possible-compact #possible-budget-summary{font-size:12px;color:#586f82}
.discovery-page .search-estate .possible-estimate{display:none}
.discovery-page .search-estate .possible-edit{font-size:12px;font-weight:600;color:var(--blue)}

/* Collections: the tab row is the navigation; the title below it is editorial, not a repeat. */
.discovery-page .collection-actions button{font-size:12px}
.discovery-page .collection-actions button small{background:transparent;padding:0;color:#7a8ea1;font-size:11px}
.discovery-page .collection-actions button[aria-pressed=true] small{color:var(--blue)}
.discovery-shortcuts label{background:#fff;border-color:#e2e9ef;color:#4b6376;font-size:11.5px}
.discovery-heading-row{min-height:96px;padding:22px 0 18px}
.discovery-page .collection-intro h2{font:400 28px/1.2 Georgia,serif;letter-spacing:-.2px;color:#102744}
.discovery-page #result-summary{font-size:12.5px;color:#6b7f92;margin-top:2px}

/* Cards: one price, one address, one action. Everything else steps back. */
.discovery-page .home-card{border-color:#e3eaf0;box-shadow:0 1px 2px #19354b08}
.discovery-page .home-card:hover{border-color:#b9c9d8;box-shadow:0 10px 28px #19354b14}
.discovery-page .home-card .card-category{font-size:10.5px;font-weight:600;letter-spacing:.02em}
.discovery-page .card-price-line{min-height:0;align-items:start;margin-bottom:4px}
.discovery-page .home-card .card-price{font-size:22px}
.discovery-page .home-card .card-cost{min-height:0;line-height:1.4;color:#5b7186}
.discovery-page .card-cost-caption{font-size:10px;color:#7a8ea1}
.discovery-page .card-cost strong{font-size:12.5px;font-weight:600;color:#3e5670}
.discovery-page .card-cost:hover strong{color:var(--blue)}
.discovery-page .home-card .card-title{min-height:0;margin-bottom:9px}
.discovery-page .home-card .card-specs{margin-bottom:8px}
.discovery-page .card-specs .card-type{color:#3e5670;font-weight:600}
.discovery-page .home-card .card-extra-facts{color:#7a8ea1}
.discovery-page .home-card .card-attribution{font-size:10.5px;color:#8a9bab;padding-top:4px}
.discovery-page .home-card .card-attribution p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.discovery-page .home-card .card-attribution p:nth-child(n+2){display:none}
.discovery-page .home-card .card-actions{padding:9px 12px 9px 15px;min-height:52px}
.discovery-page .home-card .card-actions .card-compare{color:#6b7f92;gap:0;padding:0 6px;border-radius:5px}
.discovery-page .home-card .card-actions .card-compare span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.discovery-page .home-card .card-actions .card-compare:hover{color:var(--blue);background:#eef3ff}
.discovery-page .home-card .card-actions .card-compare[aria-pressed=true]{color:var(--blue);background:#e6eeff}
.discovery-page .home-card .card-actions .card-compare .card-icon{width:17px;height:17px}
.discovery-page .home-card .card-actions .card-plan{padding:8px 14px;font-size:12px;border-radius:6px}
/* The budget question sits under the monthly estimate it answers, as one quiet line. */
.discovery-page .home-card .possible-card-note{background:none;border:0;padding:0;min-height:0;margin:-3px 0 9px;display:block}
.discovery-page .home-card .card-budget-editor>summary{display:flex;justify-content:flex-start;align-items:center;gap:6px;font-size:11px;min-height:22px;color:#7a8ea1;cursor:pointer;list-style:none;padding:0;margin:0}
.discovery-page .home-card .card-budget-editor>summary::-webkit-details-marker{display:none}
.discovery-page .home-card .card-budget-editor>summary strong{font-size:11px;font-weight:600;color:var(--blue)}
.discovery-page .home-card .card-budget-editor>summary:hover strong{text-decoration:underline;text-underline-offset:3px}
.discovery-page .home-card .card-budget-editor[open]{padding:10px 0 2px;border-top:1px solid #edf2f6;margin-top:2px}
.discovery-page .home-card .possible-card-note:empty{display:none}
@media(max-width:600px){.discovery-page .search-estate .discovery-intro h1{font-size:34px}.discovery-page .search-estate{background-position:center 70%}}

/* Brand: the name is always "HomeEqual", never capitals, always Righteous. */
@font-face{font-family:Righteous;src:url('/assets/fonts/righteous-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
.discovery-page .brand-font{font-family:Righteous,sans-serif;text-transform:none!important;letter-spacing:0;font-weight:400}
.discovery-page .search-estate .discovery-intro .eyebrow{text-transform:none;letter-spacing:.08em;font-size:11px}
.discovery-page .search-estate .discovery-intro .eyebrow .brand-font{font-size:12px;color:#fff}

/* Footer: the whole company, on a quiet ground, with the licensing said plainly. */
.discovery-page .site-footer.discovery-footer{display:block;max-width:none;margin:56px calc(-1 * var(--page)) 0;padding:44px var(--page) 30px;background:#f6f8fb;border-top:1px solid #e6ecf3;color:#586f82;font-size:13px}
.discovery-footer .footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:28px;border-bottom:1px solid #e6ecf3}
.discovery-footer .footer-top .official-logo{width:190px;height:auto;display:block}
.discovery-footer .footer-tagline{margin:0;font:400 20px/1.3 var(--serif);color:#102744}
.discovery-footer .footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding:30px 0 26px}
.discovery-footer .footer-columns>div>p{margin:0 0 12px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#7a8ea1}
.discovery-footer .footer-columns>div>p .brand-font{font-size:15px;letter-spacing:0;color:#102744}
.discovery-footer .footer-columns a{display:block;margin:0 0 9px;font-size:13.5px;line-height:1.5;color:#294861;text-decoration:none}
.discovery-footer .footer-columns a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.discovery-footer .compliance-identity{border-top:1px solid #e6ecf3;padding:22px 0 18px;max-width:900px}
.discovery-footer .compliance-identity p{margin:0 0 8px;font-size:12px;line-height:1.65;color:#6b7f92}
.discovery-footer .compliance-identity strong{color:#294861;font-weight:600}
.discovery-footer .compliance-identity a{color:var(--blue)}
.discovery-footer .footer-bottom{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #e6ecf3;font-size:12px;color:#7a8ea1}
.discovery-footer .footer-bottom a{color:#294861}
.discovery-footer .footer-bottom a:hover{color:var(--blue)}
.discovery-footer .trust-motto{font:italic 13px/1 var(--serif);color:#586f82}
.discovery-footer .eho-mark{width:38px;height:40px;margin-left:auto;opacity:.85}
@media(max-width:980px){.discovery-footer .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.discovery-footer .footer-columns{grid-template-columns:1fr;gap:18px}.discovery-footer .footer-tagline{font-size:17px}.discovery-footer .eho-mark{margin-left:0}}
/* The base sheet flexes the footer's second block; the column grid must win. */
.discovery-page .site-footer.discovery-footer>.footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;flex-wrap:nowrap}
.discovery-page .site-footer.discovery-footer>.footer-top .official-logo{opacity:1}
@media(max-width:980px){.discovery-page .site-footer.discovery-footer>.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.discovery-page .site-footer.discovery-footer>.footer-columns{grid-template-columns:1fr}}
/* The footer lives outside the page shell: no negative margin, and a gutter that
   lines up with the 1600px content column. The Equal Housing mark stays complete
   and legible at a size that belongs in small print; compliance.css pins it with
   !important, so this must too. */
.discovery-page .site-footer.discovery-footer{margin:56px 0 0;max-width:none;padding:44px max(var(--page),calc((100% - 1600px)/2 + var(--page))) 30px}
.discovery-page .site-footer.discovery-footer .eho-mark{width:44px!important;height:auto!important;margin-left:auto;opacity:1}
.discovery-page .site-footer.discovery-footer>.footer-top .official-logo{width:200px;height:auto;display:block}
@media(max-width:600px){.discovery-page .site-footer.discovery-footer .eho-mark{margin-left:0}}
