/* Featured Projects: controls stay in the DOM and use the existing state. */
#discover .filters>[hidden],#discover .filters [data-market-dependent][hidden]{display:none}
.login-page{padding-top:70px;padding-bottom:100px;min-height:60vh}
.login-page h1{font:600 44px/1.2 'Playfair Display',Georgia,serif;color:#0b1b3d;margin:12px 0 22px}
.login-page h2{font:500 25px/1.4 'Playfair Display',Georgia,serif;color:#0b1b3d;margin:0 0 16px}
.login-page p{max-width:650px;margin-bottom:28px;color:#52616e;line-height:1.8}
.portal-menu>div>a[href="#login"]{display:flex;align-items:center;gap:12px;font:inherit;color:inherit;padding:11px 12px;text-decoration:none;background:transparent;border:0;border-radius:6px}
.portal-menu>div>a[href="#login"] svg{width:20px;height:20px;flex:none}
.portal-menu>div>a[href="#login"]:hover{background:#d4bc8822}
@media(min-width:681px){
 #discover .discovery-layout{display:block}
 #discover .filters{position:static;display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 16px;width:auto;padding:0 0 22px;margin:0 0 24px;border:0;border-radius:0;background:transparent;box-shadow:none}
 #discover .filters>.filter-title{display:flex;align-items:center;justify-content:space-between;flex:0 0 100%;width:100%;margin:0;padding:0;font-size:13px}
 #discover .filters>label{flex:0 1 210px;width:210px;margin:0;font-size:12px;line-height:1.5}
 #discover .filters select{display:block;width:100%;height:36px;min-height:36px;padding:5px 10px;font-size:13px;border:1px solid #d8d4ca;border-radius:7px;background:#fffefa}
 #discover .filters>.filter-note{flex:0 0 100%;margin:0;font-size:12px}
 #discover .filters>.advisor-mini{display:none}
}

/* Demo status and content-driven catalogue cards. */
.demo-notice{position:sticky;top:0;z-index:100;background:#f5e8c9;color:#102c45;padding:8px 16px;text-align:center;font-size:13px;line-height:1.5;border-bottom:1px solid #c9a063}
.demo-policy{padding:16px;margin-bottom:20px;border:1px solid #c9a063;background:#fbf1da}
.active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0;font-size:13px;overflow-wrap:anywhere}
.active-filters button{min-height:44px;padding:8px 14px;border:1px solid #9a7a43;background:#fff;border-radius:6px}
#projectGrid .project-card{height:auto;min-height:410px;overflow:visible;display:flex;flex-direction:column}
#projectGrid .card-body,#projectGrid .card-body:not(:has(.sample-label)){display:flex;flex-direction:column;gap:10px;height:auto;min-height:0;flex:1;padding:16px;overflow:visible;grid-template-rows:none}
#projectGrid .card-body :is(h3,.title-button,.location,.configuration,.card-price,.sample-label,.card-actions,.developer-name){height:auto;max-height:none;min-height:0;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;line-height:1.5}
#projectGrid .card-body :is(h3,.title-button){display:block;font-size:17px;overflow-wrap:anywhere}
#projectGrid .card-body :is(.location,.configuration,.sample-label,.price-label,.rate){font-size:12px}
#projectGrid .card-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}
#projectGrid .card-actions .btn,.filters select,.market-tabs button,.map-controls select{min-height:44px;font-size:13px}
#projectGrid .developer-name{flex-wrap:wrap}#projectGrid .developer-name>span{white-space:normal;overflow:visible}
.news-card>small,.news-meta,.source-unavailable{font-size:12px;line-height:1.5}.news-card>a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
.asset-fallback{display:grid;place-content:center;padding:8px;min-height:45px;background:#17394c;color:#fff;font-size:12px;text-align:center}
html{scroll-padding-top:80px}h1:focus,h2:focus,main:focus{outline-offset:5px}
@media(max-width:680px){.demo-notice{font-size:12px}#home .hero-search input{font-size:12px}.results-toolbar{flex-wrap:wrap;gap:12px}#home .header-markets button{min-height:44px;height:44px}.view-header-host .header .header-markets{display:none}}
