:root{
  color-scheme:light;
  --brand:#0372BF;--brand-ink:#0372BF;--brand-red:#FF0301;--brand-orange:#F2931B;--accent:#F2931B;
  --bg:#F6F8FB;--surface:#FFFFFF;--surface-2:#F0F3F7;--surface-3:#E8EDF3;
  --text:#0F1728;--text-2:#344054;--muted:#667085;--line:#E1E6EC;--line-strong:#C9D2DC;
  --shadow-xs:0 1px 2px rgba(15,23,40,.045);--shadow-sm:0 10px 28px rgba(15,23,40,.075);--shadow:0 24px 70px rgba(15,23,40,.12);
  --r-xs:10px;--r-sm:14px;--r:20px;--r-lg:28px;--max:1280px;--header-h:72px;--ease:cubic-bezier(.2,.8,.2,1);
  --safe-bottom:env(safe-area-inset-bottom,0px);
}
[data-theme="dark"]{color-scheme:dark;--bg:#0B0F15;--surface:#121821;--surface-2:#19212C;--surface-3:#212C39;--text:#F6F8FB;--text-2:#D5DBE4;--muted:#9AA5B4;--line:#283442;--line-strong:#394859;--shadow-xs:0 1px 2px rgba(0,0,0,.2);--shadow-sm:0 10px 28px rgba(0,0,0,.28);--shadow:0 24px 70px rgba(0,0,0,.4)}
*{box-sizing:border-box}html{scroll-behavior:smooth;text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0;font-family:Manrope,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55;letter-spacing:-.012em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body.locked{overflow:hidden}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;background:var(--surface-2)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}::selection{background:color-mix(in srgb,var(--brand) 20%,transparent)}:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 42%,transparent);outline-offset:3px}.skip-link{position:fixed;left:14px;top:10px;z-index:1000;background:var(--brand);color:#fff;padding:10px 14px;border-radius:10px;font-weight:800;transform:translateY(-160%);transition:.15s var(--ease)}.skip-link:focus{transform:none}.container{width:min(var(--max),calc(100% - 28px));margin-inline:auto}.muted{color:var(--muted)}.small{font-size:.83rem}.micro{font-size:.72rem}.eyebrow{font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.13em;color:var(--brand)}.h1,.h2,.page-title{font-weight:800;letter-spacing:-.055em;text-wrap:balance}.h1{font-size:clamp(2.45rem,6vw,5.1rem);line-height:.97;margin:.3rem 0 1rem}.h2{font-size:clamp(1.8rem,3.5vw,3rem);line-height:1.05;margin:0}.page-title{font-size:clamp(2rem,4.5vw,3.6rem);line-height:1.04;margin:.28rem 0 .65rem}.h3{font-size:1.06rem;font-weight:800;line-height:1.25;margin:0}.section{padding:48px 0;content-visibility:auto;contain-intrinsic-size:680px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.section-head p{max-width:720px;margin:.42rem 0 0;color:var(--muted)}.section-action{white-space:nowrap;font-size:.87rem;color:var(--brand);font-weight:800;display:inline-flex;gap:6px;align-items:center}

.utility-bar{display:none;background:#111820;color:#D7DEE7;font-size:.72rem}.utility-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px}.utility-left,.utility-right{display:flex;align-items:center;gap:4px}.utility-link,.utility-btn{min-height:30px;border:0;background:transparent;color:inherit;border-radius:7px;padding:4px 9px;display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700}.utility-link:hover,.utility-btn:hover{background:rgba(255,255,255,.08)}.utility-sep{width:1px;height:13px;background:rgba(255,255,255,.18);margin:0 3px}.utility-pill{background:var(--brand);color:#fff;padding:3px 7px;border-radius:999px;font-size:.65rem;font-weight:850}
.site-header{position:sticky;top:0;z-index:80;background:color-mix(in srgb,var(--surface) 96%,transparent);border-bottom:1px solid var(--line);box-shadow:var(--shadow-xs)}@supports(backdrop-filter:blur(10px)){.site-header{backdrop-filter:blur(12px)}}.header-grid{height:var(--header-h);display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px}.desktop-nav-left,.desktop-nav-right{display:none}.brand{display:inline-flex;align-items:center;justify-self:center;gap:8px;min-width:max-content}.brand-logo{width:34px;height:34px}.brand-word{display:flex;flex-direction:column;line-height:.95}.brand-word strong{font-size:1rem;font-weight:900;color:var(--brand);letter-spacing:-.05em}.brand-word strong span{color:var(--accent)}.brand-word small{margin-top:4px;color:var(--accent);font-size:.56rem;font-weight:850;letter-spacing:.02em}.nav-group{display:flex;align-items:center;gap:2px}.nav-link{min-height:40px;padding:10px 10px;border-radius:10px;font-size:.84rem;font-weight:730;color:var(--text-2)}.nav-link:hover,.nav-link[aria-current="page"]{color:var(--brand);background:color-mix(in srgb,var(--brand) 7%,var(--surface))}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.btn,.icon-btn{min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;font-weight:780;font-size:.86rem;box-shadow:var(--shadow-xs);transition:transform .16s var(--ease),box-shadow .16s var(--ease),border-color .16s var(--ease),background .16s var(--ease)}.icon-btn{width:44px;padding:0}.btn:hover,.icon-btn:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.btn:active,.icon-btn:active{transform:scale(.985)}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-accent{background:var(--accent);border-color:var(--accent);color:#111}.btn-quiet{background:color-mix(in srgb,var(--brand) 7%,var(--surface));border-color:transparent;color:var(--brand);box-shadow:none}.btn-ghost{background:transparent;box-shadow:none}.desktop-only{display:none}.mobile-only{display:flex}.ico{width:19px;height:19px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ico.sm{width:16px;height:16px}.ico.lg{width:23px;height:23px}
.mobile-menu{position:fixed;z-index:92;top:calc(var(--header-h) + 8px);left:10px;right:10px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:10px;opacity:0;visibility:hidden;transform:translateY(-7px) scale(.987);transition:.16s var(--ease)}.mobile-menu.open{opacity:1;visibility:visible;transform:none}.mobile-menu a{min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:12px;font-weight:760}.mobile-menu a:hover{background:var(--surface-2)}.mobile-menu .menu-tools{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.menu-badge{font-size:.68rem;color:var(--brand);background:color-mix(in srgb,var(--brand) 8%,var(--surface));padding:4px 7px;border-radius:999px}
.breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.75rem;margin-bottom:18px}.breadcrumbs a:hover{color:var(--brand)}.page-hero{padding:32px 0 28px;background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 7%,var(--surface)),var(--surface));border-bottom:1px solid var(--line)}.page-hero p{max-width:780px;color:var(--muted);margin:.2rem 0 0}
.hero{position:relative;min-height:650px;background:#101828;color:#fff;display:flex;align-items:flex-end;overflow:hidden}.hero-bg{position:absolute;inset:0}.hero-bg img{width:100%;height:100%;object-fit:cover}.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,40,.24),rgba(15,23,40,.8))}.hero-content{position:relative;z-index:2;padding:112px 0 44px;width:100%}.hero-copy{max-width:900px}.hero-copy p{max-width:760px;color:rgba(255,255,255,.87);font-size:1.02rem}.hero .eyebrow{color:#fff}.hero .eyebrow:before{content:"";display:inline-block;width:18px;height:3px;border-radius:99px;background:var(--accent);margin-right:8px;vertical-align:middle}.hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.hero .btn-ghost{border-color:rgba(255,255,255,.32);color:#fff;background:rgba(15,23,40,.18)}
.search-panel{margin-top:25px;background:var(--surface);color:var(--text);border:1px solid color-mix(in srgb,#fff 65%,transparent);border-radius:22px;padding:10px;box-shadow:0 26px 70px rgba(15,23,40,.25)}.search-tabs{display:flex;gap:5px;overflow:auto;padding-bottom:2px;margin-bottom:8px;scrollbar-width:none}.search-tabs::-webkit-scrollbar{display:none}.search-tabs button{min-height:42px;border:0;background:transparent;padding:9px 14px;border-radius:10px;color:var(--muted);font-weight:780;white-space:nowrap}.search-tabs button.active{background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--brand)}.search-grid{display:grid;gap:8px}.field{border:1px solid var(--line);border-radius:12px;padding:9px 11px;background:var(--surface);min-width:0;transition:.15s var(--ease)}.field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 10%,transparent)}.field>span,.field>label,.field label{display:block;font-size:.65rem;text-transform:uppercase;letter-spacing:.075em;color:var(--muted);font-weight:850;margin-bottom:2px}.field input,.field select,.field textarea{width:100%;border:0;background:transparent;outline:0;min-height:27px;font-weight:650}.field textarea{min-height:100px;resize:vertical}.trust-chips{display:flex;gap:8px;overflow:auto;margin-top:13px;padding-bottom:2px;scrollbar-width:none}.trust-chips span{white-space:nowrap;border:1px solid rgba(255,255,255,.22);background:rgba(15,23,40,.2);padding:7px 10px;border-radius:999px;font-size:.73rem}.stats-strip{position:relative;z-index:4;margin-top:-22px}.stats-card{display:grid;grid-template-columns:repeat(2,1fr);background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden}.stat{padding:18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.stat strong{display:block;font-size:1.3rem;letter-spacing:-.04em;font-weight:850}.stat span{font-size:.76rem;color:var(--muted)}
.card-grid{display:grid;gap:15px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-xs);overflow:hidden;transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease)}.card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.card-pad{padding:18px}.badge{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:5px 8px;border-radius:999px;font-size:.67rem;font-weight:850;color:var(--brand);background:color-mix(in srgb,var(--brand) 9%,var(--surface))}.badge.orange{color:#111;background:color-mix(in srgb,var(--accent) 20%,var(--surface))}.badge.on-media{position:absolute;left:12px;top:12px;color:#fff;background:var(--brand);box-shadow:var(--shadow-xs)}.price{font-size:1.25rem;font-weight:850;letter-spacing:-.04em}.title{font-weight:800;line-height:1.28}.meta{color:var(--muted);font-size:.79rem}.verified{color:var(--brand);font-size:.73rem;font-weight:850;display:inline-flex;align-items:center;gap:4px}.rating{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;font-weight:800}.rating .star{color:var(--accent)}
.property-card{position:relative}.property-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface-2)}.property-media img{width:100%;height:100%;object-fit:cover;transition:transform .32s var(--ease)}.property-card:hover .property-media img{transform:scale(1.035)}.save-btn{position:absolute;right:11px;top:11px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.92);color:#111;display:grid;place-items:center;box-shadow:var(--shadow-xs)}.property-body{padding:15px}.property-main{display:grid;gap:7px}.property-meta{display:flex;flex-wrap:wrap;gap:8px 12px;color:var(--muted);font-size:.77rem}.property-meta span{display:inline-flex;align-items:center;gap:4px}.agent-mini{margin-top:13px;padding-top:12px;border-top:1px solid var(--line);display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px}.agent-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid color-mix(in srgb,var(--brand) 15%,var(--surface))}.agent-mini strong{display:block;font-size:.78rem;line-height:1.25}.agent-mini small{display:block;color:var(--muted);font-size:.68rem;line-height:1.35;margin-top:2px}.agent-stats{text-align:right;white-space:nowrap}.agent-stats b{display:block;font-size:.75rem}.agent-stats span{font-size:.66rem;color:var(--muted)}.property-extra{display:grid;grid-template-rows:1fr;opacity:1;margin-top:13px;padding-top:12px;border-top:1px solid var(--line);transition:grid-template-rows .22s var(--ease),opacity .18s var(--ease),margin .22s var(--ease),padding .22s var(--ease)}.property-extra>div{overflow:hidden}.property-extra p{font-size:.76rem;color:var(--muted);margin:0 0 11px}.card-actions{display:flex;gap:7px}.card-actions .btn{min-height:40px;flex:1;padding:0 10px}.property-card .hover-label{display:none}

.agent-card,.agency-card,.developer-card,.project-card,.area-card,.story-card{position:relative}.portrait{aspect-ratio:4/3;overflow:hidden;background:var(--surface-2)}.portrait img{width:100%;height:100%;object-fit:cover;transition:transform .3s var(--ease)}.agent-card:hover .portrait img,.area-card:hover .portrait img,.story-card:hover .portrait img{transform:scale(1.03)}.entity-row{display:flex;align-items:center;gap:11px}.entity-logo{width:50px;height:50px;border-radius:14px;border:1px solid var(--line);background:var(--surface-2);display:grid;place-items:center;overflow:hidden;font-weight:900;color:var(--brand)}.entity-logo img{width:100%;height:100%;object-fit:cover}.entity-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.metric{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.metric b{display:block;font-size:.9rem}.metric span{display:block;font-size:.62rem;color:var(--muted);margin-top:1px}.tag-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.tag{display:inline-flex;padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:var(--text-2);font-size:.68rem;font-weight:700;background:var(--surface)}

.search-filter-shell{position:sticky;top:var(--header-h);z-index:60;background:color-mix(in srgb,var(--surface) 97%,transparent);border-bottom:1px solid var(--line);box-shadow:var(--shadow-xs)}@supports(backdrop-filter:blur(8px)){.search-filter-shell{backdrop-filter:blur(10px)}}.filter-top{display:grid;gap:8px;padding:10px 0}.filter-search{display:flex;gap:7px}.filter-search .field{flex:1}.filter-scroll{display:flex;gap:7px;overflow:auto;padding-bottom:2px;scrollbar-width:none}.filter-scroll::-webkit-scrollbar{display:none}.filter-chip{min-height:40px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:.77rem;font-weight:760}.filter-chip.active,.filter-chip.primary{border-color:color-mix(in srgb,var(--brand) 30%,var(--line));color:var(--brand);background:color-mix(in srgb,var(--brand) 7%,var(--surface))}.filter-count{min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:.62rem}.results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.sort-select{min-height:40px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0 10px;font-size:.77rem;font-weight:700}.property-results-grid{display:grid;gap:14px}.load-row{display:flex;justify-content:center;margin-top:24px}.ajax-status{font-size:.72rem;color:var(--muted);min-height:20px}.skeleton{background:linear-gradient(90deg,var(--surface-2),var(--surface-3),var(--surface-2));background-size:200% 100%;animation:shimmer 1.2s linear infinite;border-radius:14px}@keyframes shimmer{to{background-position:-200% 0}}

.filter-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:96;background:rgba(15,23,40,.45);opacity:0;visibility:hidden;transition:.16s var(--ease)}.filter-backdrop.open,.modal-backdrop.open{opacity:1;visibility:visible}.filter-sheet,.modal-sheet{position:fixed;z-index:97;left:0;right:0;bottom:0;background:var(--surface);border-radius:24px 24px 0 0;box-shadow:var(--shadow);max-height:min(86vh,780px);display:flex;flex-direction:column;transform:translateY(102%);transition:transform .22s var(--ease);padding-bottom:var(--safe-bottom)}.filter-sheet.open,.modal-sheet.open{transform:none}.sheet-handle{width:42px;height:4px;border-radius:99px;background:var(--line-strong);margin:9px auto 2px}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line)}.sheet-head h2{font-size:1.08rem;margin:0}.sheet-body{overflow:auto;padding:15px 16px 22px}.sheet-section{padding:12px 0;border-bottom:1px solid var(--line)}.sheet-section:last-child{border-bottom:0}.sheet-section h3{margin:0 0 10px;font-size:.87rem}.choice-grid{display:flex;gap:7px;flex-wrap:wrap}.choice{min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:0 12px;font-size:.77rem;font-weight:730}.choice.selected{border-color:var(--brand);color:var(--brand);background:color-mix(in srgb,var(--brand) 7%,var(--surface))}.range-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.check-row{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:14px}.check-row input{width:20px;height:20px;accent-color:var(--brand)}.sheet-actions{display:grid;grid-template-columns:.85fr 1.5fr;gap:8px;padding:10px 16px 12px;border-top:1px solid var(--line);background:var(--surface)}

.profile-hero{padding:26px 0}.profile-shell{display:grid;gap:18px}.profile-main{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-xs)}.profile-cover{height:150px;background:linear-gradient(130deg,var(--brand),color-mix(in srgb,var(--brand) 72%,#000));position:relative}.profile-cover:after{content:"";position:absolute;right:-80px;top:-130px;width:320px;height:320px;border:60px solid color-mix(in srgb,var(--accent) 60%,transparent);border-radius:50%;opacity:.5}.profile-info{padding:0 18px 18px}.profile-avatar{width:104px;height:104px;border-radius:24px;object-fit:cover;border:5px solid var(--surface);margin-top:-52px;position:relative;z-index:2;background:var(--surface-2)}.profile-title-row{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-top:12px}.profile-title-row h1{font-size:1.8rem;line-height:1.06;margin:0;letter-spacing:-.045em}.profile-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.profile-actions .btn{flex:1}.profile-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px}.profile-metric{border:1px solid var(--line);border-radius:13px;padding:12px;background:var(--surface-2)}.profile-metric b{display:block;font-size:1.04rem}.profile-metric span{font-size:.68rem;color:var(--muted)}.side-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:17px;box-shadow:var(--shadow-xs)}.side-card h3{margin:0 0 11px;font-size:.95rem}.timeline{display:grid;gap:10px}.timeline-item{display:grid;grid-template-columns:24px 1fr;gap:9px}.timeline-dot{width:12px;height:12px;border-radius:50%;background:var(--brand);border:3px solid color-mix(in srgb,var(--brand) 15%,var(--surface));margin-top:5px}.timeline-item:not(:last-child) .timeline-dot:after{content:"";display:block;width:2px;height:42px;background:var(--line);margin:9px auto 0}.review-card{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.review-head{display:flex;justify-content:space-between;gap:12px}.reviewer{display:flex;align-items:center;gap:9px}.reviewer-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}.review-card p{font-size:.8rem;color:var(--text-2);margin:.8rem 0 0}.two-col{display:grid;gap:16px}.content-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:18px;box-shadow:var(--shadow-xs)}.content-card h2{font-size:1.2rem;margin:0 0 12px;letter-spacing:-.035em}.content-card p{color:var(--text-2)}

.area-hero{position:relative;min-height:420px;color:#fff;display:flex;align-items:flex-end;overflow:hidden;background:#101828}.area-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.area-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,40,.2),rgba(15,23,40,.84))}.area-hero .container{position:relative;z-index:2;padding-bottom:32px}.area-hero .page-title{max-width:780px}.area-kpis{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.area-kpi{padding:9px 11px;border:1px solid rgba(255,255,255,.23);background:rgba(15,23,40,.28);border-radius:12px}.area-kpi b{display:block;font-size:.95rem}.area-kpi span{font-size:.66rem;color:rgba(255,255,255,.78)}.market-grid{display:grid;gap:10px}.market-stat{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:14px}.market-stat .change{color:var(--brand);font-weight:850;font-size:.72rem}.sparkline{height:70px;margin-top:8px}.sparkline svg{width:100%;height:100%;overflow:visible}.sparkline path.line{fill:none;stroke:var(--brand);stroke-width:3}.sparkline path.fill{fill:color-mix(in srgb,var(--brand) 10%,transparent);stroke:none}.amenity-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.amenity{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface);display:flex;gap:9px;align-items:center}.amenity-icon{width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--brand);display:grid;place-items:center}.amenity b{display:block;font-size:.75rem}.amenity span{display:block;color:var(--muted);font-size:.64rem}.map-card{min-height:280px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface-2);overflow:hidden;position:relative}.map-grid{position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:38px 38px;opacity:.65}.map-road{position:absolute;height:8px;border-radius:99px;background:color-mix(in srgb,var(--brand) 24%,var(--surface));transform-origin:left center}.map-pin{position:absolute;width:34px;height:34px;border-radius:50% 50% 50% 8px;transform:rotate(-45deg);background:var(--brand);border:4px solid var(--surface);box-shadow:var(--shadow-sm)}.map-pin:after{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--accent)}.map-label{position:absolute;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:7px 9px;font-size:.68rem;font-weight:750;box-shadow:var(--shadow-xs)}

.news-grid,.forum-grid,.tools-grid{display:grid;gap:14px}.story-card .portrait{aspect-ratio:16/9}.story-card .card-pad{padding:15px}.story-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.68rem;color:var(--muted);margin-bottom:7px}.story-card h3{font-size:1rem;line-height:1.3;margin:0}.story-card p{font-size:.77rem;color:var(--muted);margin:.55rem 0 0}.article-shell{display:grid;gap:16px}.article-body{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;box-shadow:var(--shadow-xs)}.article-body h1{font-size:clamp(2rem,4.5vw,3.5rem);line-height:1.04;letter-spacing:-.055em;margin:.5rem 0 .75rem}.article-body h2{font-size:1.45rem;letter-spacing:-.04em;margin:2rem 0 .7rem}.article-body p,.article-body li{color:var(--text-2);font-size:.96rem;line-height:1.8}.article-body figure{margin:1.5rem 0}.article-body figure img{width:100%;border-radius:16px}.article-body figcaption{font-size:.72rem;color:var(--muted);margin-top:7px}.article-share{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.forum-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}.forum-row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:14px;border-bottom:1px solid var(--line)}.forum-row:last-child{border-bottom:0}.forum-icon{width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--brand);display:grid;place-items:center}.forum-row b{display:block;font-size:.82rem}.forum-row p{margin:2px 0 0;color:var(--muted);font-size:.69rem}.forum-count{text-align:right}.forum-count b{font-size:.8rem}.forum-count span{display:block;font-size:.62rem;color:var(--muted)}.post{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:grid;grid-template-columns:46px 1fr;gap:11px}.post-user img{width:42px;height:42px;border-radius:50%;object-fit:cover}.post-content p{margin:.5rem 0;color:var(--text-2);font-size:.85rem}.tool-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:17px;box-shadow:var(--shadow-xs)}.tool-card h3{margin:0 0 5px;font-size:1rem}.tool-card p{font-size:.75rem;color:var(--muted);margin:0 0 12px}.tool-result{margin-top:10px;padding:12px;border-radius:12px;background:color-mix(in srgb,var(--brand) 7%,var(--surface));border:1px solid color-mix(in srgb,var(--brand) 16%,var(--line));font-weight:800;color:var(--brand)}

.footer{margin-top:52px;background:#111820;color:#D7DEE7}.footer-top{border-bottom:1px solid rgba(255,255,255,.09);padding:32px 0}.footer-grid{display:grid;gap:24px}.footer .brand{justify-self:start}.footer .brand-word strong{color:#fff}.footer-note{max-width:400px;color:#9EABB8;font-size:.76rem}.footer h4{margin:0 0 10px;color:#fff;font-size:.82rem}.footer a{display:block;color:#AEB8C3;font-size:.74rem;padding:4px 0}.footer a:hover{color:#fff}.footer-bottom{padding:14px 0 22px;display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;color:#7F8B98;font-size:.66rem}.mobile-bottom{position:fixed;z-index:70;left:8px;right:8px;bottom:calc(8px + var(--safe-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--surface) 96%,transparent);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:5px}@supports(backdrop-filter:blur(12px)){.mobile-bottom{backdrop-filter:blur(14px)}}.mobile-bottom a{min-height:50px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);font-size:.6rem;font-weight:760}.mobile-bottom a.active,.mobile-bottom a[aria-current="page"]{color:var(--brand);background:color-mix(in srgb,var(--brand) 7%,var(--surface))}.mobile-bottom .ico{width:18px;height:18px}body{padding-bottom:78px}

.notice{padding:12px 14px;border:1px solid color-mix(in srgb,var(--brand) 18%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--brand) 6%,var(--surface));font-size:.77rem;color:var(--text-2)}.divider{height:1px;background:var(--line);margin:15px 0}.tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line);scrollbar-width:none}.tabs a,.tabs button{border:0;background:transparent;min-height:44px;padding:0 12px;color:var(--muted);font-weight:780;font-size:.77rem;white-space:nowrap;border-bottom:2px solid transparent}.tabs a.active,.tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.empty{padding:32px;text-align:center;border:1px dashed var(--line-strong);border-radius:16px;color:var(--muted)}

@media(min-width:700px){.container{width:min(var(--max),calc(100% - 44px))}.section{padding:62px 0}.card-grid.cols-2,.news-grid{grid-template-columns:repeat(2,1fr)}.card-grid.cols-3,.tools-grid{grid-template-columns:repeat(2,1fr)}.property-results-grid{grid-template-columns:repeat(2,1fr)}.stats-card{grid-template-columns:repeat(4,1fr)}.stat{border-bottom:0}.profile-metrics{grid-template-columns:repeat(4,1fr)}.amenity-grid{grid-template-columns:repeat(3,1fr)}.market-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1.4fr repeat(3,1fr)}.search-grid{grid-template-columns:1.1fr 1.5fr 1fr auto}.search-grid .btn{height:100%}.article-body{padding:34px}.profile-info{padding:0 24px 24px}.profile-cover{height:190px}.profile-avatar{width:124px;height:124px;margin-top:-62px}.profile-title-row h1{font-size:2.2rem}.profile-actions .btn{flex:initial}.two-col{grid-template-columns:1.45fr .75fr}}
@media(min-width:900px){body{padding-bottom:0}.utility-bar{display:block}.site-header{top:0}.header-grid{grid-template-columns:1fr auto 1fr}.desktop-nav-left,.desktop-nav-right{display:flex}.desktop-nav-left{justify-self:start}.desktop-nav-right{justify-self:end}.mobile-only,.mobile-menu,.mobile-bottom{display:none!important}.desktop-only{display:inline-flex}.header-actions{min-width:max-content}.brand-logo{width:37px;height:37px}.brand-word strong{font-size:1.04rem}.search-filter-shell{top:var(--header-h)}.filter-top{grid-template-columns:minmax(260px,1.4fr) 3fr;align-items:center}.filter-scroll{overflow:visible}.filter-chip{flex:1;justify-content:center;padding-inline:9px}.property-results-grid{grid-template-columns:repeat(3,1fr)}.property-extra{grid-template-rows:0fr;opacity:0;margin-top:0;padding-top:0;border-top-color:transparent}.property-card:hover .property-extra,.property-card:focus-within .property-extra{grid-template-rows:1fr;opacity:1;margin-top:13px;padding-top:12px;border-top-color:var(--line)}.property-card:hover,.property-card:focus-within{transform:translateY(-4px);box-shadow:var(--shadow)}.property-card .hover-label{display:inline-flex;position:absolute;right:11px;bottom:11px;padding:5px 8px;border-radius:999px;background:rgba(15,23,40,.68);color:#fff;font-size:.63rem;font-weight:800}.property-card:hover .hover-label{opacity:0}.card-grid.cols-3{grid-template-columns:repeat(3,1fr)}.card-grid.cols-4{grid-template-columns:repeat(4,1fr)}.news-grid{grid-template-columns:repeat(3,1fr)}.profile-shell{grid-template-columns:minmax(0,1fr) 330px}.profile-main{min-width:0}.area-hero{min-height:500px}.amenity-grid{grid-template-columns:repeat(4,1fr)}.tools-grid{grid-template-columns:repeat(3,1fr)}.article-shell{grid-template-columns:minmax(0,1fr) 310px;align-items:start}.article-side{position:sticky;top:94px}.forum-grid{grid-template-columns:minmax(0,1.35fr) .65fr}}
@media(min-width:1180px){.property-results-grid{grid-template-columns:repeat(3,1fr)}.nav-link{padding-inline:12px}.header-actions .btn{padding-inline:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.property-media img,.portrait img{transform:none!important}}

/* ===== PrimeArz V4 premium overrides ===== */
:root{
  --brand:#0372BF;--brand-ink:#00649F;--brand-red:#FF0301;--accent:#F2931B;
  --brand-soft:color-mix(in srgb,var(--brand) 8%,var(--surface));
  --brand-red-soft:color-mix(in srgb,var(--brand-red) 8%,var(--surface));
  --premium-shadow:0 18px 60px rgba(11,39,66,.12);
  --premium-shadow-hover:0 26px 76px rgba(11,39,66,.18);
}
body{letter-spacing:-.014em}
.brand-word strong{font-weight:900;letter-spacing:-.055em;color:var(--brand)!important;display:block}
.brand-word .brand-prime,.brand-word .brand-com{color:var(--brand)}
.brand-word .brand-arz{color:var(--brand-red)}
.brand-word small{color:var(--accent)!important;font-weight:900}
.brand-logo .logo-star,.brand-logo .logo-roof{fill:var(--brand-red)!important;stroke:var(--brand-red)!important}
.brand-logo .logo-blue{stroke:var(--brand)!important;fill:none}
.utility-bar{background:#0D1722}
.utility-pill{background:var(--brand-red)}
.nav-link:hover,.nav-link[aria-current="page"]{background:var(--brand-soft)}
.btn-primary{background:var(--brand);border-color:var(--brand)}
.btn-accent{background:var(--brand-red);border-color:var(--brand-red);color:#fff}
.eyebrow{color:var(--brand)}

/* more premium shell */
.site-header{box-shadow:0 1px 0 var(--line),0 10px 30px rgba(11,39,66,.035)}
@media(min-width:980px){
 .header-grid{grid-template-columns:1fr auto 1fr;gap:20px}
 .desktop-nav-left{justify-self:start}.desktop-nav-right{justify-self:end}
 .brand{position:relative;left:auto;transform:none}
 .brand-logo{width:40px;height:40px}.brand-word strong{font-size:1.05rem}
}

/* video / media primitives */
.video-shell{position:relative;overflow:hidden;border-radius:26px;background:#07111c;color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:var(--premium-shadow)}
.video-shell img,.video-shell video{width:100%;height:100%;object-fit:cover;display:block;background:#07111c}
.video-shell:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,17,28,.04) 38%,rgba(7,17,28,.82) 100%);pointer-events:none}
.video-badge{position:absolute;z-index:3;left:16px;top:16px;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border-radius:999px;background:rgba(7,17,28,.72);backdrop-filter:blur(10px);font-size:.72rem;font-weight:850;letter-spacing:.02em}
.video-play{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.94);color:var(--brand);display:grid;place-items:center;box-shadow:0 18px 50px rgba(0,0,0,.25);transition:.18s var(--ease)}
.video-play:hover{transform:translate(-50%,-50%) scale(1.06)}
.video-play svg{width:28px;height:28px;fill:currentColor;stroke:none;margin-left:3px}
.video-caption{position:absolute;z-index:3;left:18px;right:18px;bottom:16px;display:flex;justify-content:space-between;align-items:end;gap:16px}
.video-caption strong{font-size:1rem}.video-caption small{display:block;color:rgba(255,255,255,.74);margin-top:2px}
.video-duration{font-size:.7rem;font-weight:800;background:rgba(7,17,28,.72);padding:5px 8px;border-radius:8px}

/* Agent showcase */
.agent-showcase{padding:26px 0 34px;background:linear-gradient(180deg,var(--surface),var(--bg));border-bottom:1px solid var(--line)}
.agent-showcase-grid{display:grid;gap:18px}
.agent-identity-card{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:var(--shadow-sm)}
.agent-topline{display:flex;align-items:center;gap:14px}
.agent-avatar-xl{width:92px;height:92px;object-fit:cover;border-radius:24px;border:4px solid var(--surface);box-shadow:0 0 0 1px var(--line)}
.agent-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.agent-verify{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;font-size:.72rem;font-weight:900}
.agent-meta{margin-top:4px;color:var(--muted);font-size:.88rem}
.agent-rating-line{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap;font-size:.86rem}.agent-rating-line b{color:var(--text)}.star-inline{color:var(--accent)}
.agent-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}
.agent-stats-premium{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.agent-stat{padding:14px 10px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}.agent-stat b{display:block;font-size:1.1rem;letter-spacing:-.04em}.agent-stat span{display:block;font-size:.68rem;color:var(--muted);margin-top:2px}
.agent-video-card{min-height:310px}
.agent-video-card img{min-height:310px}
.agent-profile-pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.agent-profile-pills span{font-size:.7rem;font-weight:800;padding:7px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand)}
@media(min-width:850px){.agent-showcase-grid{grid-template-columns:.92fr 1.28fr;align-items:stretch}.agent-identity-card{padding:28px}.agent-video-card,.agent-video-card img{min-height:430px}}
@media(max-width:849px){.agent-video-card{order:-1}.agent-showcase{padding-top:12px}.agent-showcase .breadcrumbs{padding-top:8px}.agent-stats-premium{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-stat{padding:12px 8px}.agent-stat b{font-size:.98rem}}

/* property/project premium gallery */
.media-gallery-v4{display:grid;gap:8px;margin-top:18px}.media-gallery-v4 .media-main{min-height:280px}.media-gallery-v4 img{width:100%;height:100%;object-fit:cover;border-radius:20px}.media-stack{display:grid;grid-template-columns:1fr 1fr;gap:8px}.media-stack>div{position:relative;min-height:140px}.media-stack img{position:absolute;inset:0}.media-action{position:absolute;z-index:4;right:14px;bottom:14px;background:rgba(255,255,255,.95);color:#111827;border:0;border-radius:12px;padding:10px 12px;font-weight:850;display:inline-flex;gap:7px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.16)}
@media(min-width:800px){.media-gallery-v4{grid-template-columns:1.65fr .85fr}.media-gallery-v4 .media-main{min-height:510px}.media-stack{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.media-stack>div{min-height:0}}
.video-section-grid{display:grid;gap:18px;align-items:center}.video-section-copy{padding:8px 0}.video-section-copy ul{padding-left:18px;color:var(--muted)}@media(min-width:800px){.video-section-grid{grid-template-columns:1.25fr .75fr}}

/* richer top-filter bar */
.search-filter-shell{position:sticky;top:var(--header-h);z-index:45;background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);box-shadow:0 10px 28px rgba(11,39,66,.055)}
.top-filter-actions{scrollbar-width:none}.top-filter-actions::-webkit-scrollbar{display:none}

/* property card agent row and hover expansion */
.property-card{overflow:hidden;transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s var(--ease)}
.property-card:hover{transform:translateY(-3px);box-shadow:var(--premium-shadow-hover);border-color:color-mix(in srgb,var(--brand) 24%,var(--line))}
.agent-mini-premium{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}
.agent-mini-premium img{width:42px;height:42px;border-radius:13px;object-fit:cover}.agent-mini-premium strong{font-size:.78rem}.agent-mini-premium small{display:block;font-size:.67rem;color:var(--muted);line-height:1.35}.agent-mini-score{text-align:right}.agent-mini-score b{font-size:.74rem;color:var(--text)}.agent-mini-score span{display:block;color:var(--accent);font-size:.68rem}

/* Inline video ad in results */
.video-ad-card{grid-column:1/-1;border:1px solid var(--line);background:var(--surface);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-sm);display:grid}
.video-ad-media{position:relative;min-height:240px;background:#08121e;overflow:hidden}.video-ad-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.video-ad-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,18,30,.2),rgba(8,18,30,.74))}
.video-ad-copy{padding:22px}.sponsored-label{display:inline-flex;align-items:center;gap:6px;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;font-weight:900;color:var(--brand-red)}.video-ad-copy h3{font-size:clamp(1.3rem,2.5vw,2.1rem);line-height:1.08;margin:8px 0}.video-ad-copy p{color:var(--muted);margin:0 0 14px}
@media(min-width:760px){.video-ad-card{grid-template-columns:1.15fr .85fr}.video-ad-media{min-height:300px}.video-ad-copy{padding:32px}}

/* Reels */
.reels-page{background:#07111c;color:#fff;min-height:100vh}.reels-page .site-header{background:rgba(7,17,28,.94);border-color:rgba(255,255,255,.1)}.reels-page .nav-link,.reels-page .header-actions{color:#fff}.reels-layout{width:min(1180px,100%);margin:auto;display:grid;gap:22px;padding:18px 14px 100px}.reels-feed{height:calc(100vh - var(--header-h) - 36px);overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none}.reels-feed::-webkit-scrollbar{display:none}.reel-card{position:relative;width:min(100%,470px);height:calc(100vh - var(--header-h) - 50px);min-height:620px;max-height:820px;margin:0 auto 18px;border-radius:28px;overflow:hidden;background:#111b27;scroll-snap-align:start;box-shadow:0 25px 80px rgba(0,0,0,.34)}.reel-card>img{width:100%;height:100%;object-fit:cover}.reel-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08) 36%,rgba(0,0,0,.84) 100%)}.reel-top{position:absolute;z-index:3;left:14px;right:14px;top:14px;display:flex;justify-content:space-between;align-items:center}.reel-chip{font-size:.68rem;font-weight:900;background:rgba(7,17,28,.66);backdrop-filter:blur(8px);padding:7px 9px;border-radius:999px}.reel-chip.sponsored{background:var(--brand-red)}.reel-body{position:absolute;z-index:3;left:18px;right:72px;bottom:20px}.reel-agent{display:flex;align-items:center;gap:9px;margin-bottom:12px}.reel-agent img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #fff}.reel-agent strong{font-size:.83rem}.reel-agent small{display:block;color:rgba(255,255,255,.72);font-size:.7rem}.reel-body h2{font-size:1.24rem;line-height:1.15;margin:0 0 6px}.reel-body p{font-size:.82rem;color:rgba(255,255,255,.79);margin:0 0 12px}.reel-actions{position:absolute;z-index:4;right:14px;bottom:22px;display:flex;flex-direction:column;gap:12px}.reel-action{width:46px;height:46px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(7,17,28,.55);backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center}.reel-action-label{font-size:.62rem;text-align:center;margin-top:-7px;color:rgba(255,255,255,.76)}.reels-side{display:none}.reel-center-play{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--brand);display:grid;place-items:center;opacity:.92}.reel-center-play.playing{opacity:.18}
@media(min-width:980px){.reels-layout{grid-template-columns:minmax(430px,540px) 300px;justify-content:center}.reels-side{display:block;padding-top:18px}.reels-side .card{background:#111b27;border-color:rgba(255,255,255,.1);color:#fff;position:sticky;top:calc(var(--header-h) + 18px)}.reels-side .muted{color:rgba(255,255,255,.62)}}

/* Dialog system */
.modal-backdrop-v4{position:fixed;inset:0;z-index:180;background:rgba(3,12,20,.58);backdrop-filter:blur(7px);opacity:0;visibility:hidden;transition:.18s var(--ease)}.modal-backdrop-v4.open{opacity:1;visibility:visible}
.modal-v4{position:fixed;z-index:190;left:50%;top:50%;width:min(94vw,620px);max-height:min(88vh,820px);overflow:auto;transform:translate(-50%,-47%) scale(.975);opacity:0;visibility:hidden;background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:0 34px 110px rgba(3,12,20,.3);transition:.18s var(--ease)}.modal-v4.open{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}.modal-head-v4{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.modal-head-v4 h2{font-size:1.1rem;margin:0}.modal-body-v4{padding:22px}.close-circle{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--surface-2);display:grid;place-items:center}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:var(--surface-2);padding:5px;border-radius:14px;margin-bottom:20px}.auth-tab{border:0;background:transparent;min-height:42px;border-radius:10px;font-weight:850;color:var(--muted)}.auth-tab.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-xs)}.auth-pane{display:none}.auth-pane.active{display:block}.form-grid-v4{display:grid;gap:11px}.form-grid-v4.two{grid-template-columns:1fr 1fr}.pro-role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 18px}.pro-role{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:14px 10px;text-align:left;min-height:92px}.pro-role b{display:block;font-size:.8rem}.pro-role small{display:block;color:var(--muted);font-size:.66rem;margin-top:4px}.pro-role.selected{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.steps-v4{display:flex;gap:7px;margin-bottom:18px}.step-dot-v4{height:5px;flex:1;border-radius:999px;background:var(--surface-3)}.step-dot-v4.active{background:var(--brand)}.signup-step{display:none}.signup-step.active{display:block}.modal-actions-v4{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.signin-helper{display:flex;justify-content:space-between;gap:10px;margin-top:10px;font-size:.72rem}.professional-note{padding:12px 14px;border-radius:14px;background:var(--brand-soft);color:var(--brand);font-size:.72rem;margin-bottom:14px}
@media(max-width:600px){.modal-v4{left:8px;right:8px;bottom:8px;top:auto;width:auto;max-height:92vh;transform:translateY(16px);border-radius:24px}.modal-v4.open{transform:none}.form-grid-v4.two{grid-template-columns:1fr}.pro-role-grid{grid-template-columns:1fr}.pro-role{min-height:auto}.modal-body-v4{padding:18px}.modal-head-v4{padding:16px 18px}}

/* Timed promo popup */
.promo-popup-v4{width:min(92vw,480px)}.promo-visual{height:170px;position:relative;overflow:hidden;background:#07111c}.promo-visual img{width:100%;height:100%;object-fit:cover}.promo-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,17,28,.1),rgba(7,17,28,.68))}.promo-brand-chip{position:absolute;z-index:2;top:16px;left:16px;background:var(--brand-red);color:#fff;font-size:.67rem;font-weight:900;padding:7px 9px;border-radius:999px}.promo-popup-v4 .modal-body-v4 h2{font-size:1.55rem;line-height:1.05;margin:0 0 8px}.promo-popup-v4 .modal-body-v4 p{color:var(--muted);font-size:.86rem}.promo-input-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.promo-input-row input{min-height:46px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:0 12px}

/* add-property media URL block */
.media-url-panel{margin-top:18px;padding:18px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--surface-2))}.media-url-panel h3{margin:0 0 6px}.media-url-panel p{margin:0 0 14px;color:var(--muted);font-size:.8rem}.media-type-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:11px}.media-type-chips span{font-size:.68rem;font-weight:800;padding:7px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand)}

@media(prefers-reduced-motion:reduce){.modal-v4,.modal-backdrop-v4,.video-play,.property-card{transition:none!important}.reels-feed{scroll-behavior:auto}}

/* V4 mobile header hard-fix */
@media(max-width:899px){
 .desktop-nav-left,.desktop-nav-right{display:none!important}
 .header-grid{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:8px!important}
 .brand{justify-self:center!important;min-width:0!important}
 .brand-logo{width:32px!important;height:32px!important}
 .brand-word strong{font-size:.88rem!important;white-space:nowrap}
 .brand-word small{font-size:.5rem!important}
 .header-actions.mobile-only{display:flex!important;justify-self:end!important;width:44px}
 .header-actions.mobile-only .icon-btn{width:40px!important;min-height:40px!important;padding:0!important}
}
@media(min-width:900px){.desktop-nav-left,.desktop-nav-right{display:flex!important}}


/* PrimeArz V5 area-guide cards — readable names + author + image fallback */
.guide-grid-v5{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.guide-card-v5{border:1px solid var(--line);background:var(--surface);border-radius:22px;overflow:hidden;box-shadow:var(--shadow-xs);transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}.guide-card-v5:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm);border-color:color-mix(in srgb,var(--brand) 25%,var(--line))}.guide-visual-v5{position:relative;display:block;min-height:280px;background-color:#0e344e;background-image:linear-gradient(180deg,rgba(4,17,28,.06) 10%,rgba(4,17,28,.82) 100%),var(--guide-photo),var(--guide-fallback);background-size:cover,cover,cover;background-position:center;isolation:isolate}.guide-top-v5{position:absolute;z-index:2;top:13px;left:13px;right:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.guide-city-v5,.guide-source-v5{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.2);background:rgba(5,19,31,.62);backdrop-filter:blur(10px);color:#fff;border-radius:999px;padding:6px 9px;font-size:.61rem;font-weight:850}.guide-source-dot-v5{width:7px;height:7px;border-radius:50%;background:var(--accent)}.guide-bottom-v5{position:absolute;z-index:2;left:16px;right:16px;bottom:15px;color:#fff}.guide-label-v5{font-size:.6rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#fff;opacity:.78}.guide-bottom-v5 h3{font-size:1.35rem;line-height:1.05;margin:5px 0 5px;letter-spacing:-.035em}.guide-bottom-v5 p{font-size:.72rem;opacity:.82;margin:0;max-width:90%}.guide-info-v5{display:grid;grid-template-columns:auto auto 1fr;gap:16px;align-items:center;padding:13px 14px}.guide-info-v5>div>span{display:block;color:var(--muted);font-size:.58rem;font-weight:760}.guide-info-v5>div>b{display:block;font-size:.8rem}.guide-updated-v5{text-align:right}.guide-updated-v5 a{display:block;color:var(--brand);font-size:.68rem;font-weight:850;margin-top:2px}.guide-city-tabs-v5{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:0 0 18px}.guide-city-tabs-v5 button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:8px 12px;white-space:nowrap;font-size:.7rem;font-weight:780}.guide-city-tabs-v5 button.active{background:var(--brand);border-color:var(--brand);color:#fff}.guide-search-v5{display:grid;grid-template-columns:.8fr 1.4fr .8fr auto;gap:8px;margin-top:20px;background:var(--surface);padding:9px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm)}.guide-search-v5 label{border:1px solid var(--line);border-radius:13px;padding:6px 10px}.guide-search-v5 label>span{display:block;font-size:.59rem;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.guide-search-v5 input,.guide-search-v5 select{width:100%;border:0;outline:0;background:transparent;height:24px;font-size:.78rem;font-weight:760}.guide-search-v5 button{border:0;border-radius:13px;background:var(--accent);color:#111;padding:0 18px;font-weight:900;display:flex;align-items:center;gap:7px}.area-guides-note-v5{margin-top:12px;font-size:.66rem;color:var(--muted)}
@media(max-width:900px){.guide-grid-v5{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-search-v5{grid-template-columns:1fr 1fr}.guide-search-v5 button{min-height:46px;justify-content:center}}
@media(max-width:620px){.guide-grid-v5{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:11px;margin-right:-14px;padding-right:14px;scrollbar-width:none}.guide-card-v5{flex:0 0 84vw;scroll-snap-align:start}.guide-visual-v5{min-height:290px}.guide-search-v5{grid-template-columns:1fr}.guide-search-v5 label:nth-of-type(3){display:none}.guide-top-v5{align-items:flex-start}.guide-source-v5{max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}


/* ==========================================================================
   PRIMEARZ V5.2 — DENSITY + STABILITY AUDIT
   Goals:
   - no layout shift on hover/focus
   - no card/image lift/zoom animations
   - tighter vertical rhythm
   - consistent radii/padding
   - safer overflow on mobile
   - stable fixed-height property result rows
   ========================================================================== */

:root{
  --header-h:64px;
  --r-xs:8px;
  --r-sm:12px;
  --r:16px;
  --r-lg:22px;
  --shadow-xs:0 1px 2px rgba(15,23,40,.035);
  --shadow-sm:0 8px 22px rgba(15,23,40,.065);
  --shadow:0 16px 42px rgba(15,23,40,.09);
  --premium-shadow:0 14px 40px rgba(11,39,66,.09);
  --premium-shadow-hover:0 14px 40px rgba(11,39,66,.09);
}

html,body{max-width:100%;overflow-x:hidden}
body{line-height:1.48}
img{min-width:0}
.container{width:min(var(--max),calc(100% - 30px))}
.section{
  padding:36px 0 !important;
  content-visibility:visible !important;
  contain-intrinsic-size:auto !important;
}
.section-head{
  gap:14px;
  margin-bottom:16px !important;
}
.section-head p{
  margin-top:.32rem;
  line-height:1.45;
}
.h1{font-size:clamp(2.2rem,5vw,4.25rem);line-height:.99}
.h2{font-size:clamp(1.58rem,2.8vw,2.35rem);line-height:1.08}
.page-title{font-size:clamp(1.78rem,3.6vw,2.95rem);line-height:1.06}
.page-hero{padding:24px 0 20px !important}
.breadcrumbs{margin-bottom:12px}

.utility-inner{min-height:30px}
.utility-link,.utility-btn{min-height:28px;padding:3px 8px}
.header-grid{height:var(--header-h)}
.site-header{box-shadow:0 1px 0 var(--line)}
.nav-link{min-height:38px;padding-top:8px;padding-bottom:8px}
.btn,.icon-btn{
  border-radius:10px;
  box-shadow:none;
  transition:
    border-color .12s ease,
    background-color .12s ease,
    color .12s ease,
    box-shadow .12s ease !important;
}
.btn:hover,.icon-btn:hover,
.btn:active,.icon-btn:active{
  transform:none !important;
}
.btn:hover,.icon-btn:hover{
  box-shadow:none !important;
}

/* All cards: stable. No moving/zooming on pointer interaction. */
.card,
.agent-card,.agency-card,.developer-card,.project-card,.area-card,.story-card,
.prime-city-card,.prime-city-quick a,
.property-inline-reel,.video-shell,
.profile-main,.side-card{
  transition:
    border-color .12s ease,
    box-shadow .12s ease,
    background-color .12s ease !important;
}
.card:hover,
.card:focus-within,
.agent-card:hover,.agency-card:hover,.developer-card:hover,.project-card:hover,
.area-card:hover,.story-card:hover,
.prime-city-card:hover,.prime-city-card:focus-visible,
.prime-city-quick a:hover,
.property-inline-reel:hover{
  transform:none !important;
}
.card:hover,.card:focus-within{
  border-color:var(--line-strong);
  box-shadow:var(--shadow-xs) !important;
}

/* Disable all ornamental image zoom. */
.property-media img,
.portrait img,
.prime-city-card img,
.property-inline-reel-media > img,
.video-shell img,
.video-shell video,
.area-card img,
.story-card img,
.project-card img,
.agent-card img,
.agency-card img,
.developer-card img{
  transform:none !important;
  transition:none !important;
}
.property-card:hover .property-media img,
.agent-card:hover .portrait img,
.area-card:hover .portrait img,
.story-card:hover .portrait img,
.prime-city-card:hover img,
.prime-city-card:focus-visible img,
.property-inline-reel:hover .property-inline-reel-media > img{
  transform:none !important;
}

/* Cards / content density */
.card-pad{padding:15px}
.card-grid{gap:12px}
.profile-hero{padding:20px 0 !important}
.profile-shell{gap:14px}
.profile-main{border-radius:20px}
.profile-cover{height:138px}
.profile-info{padding:0 16px 16px}
.profile-avatar{
  width:96px;height:96px;
  border-radius:20px;
  margin-top:-48px;
}
.profile-title-row{margin-top:9px}
.profile-title-row h1{font-size:1.65rem}
.profile-actions{margin-top:11px;gap:6px}
.profile-metrics{margin-top:12px;gap:7px}
.profile-metric{padding:10px;border-radius:11px}
.side-card{padding:14px;border-radius:15px}
.side-card h3{margin-bottom:8px}

.video-shell{border-radius:18px;box-shadow:var(--shadow-xs)}
.video-badge{left:12px;top:12px;min-height:30px;padding:5px 9px}
.video-play{box-shadow:0 8px 22px rgba(0,0,0,.18)}

.stats-strip{margin-top:-15px}
.stats-card{border-radius:15px;box-shadow:var(--shadow-sm)}
.stat{padding:14px}
.stat strong{font-size:1.16rem}

.footer{margin-top:36px}
.footer-top{padding:25px 0}
.footer-grid{gap:19px}
.footer-bottom{padding:12px 0 17px}

/* Generic grid safety */
.card-grid>*,
.news-grid>*,
.tools-grid>*,
.profile-shell>*,
.article-shell>*,
.forum-grid>*,
.two-col>*{min-width:0}

/* Forms: denser but still >= 44px touch target for actionable controls */
.field{padding:7px 10px;border-radius:10px}
.field input,.field select{min-height:28px}
.search-panel{border-radius:17px;margin-top:18px;padding:8px}
.search-tabs{margin-bottom:6px}
.search-tabs button{min-height:40px}
.filter-chip{min-height:42px}
.pf-shell-v5{box-shadow:0 8px 24px rgba(15,23,40,.07) !important}
.pf-filter-v5{border-radius:14px !important}
.pf-row-main-v5,.pf-row-detail-v5{gap:7px !important}

/* =========================================================
   PROPERTY SEARCH — stable vertical rows, NO expanding hover
   ========================================================= */
.property-results-grid{
  gap:10px !important;
}
.property-results-grid > .property-card{
  grid-template-columns:minmax(250px,315px) minmax(0,1fr) !important;
  min-height:218px !important;
  height:auto !important;
  border-radius:15px !important;
  transform:none !important;
  box-shadow:var(--shadow-xs) !important;
}
.property-results-grid > .property-card:hover,
.property-results-grid > .property-card:focus-within{
  transform:none !important;
  box-shadow:var(--shadow-xs) !important;
  border-color:var(--line-strong) !important;
}
.property-results-grid > .property-card .property-media{
  min-height:218px !important;
  height:100% !important;
}
.property-results-grid > .property-card .property-body{
  padding:14px 16px !important;
  min-height:218px;
  display:grid !important;
  grid-template-rows:auto auto 1fr auto;
  gap:0;
}
.property-results-grid > .property-card .property-main{
  padding-right:46px !important;
  gap:5px !important;
}
.property-results-grid > .property-card .price{
  font-size:1.08rem !important;
}
.property-results-grid > .property-card .title{
  font-size:.96rem !important;
  line-height:1.23 !important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.property-results-grid > .property-card .meta{
  font-size:.74rem;
}
.property-results-grid > .property-card .property-meta{
  gap:6px 10px;
  margin-top:2px;
}

/* Full information is already present; no surprise expansion. */
.property-results-grid > .property-card .property-extra{
  display:block !important;
  grid-template-rows:none !important;
  opacity:1 !important;
  margin:7px 0 0 !important;
  padding:7px 0 0 !important;
  border-top:1px solid var(--line) !important;
  transition:none !important;
}
.property-results-grid > .property-card:hover .property-extra,
.property-results-grid > .property-card:focus-within .property-extra{
  display:block !important;
  grid-template-rows:none !important;
  opacity:1 !important;
  margin:7px 0 0 !important;
  padding:7px 0 0 !important;
}
.property-results-grid > .property-card .property-extra p{
  margin:0 0 7px !important;
  font-size:.71rem !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.property-results-grid > .property-card .card-actions{
  gap:6px;
}
.property-results-grid > .property-card .card-actions .btn{
  min-height:36px !important;
  flex:0 0 auto !important;
  padding:0 11px !important;
  font-size:.74rem;
}
.property-results-grid > .property-card .agent-mini{
  margin-top:8px !important;
  padding-top:8px !important;
  grid-template-columns:36px minmax(0,1fr) auto !important;
  gap:8px !important;
}
.property-results-grid > .property-card .agent-avatar{
  width:36px;height:36px;
}
.property-results-grid > .property-card .agent-mini strong{font-size:.73rem}
.property-results-grid > .property-card .agent-mini small{font-size:.63rem}
.property-results-grid > .property-card .agent-stats b{font-size:.7rem}
.property-results-grid > .property-card .agent-stats span{font-size:.61rem}
.property-results-grid > .property-card .hover-label{
  display:none !important;
}

/* Reels stay embedded in list, but tighter and stable */
.property-reels-inline{
  padding:13px !important;
  border-radius:15px !important;
  box-shadow:var(--shadow-xs) !important;
}
.property-reels-head{
  margin-bottom:10px !important;
}
.property-reels-head h2{font-size:1rem !important}
.property-inline-reel{border-radius:12px !important}
.property-inline-reel-media{height:238px !important}
.property-inline-reel-play{
  width:42px;height:42px;
  box-shadow:0 7px 20px rgba(0,0,0,.18);
}
.property-inline-reel-agent{min-height:47px;padding:7px}

/* Homepage city cards — tighter, no zoom */
.prime-city-grid{gap:10px !important;grid-auto-rows:222px !important}
.prime-city-card{border-radius:16px !important}
.prime-city-content{left:14px !important;right:14px !important;bottom:13px !important}
.prime-city-content strong{font-size:1.18rem !important}
.prime-city-quick{gap:8px !important;margin-top:9px !important}
.prime-city-quick a{padding:11px 13px !important;border-radius:12px !important}

/* Avoid giant empty-looking guide/project cards */
.portrait{aspect-ratio:16/10}
.entity-row{padding:12px !important}
.area-hero{min-height:390px !important}

/* Modal / sheets: compact, stable */
.modal-card,.auth-card{border-radius:18px !important}
.filter-sheet{border-radius:20px 20px 0 0 !important}
.filter-sheet .field{margin-bottom:6px}

/* Mobile */
@media(max-width:699px){
  .container{width:min(var(--max),calc(100% - 22px))}
  .section{padding:28px 0 !important}
  .section-head{margin-bottom:13px !important;align-items:flex-start}
  .h1{font-size:clamp(2rem,10vw,3rem)}
  .h2{font-size:1.48rem}
  .page-title{font-size:1.72rem}
  .page-hero{padding:18px 0 16px !important}
  .profile-hero{padding:14px 0 !important}
  .profile-cover{height:118px}
  .profile-avatar{width:82px;height:82px;margin-top:-41px;border-width:4px}
  .profile-info{padding:0 13px 13px}
  .profile-title-row h1{font-size:1.42rem}
  .profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-actions .btn{width:100%}
  .profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card-grid{gap:10px}
  .footer{margin-top:28px}
  .footer-top{padding:22px 0}
  .mobile-bottom{border-radius:15px}
  .property-results-grid > .property-card{
    display:block !important;
    min-height:0 !important;
  }
  .property-results-grid > .property-card .property-media{
    min-height:0 !important;
    aspect-ratio:16/9 !important;
  }
  .property-results-grid > .property-card .property-body{
    min-height:0 !important;
    padding:12px !important;
    display:block !important;
  }
  .property-results-grid > .property-card .property-extra p{
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
  .property-results-grid > .property-card .card-actions .btn{
    min-height:40px !important;
    flex:1 1 0 !important;
  }
  .property-inline-reel-media{height:min(116vw,420px) !important}
  .property-reels-inline{padding:10px !important}
  .prime-city-grid{grid-auto-rows:auto !important}
  .prime-city-card,.prime-city-card--wide{height:228px !important}
  .area-hero{min-height:330px !important}
}

/* Laptop/tablet */
@media(min-width:700px) and (max-width:1179px){
  .section{padding:34px 0 !important}
  .property-results-grid > .property-card{
    grid-template-columns:260px minmax(0,1fr) !important;
  }
  .property-inline-reel-media{height:225px !important}
}

/* Desktop */
@media(min-width:900px){
  .profile-cover{height:160px}
  .profile-info{padding:0 20px 18px}
  .profile-avatar{width:112px;height:112px;margin-top:-56px}
  .profile-title-row h1{font-size:1.95rem}
  .profile-shell{grid-template-columns:minmax(0,1fr) 310px !important}
  .article-shell{grid-template-columns:minmax(0,1fr) 290px !important}
  .forum-grid{grid-template-columns:minmax(0,1.42fr) .58fr !important}
}

/* Reduced motion remains a hard guarantee. */
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

/* === approved primearz-refine.css === */
/* ==========================================================================
   PRIMEARZ V6.2 — TYPE, CONTRAST, CONTROLS
   Loads after the page's own CSS. No markup changes.
   ========================================================================== */

/* ---------- 1. TYPE ------------------------------------------------------ */

html{font-size:16.5px}
body{font-optical-sizing:auto}

body,button,input,select,textarea,
.brand-word strong,.brand-word small{
  font-family:Lexend,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body{
  font-size:1rem;
  line-height:1.6;
  letter-spacing:0;
  font-weight:400;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

.h1,.h2,.h3,.page-title,h1,h2,h3,h4{font-weight:600;text-wrap:balance}
.section-head h1,.section-head h2,.section-head .h2,
.article-body h1,.article-body h2,.card-pad h3,.side-card h3{color:var(--text)}
.h1{font-size:clamp(2.45rem,5vw,4rem) !important;line-height:1.04 !important;letter-spacing:-.03em}
.h2{font-size:clamp(1.65rem,2.7vw,2.3rem) !important;line-height:1.12 !important;letter-spacing:-.025em}
.page-title{font-size:clamp(1.85rem,3.3vw,2.8rem) !important;line-height:1.1 !important;letter-spacing:-.025em}
.h3,.side-card h3,.sheet-section h3{font-size:1rem;font-weight:600;letter-spacing:-.01em}

.section-head p,.page-hero p{font-size:1rem;line-height:1.6;color:var(--text-2)}

/* Weights: 400 body / 500 UI / 600 emphasis. Nothing else. */
.nav-link,.filter-chip,.choice,.tag,.utility-link,.utility-btn,.mobile-menu a,
.mobile-bottom a,.field input,.field select,.sort-select,.tabs a,.tabs button,
.home-search-quick-v5 a,.trust-chips span{font-weight:500 !important}
.btn,.icon-btn,.section-action,.home-search-button-v5,.auth-tab,
.search-tabs button,.title,.story-card h3,.forum-row b,.agent-mini strong,
.agent-mini-premium strong,.guide-bottom-v5 h3,.footer h4{font-weight:600 !important}
.price,.stat strong,.metric b,.profile-metric b,.area-kpi b,.agent-stat b,
.market-stat b,.prime-city-content strong{font-weight:600 !important;letter-spacing:-.02em}
.eyebrow,.sponsored-label,.guide-label-v5,.prime-city-kicker{
  font-weight:600 !important;font-size:.72rem !important;letter-spacing:.1em !important;
}

.price,.stat strong,.metric b,.profile-metric b,.area-kpi b,.market-stat,
.agent-stat b,.forum-count b,.agent-stats b,.guide-info-v5 b{font-variant-numeric:tabular-nums}

/* Readable minimums */
.small{font-size:.88rem}
.micro,.meta,.property-meta,.story-meta,.breadcrumbs{font-size:.85rem}
.badge,.tag,.verified,.rating{font-size:.78rem !important}
.agent-mini small,.agent-mini-premium small,.metric span,.profile-metric span,
.agent-stat span,.stat span{font-size:.78rem !important;color:var(--muted)}
.footer a{font-size:.88rem !important}
.footer-bottom{font-size:.8rem !important}
.footer-note{font-size:.9rem !important;line-height:1.6}
.article-body p,.article-body li{font-size:1.05rem;line-height:1.75;color:var(--text-2)}
.article-body h2{font-size:1.55rem;font-weight:600;letter-spacing:-.02em}

/* ---------- 2. COLOR: cool, light, higher contrast ---------------------- */

:root{
  --brand:#0074C0;
  --brand-ink:#005E9C;
  --brand-red:#D91F14;
  --brand-orange:#C67207;
  --accent:#C67207;

  --bg:#FBF7F3;
  --surface:#FFFFFF;
  --surface-2:#F4F1EC;
  --surface-3:#E9E4DC;

  --text:#0E141B;
  --text-2:#3C4653;
  --muted:#69737F;
  --line:#E7E2DA;
  --line-strong:#CFC8BD;

  --brand-soft:#EAF3FA;
  --brand-red-soft:#FDEDEB;

  --shadow-xs:0 1px 2px rgba(14,20,27,.04);
  --shadow-sm:0 4px 14px rgba(14,20,27,.05);
  --shadow:0 12px 34px rgba(14,20,27,.07);
  --premium-shadow:0 4px 14px rgba(14,20,27,.05);
  --premium-shadow-hover:0 4px 14px rgba(14,20,27,.05);

  --r-xs:8px;--r-sm:10px;--r:14px;--r-lg:18px;
  --header-h:70px;
  --max:1280px;
}
[data-theme="dark"]{
  --bg:#0E1318;--surface:#161C22;--surface-2:#1D242B;--surface-3:#262F37;
  --text:#F3F5F7;--text-2:#C8D0D8;--muted:#8F99A4;--line:#28313A;--line-strong:#39434D;
  --brand-soft:rgba(0,116,192,.18);
}

/* ---------- 3. BUTTONS: one solid, one outline -------------------------- */

.btn,.icon-btn{
  min-height:44px;padding:0 18px;
  font-size:.92rem;
  border-radius:10px !important;
  border:1px solid var(--line-strong);
  background:var(--surface);
  color:var(--text);
  box-shadow:none !important;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease !important;
}
.icon-btn{width:44px;padding:0}
.btn:hover,.icon-btn:hover{background:var(--surface-2);border-color:var(--line-strong)}
.btn-primary,.btn-accent,.home-search-button-v5{
  background:var(--brand) !important;
  border-color:var(--brand) !important;
  color:#fff !important;
  border-radius:10px !important;
  font-weight:600 !important;
}
.btn-primary:hover,.btn-accent:hover,.home-search-button-v5:hover{
  background:var(--brand-ink) !important;border-color:var(--brand-ink) !important;color:#fff !important;
}
.home-search-button-v5{min-height:48px;padding:0 22px;font-size:.95rem;gap:8px}
.btn-quiet{background:var(--surface-2) !important;border-color:transparent !important}
.btn-ghost{background:transparent}
.card-actions .btn,.profile-actions .btn{
  flex:1;min-width:0;padding:0 10px !important;font-size:.85rem;white-space:nowrap;min-height:40px;
}
.hero .btn-ghost{border-color:rgba(255,255,255,.4);color:#fff;background:rgba(14,20,27,.24)}

/* ---------- 4. SEGMENTED CONTROLS & TABS -------------------------------- */

/* Buy / Rent / Projects and any .search-tabs group → real segmented control */
.search-tabs,.home-purpose-v5{
  display:inline-flex !important;
  gap:2px !important;
  padding:3px !important;
  background:var(--surface-2) !important;
  border-radius:11px !important;
  margin-bottom:10px !important;
  overflow:visible !important;
}
.search-tabs button{
  min-height:36px !important;
  padding:0 16px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:var(--text-2) !important;
  font-size:.9rem !important;
}
.search-tabs button:hover{color:var(--text) !important}
.search-tabs button.active,.search-tabs button[aria-selected="true"]{
  background:var(--surface) !important;
  color:var(--text) !important;
  box-shadow:0 1px 2px rgba(14,20,27,.08) !important;
}

/* Filter chips: outline default, solid brand when on */
.filter-chip,.choice{
  min-height:42px !important;
  padding:0 14px !important;
  border:1px solid var(--line) !important;
  border-radius:10px !important;
  background:var(--surface) !important;
  color:var(--text-2) !important;
  font-size:.88rem !important;
}
.filter-chip:hover,.choice:hover{border-color:var(--line-strong) !important;color:var(--text) !important}
.filter-chip.active,.filter-chip.primary,.choice.selected{
  background:var(--brand) !important;
  border-color:var(--brand) !important;
  color:#fff !important;
}
.filter-chip.active .filter-count,.filter-chip.primary .filter-count{
  background:rgba(255,255,255,.22) !important;color:#fff !important;
}
.filter-count{background:var(--brand);color:#fff}

/* Underline tabs */
.tabs a,.tabs button{
  min-height:44px;padding:0 14px;font-size:.9rem;color:var(--muted);
  border-bottom:2px solid transparent;
}
.tabs a:hover,.tabs button:hover{color:var(--text)}
.tabs a.active,.tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}

.auth-tabs{background:var(--surface-2);border-radius:11px;padding:3px}
.auth-tab{min-height:40px;border-radius:8px}
.auth-tab.active{background:var(--surface);box-shadow:0 1px 2px rgba(14,20,27,.08)}

/* ---------- 5. CARDS: flatter, shorter ---------------------------------- */

.card,.side-card,.profile-main,.forum-list,.map-card,.notice,.guide-card-v5,
.video-ad-card,.media-url-panel,.post,.review-card,.market-stat,.amenity,
.metric,.profile-metric,.agent-identity-card,.search-panel,.mobile-menu,
.modal-v4,.stats-card{box-shadow:none !important}
.card,.guide-card-v5,.video-ad-card,.agent-identity-card{
  border:1px solid var(--line) !important;border-radius:var(--r) !important;
}
.card:hover,.card:focus-within,.guide-card-v5:hover,.property-card:hover{
  border-color:var(--line-strong) !important;box-shadow:none !important;
}
.metric,.profile-metric,.amenity,.market-stat,.agent-stat{
  background:var(--surface-2) !important;border-color:transparent !important;border-radius:10px !important;
}
.entity-metrics,.profile-metrics,.agent-stats-premium{grid-template-columns:repeat(auto-fit,minmax(76px,1fr)) !important}
.metric,.agent-stat{min-width:0;padding:9px 8px !important;overflow:hidden}
.metric b{font-size:.9rem;white-space:nowrap}
.metric span{font-size:.7rem !important;line-height:1.3}

/* Featured property cards: shorter media, tighter body.
   Definite height — aspect-ratio resolves circularly against the page's own
   .property-media img{height:100%} rule and swallows the card. */
.property-media{display:block !important}
.card-grid .property-card .property-media{aspect-ratio:auto !important;height:210px !important}
.card-grid .property-card .property-media img{display:block;height:100% !important;width:100% !important;object-fit:cover}
.property-body{padding:14px 15px !important}
.property-main{gap:4px !important}
.card-grid .property-card .price{font-size:1.12rem !important}
.card-grid .property-card .title{
  font-size:.95rem !important;line-height:1.3 !important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.card-grid .property-card .meta{font-size:.82rem !important}
.property-meta{gap:5px 14px;font-size:.82rem}
.agent-mini,.agent-mini-premium{margin-top:11px !important;padding-top:10px !important}
.agent-mini{grid-template-columns:34px 1fr auto !important;gap:9px !important}
.agent-avatar{width:34px !important;height:34px !important;border-width:1px !important}
.agent-mini-premium{grid-template-columns:34px 1fr auto !important}
.agent-mini-premium img{width:34px !important;height:34px !important;border-radius:9px !important}
.save-btn{width:36px;height:36px;right:10px;top:10px}
.card-pad{padding:16px !important}

/* Quiet badges; brand reserved for verified */
.badge{
  background:var(--surface-2) !important;color:var(--text-2) !important;
  border:1px solid var(--line);min-height:24px;padding:4px 9px;border-radius:999px !important;
}
.badge.on-media{
  background:rgba(255,255,255,.95) !important;color:var(--text) !important;border-color:transparent;
}
.badge.orange{background:#FBF1E3 !important;color:#8A4F06 !important;border-color:transparent}
.verified{color:var(--brand)}
.rating .star,.star-inline,.guide-source-dot-v5{color:var(--accent)}
.tag,.trust-chips span,.home-search-quick-v5 a,.agent-profile-pills span,
.media-type-chips span{border-radius:999px !important}
.agent-profile-pills span,.media-type-chips span{background:var(--surface-2) !important;color:var(--text-2) !important}

/* ---------- 6. RHYTHM & SHELL ------------------------------------------- */

.section{padding:56px 0 !important}
.section-head{margin-bottom:26px !important;gap:22px}
.page-hero{padding:32px 0 28px !important;background:var(--surface)}
.card-grid,.news-grid,.tools-grid,.guide-grid-v5{gap:16px !important}
.property-results-grid{gap:12px !important}
.property-results-grid > .property-card{border-radius:var(--r) !important;box-shadow:none !important}
.property-results-grid > .property-card .property-body{padding:16px 18px !important}
.side-card{padding:18px !important;border-radius:var(--r) !important}
.footer{margin-top:56px;background:#141A21;color:#DCE2E8}
.footer-top{padding:40px 0}
.footer-grid{gap:30px}
.footer a{color:#AFB9C4;padding:5px 0 !important}
.footer a:hover{color:#fff}
.footer-note{color:#98A3AE}
.footer-bottom{color:#87919C;border-top:1px solid rgba(255,255,255,.07)}

.site-header{box-shadow:none;border-bottom:1px solid var(--line)}
.header-grid{height:var(--header-h);gap:16px}
.nav-link{min-height:38px;padding:8px 11px;border-radius:8px;font-size:.9rem;color:var(--text-2)}
.nav-link:hover{background:var(--surface-2) !important;color:var(--text)}
.nav-link[aria-current="page"]{
  background:transparent !important;color:var(--brand) !important;
  box-shadow:inset 0 -2px 0 var(--brand);border-radius:0;
}
.utility-bar{background:#141A21}
.utility-pill{background:var(--brand) !important}

/* Hero + search panel */
.hero{min-height:610px}
.hero-bg:after{background:linear-gradient(180deg,rgba(10,15,21,.3) 0%,rgba(10,15,21,.55) 50%,rgba(10,15,21,.86) 100%)}
.hero-content{padding:112px 0 48px}
.hero-copy p{font-size:1.05rem;line-height:1.6;color:rgba(255,255,255,.92)}
.trust-chips{margin-top:16px}
.trust-chips span{font-size:.82rem;padding:8px 12px;border-color:rgba(255,255,255,.3);background:rgba(10,15,21,.34)}
.search-panel,.home-search-v5{border-radius:16px !important;border:1px solid var(--line) !important;padding:12px !important}
.field{padding:9px 12px;border-radius:10px !important}
.field>span,.field>label,.field label{font-size:.72rem !important;letter-spacing:.06em;font-weight:600 !important;color:var(--muted)}
.field input,.field select,.field textarea{min-height:30px;font-size:.95rem}
.home-search-field-v5{border-radius:10px !important;padding:7px 11px}
.home-search-field-v5>span{font-size:.68rem !important;letter-spacing:.06em}
.home-search-field-v5 input{font-size:.94rem !important}
.home-search-main-v5{gap:9px}
.home-search-quick-v5 a{font-size:.8rem !important;padding:7px 11px}
.home-search-quick-v5 span{font-size:.8rem}
.sort-select{min-height:42px;border-radius:10px !important;font-size:.88rem}

.stats-card{border-radius:var(--r) !important;border:1px solid var(--line) !important}
.stat{padding:18px !important}
.stat strong{font-size:1.5rem !important}

.media-gallery-v4 img,.video-shell,.reel-card{border-radius:var(--r-lg) !important}
.prime-city-card,.guide-visual-v5{border-radius:var(--r) !important}
.prime-city-grid{grid-auto-rows:255px}
.prime-city-content strong{font-size:1.3rem}
.prime-city-content>span:not(.prime-city-kicker){font-size:.85rem;opacity:.92}
@media(max-width:1080px) and (min-width:621px){
  .prime-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prime-city-card--wide{grid-column:span 2}
}

:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
::selection{background:color-mix(in srgb,var(--brand) 22%,transparent)}

/* Header fit: page switches to the desktop header at 900px, too tight for
   7 links at this scale — hold the compact header to 1100px. */


@media(max-width:899px){
  html{font-size:16px}
  .section{padding:42px 0 !important}
  .section-head{margin-bottom:20px !important}
  .hero{min-height:540px}
  .hero-content{padding:92px 0 38px}
  .footer-top{padding:30px 0}
}


/* ==========================================================================
   V6.3 — PROTY-STYLE LAYOUT: centered section headings, alternating cream
   sections, quieter cards, tighter radii
   ========================================================================== */

/* Section headings centered with a subtitle underneath */
.section-head{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  text-align:center !important;
  gap:10px !important;
  margin-bottom:32px !important;
}
.section-head > div{width:100%;max-width:720px}
.section-head p{margin:.45rem auto 0 !important;max-width:620px;color:var(--muted) !important}
.section-head .eyebrow{display:block;margin-bottom:6px}
.section-head .section-action{order:3}
.section-head > *:not(:first-child):not(.section-action){align-self:center}

/* Hero centered */
.hero{align-items:center !important;text-align:center}
.hero-copy{max-width:820px;margin-inline:auto}
.hero-copy p{margin-inline:auto}
.hero .eyebrow{justify-content:center}
.hero-actions{justify-content:center}
.trust-chips{justify-content:center;flex-wrap:wrap;overflow:visible}
.search-panel,.home-search-v5{max-width:960px;margin-inline:auto;text-align:left}
.home-search-top-v5{justify-content:space-between}
.home-search-quick-v5{justify-content:center;flex-wrap:wrap;overflow:visible}

/* Cards: small radius, hairline, no tint */
:root{--r-xs:8px;--r-sm:10px;--r:12px;--r-lg:16px}
.card,.guide-card-v5,.video-ad-card,.agent-identity-card,.side-card,
.stats-card,.forum-list,.map-card,.profile-main{border-radius:12px !important}
.btn,.icon-btn,.filter-chip,.choice,.field,.home-search-field-v5,.sort-select{border-radius:8px !important}
.search-panel,.home-search-v5{border-radius:14px !important}
.search-tabs,.home-purpose-v5,.auth-tabs{border-radius:9px !important}
.search-tabs button,.auth-tab{border-radius:6px !important}

/* Property card: bed/bath row divided, price accented, quiet badges */
.property-meta{
  gap:0 !important;
  align-items:center;
  color:var(--text-2) !important;
}
.property-meta span{padding-right:12px;margin-right:12px;border-right:1px solid var(--line)}
.property-meta span:last-child{border-right:0;margin-right:0;padding-right:0}
.card-grid .property-card .price,.property-results-grid .price{color:var(--brand) !important}
.badge.on-media{
  background:var(--brand) !important;color:#fff !important;
  font-size:.72rem !important;padding:4px 9px !important;
}
.badge{border-radius:6px !important}
.tag,.trust-chips span,.home-search-quick-v5 a{border-radius:999px !important}

/* Category / city tiles: outline boxes, centered content */
.prime-city-quick a{border-radius:10px !important;border-color:var(--line) !important;background:var(--surface) !important}
.prime-city-quick a:hover{border-color:var(--line-strong) !important;transform:none !important}

/* Cream/white alternation comes from the page's own inline section backgrounds
   sitting on a cream body. Keep the utility strips consistent. */
.page-hero{background:var(--surface) !important;border-bottom:1px solid var(--line)}
.footer{background:#1A1F26}
.utility-bar{background:#1A1F26}


/* ==========================================================================
   V6.4 — ICON ALIGNMENT, HEADER BALANCE, STILL HOVERS, SCROLL REVEAL
   ========================================================================== */

/* ---- Icons: one size scale, optically centred ---- */
.icon-btn{width:40px !important;min-height:40px !important;padding:0 !important;color:var(--text-2);display:inline-grid !important;place-items:center}
.icon-btn:hover{color:var(--text);background:var(--surface-2)}
.icon-btn svg,.icon-btn .ico{width:18px !important;height:18px !important;display:block}
.verified,.rating,.property-meta span,.meta{display:inline-flex;align-items:center;line-height:1.2}
.verified svg,.verified .ico,.rating svg,.property-meta svg,.property-meta .ico{
  width:13px !important;height:13px !important;flex:0 0 auto;display:block;
}
.verified{gap:5px;font-weight:600 !important}
.btn svg,.btn .ico{width:16px;height:16px;display:block;flex:0 0 auto}
.home-search-field-v5>div{align-items:center}
.home-search-field-v5 .ico{width:18px !important;height:18px !important;display:block;flex:0 0 auto;align-self:center}
.home-search-button-v5 svg,.home-search-button-v5 .ico{width:17px;height:17px;display:block}
.mobile-bottom .ico{width:19px;height:19px;display:block}
.save-btn{
  width:36px;height:36px;right:10px;top:10px;padding:0;border:0;
  display:grid;place-items:center;background:rgba(255,255,255,.96);
}
.save-btn svg,.save-btn .ico{width:17px;height:17px;display:block;margin:0}

/* ---- Header: logo left, nav beside it, actions right ---- */



/* ---- Nothing moves on hover. Anywhere. ---- */
.card:hover,.card:focus-within,.property-card:hover,.property-card:focus-within,
.guide-card-v5:hover,.agent-card:hover,.agency-card:hover,.developer-card:hover,
.project-card:hover,.area-card:hover,.story-card:hover,.prime-city-card:hover,
.prime-city-card:focus-visible,.prime-city-quick a:hover,.btn:hover,.icon-btn:hover,
.video-shell:hover,.guide-card-v5:focus-within{transform:none !important}
.property-media img,.portrait img,.prime-city-card img,.video-shell img,
.guide-visual-v5,.property-card:hover .property-media img,
.prime-city-card:hover img,.story-card:hover .portrait img{
  transform:none !important;transition:none !important;
}

/* ---- Hover reveals over the photo instead of growing the card ---- */
.card-grid .property-card .hover-label{display:none !important}
.card-grid .property-card .property-extra{
  position:absolute !important;left:0;right:0;top:0;height:210px;
  margin:0 !important;padding:14px !important;border-top:0 !important;
  display:grid !important;grid-template-rows:auto !important;align-content:end;
  background:linear-gradient(180deg,rgba(10,15,21,0) 45%,rgba(10,15,21,.74) 100%);
  opacity:0;visibility:hidden;pointer-events:none;z-index:4;
  transition:opacity .16s ease !important;
}
.card-grid .property-card:hover .property-extra,
.card-grid .property-card:focus-within .property-extra{
  opacity:1;visibility:visible;pointer-events:auto;
}
.card-grid .property-card .property-extra>div{overflow:visible}
.card-grid .property-card .property-extra p{display:none !important}
.card-grid .property-card .property-extra .card-actions{gap:8px}
.card-grid .property-card .property-extra .btn{
  min-height:38px !important;background:rgba(255,255,255,.97) !important;
  border-color:transparent !important;color:#0E141B !important;font-size:.85rem;
}
.card-grid .property-card .property-extra .btn-primary{
  background:var(--brand) !important;color:#fff !important;
}

/* Sharper avatars, no ring blur */
.agent-avatar{
  width:40px !important;height:40px !important;
  border:1px solid var(--line) !important;image-rendering:auto;
}
.agent-mini{grid-template-columns:40px 1fr auto !important}

/* ---- Scroll reveal (added by primearz-motion.js) ---- */
.reveal{opacity:0;transform:translateY(14px);will-change:opacity,transform}
.reveal.is-in{
  opacity:1;transform:none;
  transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1);
}
@media(prefers-reduced-motion:reduce){
  .reveal,.reveal.is-in{opacity:1 !important;transform:none !important;transition:none !important}
}


/* ==========================================================================
   V6.5 — BLUE AS AN ACTION COLOR ONLY
   Ink for information, blue for things you can press. Everything else neutral.
   ========================================================================== */

/* Prices and stats read as information, not links */
.card-grid .property-card .price,.property-results-grid .price,
.price,.stat strong,.metric b,.profile-metric b,.market-stat b,.agent-stat b{
  color:var(--text) !important;
}
.market-stat .change{color:#17795A !important}

/* Eyebrows/kickers: quiet grey, not brand */
.eyebrow{color:var(--muted) !important}
.hero .eyebrow,.area-hero .eyebrow{color:rgba(255,255,255,.86) !important}

/* Badges: white on photos, neutral in body. Verified keeps a small blue check. */
.badge.on-media{
  background:rgba(255,255,255,.96) !important;color:var(--text) !important;
  border:0;font-weight:600 !important;
}
.badge{background:var(--surface-2) !important;color:var(--text-2) !important}
.verified{color:var(--brand) !important}

/* Selected filters: tinted, not solid slabs */
.filter-chip.active,.filter-chip.primary,.choice.selected{
  background:var(--brand-soft) !important;
  border-color:color-mix(in srgb,var(--brand) 32%,var(--line)) !important;
  color:var(--brand-ink) !important;
}
.filter-chip.active .filter-count,.filter-chip.primary .filter-count{
  background:var(--brand) !important;color:#fff !important;
}

/* Icon-only header controls: neutral until hovered */
.icon-btn{border-color:var(--line) !important}
.desktop-nav-right .icon-btn{border-color:transparent !important;background:transparent !important}
.desktop-nav-right .icon-btn:hover{background:var(--surface-2) !important}

/* Amenity / forum icon tiles: neutral chips */
.amenity-icon,.forum-icon{background:var(--surface-2) !important;color:var(--text-2) !important;border-radius:9px}
.timeline-dot{background:var(--brand);border-color:var(--brand-soft)}

/* Entity logos and metric tiles calm down */
.entity-logo{background:var(--surface-2);color:var(--text-2);border-color:var(--line)}

/* Blue stays on: primary buttons, links, active nav, focus, sparkline */
.section-action,.guide-updated-v5 a,.article-side a,.footer-bottom a{color:var(--brand) !important}
.nav-link[aria-current="page"]{color:var(--brand) !important;box-shadow:inset 0 -2px 0 var(--brand)}
.sparkline path.line{stroke:var(--brand)}
.profile-cover{background:linear-gradient(130deg,var(--brand),#00517F) !important}
.profile-cover:after{display:none}


/* ==========================================================================
   V6.6 — HEADER (logo centred, no hamburger on desktop), HOVER OVERLAYS,
   METRIC ICONS, TIGHTER FILTER BAR, MATCHED CONTENT WIDTHS
   ========================================================================== */

/* Desktop header from 900px up: logo centred, four links either side, no
   hamburger. Type and padding tighten as the window narrows so every
   destination stays visible. */
@media(min-width:1280px){
  .site-header .icon-btn.mobile-only,
  .site-header .header-actions.mobile-only{display:none !important}
  .desktop-nav-left,.desktop-nav-right{display:flex !important}
  .mobile-menu,.mobile-bottom{display:none !important}
  body{padding-bottom:0}
}

/* Below 1280px the eight links + CTA cannot share a row with a centred logo
   (385px of right-hand content in a 346px track), so the compact header —
   which carries every destination in its menu and bottom bar — stays on. */
@media(max-width:1279px){
  .desktop-nav-left,.desktop-nav-right{display:none !important}
  .site-header .header-grid{
    display:grid !important;
    grid-template-columns:42px minmax(0,1fr) 42px !important;
    align-items:center;gap:8px !important;height:var(--header-h) !important;
  }
  .site-header .header-grid > .brand{
    grid-column:2 !important;justify-self:center !important;margin:0 !important;
    position:static !important;transform:none !important;
  }
  .site-header .icon-btn.mobile-only{grid-column:1;justify-self:start;display:inline-grid !important}
  .site-header .header-actions.mobile-only{grid-column:3;justify-self:end;display:flex !important}
  .mobile-bottom{display:grid !important}
  body{padding-bottom:78px}
}


/* ---- Hover: a soft shadow and a photo scrim. Never a size change. ---- */
.card:hover,.card:focus-within,.property-card:hover,.property-card:focus-within,
.guide-card-v5:hover,.story-card:hover,.video-ad-card:hover{
  box-shadow:0 10px 30px rgba(14,20,27,.10) !important;
}
.property-media:after,.prime-city-card:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:rgba(10,15,21,0);transition:background .18s ease;
}
.property-card:hover .property-media:after{background:rgba(10,15,21,.2)}
.prime-city-card:hover:after{background:rgba(10,15,21,.12)}

/* ---- Results rows: actions float over the card, no reflow ---- */
.property-results-grid .property-card{position:relative;overflow:hidden}
.property-results-grid .property-card .property-extra{
  position:absolute !important;right:14px;bottom:12px;left:auto;top:auto;width:auto;
  margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;
  grid-template-rows:auto !important;opacity:0;visibility:hidden;z-index:5;
  transition:opacity .16s ease !important;
}
.property-results-grid .property-card:hover .property-extra,
.property-results-grid .property-card:focus-within .property-extra{opacity:1;visibility:visible}
.property-results-grid .property-extra>div{overflow:visible}
.property-results-grid .property-extra p{display:none !important}
.property-results-grid .property-extra .card-actions{gap:8px}
.property-results-grid .property-extra .btn{
  min-height:38px !important;padding:0 14px !important;background:#fff !important;
  border-color:var(--line) !important;color:var(--text) !important;
  box-shadow:0 8px 22px rgba(14,20,27,.16) !important;
}
.property-results-grid .property-extra .btn-primary{
  background:var(--brand) !important;border-color:var(--brand) !important;color:#fff !important;
}

/* ---- Filter bar: shorter controls, width matched to the results column ---- */
.pfx-shell .container,.property-results-section-v54 .container{
  width:min(1082px,calc(100% - 30px)) !important;
}
.results-layout-v54{justify-content:start !important}
.pfx-primary-row{padding:8px 0 6px !important}
.pfx-purpose{min-width:112px !important;border-radius:9px !important;padding:3px !important}
.pfx-purpose button{
  min-height:38px !important;border-radius:6px !important;
  font-size:.84rem !important;font-weight:600 !important;
}
.pfx-purpose button.active{background:var(--brand) !important;color:#fff !important}
.pfx-searchable{padding:4px 9px 5px !important;border-radius:9px !important}
.pfx-searchable>label{font-size:.62rem !important;font-weight:600 !important;letter-spacing:.05em}
.pfx-searchable-input input{font-size:.86rem !important;font-weight:500 !important;height:26px}
.pfx-searchable-input>.ico{width:16px !important;height:16px !important;color:var(--muted)}
.pfx-primary-row>.btn,.pfx-primary-row button.primary{min-height:46px !important}
.pfx-mobile-location,.pfx-mobile-filter{height:44px !important;border-radius:9px !important}
.pfx-active-row>span{font-size:.72rem !important;font-weight:600 !important;letter-spacing:.02em}
.pfx-active-row button{font-size:.75rem !important;font-weight:500 !important}
.pfx-mobile-filter b{background:var(--brand) !important}

/* ---- Metric icons (injected by primearz-motion.js) ---- */
.pa-ico{
  width:14px;height:14px;flex:0 0 auto;display:inline-block;
  color:var(--muted);vertical-align:-2px;margin-right:5px;
}
.pa-ico svg{width:100%;height:100%;display:block}
.property-meta span{gap:0 !important}
.property-card .meta{display:flex;align-items:center;gap:0}


/* ==========================================================================
   V6.7 — WIDTH MATCH, NAV FIT, INK PRICES
   ========================================================================== */

/* Results column fills the same container as the filter bar */
.results-layout-v54{grid-template-columns:minmax(0,1fr) 300px !important;gap:22px}
.results-main-v54{max-width:none !important}
@media(max-width:1120px){
  .results-layout-v54{grid-template-columns:minmax(0,1fr) !important}
}

/* Price is information, not a link (beats the v5.4 !important rule) */
.results-main-v54 .property-card .price,
.property-results-grid > .property-card .price{
  color:var(--text) !important;font-size:1.06rem !important;
}



/* Sort control matches the filter controls */
.sort-select{min-height:40px !important;font-size:.85rem !important;padding:0 12px !important}
.results-head{align-items:center}


/* ==========================================================================
   V6.8 — beat the v5.4 inline caps
   ========================================================================== */
.results-main-v54 .property-results-grid > .property-card{
  max-width:none !important;width:100% !important;
}
.results-main-v54 .property-results-grid,
.property-results-grid{grid-template-columns:minmax(0,1fr) !important}

.results-main-v54 .property-card .property-extra,
.property-results-grid .property-card .property-extra{display:grid !important}


/* ==========================================================================
   V6.9 — CENTRED LOGO, CALM AGENT CARDS, SHORTER FILTER CONTROLS
   ========================================================================== */

/* ---- Logo: optically centred regardless of nav-group widths ---- */


/* ---- Agent / agency / project cards: actions always visible ---- */
.agent-card .property-extra,.agency-card .property-extra,
.developer-card .property-extra,.project-card .property-extra,
.area-card .property-extra,.story-card .property-extra{
  position:static !important;opacity:1 !important;visibility:visible !important;
  grid-template-rows:1fr !important;
  margin-top:12px !important;padding-top:12px !important;
  border-top:1px solid var(--line) !important;
  background:transparent !important;height:auto !important;
  transition:none !important;
}
.agent-card .property-extra>div,.agency-card .property-extra>div,
.developer-card .property-extra>div,.project-card .property-extra>div{overflow:visible}
.agent-card .property-extra p,.agency-card .property-extra p,
.developer-card .property-extra p,.project-card .property-extra p{
  display:block !important;font-size:.84rem !important;color:var(--text-2) !important;
  line-height:1.5;margin:0 0 10px !important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.agent-card .hover-label,.agency-card .hover-label,
.developer-card .hover-label,.project-card .hover-label{display:none !important}

/* ---- Filter bar: shorter, normal tracking, centred icons ---- */
.pfx-purpose{min-width:118px !important;border-radius:10px !important}
.pfx-purpose button{
  min-height:40px !important;border-radius:7px !important;
  font-size:.85rem !important;font-weight:600 !important;letter-spacing:0 !important;
}
.pfx-search-btn{
  min-height:46px !important;border-radius:10px !important;
  font-size:.9rem !important;font-weight:600 !important;letter-spacing:0 !important;
  align-self:center;
}
.pfx-search-btn svg,.pfx-search-btn .ico,.pfx-search-btn [data-icon]{
  width:17px !important;height:17px !important;display:block;align-self:center;flex:0 0 auto;
}
.pfx-primary-row{align-items:center !important;padding:9px 0 7px !important}
.pfx-searchable{padding:5px 10px 6px !important;border-radius:10px !important}
.pfx-searchable>label{
  margin:0 0 2px 25px !important;font-size:.62rem !important;
  font-weight:600 !important;letter-spacing:.05em !important;
}
.pfx-searchable-input{align-items:center !important}
.pfx-searchable-input>.ico,.pfx-searchable-input>[data-icon]{
  width:16px !important;height:16px !important;align-self:center;flex:0 0 auto;
  color:var(--muted) !important;display:block;
}
.pfx-searchable-input>.ico svg,.pfx-searchable-input>[data-icon] svg{width:100%;height:100%;display:block}
.pfx-searchable-input input{
  height:26px !important;font-size:.88rem !important;
  font-weight:500 !important;letter-spacing:0 !important;
}
.pfx-caret{align-self:center;color:var(--muted);font-size:.8rem}
.pfx-mobile-location,.pfx-mobile-filter{height:44px !important}

.desktop-nav-right .btn,.header-actions .btn{white-space:nowrap !important}


/* ==========================================================================
   V7.0 — GRID-ITEM SIZING (fills track / shrink-to-fit panel)
   ========================================================================== */
/* Panel shrink-to-fits at bottom-right: flex container, not a stretched grid */
.property-results-grid .property-card .property-extra{
  display:flex !important;justify-content:flex-end;align-items:flex-end;
  width:auto !important;left:auto !important;
}
.property-results-grid .property-card .property-extra > div{
  width:auto !important;overflow:visible !important;
}
.property-results-grid .property-extra .card-actions{flex:0 0 auto}
.property-results-grid .property-extra .card-actions .btn{flex:0 0 auto !important}


/* ==========================================================================
   V7.1 — RESULT ROW HEIGHT
   ========================================================================== */
.results-main-v54 .property-results-grid > .property-card .property-media,
.property-results-grid > .property-card .property-media{
  height:100% !important;min-height:196px;
}
.results-main-v54 .property-results-grid > .property-card .property-media img{
  height:100% !important;width:100% !important;object-fit:cover;display:block;
}


/* ==========================================================================
   V7.2 — RESULT ROW HOVER: a compact action bar, nothing else
   Final word on the panel: no description text, shrink-to-fit, bottom-right.
   ========================================================================== */
.results-main-v54 .property-results-grid > .property-card > .property-body > .property-extra,
.property-results-grid > .property-card > .property-body > .property-extra{
  position:absolute !important;
  left:auto !important;top:auto !important;right:14px !important;bottom:12px !important;
  width:auto !important;max-width:none !important;height:auto !important;
  margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;
  display:flex !important;justify-content:flex-end !important;align-items:flex-end !important;
  opacity:0;visibility:hidden;pointer-events:none;z-index:6;
  transition:opacity .16s ease !important;
}
.results-main-v54 .property-results-grid > .property-card:hover > .property-body > .property-extra,
.results-main-v54 .property-results-grid > .property-card:focus-within > .property-body > .property-extra,
.property-results-grid > .property-card:hover > .property-body > .property-extra,
.property-results-grid > .property-card:focus-within > .property-body > .property-extra{
  opacity:1;visibility:visible;pointer-events:auto;
}
.property-results-grid > .property-card > .property-body > .property-extra > *{
  width:auto !important;overflow:visible !important;display:flex !important;gap:8px !important;
}
.property-results-grid > .property-card > .property-body > .property-extra p,
.property-results-grid > .property-card > .property-body > .property-extra small,
.property-results-grid > .property-card > .property-body > .property-extra .hover-label{
  display:none !important;
}
.property-results-grid > .property-card > .property-body > .property-extra .btn{
  flex:0 0 auto !important;white-space:nowrap !important;
  min-height:36px !important;padding:0 14px !important;font-size:.84rem !important;
  background:#fff !important;border:1px solid var(--line) !important;color:var(--text) !important;
  box-shadow:0 8px 22px rgba(14,20,27,.18) !important;
}
.property-results-grid > .property-card > .property-body > .property-extra .btn-primary{
  background:var(--brand) !important;border-color:var(--brand) !important;color:#fff !important;
}


/* ==========================================================================
   V7.3 — ONE-ROW HEADER, FINAL
   Single row at every desktop width: links left, logo optically centred,
   actions + CTA right, all on one baseline. No second row, nothing hidden.
   ========================================================================== */
@media(min-width:1280px){
  .site-header .header-grid{
    display:flex !important;
    position:relative;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    grid-template-columns:none !important;
    grid-template-rows:none !important;
    height:var(--header-h) !important;
    padding:0 !important;
    gap:10px !important;
  }
  /* Symmetric geometry: equal flexible tracks either side, logo fixed in the
     middle. True centre at every width, and overlap is impossible. */
  .site-header .header-grid > .brand{
    position:static !important;transform:none !important;
    order:1;flex:0 0 auto;margin:0 !important;
    grid-column:auto !important;grid-row:auto !important;
    justify-self:auto !important;align-self:center !important;
  }
  .site-header .desktop-nav-left{
    order:2;grid-column:auto !important;grid-row:auto !important;
    justify-self:auto !important;
    display:flex !important;align-items:center;flex-wrap:nowrap;
    justify-content:center !important;
    flex:1 1 0 !important;min-width:0;
  }
  .site-header .desktop-nav-right{
    order:3;grid-column:auto !important;grid-row:auto !important;
    justify-self:auto !important;
    display:flex !important;align-items:center !important;flex-wrap:nowrap;
    justify-content:flex-end !important;
    flex:1 1 0 !important;min-width:0;margin-left:0 !important;
  }
  .site-header .nav-group{gap:1px !important}
  .site-header .nav-link{
    white-space:nowrap;padding:8px 9px !important;font-size:.85rem !important;
    display:inline-flex;align-items:center;line-height:1.2;
  }
  .site-header .nav-link[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--brand)}

  /* Actions sit on the same optical baseline as the links */
  .desktop-nav-right .icon-btn{
    width:34px !important;min-height:34px !important;height:34px !important;
    margin:0 0 0 2px !important;align-self:center !important;flex:0 0 auto;
  }
  .desktop-nav-right .btn-primary{
    min-height:38px !important;height:38px !important;
    padding:0 14px !important;font-size:.84rem !important;
    margin:0 0 0 8px !important;align-self:center !important;flex:0 0 auto;
    display:inline-flex;align-items:center;white-space:nowrap;
  }
}



/* ==========================================================================
   V7.4 — SHELL WIDTH + TOP-BAR DROPDOWNS
   ========================================================================== */

/* One shell width everywhere: top bar, header and content share it */
.container{width:min(1082px,calc(100% - 30px)) !important;margin-inline:auto !important}

/* Top-bar dropdowns */
.utility-left{display:flex;align-items:center;gap:14px;min-width:0}
.utility-sep{width:1px;height:16px;background:rgba(255,255,255,.18);display:inline-block}
.pa-dd{position:relative}
.pa-dd-btn{
  display:inline-flex !important;align-items:center;gap:6px;
  min-height:26px;padding:0 9px !important;border:1px solid rgba(255,255,255,.16) !important;
  border-radius:7px !important;background:rgba(255,255,255,.06) !important;
  color:#EDF1F5 !important;font:inherit;font-size:.78rem !important;font-weight:600 !important;
  letter-spacing:0;cursor:pointer;white-space:nowrap;
}
.pa-dd-btn:hover{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.26) !important}
.pa-dd-btn [data-icon]{width:14px;height:14px;display:block;flex:0 0 auto;opacity:.8}
.pa-dd-btn [data-icon] svg{width:100%;height:100%;display:block}
.pa-dd-val{font-weight:600}
.pa-dd-caret{
  width:0;height:0;flex:0 0 auto;margin-left:1px;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:4.5px solid currentColor;opacity:.75;transition:transform .15s ease;
}
.pa-dd[data-open] .pa-dd-caret{transform:rotate(180deg)}

.pa-dd-menu{
  position:absolute;left:0;top:calc(100% + 7px);z-index:60;
  min-width:212px;max-height:274px;overflow-y:auto;
  display:none;flex-direction:column;padding:6px;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 18px 44px rgba(14,20,27,.18);
}
.pa-dd[data-open] .pa-dd-menu{display:flex}
.pa-dd-menu button{
  display:block;width:100%;text-align:left;
  min-height:38px;padding:0 11px;border:0;border-radius:8px;
  background:transparent;color:var(--text);
  font:inherit;font-size:.86rem;font-weight:500;cursor:pointer;white-space:nowrap;
}
.pa-dd-menu button:hover{background:var(--surface-2)}
.pa-dd-menu button[aria-checked="true"]{
  background:var(--brand);color:#fff;font-weight:600;
}
@media(max-width:720px){
  .utility-left{gap:9px}
  .pa-dd-menu{min-width:190px}
}


/* ---------- HEADER: logo left, nav centered, actions right --------------- */
@media(min-width:1280px){
  .site-header .header-grid > .brand{order:1 !important;justify-self:start !important}
  .site-header .desktop-nav-center{order:2 !important;flex:1 1 0 !important;justify-content:center !important;flex-wrap:nowrap}
  .site-header .desktop-nav-right{order:3 !important;flex:0 0 auto !important;justify-content:flex-end !important}
}


/* ---------- Top-bar dropdowns above the sticky header -------------------- */
.utility-bar{position:relative;z-index:120;overflow:visible}
.utility-inner,.utility-left,.utility-right{overflow:visible}
.pa-dd-menu{z-index:200 !important}

/* ---------- Listing badges ---------------------------------------------- */
.badge-stack{
  position:absolute;left:12px;top:12px;z-index:3;
  display:flex;flex-wrap:wrap;gap:6px;max-width:calc(100% - 24px);
}
.badge-stack .badge{position:static !important;margin:0 !important}
.badge.b-verified{background:#F3F5F7;color:#1F2A37;border:1px solid rgba(16,24,40,.10)}
.badge.b-featured{background:#EAF1FC;color:#12467B;border:1px solid rgba(18,70,123,.16)}
.badge.b-hot{background:#FEF0E2;color:#9A4E06;border:1px solid rgba(154,78,6,.16)}
.badge.b-super{background:#FCE7E7;color:#A81E17;border:1px solid rgba(168,30,23,.18)}

/* ---------- Features filter --------------------------------------------- */
.pfx-features-pop{width:min(430px,92vw);left:auto !important;right:0 !important}
.pfx-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin:4px 0 2px}
.pfx-feature-check{
  display:flex;align-items:center;gap:9px;min-height:36px;padding:0 9px;
  border:1px solid var(--line);border-radius:9px;cursor:pointer;
  font-size:.8rem;font-weight:500;color:var(--text-2);background:var(--surface);
}
.pfx-feature-check:hover{border-color:var(--line-strong);background:var(--surface-2)}
.pfx-feature-check input{width:16px;height:16px;accent-color:var(--brand);flex:0 0 auto;margin:0}
.pfx-feature-check:has(input:checked){
  border-color:var(--brand);color:var(--text);
  background:color-mix(in srgb,var(--brand) 6%,var(--surface));
}
@media(max-width:560px){.pfx-feature-grid{grid-template-columns:1fr}}


/* ---------- Currency flags + area-unit chips ----------------------------- */
.pa-dd-menu button{display:flex !important;align-items:center;gap:9px}
.pa-flag{font-size:1rem;line-height:1;flex:0 0 auto}
.pa-unit{
  flex:0 0 auto;min-width:26px;height:20px;padding:0 5px;border-radius:6px;
  display:inline-grid;place-items:center;background:var(--surface-2);
  border:1px solid var(--line);color:var(--text-2);
  font-size:.63rem;font-weight:600;letter-spacing:.01em;
}
.pa-dd-menu button[aria-checked="true"] .pa-unit{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.3);color:#fff}

/* ---------- Save search moved above the results ------------------------- */
.results-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.results-save-search{
  display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 13px;
  border:1px solid var(--line);border-radius:10px;background:var(--surface);
  color:var(--brand);font-size:.77rem;font-weight:600;cursor:pointer;white-space:nowrap;
}
.results-save-search:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 5%,var(--surface))}
.results-save-search .ico{width:16px;height:16px}
.sidebar-alert-v54 button{display:inline-flex;align-items:center;gap:6px}
.sidebar-alert-v54 button .ico{width:14px;height:14px}
@media(max-width:560px){
  .results-head{flex-wrap:wrap}
  .results-head-actions{width:100%}
  .results-head-actions .sort-select{flex:1 1 auto}
}

.badge-stack .badge{display:inline-flex;align-items:center;gap:5px}
.badge-stack .badge .ico{width:12px;height:12px;flex:0 0 auto}
.badge.b-super .ico,.badge.b-hot .ico{stroke-width:2.2}


/* ---------- Filter row: six controls on one desktop line ---------------- */
@media(min-width:1180px){
  .pfx-filter-row{grid-template-columns:repeat(6,minmax(0,1fr)) !important}
}
@media(min-width:900px) and (max-width:1179px){
  .pfx-filter-row{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
.pfx-popover{max-width:calc(100vw - 28px)}
.pfx-popover.pfx-align-left{left:0 !important;right:auto !important}
.pfx-popover.pfx-align-right{left:auto !important;right:0 !important}


/* ==========================================================================
   V8 — DARK MODE: warm neutral, no blue on dark
   ========================================================================== */
[data-theme="dark"]{
  --bg:#131110;--surface:#1A1816;--surface-2:#221F1C;--surface-3:#2B2724;
  --text:#F6F3EF;--text-2:#D6D0C8;--muted:#A29B92;
  --line:#302C28;--line-strong:#413C36;

  --brand:#E0A75A;
  --brand-ink:#F0C68C;
  --brand-soft:rgba(224,167,90,.16);
  --brand-red:#E0705F;
  --brand-red-soft:rgba(224,112,95,.16);
  --brand-orange:#E0A75A;
  --accent:#E0A75A;

  --shadow-xs:0 1px 2px rgba(0,0,0,.4);
  --shadow-sm:0 4px 14px rgba(0,0,0,.45);
  --shadow:0 12px 34px rgba(0,0,0,.5);
  --premium-shadow:0 4px 14px rgba(0,0,0,.45);
  --premium-shadow-hover:0 6px 20px rgba(0,0,0,.55);
}
/* Amber solids carry dark ink, never white-on-amber */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-accent,
[data-theme="dark"] .home-search-button-v5,
[data-theme="dark"] .pfx-search-btn,
[data-theme="dark"] .pfx-pop-actions button.primary,
[data-theme="dark"] .pfx-purpose button.active,
[data-theme="dark"] .pa-dd-menu button[aria-checked="true"],
[data-theme="dark"] .utility-pill,
[data-theme="dark"] .sidebar-primary-v54,
[data-theme="dark"] .pf-apply-v5{
  background:var(--brand) !important;border-color:var(--brand) !important;color:#1A1409 !important;
}
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .pfx-search-btn:hover,
[data-theme="dark"] .btn-accent:hover{background:var(--brand-ink) !important;border-color:var(--brand-ink) !important}

/* Dark surfaces that were hard-coded blue-black */
[data-theme="dark"] .utility-bar,
[data-theme="dark"] .footer,
[data-theme="dark"] .mobile-bottom{background:#100E0C !important}
[data-theme="dark"] .hero,
[data-theme="dark"] .area-hero,
[data-theme="dark"] .reels-page{background:#151210 !important}
[data-theme="dark"] .reels-page .site-header{background:rgba(21,18,16,.94) !important}
[data-theme="dark"] .video-shell,
[data-theme="dark"] .video-shell img,
[data-theme="dark"] .video-shell video{background:#151210}

/* Accent text and outlines stay amber, never blue */
[data-theme="dark"] a:hover,
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .verified,
[data-theme="dark"] .rating,
[data-theme="dark"] .pfx-filter-icon,
[data-theme="dark"] .pfx-save-search,
[data-theme="dark"] .results-save-search,
[data-theme="dark"] .sidebar-text-link-v54,
[data-theme="dark"] .sidebar-alert-icon-v54,
[data-theme="dark"] .sidebar-alert-v54 button{color:var(--brand) !important}
[data-theme="dark"] .sidebar-alert-v54 button,
[data-theme="dark"] .pfx-mobile-filter{border-color:var(--brand) !important}
[data-theme="dark"] .nav-link[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--brand)}

/* Badges on dark */
[data-theme="dark"] .badge.b-verified{background:#262320;color:#EDE7DF;border-color:#3B352F}
[data-theme="dark"] .badge.b-featured{background:rgba(224,167,90,.18);color:#F2CE9A;border-color:rgba(224,167,90,.35)}
[data-theme="dark"] .badge.b-hot{background:rgba(224,140,80,.18);color:#F3BE92;border-color:rgba(224,140,80,.35)}
[data-theme="dark"] .badge.b-super{background:rgba(224,112,95,.2);color:#F5AFA2;border-color:rgba(224,112,95,.38)}

/* ==========================================================================
   V8 — READABILITY: nothing below 12.5px, calmer weights
   ========================================================================== */
html{font-size:17px}
body{line-height:1.62}

.meta,.property-meta,.property-meta span,.ajax-status,
.agent-mini small,.agent-mini-premium small,.agent-stats span,
.story-meta,.breadcrumbs,.utility-bar,.utility-link,.utility-btn,
.pfx-filter-button small,.pfx-active-row,.pfx-active-row button,
.badge,.pf-check-v5 small,.pfx-toggle-row small,.pfx-pop-title small,
.sidebar-alert-v54 p,.sidebar-card-v54 small,.footer a,.footer p{
  font-size:.82rem !important;line-height:1.5 !important;
}
.agent-mini strong,.agent-mini-premium strong,.agent-stats b,
.sidebar-alert-v54 strong,.sidebar-card-v54 strong,
.pfx-filter-button b,.pfx-feature-check,.results-save-search,
.sort-select,.nav-link,.mobile-menu a,.mobile-bottom a{
  font-size:.88rem !important;
}
.property-results-grid > .property-card .price{font-size:1.3rem !important}
.property-results-grid > .property-card .title{font-size:1.05rem !important}
.property-results-grid > .property-card .property-extra p{font-size:.82rem !important}
.property-results-grid > .property-card .card-actions .btn{font-size:.85rem !important;min-height:40px !important}
.results-head b{font-size:1rem}
.badge{padding:5px 9px !important;letter-spacing:0 !important}
.badge-stack .badge .ico{width:14px;height:14px}
.sidebar-alert-v54 button{min-height:38px !important;padding:0 12px !important;font-size:.84rem !important;font-weight:600 !important}
.sidebar-alert-icon-v54{width:38px;height:38px}
.sidebar-alert-icon-v54 .ico{width:19px;height:19px}
.sidebar-alert-v54{grid-template-columns:38px minmax(0,1fr);gap:11px;padding:14px}
.pa-dd-btn,.utility-link{min-height:28px}


/* Dark tokens must beat the page's inline :root !important declarations */
html[data-theme="dark"],
html[data-theme="dark"]:root{
  --brand:#E0A75A !important;
  --brand-ink:#F0C68C !important;
  --brand-soft:rgba(224,167,90,.16) !important;
  --brand-red:#E0705F !important;
  --brand-red-soft:rgba(224,112,95,.16) !important;
  --brand-orange:#E0A75A !important;
  --accent:#E0A75A !important;
  --bg:#131110 !important;--surface:#1A1816 !important;--surface-2:#221F1C !important;--surface-3:#2B2724 !important;
  --text:#F6F3EF !important;--text-2:#D6D0C8 !important;--muted:#A29B92 !important;
  --line:#302C28 !important;--line-strong:#413C36 !important;
}


/* Badge variants must beat .badge.on-media !important */
.badge.on-media.b-verified{background:#F3F1ED !important;color:#2A2520 !important;border:1px solid rgba(42,37,32,.14) !important}
.badge.on-media.b-featured{background:#E9F0F8 !important;color:#123E68 !important;border:1px solid rgba(18,62,104,.18) !important}
.badge.on-media.b-hot{background:#FDEBDB !important;color:#8A4407 !important;border:1px solid rgba(138,68,7,.2) !important}
.badge.on-media.b-super{background:#FBE1DE !important;color:#96201A !important;border:1px solid rgba(150,32,26,.22) !important}
[data-theme="dark"] .badge.on-media.b-verified{background:#2A2622 !important;color:#EFE9E1 !important;border-color:#443E37 !important}
[data-theme="dark"] .badge.on-media.b-featured{background:#33291B !important;color:#F3CF9C !important;border-color:rgba(224,167,90,.45) !important}
[data-theme="dark"] .badge.on-media.b-hot{background:#37271A !important;color:#F5C295 !important;border-color:rgba(224,140,80,.45) !important}
[data-theme="dark"] .badge.on-media.b-super{background:#3A211D !important;color:#F7B3A6 !important;border-color:rgba(224,112,95,.48) !important}


/* ==========================================================================
   V8.1 — CARD FIT, ALERT CARD, TIGHTER FILTER TYPE, DISTINCT SEARCH BUTTON
   ========================================================================== */

/* Result card: let content breathe instead of overlapping */
.property-results-grid > .property-card{min-height:0 !important}
.property-results-grid > .property-card .property-body{
  min-height:0 !important;display:flex !important;flex-direction:column;gap:10px;padding:16px 18px !important;
}
.property-results-grid > .property-card .property-main{padding-right:52px !important;gap:6px !important}
.property-results-grid > .property-card .agent-mini{margin-top:auto !important;padding-top:10px !important}
.property-results-grid > .property-card .property-extra{
  position:static !important;margin:0 !important;padding-top:10px !important;
  border-top:1px solid var(--line) !important;
}
.property-results-grid > .property-card .card-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Secondary card buttons must read on dark */
[data-theme="dark"] .card-actions .btn{
  background:var(--surface-2) !important;border-color:var(--line-strong) !important;color:var(--text) !important;
}
[data-theme="dark"] .card-actions .btn:hover{background:var(--surface-3) !important}
[data-theme="dark"] .card-actions .btn .ico{color:var(--brand)}

/* Alert card */
.sidebar-alert-icon-v54{background:var(--brand-soft);color:var(--brand)}
[data-theme="dark"] .sidebar-alert-icon-v54{background:rgba(224,167,90,.18) !important;color:var(--brand) !important}
.sidebar-alert-icon-v54 .ico{stroke:currentColor}
.sidebar-alert-cta{
  background:var(--brand) !important;border:1px solid var(--brand) !important;color:#fff !important;
  min-height:40px !important;padding:0 14px !important;border-radius:10px !important;
  font-size:.85rem !important;font-weight:600 !important;
}
[data-theme="dark"] .sidebar-alert-cta{color:#1A1409 !important}
.sidebar-alert-cta:hover{background:var(--brand-ink) !important;border-color:var(--brand-ink) !important}

/* Filter controls: smaller type so every label fits one line */
.pfx-filter-button small{font-size:.66rem !important;letter-spacing:.06em}
.pfx-filter-button b{font-size:.8rem !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.pfx-filter-button{min-height:50px !important;padding:6px 9px !important;gap:6px !important}
.pfx-filter-icon .ico{width:16px;height:16px}
.pfx-searchable-input input{font-size:.86rem !important}
.pfx-field label,.pfx-filter-row label{letter-spacing:.06em}

/* Search: neutral solid, clearly not the amber "List property" CTA */
.pfx-search-btn{
  background:var(--text) !important;border:1px solid var(--text) !important;color:var(--surface) !important;
}
.pfx-search-btn:hover{background:#000 !important;border-color:#000 !important}
[data-theme="dark"] .pfx-search-btn{
  background:#EFE9E1 !important;border-color:#EFE9E1 !important;color:#1A1816 !important;
}
[data-theme="dark"] .pfx-search-btn:hover{background:#fff !important;border-color:#fff !important}
.pfx-search-btn .ico{color:currentColor}


/* V8.2 — alert CTA legibility + card actions flow below the agent row */
[data-theme="dark"] .sidebar-alert-v54 button.sidebar-alert-cta{color:#1A1409 !important}
.sidebar-alert-v54 button.sidebar-alert-cta{color:#fff !important}

.results-main-v54 .property-results-grid > .property-card > .property-body > .property-extra,
.property-results-grid .property-card .property-extra{
  position:static !important;inset:auto !important;
  width:auto !important;margin:0 !important;
  padding-top:10px !important;border-top:1px solid var(--line) !important;
}
.results-main-v54 .property-results-grid > .property-card > .property-body{
  display:flex !important;flex-direction:column;gap:8px;min-height:0 !important;
}
.results-main-v54 .property-results-grid > .property-card > .property-body > .agent-mini{
  margin-top:auto !important;
}


/* V8.3 — card action buttons follow the theme tokens */
.property-results-grid > .property-card > .property-body > .property-extra .btn{
  background:var(--surface) !important;color:var(--text) !important;border-color:var(--line-strong) !important;
}
[data-theme="dark"] .property-results-grid > .property-card > .property-body > .property-extra .btn{
  background:var(--surface-2) !important;color:var(--text) !important;border-color:var(--line-strong) !important;
}
[data-theme="dark"] .property-results-grid > .property-card > .property-body > .property-extra .btn:hover{
  background:var(--surface-3) !important;
}
[data-theme="dark"] .property-results-grid > .property-card > .property-body > .property-extra .btn-primary{
  background:var(--brand) !important;border-color:var(--brand) !important;color:#1A1409 !important;
}


/* ==========================================================================
   V8.4 — CARD CONTACT ROW (WhatsApp / Call / Email) + CLICK TARGETS
   ========================================================================== */
/* the result card grows to fit its content instead of a frozen 198px box */
.results-main-v54 .property-results-grid > .property-card,
.property-results-grid > .property-card{height:auto !important;min-height:198px !important}
.results-main-v54 .property-results-grid > .property-card .property-body,
.property-results-grid > .property-card .property-body{
  height:auto !important;min-height:0 !important;overflow:visible !important;
  display:flex !important;flex-direction:column;gap:9px;padding:16px 18px !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media{
  height:auto !important;align-self:stretch !important;aspect-ratio:auto !important;min-height:198px !important;max-height:none !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media img{height:100% !important;object-fit:cover}
.results-main-v54 .property-results-grid > .property-card > .property-body > .property-extra,
.property-results-grid .property-card .property-extra{
  position:relative !important;inset:auto !important;width:auto !important;margin:0 !important;
  pointer-events:auto !important;z-index:2 !important;
  padding-top:10px !important;border-top:1px solid var(--line) !important;opacity:1 !important;
  visibility:visible !important;grid-template-rows:none !important;display:block !important;
}
.property-results-grid > .property-card:hover .property-extra,
.property-results-grid > .property-card:focus-within .property-extra{visibility:visible !important;opacity:1 !important}
.property-results-grid > .property-card .agent-mini{margin-top:auto !important}

.card-cover-link{position:absolute;inset:0;z-index:1;border-radius:inherit}
.property-card .save-btn{z-index:3}
.property-card .property-media,
.property-card .property-body,
.property-card .title,
.property-card .agent-mini,
.property-card .property-extra{z-index:2}
.property-card .property-media,
.property-card .title,
.property-card .agent-mini{position:relative}
.property-results-grid > .property-card .agent-actions{min-width:0}

.property-results-grid > .property-card .agent-actions{
  display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
.agent-act{
  pointer-events:auto !important;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:40px;padding:0 10px;border-radius:10px;
  border:1px solid var(--line-strong);background:var(--surface);color:var(--text);
  font-size:.84rem;font-weight:600;cursor:pointer;white-space:nowrap;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease;
}
.agent-act .ico{width:16px;height:16px;flex:0 0 auto}
.agent-act:hover{background:var(--surface-2);border-color:var(--line-strong);color:var(--text)}
.act-wa .ico{color:#1E9E62}
.act-wa:hover{border-color:#1E9E62;background:rgba(30,158,98,.08)}
.act-call .ico,.act-mail .ico{color:var(--brand)}
.act-call:hover,.act-mail:hover{border-color:var(--brand);background:var(--brand-soft)}

[data-theme="dark"] .agent-act{background:var(--surface-2);border-color:var(--line-strong);color:var(--text)}
[data-theme="dark"] .agent-act:hover{background:var(--surface-3);color:var(--text)}
[data-theme="dark"] .act-wa .ico{color:#4CC48A}
[data-theme="dark"] .act-wa:hover{border-color:#4CC48A;background:rgba(76,196,138,.14)}
[data-theme="dark"] .act-call:hover,[data-theme="dark"] .act-mail:hover{border-color:var(--brand);background:rgba(224,167,90,.14)}

/* calmer hovers elsewhere */
.results-save-search:hover,.pfx-save-search:hover{color:var(--brand);background:var(--brand-soft);border-color:var(--brand)}
[data-theme="dark"] .btn:hover,[data-theme="dark"] .icon-btn:hover{background:var(--surface-3) !important;border-color:var(--line-strong) !important;color:var(--text) !important}
[data-theme="dark"] .save-btn:hover{background:var(--surface-3) !important;color:var(--brand) !important}

@media(max-width:560px){
  .property-results-grid > .property-card .agent-actions{grid-template-columns:1fr 1fr}
  .agent-act{min-height:44px}
}


/* ==========================================================================
   V8.5 — CONTACT ROW IS PERMANENT (no hover reveal), EQUAL-HEIGHT MEDIA
   ========================================================================== */
.results-main-v54 .property-results-grid > .property-card > .property-body > .property-extra,
.results-main-v54 .property-results-grid > .property-card:hover > .property-body > .property-extra,
.results-main-v54 .property-results-grid > .property-card:focus-within > .property-body > .property-extra{
  display:block !important;position:relative !important;inset:auto !important;
  grid-template-rows:none !important;opacity:1 !important;visibility:visible !important;
  height:auto !important;max-height:none !important;overflow:visible !important;
  margin:0 !important;padding:9px 0 0 !important;
  border-top:1px solid var(--line) !important;transition:none !important;z-index:2 !important;
}
/* the filler sentence is redundant next to three explicit actions */
.results-main-v54 .property-results-grid > .property-card .property-extra > div > p{display:none !important}
.results-main-v54 .property-results-grid > .property-card .property-extra > div{overflow:visible !important}

/* every card the same height, every image the same height */
.results-main-v54 .property-results-grid{align-items:stretch !important}
.results-main-v54 .property-results-grid > .property-card{
  height:100% !important;display:flex !important;flex-direction:column !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media,
.results-main-v54 .property-results-grid > .property-card .property-media img{
  height:216px !important;min-height:216px !important;max-height:216px !important;
  width:100% !important;object-fit:cover !important;aspect-ratio:auto !important;flex:0 0 auto !important;
}
.results-main-v54 .property-results-grid > .property-card .property-body{
  flex:1 1 auto !important;display:flex !important;flex-direction:column !important;
  gap:9px !important;min-height:0 !important;overflow:visible !important;
}
.results-main-v54 .property-results-grid > .property-card .agent-mini{margin-top:auto !important}
.results-main-v54 .property-results-grid > .property-card .hover-label{display:none !important}


/* ==========================================================================
   V8.6 — LIST LAYOUT RESTORED (image left, everything else right column),
           no hover animation, actions aligned right
   ========================================================================== */
/* the column-flex override belongs only to the multi-column grid */
@media(max-width:1100px){
  .results-main-v54 .property-results-grid > .property-card{
    display:grid !important;flex-direction:row !important;
    grid-template-columns:248px minmax(0,1fr) !important;
    height:auto !important;
  }
  .results-main-v54 .property-results-grid > .property-card .property-media,
  .results-main-v54 .property-results-grid > .property-card .property-media img{
    height:100% !important;min-height:100% !important;max-height:none !important;
    align-self:stretch !important;width:100% !important;object-fit:cover !important;
  }
  .results-main-v54 .property-results-grid > .property-card .property-body{
    grid-column:2 !important;height:100% !important;
  }
}
@media(max-width:640px){
  .results-main-v54 .property-results-grid > .property-card{grid-template-columns:1fr !important}
  .results-main-v54 .property-results-grid > .property-card .property-body{grid-column:1 !important}
  .results-main-v54 .property-results-grid > .property-card .property-media,
  .results-main-v54 .property-results-grid > .property-card .property-media img{
    height:210px !important;min-height:210px !important;max-height:210px !important;
  }
}

/* no hover movement anywhere on result cards */
.results-main-v54 .property-results-grid > .property-card,
.results-main-v54 .property-results-grid > .property-card:hover,
.results-main-v54 .property-results-grid > .property-card:focus-within{
  transform:none !important;transition:box-shadow .15s ease,border-color .15s ease !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media img{transform:none !important;transition:none !important}

/* actions sit right, sized to content */
.results-main-v54 .property-results-grid > .property-card .agent-actions{
  display:flex !important;grid-template-columns:none !important;
  justify-content:flex-end !important;flex-wrap:wrap;gap:8px;
}
.results-main-v54 .property-results-grid > .property-card .agent-act{flex:0 0 auto !important;padding:0 14px}
@media(max-width:640px){
  .results-main-v54 .property-results-grid > .property-card .agent-actions{justify-content:stretch !important}
  .results-main-v54 .property-results-grid > .property-card .agent-act{flex:1 1 0 !important}
}


/* V8.7 — the .property-extra wrapper is a flex row; push its content right */
.results-main-v54 .property-results-grid > .property-card .property-extra > div{
  display:flex !important;justify-content:flex-end !important;width:100% !important;
}
.results-main-v54 .property-results-grid > .property-card .agent-actions{
  margin-left:auto !important;width:auto !important;
}
@media(max-width:640px){
  .results-main-v54 .property-results-grid > .property-card .property-extra > div{justify-content:stretch !important}
  .results-main-v54 .property-results-grid > .property-card .agent-actions{width:100% !important;margin-left:0 !important}
}


/* ==========================================================================
   V8.8 — CARD: image left, all content in the right column,
           contact buttons on the agent row (where the sales stat was)
   ========================================================================== */
.results-main-v54 .property-results-grid > .property-card{
  display:grid !important;flex-direction:row !important;
  grid-template-columns:248px minmax(0,1fr) !important;
  grid-template-rows:auto !important;height:auto !important;align-items:stretch !important;
  transform:none !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media{
  grid-column:1 !important;grid-row:1 !important;
  height:100% !important;min-height:200px !important;max-height:none !important;
  width:100% !important;align-self:stretch !important;aspect-ratio:auto !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media img{
  height:100% !important;min-height:100% !important;max-height:none !important;
  width:100% !important;object-fit:cover !important;
}
.results-main-v54 .property-results-grid > .property-card .property-body{
  grid-column:2 !important;grid-row:1 !important;
  display:flex !important;flex-direction:column !important;gap:10px !important;
  height:auto !important;min-height:0 !important;padding:16px 18px !important;overflow:visible !important;
}
.results-main-v54 .property-results-grid > .property-card .property-extra{display:none !important}

/* agent row: profile left, contact actions right */
.results-main-v54 .property-card .agent-row{
  margin-top:auto !important;padding-top:11px !important;
  border-top:1px solid var(--line) !important;
  display:flex !important;align-items:center !important;justify-content:space-between !important;
  gap:14px !important;flex-wrap:wrap;position:relative;z-index:2;
}
.results-main-v54 .property-card .agent-row .agent-mini{
  flex:1 1 220px !important;min-width:0 !important;
  margin:0 !important;padding:0 !important;border-top:0 !important;
  display:grid !important;grid-template-columns:36px minmax(0,1fr) !important;
  gap:9px !important;align-items:center !important;
}
.results-main-v54 .property-card .agent-row .agent-actions{
  flex:0 0 auto !important;display:flex !important;grid-template-columns:none !important;
  justify-content:flex-end !important;gap:8px !important;margin:0 !important;
}
.results-main-v54 .property-card .agent-row .agent-act{flex:0 0 auto !important;padding:0 14px}

@media(max-width:640px){
  .results-main-v54 .property-results-grid > .property-card{grid-template-columns:1fr !important}
  .results-main-v54 .property-results-grid > .property-card .property-media,
  .results-main-v54 .property-results-grid > .property-card .property-body{grid-column:1 !important}
  .results-main-v54 .property-results-grid > .property-card .property-media{grid-row:1 !important}
  .results-main-v54 .property-results-grid > .property-card .property-body{grid-row:2 !important}
  .results-main-v54 .property-results-grid > .property-card .property-media,
  .results-main-v54 .property-results-grid > .property-card .property-media img{
    height:210px !important;min-height:210px !important;max-height:210px !important;
  }
  .results-main-v54 .property-card .agent-row .agent-actions{width:100% !important}
  .results-main-v54 .property-card .agent-row .agent-act{flex:1 1 0 !important;min-height:44px}
}


/* ==========================================================================
   V8.9 — FIXED IMAGE HEIGHT, ICON-ONLY CONTACT BUTTONS PINNED RIGHT, ALWAYS ON
   ========================================================================== */
.results-main-v54 .property-results-grid > .property-card .property-media,
.results-main-v54 .property-results-grid > .property-card .property-media img{
  height:230px !important;min-height:230px !important;max-height:230px !important;
  width:100% !important;object-fit:cover !important;align-self:start !important;
}
.results-main-v54 .property-results-grid > .property-card{align-items:start !important}
.results-main-v54 .property-results-grid > .property-card .property-body{min-height:230px !important}

/* agent row: details flex, buttons pinned hard right */
.results-main-v54 .property-card .agent-row{
  display:flex !important;align-items:center !important;flex-wrap:nowrap !important;
  gap:10px !important;opacity:1 !important;visibility:visible !important;transition:none !important;
}
.results-main-v54 .property-card .agent-row .agent-mini{flex:1 1 auto !important;min-width:0 !important}
.results-main-v54 .property-card .agent-row .agent-actions{
  margin-left:auto !important;flex:0 0 auto !important;
  display:flex !important;gap:6px !important;width:auto !important;
  opacity:1 !important;visibility:visible !important;
}

/* icon-only, compact */
.results-main-v54 .property-card .agent-row .agent-act{
  width:36px !important;height:36px !important;min-height:36px !important;
  padding:0 !important;flex:0 0 36px !important;border-radius:10px !important;
  display:inline-grid !important;place-items:center !important;gap:0 !important;font-size:0 !important;
}
.results-main-v54 .property-card .agent-row .agent-act .ico{width:17px !important;height:17px !important}

@media(max-width:640px){
  .results-main-v54 .property-results-grid > .property-card .property-media,
  .results-main-v54 .property-results-grid > .property-card .property-media img{
    height:200px !important;min-height:200px !important;max-height:200px !important;
  }
  .results-main-v54 .property-results-grid > .property-card .property-body{min-height:0 !important}
  .results-main-v54 .property-card .agent-row .agent-act{
    width:40px !important;height:40px !important;min-height:40px !important;flex:0 0 40px !important;
  }
}


/* ==========================================================================
   V9.0 — CARD NEVER CLIPS, NEVER CHANGES ON HOVER
   ========================================================================== */
.results-main-v54 .property-results-grid{align-items:start !important}
.results-main-v54 .property-results-grid > .property-card,
.results-main-v54 .property-results-grid > .property-card:hover,
.results-main-v54 .property-results-grid > .property-card:focus-within{
  height:auto !important;min-height:230px !important;max-height:none !important;
  overflow:visible !important;transform:none !important;
  transition:box-shadow .15s ease,border-color .15s ease !important;
  animation:none !important;
}
.results-main-v54 .property-results-grid > .property-card .property-body,
.results-main-v54 .property-results-grid > .property-card:hover .property-body,
.results-main-v54 .property-results-grid > .property-card:focus-within .property-body{
  height:auto !important;max-height:none !important;overflow:visible !important;
  transform:none !important;transition:none !important;
}
.results-main-v54 .property-results-grid > .property-card .property-media,
.results-main-v54 .property-results-grid > .property-card .property-media img{
  overflow:hidden !important;border-radius:13px 0 0 13px !important;
}
@media(max-width:640px){
  .results-main-v54 .property-results-grid > .property-card .property-media,
  .results-main-v54 .property-results-grid > .property-card .property-media img{
    border-radius:13px 13px 0 0 !important;
  }
}
.results-main-v54 .property-card .agent-row,
.results-main-v54 .property-card:hover .agent-row,
.results-main-v54 .property-card:focus-within .agent-row,
.results-main-v54 .property-card .agent-row .agent-actions,
.results-main-v54 .property-card:hover .agent-row .agent-actions{
  display:flex !important;opacity:1 !important;visibility:visible !important;
  height:auto !important;max-height:none !important;overflow:visible !important;
  transform:none !important;transition:none !important;margin-top:auto !important;
}
.results-main-v54 .property-card .agent-row .agent-actions{margin-top:0 !important}


/* V9.1 — search button uses brand blue (amber on dark), never black */
.pfx-search-btn{
  background:var(--brand) !important;border:1px solid var(--brand) !important;color:#fff !important;
}
.pfx-search-btn:hover{background:var(--brand-ink) !important;border-color:var(--brand-ink) !important;color:#fff !important}
[data-theme="dark"] .pfx-search-btn{
  background:var(--brand) !important;border-color:var(--brand) !important;color:#1A1409 !important;
}
[data-theme="dark"] .pfx-search-btn:hover{background:var(--brand-ink) !important;border-color:var(--brand-ink) !important;color:#1A1409 !important}
.pfx-search-btn .ico{color:currentColor !important}


/* V9.2 — search button is orange in both themes (blue stays with List property) */
.pfx-search-btn,
[data-theme="dark"] .pfx-search-btn{
  background:#F2951F !important;border:1px solid #F2951F !important;color:#fff !important;
}
.pfx-search-btn:hover,
[data-theme="dark"] .pfx-search-btn:hover{
  background:#C56714 !important;border-color:#C56714 !important;color:#fff !important;
}
[data-theme="dark"] .pfx-search-btn{background:#E0A75A !important;border-color:#E0A75A !important;color:#1A1409 !important}
[data-theme="dark"] .pfx-search-btn:hover{background:#F0C68C !important;border-color:#F0C68C !important;color:#1A1409 !important}


/* ==========================================================================
   V9.3 — WCAG AA CONTRAST PASS (scoped per theme and per surface)
   ========================================================================== */
/* ---- light theme tokens ---- */
html:not([data-theme="dark"]){
  --brand:#0B62A8 !important;
  --brand-ink:#08487C !important;
  --brand-red:#C8140B !important;
  --brand-orange:#A85C06 !important;
  --muted:#5B6572 !important;
  --text-2:#2C3542 !important;
}
html:not([data-theme="dark"]) .brand-prime,
html:not([data-theme="dark"]) .brand-com,
html:not([data-theme="dark"]) .pfx-checkmark,
html:not([data-theme="dark"]) .property-inline-reel-logo,
html:not([data-theme="dark"]) .choice.selected,
html:not([data-theme="dark"]) .verified{color:#0B62A8 !important}
html:not([data-theme="dark"]) .brand-arz,
html:not([data-theme="dark"]) button.clear{color:#B0120A !important}
html:not([data-theme="dark"]) .star,
html:not([data-theme="dark"]) .rating,
html:not([data-theme="dark"]) .sponsored-badge:not(.property-inline-reel-badge){color:#8C4C04 !important}
html:not([data-theme="dark"]) .meta,
html:not([data-theme="dark"]) .property-meta,
html:not([data-theme="dark"]) .property-meta span,
html:not([data-theme="dark"]) .agent-mini small,
html:not([data-theme="dark"]) .pfx-filter-button small,
html:not([data-theme="dark"]) .pfx-down,
html:not([data-theme="dark"]) .pfx-purpose button:not(.active),
html:not([data-theme="dark"]) .card small,
html:not([data-theme="dark"]) .pfx-searchable-input small{color:#4E5865 !important}

/* ---- dark theme tokens ---- */
html[data-theme="dark"]{
  --brand:#EEB86A !important;
  --brand-ink:#F6D09A !important;
  --brand-red:#F09182 !important;
  --brand-orange:#EEB86A !important;
  --muted:#B4ACA2 !important;
  --text-2:#DFD9D1 !important;
}
[data-theme="dark"] .brand-prime,
[data-theme="dark"] .brand-com,
[data-theme="dark"] .pfx-checkmark,
[data-theme="dark"] .property-inline-reel-logo,
[data-theme="dark"] .choice.selected,
[data-theme="dark"] .verified,
[data-theme="dark"] .star,
[data-theme="dark"] .rating{color:#EEB86A !important}
[data-theme="dark"] .brand-arz,
[data-theme="dark"] button.clear{color:#F09182 !important}
[data-theme="dark"] .meta,
[data-theme="dark"] .property-meta,
[data-theme="dark"] .property-meta span,
[data-theme="dark"] .agent-mini small,
[data-theme="dark"] .pfx-filter-button small,
[data-theme="dark"] .pfx-down,
[data-theme="dark"] .pfx-purpose button,
[data-theme="dark"] .card small{color:#BDB5AB !important}

/* ---- the utility strip is dark in BOTH themes: light ink on it ---- */
.utility-bar,.utility-bar *{color:#E3E8EE !important}
.utility-bar .utility-link,.utility-bar .utility-btn,
.utility-bar .pa-dd-val,.utility-bar .pa-dd-btn{color:#E3E8EE !important}
.utility-bar .utility-pill{background:var(--brand) !important;color:#fff !important}
[data-theme="dark"] .utility-bar .utility-pill{color:#1A1409 !important}
.utility-bar .pa-dd-menu,.utility-bar .pa-dd-menu *{color:var(--text) !important}
.utility-bar .pa-dd-menu button[aria-checked="true"],
.utility-bar .pa-dd-menu button[aria-checked="true"] *{color:#fff !important}
[data-theme="dark"] .utility-bar .pa-dd-menu button[aria-checked="true"],
[data-theme="dark"] .utility-bar .pa-dd-menu button[aria-checked="true"] *{color:#1A1409 !important}

/* ---- media-overlay badges: solid chip, never light ink on white ---- */
.property-inline-reel-badge{background:#1E252E !important;color:#F2F5F8 !important;border-color:rgba(255,255,255,.22) !important}
.property-inline-reel-badge.sponsored-badge,
[data-theme="dark"] .property-inline-reel-badge.sponsored-badge{background:#7A4204 !important;color:#FFF3E4 !important;border-color:rgba(255,255,255,.24) !important}
.property-inline-reel-badge.sponsored-badge:before{background:#FFC98A !important}

/* ---- filled buttons: ink chosen against the fill, not the theme ---- */
.pfx-search-btn{background:#A85C06 !important;border-color:#A85C06 !important;color:#fff !important}
.pfx-search-btn:hover{background:#8C4C04 !important;border-color:#8C4C04 !important;color:#fff !important}
.pfx-search-btn b,.pfx-search-btn small,.pfx-search-btn .ico{color:#fff !important}
[data-theme="dark"] .pfx-search-btn{background:#EEB86A !important;border-color:#EEB86A !important}
[data-theme="dark"] .pfx-search-btn,[data-theme="dark"] .pfx-search-btn b,
[data-theme="dark"] .pfx-search-btn small,[data-theme="dark"] .pfx-search-btn .ico{color:#1A1409 !important}
.btn-primary,.btn-accent,.pfx-pop-actions button.primary,.sidebar-alert-cta,
.pfx-purpose button.active,.pf-apply-v5{color:#fff !important}
[data-theme="dark"] .btn-primary,[data-theme="dark"] .btn-accent,
[data-theme="dark"] .pfx-pop-actions button.primary,[data-theme="dark"] .sidebar-alert-cta,
[data-theme="dark"] .pfx-purpose button.active,[data-theme="dark"] .pf-apply-v5,
[data-theme="dark"] .skip-link{color:#1A1409 !important}
[data-theme="dark"] .pfx-purpose button:not(.active){color:#DFD9D1 !important}

/* V9.5 — two dark-mode fills that inverted their own ink */
[data-theme="dark"] .pf-apply-v5,
[data-theme="dark"] .pf-apply-v5 *{
  background:#EEB86A !important;border-color:#EEB86A !important;color:#1A1409 !important;
}
[data-theme="dark"] .pf-apply-v5 *{background:transparent !important}
[data-theme="dark"] .pfx-filter-button.active,
[data-theme="dark"] .pfx-filter-button.active b,
[data-theme="dark"] .pfx-verified.active,
[data-theme="dark"] .pfx-verified.active b{color:#F6F3EF !important}
[data-theme="dark"] .pfx-verified.active .pfx-filter-icon,
[data-theme="dark"] .pfx-filter-button.active .pfx-filter-icon{color:#EEB86A !important}

/* V9.6 — active fills keep white ink in light theme */
html:not([data-theme="dark"]) .pfx-purpose button.active,
html:not([data-theme="dark"]) .pfx-purpose button.active *,
html:not([data-theme="dark"]) .btn-primary,
html:not([data-theme="dark"]) .btn-accent,
html:not([data-theme="dark"]) .pfx-pop-actions button.primary,
html:not([data-theme="dark"]) .sidebar-alert-cta,
html:not([data-theme="dark"]) .pf-apply-v5{color:#fff !important}

/* V9.7 — --accent existed only in dark; define it for light and pin the CTA fill */
html:not([data-theme="dark"]){--accent:#A85C06 !important}
html:not([data-theme="dark"]) .pf-apply-v5{
  background:#A85C06 !important;border-color:#A85C06 !important;color:#fff !important;
}


/* ==========================================================================
   V8.6 — ICON QUALITY, SPACING POLISH, PAGE-LOAD ENTRANCE
   ========================================================================== */
.ico-solid{fill:currentColor !important;stroke:none !important}
.ico{stroke-linecap:round;stroke-linejoin:round;shape-rendering:geometricPrecision}
.agent-act .ico,.property-meta .pa-ico svg,.badge .ico{vector-effect:non-scaling-stroke}

/* --- spacing polish on the results column --- */
.results-main-v54 .results-head{margin-bottom:14px}
.results-main-v54 .property-card .property-body{padding:16px 18px 16px 0}
@media(max-width:640px){
  .results-main-v54 .property-card .property-body{padding:14px 16px 16px}
}
.results-main-v54 .property-card .property-main{display:grid;gap:5px}
.results-main-v54 .property-card .property-meta{margin-top:2px;gap:14px}
.results-main-v54 .property-card .agent-row{padding-top:13px;margin-top:13px;border-top:1px solid var(--line)}
.results-main-v54 .property-card .agent-row .agent-actions{gap:8px !important}
.property-reels-inline{margin:0 0 20px}

/* --- page-load entrance --- */
@keyframes pr-in-up{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
@keyframes pr-in-down{from{opacity:0;transform:translate3d(0,-14px,0)}to{opacity:1;transform:none}}
@keyframes pr-in-fade{from{opacity:0}to{opacity:1}}
.site-header{animation:pr-in-down .5s cubic-bezier(.22,.75,.25,1) both}
.search-filter-shell{animation:pr-in-up .6s cubic-bezier(.22,.75,.25,1) .06s both}
.results-main-v54 .results-head{animation:pr-in-up .6s cubic-bezier(.22,.75,.25,1) .14s both}
.property-reels-inline{animation:pr-in-up .65s cubic-bezier(.22,.75,.25,1) .2s both}
.results-side-v54 > *{animation:pr-in-up .65s cubic-bezier(.22,.75,.25,1) .26s both}
.results-main-v54 .property-results-grid > .property-card:nth-child(1){animation:pr-in-up .6s cubic-bezier(.22,.75,.25,1) .26s both}
.results-main-v54 .property-results-grid > .property-card:nth-child(2){animation:pr-in-up .6s cubic-bezier(.22,.75,.25,1) .33s both}
.results-main-v54 .property-results-grid > .property-card:nth-child(3){animation:pr-in-up .6s cubic-bezier(.22,.75,.25,1) .4s both}
.results-main-v54 .property-card .property-media img{animation:pr-in-fade .8s ease both}
@media(prefers-reduced-motion:reduce){
  .site-header,.search-filter-shell,.results-main-v54 .results-head,.property-reels-inline,
  .results-side-v54 > *,.results-main-v54 .property-results-grid > .property-card,
  .results-main-v54 .property-card .property-media img{animation:none !important}
}


/* ==========================================================================
   V8.8 — HOME "TOP PROFESSIONALS": STATS STRIP LEGIBILITY
   ========================================================================== */
.card-grid .agent-card .entity-metrics{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:6px !important;margin-top:12px !important;
}
.card-grid .agent-card .entity-metrics .metric{
  padding:9px 4px !important;text-align:center;min-width:0;overflow:visible !important;height:auto !important;
  display:flex;flex-direction:column;align-items:center;gap:2px;
}
.card-grid .agent-card .entity-metrics .metric b{
  font-size:.95rem !important;line-height:1.15;white-space:nowrap;letter-spacing:-.01em;
}
.card-grid .agent-card .entity-metrics .metric span{
  font-size:.7rem !important;line-height:1.3;letter-spacing:0;
  overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%;
}

/* V8.9 — agent portraits: show the whole photo, no crop */
.card-grid .agent-card .portrait{background:var(--surface-2)}
.card-grid .agent-card .portrait img{
  object-fit:contain !important;object-position:50% 50% !important;
  width:100% !important;height:100% !important;
}

/* V8.9b — give the professional cards room so stat labels fit */
@media(max-width:1179px){
  .card-grid.cols-4{grid-template-columns:repeat(auto-fit,minmax(250px,1fr)) !important}
}
@media(max-width:560px){.card-grid.cols-4{grid-template-columns:1fr !important}}

/* ==========================================================================
   V9.0 — HOME AGENT CARD: whole-card link, badge on image, one-line headline
   ========================================================================== */
.card-grid .agent-card{position:relative;overflow:hidden}
.card-grid .agent-card .card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.card-grid .agent-card .portrait{position:relative}
.card-grid .agent-card .portrait img{object-fit:cover !important;object-position:50% 18% !important}
.card-grid .agent-card .portrait-badge{
  position:absolute;left:10px;bottom:10px;z-index:2;
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 10px;border-radius:999px;
  background:rgba(255,255,255,.96);color:#14171A !important;
  font-size:.7rem !important;font-weight:700;white-space:nowrap;
  box-shadow:0 3px 12px rgba(0,0,0,.2);
}
.card-grid .agent-card .portrait-badge .ico{width:13px;height:13px}
.card-grid .agent-card .agent-card-headline{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:nowrap;
}
.card-grid .agent-card .agent-card-headline .h3{
  margin:0 !important;font-size:1.02rem;line-height:1.25;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.card-grid .agent-card .agent-card-headline .rating{flex:0 0 auto;white-space:nowrap}
.card-grid .agent-card .agent-card-agency{
  display:block;width:100%;margin-top:3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ==========================================================================
   V9.2 — HERO BACKGROUND: light, airy, no photo
   ========================================================================== */
.hero{
  background:
    radial-gradient(90% 70% at 88% 6%, rgba(242,149,31,.16) 0%, rgba(242,149,31,0) 58%),
    radial-gradient(80% 65% at 4% 96%, rgba(31,90,164,.13) 0%, rgba(31,90,164,0) 62%),
    linear-gradient(168deg, #FDFBF7 0%, #F5F1EA 46%, #EFEAE1 100%) !important;
  color:var(--text) !important;
  min-height:600px;
  border-bottom:1px solid var(--line);
}
.hero-bg{display:none !important}
.hero-content{position:relative;z-index:2}
.hero .eyebrow{color:#8C4C04 !important}
.hero .hero-copy .h1{color:#12181F !important;text-shadow:none !important}
.hero .hero-copy p{color:#41505E !important;text-shadow:none !important}
.hero .search-panel{
  border-color:var(--line) !important;
  box-shadow:0 24px 60px rgba(19,28,40,.10) !important;
}
[data-theme="dark"] .hero{
  background:
    radial-gradient(90% 70% at 88% 6%, rgba(242,149,31,.14) 0%, rgba(242,149,31,0) 58%),
    linear-gradient(168deg, #161B22 0%, #12171E 100%) !important;
}
[data-theme="dark"] .hero .hero-copy .h1{color:#F2F5F8 !important}
[data-theme="dark"] .hero .hero-copy p{color:#B9C3CE !important}
[data-theme="dark"] .hero .eyebrow{color:#F0A85A !important}

/* ==========================================================================
   V9.3 — PROJECTS ARCHIVE
   ========================================================================== */
.proj-hero{
  padding:30px 0 34px;
  background:
    radial-gradient(80% 70% at 92% 0%, rgba(242,149,31,.14) 0%, rgba(242,149,31,0) 58%),
    radial-gradient(70% 60% at 0% 100%, rgba(31,90,164,.11) 0%, rgba(31,90,164,0) 62%),
    linear-gradient(168deg,#FDFBF7 0%,#F5F1EA 100%);
  border-bottom:1px solid var(--line);
}
.proj-hero-copy{max-width:640px}
.proj-hero .page-title{margin:.28rem 0 .5rem}
.proj-hero-copy p{color:#41505E;max-width:58ch}
.proj-search{
  margin-top:20px;display:grid;gap:10px;
  grid-template-columns:1fr;
  background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:12px;box-shadow:0 18px 44px rgba(19,28,40,.09);
}
@media(min-width:760px){.proj-search{grid-template-columns:1.3fr 1fr 1fr 1fr auto;align-items:end}}
.proj-search-field{display:grid;gap:5px;min-width:0}
.proj-search-field > span{font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.proj-search-field > div{
  display:flex;align-items:center;gap:8px;min-width:0;
  border:1px solid var(--line);border-radius:12px;padding:0 11px;height:44px;background:var(--surface);
}
.proj-search-field .ico{width:16px;height:16px;color:var(--muted);flex:0 0 auto}
.proj-search-field input,.proj-search-field select{
  border:0;background:transparent;font:inherit;font-size:.92rem;color:var(--text);
  width:100%;min-width:0;outline:none;height:42px;
}
.proj-search-btn{
  height:44px;background:#F2951F;border-color:#F2951F;color:#fff !important;
  font-weight:700;padding-inline:20px;white-space:nowrap;
}
.proj-search-btn:hover{background:#C96A13;border-color:#C96A13}
.proj-search-btn .ico{color:#fff}
.proj-hero-stats{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px;font-size:.85rem;color:#41505E}
.proj-hero-stats b{color:var(--text);font-weight:700}

.proj-cats{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.proj-cat{
  display:grid;gap:2px;padding:14px 15px;border:1px solid var(--line);border-radius:14px;
  background:var(--surface);color:var(--text);
}
.proj-cat b{font-size:.98rem}
.proj-cat span{font-size:.8rem;color:var(--muted)}
.proj-cat:hover{border-color:#F2951F;color:var(--text)}

.proj-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px}
.proj-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.proj-sort{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--muted)}
.proj-sort select{
  border:1px solid var(--line);border-radius:10px;height:38px;padding:0 10px;
  background:var(--surface);color:var(--text);font:inherit;font-size:.85rem;
}

.proj-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}
.project-card-v9{position:relative;display:flex;flex-direction:column;overflow:hidden}
.project-card-v9 .card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.proj-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface-2)}
.proj-media img{width:100%;height:100%;object-fit:cover;display:block}
.proj-flag{
  position:absolute;left:11px;top:11px;z-index:2;
  padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.96);
  color:#14171A;font-size:.7rem;font-weight:700;box-shadow:0 3px 12px rgba(0,0,0,.18);
}
.proj-price{
  position:absolute;left:11px;bottom:11px;z-index:2;display:grid;
  padding:7px 12px;border-radius:12px;background:rgba(11,18,32,.86);color:#fff;
  font-size:.92rem;font-weight:700;line-height:1.15;backdrop-filter:blur(4px);
}
.proj-price small{font-size:.62rem;font-weight:600;opacity:.82;letter-spacing:.04em;text-transform:uppercase}
.proj-body{display:flex;flex-direction:column;gap:8px;padding:15px 16px 16px}
.proj-name{font-size:1.04rem;line-height:1.25;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.proj-loc{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#41505E;min-width:0}
.proj-loc .ico{width:15px;height:15px;flex:0 0 auto;color:var(--muted)}
.proj-types{font-size:.8rem;color:var(--muted)}
.proj-progress{display:grid;gap:6px;margin-top:2px}
.proj-progress-head{display:flex;justify-content:space-between;font-size:.76rem;color:var(--muted)}
.proj-progress-head b{color:var(--text)}
.proj-bar{height:6px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.proj-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#F2951F,#F0A85A)}
.proj-foot{
  display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between;
  margin-top:4px;padding-top:11px;border-top:1px solid var(--line);font-size:.79rem;color:var(--muted);
}
.proj-dev{display:flex;align-items:center;gap:6px;min-width:0;color:#41505E}
.proj-dev .ico{width:14px;height:14px}
.proj-more{display:flex;justify-content:center;margin-top:22px}

.proj-city-section{background:var(--surface)}
.proj-cities{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.proj-city{
  display:grid;gap:3px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;
  background:var(--bg);color:var(--text);
}
.proj-city b{font-size:1rem}
.proj-city span{font-size:.8rem;color:var(--muted)}
.proj-city em{font-style:normal;font-size:.78rem;font-weight:700;color:#8C4C04;margin-top:4px}
.proj-city:hover{border-color:#F2951F;color:var(--text)}

.proj-devs{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.proj-dev-card{
  display:flex;align-items:center;gap:12px;padding:13px 14px;
  border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);
}
.proj-dev-mark{
  width:40px;height:40px;flex:0 0 40px;border-radius:11px;display:grid;place-items:center;
  background:var(--surface-2);font-weight:800;font-size:1.05rem;color:#8C4C04;
}
.proj-dev-meta{display:grid;gap:2px;min-width:0}
.proj-dev-meta b{font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.proj-dev-meta span{font-size:.78rem;color:var(--muted)}
.proj-dev-go{margin-left:auto;color:var(--muted)}
.proj-dev-go .ico{width:16px;height:16px}
.proj-dev-card:hover{border-color:#F2951F;color:var(--text)}

[data-theme="dark"] .proj-hero{
  background:radial-gradient(80% 70% at 92% 0%, rgba(242,149,31,.12) 0%, rgba(242,149,31,0) 58%),linear-gradient(168deg,#161B22 0%,#12171E 100%);
}
[data-theme="dark"] .proj-hero-copy p,[data-theme="dark"] .proj-hero-stats,
[data-theme="dark"] .proj-loc,[data-theme="dark"] .proj-dev{color:#B9C3CE}
[data-theme="dark"] .proj-city em,[data-theme="dark"] .proj-dev-mark{color:#F0A85A}

/* entrance */
.proj-hero-copy{animation:pr-in-up .55s cubic-bezier(.22,.75,.25,1) both}
.proj-search{animation:pr-in-up .6s cubic-bezier(.22,.75,.25,1) .08s both}
.proj-grid > .project-card-v9{animation:pr-in-up .55s cubic-bezier(.22,.75,.25,1) both}
.proj-grid > .project-card-v9:nth-child(2){animation-delay:.05s}
.proj-grid > .project-card-v9:nth-child(3){animation-delay:.1s}
.proj-grid > .project-card-v9:nth-child(n+4){animation-delay:.14s}
@media(prefers-reduced-motion:reduce){.proj-hero-copy,.proj-search,.proj-grid > .project-card-v9{animation:none !important}}

/* ==========================================================================
   V9.4 — PROJECTS ARCHIVE: HANDOVER TIMELINE + DEVELOPER-GROUPED PROJECTS
   ========================================================================== */
.pj-timeline-section{background:var(--surface)}
.pj-timeline{
  display:grid;gap:0;grid-auto-flow:column;grid-auto-columns:minmax(158px,1fr);
  border-top:2px solid var(--line);
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;padding-bottom:6px;
}
.pj-tl-col{scroll-snap-align:start}
.pj-tl-col{padding:16px 14px 4px;border-right:1px solid var(--line);position:relative;min-width:0}
.pj-tl-col:last-child{border-right:0}
.pj-tl-col:before{
  content:"";position:absolute;top:-7px;left:14px;width:12px;height:12px;border-radius:50%;
  background:#F2951F;box-shadow:0 0 0 3px var(--surface);
}
.pj-tl-q{font-size:.8rem;font-weight:800;letter-spacing:.03em;color:var(--text);margin-bottom:10px}
.pj-tl-items{display:flex;flex-direction:column;gap:7px;padding-bottom:14px}
.pj-tl-item{
  display:block;padding:9px 11px;border:1px solid var(--line);border-radius:11px;
  background:var(--bg);color:var(--text);font-size:.83rem;line-height:1.3;
}
.pj-tl-item:hover{border-color:#F2951F;color:var(--text)}

.pj-dev-list{display:flex;flex-direction:column;gap:18px}
.pj-dev-block{
  border:1px solid var(--line);border-radius:20px;background:var(--surface);
  padding:18px;box-shadow:var(--shadow-xs);
}
.pj-dev-head{
  display:grid;gap:14px;align-items:start;
  grid-template-columns:52px minmax(0,1fr);
  padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line);
}
@media(min-width:900px){
  .pj-dev-head{grid-template-columns:52px minmax(0,1.4fr) auto auto;align-items:center}
}
.pj-dev-mark{
  width:52px;height:52px;border-radius:15px;display:grid;place-items:center;
  background:linear-gradient(150deg,#F7E4CE,#EFD3B2);color:#7A4204;
  font-weight:800;font-size:1.05rem;letter-spacing:.02em;
}
.pj-dev-id{min-width:0}
.pj-dev-name{font-size:1.18rem;line-height:1.2;margin:0}
.pj-dev-sub{font-size:.82rem;color:var(--muted);margin-top:3px}
.pj-dev-note{font-size:.85rem;color:#41505E;margin:6px 0 0;max-width:52ch}
.pj-dev-record{display:flex;gap:10px;grid-column:1/-1}
@media(min-width:900px){.pj-dev-record{grid-column:auto}}
.pj-rec{
  display:grid;gap:2px;padding:10px 14px;border-radius:13px;background:var(--surface-2);min-width:104px;
}
.pj-rec b{font-size:1.05rem;letter-spacing:-.01em}
.pj-rec span{font-size:.7rem;color:var(--muted);line-height:1.25}
.pj-dev-link{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  font-size:.85rem;font-weight:700;color:#8C4C04;grid-column:1/-1;
}
@media(min-width:900px){.pj-dev-link{grid-column:auto}}
.pj-dev-link .ico{width:15px;height:15px}

.pj-row{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.pj-card{
  position:relative;display:flex;flex-direction:column;overflow:hidden;
  border:1px solid var(--line);border-radius:16px;background:var(--bg);
}
.pj-card .card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.pj-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface-2)}
.pj-media img{width:100%;height:100%;object-fit:cover;display:block}
.pj-flag{
  position:absolute;left:10px;top:10px;z-index:2;padding:5px 10px;border-radius:999px;
  background:rgba(255,255,255,.96);color:#14171A;font-size:.68rem;font-weight:700;
  box-shadow:0 3px 12px rgba(0,0,0,.18);
}
.pj-body{display:flex;flex-direction:column;gap:7px;padding:13px 14px 14px}
.pj-name{margin:0;font-size:.98rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pj-loc{display:flex;align-items:center;gap:6px;font-size:.81rem;color:#41505E;min-width:0}
.pj-loc .ico{width:14px;height:14px;flex:0 0 auto;color:var(--muted)}
.pj-bar{height:5px;border-radius:999px;background:var(--surface-2);overflow:hidden;margin-top:3px}
.pj-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#F2951F,#F0A85A)}
.pj-barmeta{display:flex;justify-content:space-between;font-size:.74rem;color:var(--muted)}
.pj-foot{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  margin-top:4px;padding-top:10px;border-top:1px solid var(--line);
}
.pj-foot b{font-size:.95rem;letter-spacing:-.01em}
.pj-foot span{font-size:.75rem;color:var(--muted)}

[data-theme="dark"] .pj-dev-note,[data-theme="dark"] .pj-loc{color:#B9C3CE}
[data-theme="dark"] .pj-dev-mark{background:linear-gradient(150deg,#3A2A16,#2A1E10);color:#F0A85A}
[data-theme="dark"] .pj-dev-link{color:#F0A85A}

.pj-dev-block{animation:pr-in-up .55s cubic-bezier(.22,.75,.25,1) both}
.pj-dev-list > .pj-dev-block:nth-child(2){animation-delay:.06s}
.pj-dev-list > .pj-dev-block:nth-child(n+3){animation-delay:.12s}
@media(prefers-reduced-motion:reduce){.pj-dev-block{animation:none !important}}

/* ==========================================================================
   V9.5 — PROJECTS ARCHIVE: EDITORIAL PASS
   ========================================================================== */
.proj-hero{padding:30px 0 40px;position:relative;overflow:hidden}
.proj-hero:after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(to right,rgba(19,28,40,.05) 1px,transparent 1px);
  background-size:96px 100%;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 78%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 78%);
}
.proj-hero .container{position:relative;z-index:1}
.proj-hero-split{display:grid;gap:22px;align-items:end}
@media(min-width:900px){.proj-hero-split{grid-template-columns:minmax(0,1.45fr) minmax(260px,.85fr);gap:40px}}
.proj-hero .page-title{
  margin:.3rem 0 .55rem;font-size:clamp(2rem,4.2vw,3.1rem);line-height:1.06;letter-spacing:-.028em;
}
.proj-hero-copy p{color:#41505E;max-width:50ch;font-size:1rem}
.proj-hero-facts{
  display:grid;gap:0;margin:0;border-top:1px solid rgba(19,28,40,.16);
}
.proj-hero-facts > div{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  padding:11px 0;border-bottom:1px solid rgba(19,28,40,.12);
}
.proj-hero-facts dt{font-size:.8rem;color:#41505E;margin:0}
.proj-hero-facts dd{
  margin:0;font-size:1.45rem;font-weight:700;letter-spacing:-.02em;color:#12181F;
  font-variant-numeric:tabular-nums;
}
.proj-search{margin-top:26px;border-radius:16px;box-shadow:0 20px 50px rgba(19,28,40,.11)}

/* numbered eyebrows */
.section-head .eyebrow i{
  font-style:normal;display:inline-block;margin-right:9px;padding-right:9px;
  border-right:1px solid currentColor;opacity:.6;font-variant-numeric:tabular-nums;
}
.section .h2{letter-spacing:-.025em}

/* developer block: spine layout */
.pj-dev-block{padding:0;border-radius:22px;overflow:hidden}
.pj-dev-grid{display:grid;gap:0}
@media(min-width:1000px){.pj-dev-grid{grid-template-columns:minmax(250px,300px) minmax(0,1fr)}}
.pj-dev-head{
  display:grid !important;grid-template-columns:52px minmax(0,1fr) !important;
  gap:12px 14px;align-content:start;align-items:start !important;
  padding:20px;margin:0 !important;border-bottom:1px solid var(--line);
  background:linear-gradient(170deg,#FBF7F1 0%,#F4EFE7 100%);
}
@media(min-width:1000px){
  .pj-dev-head{border-bottom:0;border-right:1px solid var(--line);height:100%}
}
.pj-dev-id{grid-column:2}
.pj-dev-name{font-size:1.22rem;letter-spacing:-.02em}
.pj-dev-record{grid-column:1/-1 !important;display:grid !important;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
.pj-rec{background:rgba(255,255,255,.75);border:1px solid rgba(19,28,40,.08);min-width:0}
.pj-dev-link{grid-column:1/-1 !important;margin-top:2px}
.pj-row{padding:18px;grid-template-columns:repeat(auto-fit,minmax(232px,1fr))}

/* project card refinements */
.pj-card{border-radius:14px;background:var(--surface)}
.pj-media{aspect-ratio:4/3}
.pj-body{gap:6px;padding:12px 13px 13px}
.pj-name{font-size:.95rem;letter-spacing:-.015em}
.pj-bar{height:4px}
.pj-foot b{font-variant-numeric:tabular-nums}

/* timeline refinements */
.pj-tl-q{font-variant-numeric:tabular-nums;letter-spacing:.06em;text-transform:uppercase;color:#8C4C04}

[data-theme="dark"] .proj-hero:after{background-image:linear-gradient(to right,rgba(255,255,255,.05) 1px,transparent 1px)}
[data-theme="dark"] .proj-hero-facts{border-top-color:rgba(255,255,255,.16)}
[data-theme="dark"] .proj-hero-facts > div{border-bottom-color:rgba(255,255,255,.1)}
[data-theme="dark"] .proj-hero-facts dt,[data-theme="dark"] .proj-hero-copy p{color:#B9C3CE}
[data-theme="dark"] .proj-hero-facts dd{color:#F2F5F8}
[data-theme="dark"] .pj-dev-head{background:linear-gradient(170deg,#1A2029 0%,#151A21 100%)}
[data-theme="dark"] .pj-rec{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08)}
[data-theme="dark"] .pj-tl-q{color:#F0A85A}

/* ==========================================================================
   V9.6 — PROJECTS: FILTER PANEL, DEVELOPER CARDS, PROJECT CARDS
   (supersedes V9.4/V9.5 timeline + dev-spine styles)
   ========================================================================== */
.pfilter{
  margin-top:26px;background:var(--surface);border:1px solid var(--line);
  border-radius:18px;box-shadow:0 20px 50px rgba(19,28,40,.11);overflow:hidden;
}
.pfilter-tabs{display:flex;gap:2px;padding:8px 8px 0;border-bottom:1px solid var(--line);overflow-x:auto;overflow-y:hidden}
.pfilter-tabs button{
  border:0;background:transparent;font:inherit;font-size:.88rem;font-weight:600;
  color:var(--muted);padding:11px 16px;border-radius:11px 11px 0 0;white-space:nowrap;cursor:pointer;
  border-bottom:2px solid transparent;margin-bottom:-1px;
}
.pfilter-tabs button:hover{color:var(--text);background:var(--surface-2)}
.pfilter-tabs button.active{color:#8C4C04;border-bottom-color:#F2951F;background:transparent}
.pfilter-grid{display:grid;gap:10px;padding:14px;grid-template-columns:1fr}
@media(min-width:700px){.pfilter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1040px){
  .pfilter-grid{grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end}
  .pfilter-wide{grid-column:span 1}
}
.pfilter-field{display:grid;gap:5px;min-width:0}
.pfilter-field > span{font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.pfilter-field > div{
  display:flex;align-items:center;gap:8px;min-width:0;height:46px;padding:0 12px;
  border:1px solid var(--line);border-radius:12px;background:var(--bg);
}
.pfilter-field > div:focus-within{border-color:#F2951F;box-shadow:0 0 0 3px rgba(242,149,31,.14)}
.pfilter-field .ico{width:16px;height:16px;color:var(--muted);flex:0 0 auto}
.pfilter-field input,.pfilter-field select{
  border:0;background:transparent;font:inherit;font-size:.9rem;color:var(--text);
  width:100%;min-width:0;height:44px;outline:none;cursor:pointer;
}
.pfilter-field input{cursor:text}
.pfilter-submit{
  height:46px;padding-inline:22px;border:0;border-radius:12px;cursor:pointer;
  background:#F2951F;color:#fff;font:inherit;font-size:.92rem;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;
}
.pfilter-submit:hover{background:#C96A13}
.pfilter-submit .ico{color:#fff;width:17px;height:17px}
.pfilter-foot{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;
  padding:12px 14px;border-top:1px solid var(--line);background:var(--surface-2);
}
.pfilter-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
.pfilter-chiplabel{font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.pfilter-reset{border:0;background:transparent;font:inherit;font-size:.82rem;font-weight:700;color:#8C4C04;cursor:pointer;text-decoration:underline}

/* developer cards */
.dv-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(268px,1fr))}
.dv-card{
  position:relative;display:flex;flex-direction:column;gap:13px;padding:16px;
  border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-xs);
}
.dv-card .card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.dv-card:hover{border-color:#F2951F}
.dv-top{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center}
.dv-mark{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(150deg,#F7E4CE,#EFD3B2);color:#7A4204;font-weight:800;font-size:1rem;
}
.dv-id{min-width:0}
.dv-name{margin:0;font-size:1.04rem;line-height:1.25;letter-spacing:-.015em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dv-city{display:flex;align-items:center;gap:5px;font-size:.8rem;color:var(--muted);margin-top:2px}
.dv-city .ico{width:13px;height:13px}
.dv-count{
  grid-column:2;justify-self:start;margin-top:4px;padding:4px 10px;border-radius:999px;
  background:var(--surface-2);font-size:.72rem;font-weight:700;color:#8C4C04;
}
.dv-facts{display:grid;gap:9px;margin:0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.dv-facts > div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;align-items:baseline}
.dv-facts dt{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.dv-facts dd{margin:0;font-size:.85rem;color:var(--text);line-height:1.35}
.dv-foot{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between}
.dv-phone{display:flex;align-items:center;gap:6px;font-size:.8rem;color:#41505E;font-variant-numeric:tabular-nums}
.dv-phone .ico{width:14px;height:14px;color:var(--muted)}
.dv-go{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;color:#8C4C04}
.dv-go .ico{width:15px;height:15px}

/* project cards */
.pj-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(272px,1fr))}
.pj-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-xs)}
.pj-card:hover{border-color:#F2951F}
.pj-media{aspect-ratio:16/10}
.pj-body{gap:6px;padding:14px 15px 15px}
.pj-price{font-size:1rem;font-weight:700;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.pj-name{margin:0;font-size:.95rem;font-weight:600;line-height:1.3;color:#41505E;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pj-specs{display:grid;gap:7px;margin:6px 0 0;padding:11px 0 0;border-top:1px solid var(--line)}
.pj-specs > div{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:baseline}
.pj-specs dt{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.pj-specs dd{margin:0;font-size:.83rem;color:var(--text)}
.pj-foot{margin-top:4px;padding-top:10px;border-top:1px solid var(--line)}
.pj-devline{font-size:.79rem;color:var(--muted)}

[data-theme="dark"] .dv-mark{background:linear-gradient(150deg,#3A2A16,#2A1E10);color:#F0A85A}
[data-theme="dark"] .dv-count,[data-theme="dark"] .dv-go,
[data-theme="dark"] .pfilter-reset,[data-theme="dark"] .pfilter-tabs button.active{color:#F0A85A}
[data-theme="dark"] .dv-phone{color:#B9C3CE}

.dv-grid > .dv-card,.pj-grid > .pj-card{animation:pr-in-up .5s cubic-bezier(.22,.75,.25,1) both}
.dv-grid > .dv-card:nth-child(2),.pj-grid > .pj-card:nth-child(2){animation-delay:.05s}
.dv-grid > .dv-card:nth-child(3),.pj-grid > .pj-card:nth-child(3){animation-delay:.1s}
.dv-grid > .dv-card:nth-child(n+4),.pj-grid > .pj-card:nth-child(n+4){animation-delay:.14s}
@media(prefers-reduced-motion:reduce){.dv-card,.pj-card{animation:none !important}}


/* ==========================================================================
   V9.7 — AGENTS ARCHIVE: FILTER PANEL + AGENT CARDS
   ========================================================================== */
.ag-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.ag-card{
  position:relative;display:flex;flex-direction:column;gap:13px;padding:16px;height:100%;
  border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-xs);
}
.ag-card .card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.ag-card:hover{border-color:#F2951F}
.ag-top{display:grid;grid-template-columns:58px minmax(0,1fr);gap:13px;align-items:center}
.ag-photo{width:58px;height:58px;border-radius:16px;object-fit:cover;background:var(--surface-2)}
.ag-id{min-width:0}
.ag-name{
  margin:0;font-size:1.04rem;line-height:1.25;letter-spacing:-.015em;
  display:flex;align-items:center;gap:6px;min-width:0;
}
.ag-name > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ag-verified{
  display:inline-flex;align-items:center;justify-content:center;
  width:17px;height:17px;flex:0 0 auto;border-radius:50%;background:#F2951F;color:#fff;
}
.ag-verified .ico{display:block;width:11px;height:11px;stroke-width:3.2}
.ag-agency{font-size:.82rem;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ag-rating{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:.8rem;color:var(--muted)}
.ag-rating b{color:var(--text);font-variant-numeric:tabular-nums}
.ag-stars{color:#F2951F}
.ag-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ag-stats > div{
  display:grid;gap:1px;padding:9px 10px;border-radius:12px;background:var(--surface-2);min-width:0;
}
.ag-stats b{font-size:.95rem;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.ag-stats span{font-size:.68rem;color:var(--muted);line-height:1.25}
.ag-facts{display:grid;gap:9px;margin:0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ag-facts > div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:baseline}
.ag-facts dt{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.ag-facts dd{margin:0;font-size:.84rem;color:var(--text);line-height:1.35}
.ag-foot{display:flex;gap:8px;align-items:center;justify-content:space-between}
.ag-call,.ag-go{
  position:relative;z-index:4;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:38px;padding:0 15px;border-radius:11px;font-size:.83rem;font-weight:700;text-decoration:none;line-height:1;
}
.ag-call{border:1px solid var(--line-strong,var(--line));background:var(--surface-2);color:var(--text)}
.ag-call:hover{border-color:#F2951F;color:#8C4C04}
.ag-call .ico{display:block;width:14px;height:14px;flex:0 0 auto}
.ag-go{background:#11202E;color:#fff;flex:1;max-width:60%}
.ag-go:hover{background:#F2951F}
.ag-go .ico{display:block;width:15px;height:15px;flex:0 0 auto}

/* photo + video play */
.ag-photo-wrap{position:relative;width:58px;height:58px}
.ag-play{
  position:absolute;right:-5px;bottom:-5px;z-index:4;width:24px;height:24px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  border:2px solid var(--surface);border-radius:50%;background:#F2951F;color:#fff;
}
.ag-play .ico{display:block;width:11px;height:11px;margin-left:1px}
.ag-play .ico path,.ag-vbig .ico path{fill:currentColor;stroke-linejoin:round}
.ag-play:hover{background:#11202E}

/* in-card tabs */
.ag-tabs{position:relative;z-index:4;margin-top:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 0 12px}
.ag-tablist{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.ag-tablist::-webkit-scrollbar{display:none}
.ag-tablist{display:flex;gap:2px}
.ag-tablist button{
  flex:1 1 0;min-width:0;padding:5px 4px;border:0;border-radius:8px;cursor:pointer;background:transparent;
  font:inherit;font-size:.66rem;font-weight:700;letter-spacing:.01em;text-transform:uppercase;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ag-tablist button:hover{color:var(--text)}
.ag-tablist button.active{background:var(--surface-2);color:#8C4C04}
.ag-panels{margin-top:10px;height:93px;overflow:hidden}
.ag-panel{display:none}
.ag-panel.active{display:block;animation:pr-in-up .25s ease both}
.ag-pills{display:flex;flex-wrap:wrap;gap:6px}
.ag-pills span{
  padding:5px 10px;border:1px solid var(--line);border-radius:999px;
  font-size:.78rem;color:var(--text);background:var(--surface)
}
.ag-listrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0;font-size:.82rem;color:var(--muted)}
.ag-listrow + .ag-listrow{border-top:1px solid var(--line)}
.ag-listrow b{color:var(--text);font-variant-numeric:tabular-nums}
.ag-none{font-size:.76rem;color:var(--muted)}
.ag-viewbtn{
  display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:8px;
  border:1px solid var(--line);background:var(--surface-2);font-size:.76rem;font-weight:700;color:#8C4C04;text-decoration:none
}
.ag-viewbtn:hover{border-color:#F2951F}
.ag-viewbtn .ico{width:13px;height:13px}

/* video modal */
.ag-vmodal[hidden]{display:none}
.ag-vmodal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px}
.ag-vbackdrop{position:absolute;inset:0;background:rgba(10,16,22,.72);backdrop-filter:blur(3px)}
.ag-vdialog{position:relative;width:min(760px,100%);background:var(--surface);border-radius:20px;padding:14px;box-shadow:0 30px 80px rgba(10,16,22,.35);animation:pr-in-up .3s ease both}
.ag-vframe{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#11202E}
.ag-vframe img{width:100%;height:100%;object-fit:cover;opacity:.85}
.ag-vbig{
  position:absolute;inset:0;margin:auto;width:64px;height:64px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#11202E
}
.ag-vbig .ico{display:block;width:24px;height:24px;margin-left:3px}
.ag-vbig:hover{background:#F2951F;color:#fff}
.ag-vclose{
  position:absolute;top:-14px;right:-14px;z-index:3;width:36px;height:36px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text)
}
.ag-vclose .ico{width:16px;height:16px}
.ag-vmeta{display:flex;flex-direction:column;gap:2px;padding:12px 4px 4px}
.ag-vmeta b{font-size:.98rem}
.ag-vmeta span{font-size:.82rem;color:var(--muted)}

[data-theme="dark"] .ag-go{background:#F2951F;color:#11202E}
[data-theme="dark"] .ag-viewbtn,[data-theme="dark"] .ag-tablist button.active{color:#F0A85A}
[data-theme="dark"] .ag-call:hover{color:#F0A85A}

.ag-grid > .ag-card{animation:pr-in-up .5s cubic-bezier(.22,.75,.25,1) both}
.ag-grid > .ag-card:nth-child(2){animation-delay:.05s}
.ag-grid > .ag-card:nth-child(3){animation-delay:.1s}
.ag-grid > .ag-card:nth-child(n+4){animation-delay:.14s}
@media(prefers-reduced-motion:reduce){.ag-card{animation:none !important}}


/* ==========================================================================
   V9.8 — AGENTS FILTER: SEARCHABLE COMBOBOX + CHECKBOX DROPDOWNS
   ========================================================================== */
.fdrop{position:relative;display:flex;flex-direction:column;gap:6px;z-index:1}
.fdrop.open{z-index:120}
.pfilter,.pfilter-grid,.proj-hero,.proj-hero .container{overflow:visible}
.pfilter{position:relative;z-index:90}
.proj-hero{position:relative;z-index:80}
.fdrop-label{font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.fdrop-control{
  display:flex;align-items:center;gap:8px;width:100%;height:46px;padding:0 12px;
  border:1px solid var(--line);border-radius:12px;background:var(--surface);
  font:inherit;font-size:.9rem;color:var(--text);text-align:left;cursor:pointer;
}
.fdrop-control .ico{width:16px;height:16px;flex:0 0 auto;color:var(--muted)}
.fdrop.open .fdrop-control{border-color:#F2951F;box-shadow:0 0 0 3px rgba(242,149,31,.14)}
.fdrop.has-value .fdrop-control{border-color:#C9CFD8}
.fdrop-input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:.9rem;color:var(--text);outline:none}
.fdrop-clear{
  flex:0 0 auto;width:20px;height:20px;display:none;align-items:center;justify-content:center;
  border:0;border-radius:50%;background:var(--surface-2);color:var(--muted);cursor:pointer;font-size:.9rem;line-height:1
}
.fdrop.has-value .fdrop-clear{display:inline-flex}
.fdrop-clear:hover{background:#F2951F;color:#fff}
.fdrop-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.fdrop.has-value .fdrop-value{color:var(--text);font-weight:600}
.fdrop-caret{
  flex:0 0 auto;width:8px;height:8px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);
  transform:rotate(45deg) translateY(-2px);transition:transform .18s ease
}
.fdrop.open .fdrop-caret{transform:rotate(225deg) translateY(-2px)}

.pfilter-field > .fdrop-panel,.fdrop > .fdrop-panel{
  display:block;height:auto;min-height:0;padding:0;align-items:initial;gap:0;
}
.fdrop-panel{
  position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:130;
  border:1px solid var(--line);border-radius:14px;background:var(--surface);
  box-shadow:0 18px 44px rgba(10,16,22,.16);overflow:hidden;
  animation:pr-in-up .16s ease both
}
.fdrop-panel[hidden]{display:none}
.fdrop-search{padding:9px 10px;border-bottom:1px solid var(--line)}
.fdrop-search input{
  width:100%;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:9px;
  background:var(--surface-2);font:inherit;font-size:.85rem;color:var(--text);outline:none
}
.fdrop-search input:focus{border-color:#F2951F}
.fdrop-list{max-height:min(236px,var(--fdrop-space,236px));overflow-y:auto;padding:6px}
.fdrop-panel.flip-up{top:auto;bottom:calc(100% + 6px)}
.fdrop-opt{
  display:block;width:100%;padding:8px 10px;border:0;border-radius:9px;background:transparent;
  font:inherit;font-size:.87rem;color:var(--text);text-align:left;cursor:pointer
}
.fdrop-opt[hidden]{display:none}
.fdrop-opt:hover{background:var(--surface-2);color:#8C4C04}
.fdrop-check{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:9px;cursor:pointer}
.fdrop-check[hidden]{display:none}
.fdrop-check:hover{background:var(--surface-2)}
.fdrop-check input{position:absolute;opacity:0;pointer-events:none}
.fdrop-box{
  flex:0 0 auto;width:17px;height:17px;border:1.5px solid var(--line-strong,#C9CFD8);border-radius:5px;
  background:var(--surface);position:relative
}
.fdrop-check input:checked + .fdrop-box{background:#F2951F;border-color:#F2951F}
.fdrop-check input:checked + .fdrop-box::after{
  content:"";position:absolute;left:4.5px;top:1.5px;width:5px;height:9px;
  border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(40deg)
}
.fdrop-check input:focus-visible + .fdrop-box{box-shadow:0 0 0 3px rgba(242,149,31,.25)}
.fdrop-text{font-size:.87rem;color:var(--text)}
.fdrop-empty{padding:14px 12px;font-size:.85rem;color:var(--muted)}
.fdrop-empty[hidden]{display:none}
.fdrop-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-top:1px solid var(--line)}
.fdrop-clearall,.fdrop-done{border:0;background:transparent;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}
.fdrop-clearall{color:var(--muted)}
.fdrop-clearall:hover{color:var(--text)}
.fdrop-done{padding:7px 14px;border-radius:9px;background:#11202E;color:#fff}
.fdrop-done:hover{background:#F2951F}

[data-theme="dark"] .fdrop-panel{box-shadow:0 18px 44px rgba(0,0,0,.5)}
[data-theme="dark"] .fdrop-opt:hover{color:#F0A85A}
[data-theme="dark"] .fdrop-done{background:#F2951F;color:#11202E}


/* ==========================================================================
   V9.9 — AGENT PROFILE: LANGUAGES + CALL / WHATSAPP / EMAIL
   ========================================================================== */
.agent-facts-row{display:grid;gap:10px;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--line)}
.agent-facts-row > div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:baseline}
.agent-facts-row dt{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.agent-facts-row dd{margin:0;font-size:.88rem;color:var(--text);line-height:1.4}

.agent-contact-row{display:grid;grid-template-columns:0.95fr 1.3fr 0.95fr;gap:7px;margin-top:16px}
.contact-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  height:46px;padding:0 8px;border-radius:12px;line-height:1;text-decoration:none;white-space:nowrap;
  font-size:.78rem;font-weight:700;border:1px solid transparent;gap:5px;min-width:0;
}
.contact-btn .ico{display:block;width:14px;height:14px;flex:0 0 auto}
.contact-call{background:#11202E;color:#fff}
.contact-call:hover{background:#1F5AA4}
.contact-wa{background:#1FA855;color:#fff}
.contact-wa:hover{background:#17853F}
.contact-mail{background:var(--surface-2);border-color:var(--line);color:var(--text)}
.contact-mail:hover{border-color:#F2951F;color:#8C4C04}
@media(max-width:420px){
  .agent-facts-row > div{grid-template-columns:1fr;gap:2px}
}
[data-theme="dark"] .contact-call{background:#F2951F;color:#11202E}
[data-theme="dark"] .contact-mail:hover{color:#F0A85A}


/* ==========================================================================
   V10.0 — AGENT PROFILE: ACTIVE LISTINGS TABS + VIEW ALL
   ========================================================================== */
.al-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.al-head h2{margin:0}
.al-viewall{
  display:inline-flex;align-items:center;gap:5px;padding:8px 13px;border:1px solid var(--line);
  border-radius:10px;background:var(--surface-2);font-size:.83rem;font-weight:700;color:var(--text);text-decoration:none;line-height:1
}
.al-viewall:hover{border-color:#F2951F;color:#8C4C04}
.al-viewall .ico{display:block;width:14px;height:14px;flex:0 0 auto}

.al-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 14px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.al-tabs button{
  display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border:1px solid var(--line);
  border-radius:999px;background:var(--surface);font:inherit;font-size:.85rem;font-weight:600;
  color:var(--text-2);cursor:pointer;line-height:1
}
.al-tabs button i{
  font-style:normal;font-size:.74rem;font-weight:700;padding:2px 6px;border-radius:999px;
  background:var(--surface-2);color:var(--muted)
}
.al-tabs button:hover{border-color:#C9CFD8}
.al-tabs button.active{background:#11202E;border-color:#11202E;color:#fff}
.al-tabs button.active i{background:rgba(255,255,255,.18);color:#fff}

.al-panel{display:none}
.al-panel.active{display:block}
.al-more{display:flex;justify-content:center;margin-top:14px}
.al-more .btn{display:inline-flex;align-items:center;gap:7px}
.al-more .btn i{font-style:normal;font-size:.76rem;font-weight:700;color:var(--muted)}

/* plain white-on-photo badge needs a dark-mode counterpart */
[data-theme="dark"] .badge.on-media{background:rgba(18,24,33,.92) !important;color:#F6F8FB !important;border:1px solid rgba(255,255,255,.16) !important}
[data-theme="dark"] .al-tabs button.active{background:#F2951F;border-color:#F2951F;color:#11202E}
[data-theme="dark"] .al-tabs button.active i{background:rgba(17,32,46,.22);color:#11202E}
[data-theme="dark"] .al-viewall:hover{color:#F0A85A}


/* ==========================================================================
   V10.1 — CARD ACTION HOVER + FAVOURITE STATE
   ========================================================================== */
.save-btn{cursor:pointer !important;transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
.save-btn:hover{background:#fff !important;color:#F2951F !important;transform:scale(1.06);box-shadow:0 6px 16px rgba(10,16,22,.18)}
.save-btn .ico path{transition:fill .16s ease}
.save-btn.saved{background:#fff !important;color:#D92D20 !important}
.save-btn.saved .ico{color:#D92D20}
.save-btn.saved .ico path{fill:#D92D20}
.save-btn.saved:hover{color:#A81E17 !important}
.save-btn.saved:hover .ico path{fill:#A81E17}
.save-btn:focus-visible{outline:2px solid #F2951F;outline-offset:2px}

.card-actions .btn:not(.btn-primary){
  cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.card-actions .btn:not(.btn-primary):hover{
  background:#FBF1E3 !important;border-color:#F2951F !important;color:#8C4C04 !important;
}
.card-actions .btn:not(.btn-primary):hover .ico{color:#8C4C04}
[data-theme="dark"] .card-actions .btn:not(.btn-primary):hover{
  background:rgba(242,149,31,.16) !important;border-color:#F2951F !important;color:#F0A85A !important;
}
[data-theme="dark"] .card-actions .btn:not(.btn-primary):hover .ico{color:#F0A85A}
[data-theme="dark"] .save-btn.saved{background:#121821 !important;color:#F97066 !important}
[data-theme="dark"] .save-btn.saved .ico path{fill:#F97066}
[data-theme="dark"] .save-btn:hover{background:#121821 !important}

[data-theme="dark"] .save-btn.saved:hover{color:#FFA39E !important}
[data-theme="dark"] .save-btn.saved:hover .ico{color:#FFA39E}
[data-theme="dark"] .save-btn.saved:hover .ico path{fill:#FFA39E}


/* ==========================================================================
   V10.2 — AGENT REVIEWS: SUMMARY, BREAKDOWNS, REPLIES, VOTES
   ========================================================================== */
.rv-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.rv-top h2{margin:0;display:flex;align-items:center;gap:9px}
.rv-count{
  font-size:.8rem;font-weight:700;padding:3px 9px;border-radius:999px;
  background:var(--surface-2);color:var(--muted)
}
.rv-sort{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}
.rv-sort select{
  height:38px;padding:0 10px;border:1px solid var(--line);border-radius:10px;
  background:var(--surface);font:inherit;font-size:.84rem;color:var(--text);cursor:pointer
}

.rv-summary{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:18px;align-items:start;margin:16px 0 18px;padding:16px;
  border:1px solid var(--line);border-radius:16px;background:var(--surface-2)
}
.rv-avg,.rv-dist,.rv-cats{min-width:0}
.rv-avg{display:grid;gap:4px;align-content:start}
.rv-avg b{font-size:2.6rem;line-height:1;letter-spacing:-.03em}
.rv-avg small{font-size:.78rem;color:var(--muted)}
.rv-stars{color:#F2951F;letter-spacing:.06em;font-size:.95rem}
.rv-stars-off{color:var(--line)}
.rv-distrow{display:grid;grid-template-columns:26px minmax(0,1fr) 28px;gap:8px;align-items:center;font-size:.78rem;color:var(--muted)}
.rv-bar{height:6px;border-radius:999px;background:var(--line);overflow:hidden}
.rv-bar i{display:block;height:100%;background:#F2951F}
.rv-distrow b{text-align:right;color:var(--text);font-variant-numeric:tabular-nums;font-size:.78rem}
.rv-cats{display:grid;gap:9px;margin:0}
.rv-cats > div{display:grid;gap:4px}
.rv-cats dt{font-size:.76rem;color:var(--muted)}
.rv-cats dd{margin:0;display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:9px;align-items:center}
.rv-catbar{display:block;height:6px;border-radius:999px;background:var(--line);overflow:hidden}
.rv-catbar i{display:block;height:100%;background:#11202E}
.rv-cats b{font-size:.82rem;font-variant-numeric:tabular-nums}

.rv-list{display:grid;gap:12px}
.rv-card{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.rv-head{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:space-between}
.rv-who{display:flex;align-items:center;gap:10px;min-width:0}
.rv-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.rv-who b{display:block;font-size:.92rem}
.rv-who small{display:block;font-size:.76rem;color:var(--muted)}
.rv-score{display:grid;justify-items:end;gap:2px}
.rv-score small{font-size:.74rem;color:var(--muted)}
.rv-context{
  display:inline-block;margin-top:11px;padding:3px 9px;border-radius:999px;
  background:var(--surface-2);font-size:.74rem;color:var(--muted)
}
.rv-body{margin:9px 0 0;font-size:.9rem;line-height:1.55;text-wrap:pretty}
.rv-reply{
  margin-top:12px;padding:12px 13px;border-radius:13px;
  background:var(--surface-2);border-left:0
}
.rv-reply-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.rv-reply-head .ico{width:15px;height:15px;color:#F2951F;flex:0 0 auto}
.rv-reply-head b{font-size:.85rem}
.rv-reply-head small{font-size:.72rem;color:var(--muted)}
.rv-reply p{margin:6px 0 0;font-size:.87rem;line-height:1.5;color:var(--text-2)}
.rv-foot{
  display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;
  margin-top:13px;padding-top:12px;border-top:1px solid var(--line)
}
.rv-helpful-label{font-size:.78rem;color:var(--muted)}
.rv-votes{display:flex;gap:7px}
.rv-vote{
  display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--line);
  border-radius:999px;background:var(--surface);font:inherit;font-size:.79rem;font-weight:600;
  color:var(--text-2);cursor:pointer;line-height:1
}
.rv-vote .ico{width:14px;height:14px;flex:0 0 auto}
.rv-vote i{font-style:normal;font-variant-numeric:tabular-nums;color:var(--muted)}
.rv-vote:hover{border-color:#F2951F;color:#8C4C04}
.rv-vote.picked{background:#FBF1E3;border-color:#F2951F;color:#8C4C04}
.rv-vote.picked i{color:#8C4C04}

@media(max-width:760px){
  .rv-summary{grid-template-columns:1fr;gap:16px}
}
[data-theme="dark"] .rv-vote:hover,[data-theme="dark"] .rv-vote.picked{color:#F0A85A}
[data-theme="dark"] .rv-vote.picked{background:rgba(242,149,31,.16)}
[data-theme="dark"] .rv-vote.picked i{color:#F0A85A}
[data-theme="dark"] .rv-catbar i{background:#7FA9DE}


/* ==========================================================================
   V10.3 — AGENCIES ARCHIVE: FILTERS + AGENCY CARDS
   ========================================================================== */
.agy-logo{
  width:58px;height:58px;border-radius:16px;display:grid;place-items:center;flex:0 0 auto;
  background:#11202E;color:#fff;font-size:1.05rem;font-weight:800;letter-spacing:.02em
}
.agy-card .ag-agency{display:flex;align-items:center;gap:5px}
.agy-card .ag-agency .ico{width:13px;height:13px;flex:0 0 auto;color:var(--muted)}
.agy-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.agy-team > div{display:grid;gap:1px;padding:8px 9px;border-radius:10px;background:var(--surface-2);min-width:0}
.agy-team b{font-size:.92rem;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.agy-team span{font-size:.67rem;color:var(--muted);line-height:1.25}
.agy-since{margin-top:8px;font-size:.76rem;color:var(--muted)}
[data-theme="dark"] .agy-logo{background:#F2951F;color:#11202E}


/* ==========================================================================
   V10.4 — FEATURED AGENCIES
   ========================================================================== */
.fa-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(330px,1fr))}
.fa-card{
  display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;
  background:var(--surface);box-shadow:var(--shadow-xs);overflow:hidden
}
.fa-card:hover{border-color:#F2951F}
.fa-banner{position:relative;aspect-ratio:16/7;background:var(--surface-2)}
.fa-banner img{width:100%;height:100%;object-fit:cover}
.fa-flag{
  position:absolute;left:12px;top:12px;padding:5px 10px;border-radius:999px;
  background:rgba(17,32,46,.86);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.02em
}
.fa-logo{
  position:absolute;left:16px;bottom:-22px;width:62px;height:62px;border-radius:17px;
  display:grid;place-items:center;background:#11202E;color:#fff;font-size:1.1rem;font-weight:800;
  border:3px solid var(--surface)
}
.fa-body{display:flex;flex-direction:column;gap:13px;padding:32px 16px 16px}
.fa-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.fa-name{margin:0;font-size:1.1rem;letter-spacing:-.015em;display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.25}
.fa-loc{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:.8rem;color:var(--muted)}
.fa-loc .ico{width:13px;height:13px;flex:0 0 auto}
.fa-rating{display:grid;justify-items:end;gap:1px;flex:0 0 auto}
.fa-rating b{font-size:1.05rem;font-variant-numeric:tabular-nums}
.fa-rating small{font-size:.72rem;color:var(--muted)}
.fa-blurb{margin:0;font-size:.87rem;line-height:1.5;color:var(--text-2);text-wrap:pretty}
.fa-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.fa-stats > div{display:grid;gap:1px;padding:9px;border-radius:11px;background:var(--surface-2);min-width:0}
.fa-stats b{font-size:.92rem;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.fa-stats span{font-size:.65rem;color:var(--muted);line-height:1.25}
.fa-serv{margin:0}
.fa-team{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;
  padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)
}
.fa-avatars{display:flex;align-items:center}
.fa-avatars a{display:block;margin-right:-9px;border-radius:50%;border:2px solid var(--surface)}
.fa-avatars img{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover}
.fa-more{
  margin-left:14px;padding:4px 9px;border-radius:999px;background:var(--surface-2);
  font-size:.74rem;font-weight:700;color:var(--muted)
}
.fa-teamlink{display:inline-flex;align-items:center;gap:5px;font-size:.82rem;font-weight:700;color:#8C4C04;text-decoration:none}
.fa-teamlink .ico{display:block;width:14px;height:14px}
.fa-teamlink:hover{text-decoration:underline}
.fa-foot{margin-top:2px}
@media(max-width:430px){.fa-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
[data-theme="dark"] .fa-logo{background:#F2951F;color:#11202E}
[data-theme="dark"] .fa-teamlink{color:#F0A85A}

#listed .pfilter{margin:0 0 22px}

/* equal-height featured cards: fixed content rows */
.fa-grid{align-items:stretch}
.fa-card{height:100%}
.fa-body{flex:1}
.fa-head{min-height:56px}
.fa-name{
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.fa-blurb{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  min-height:calc(3 * 1.5 * .87rem)
}
.fa-serv{height:35px;overflow:hidden;align-content:flex-start}
.fa-foot{margin-top:auto}


/* ==========================================================================
   V10.5 — FEATURED AGENCIES AS A SLIDER OF WIDE ROWS
   ========================================================================== */
.fa-slider{position:relative}
.fa-rail{
  display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:2px 2px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch
}
.fa-rail::-webkit-scrollbar{display:none}
.fa-rail > .fa-card{
  flex:0 0 min(720px,92%);scroll-snap-align:start;height:auto;
  display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);overflow:hidden
}
.fa-rail > .fa-card .fa-banner{aspect-ratio:auto;height:100%;min-height:280px}
.fa-rail > .fa-card .fa-logo{left:16px;bottom:16px}
.fa-rail > .fa-card .fa-body{padding:18px;gap:12px}
.fa-rail > .fa-card .fa-blurb{-webkit-line-clamp:3}
.fa-rail > .fa-card .fa-serv{height:auto;max-height:70px}
.fa-rail > .fa-card .fa-name{font-size:1.22rem}

.fa-nav{
  position:absolute;top:calc(50% - 26px);width:40px;height:40px;z-index:5;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);
  box-shadow:0 8px 22px rgba(10,16,22,.16);transition:opacity .15s ease,background .15s ease
}
.fa-nav .ico{display:block;width:18px;height:18px}
.fa-nav:hover{background:#F2951F;border-color:#F2951F;color:#fff}
.fa-nav:disabled{opacity:.3;pointer-events:none}
.fa-prev{left:-8px}
.fa-next{right:-8px}
.fa-dots{display:flex;justify-content:center;gap:7px;margin-top:4px}
.fa-dots button{
  width:8px;height:8px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:var(--line);transition:background .15s ease,width .15s ease
}
.fa-dots button.active{width:22px;border-radius:999px;background:#F2951F}
@media(max-width:700px){
  .fa-rail > .fa-card{grid-template-columns:1fr;flex-basis:88%}
  .fa-rail > .fa-card .fa-banner{aspect-ratio:16/7;min-height:0}
  .fa-rail > .fa-card .fa-logo{bottom:-22px}
  .fa-rail > .fa-card .fa-body{padding:32px 16px 16px}
  .fa-prev,.fa-next{display:none}
}
[data-theme="dark"] .fa-nav:hover{color:#11202E}

/* one agency per slide, banner at a fixed ratio */
.fa-rail{gap:0}
.fa-rail > .fa-card{
  flex:0 0 100%;max-width:100%;
  grid-template-columns:minmax(0,46%) minmax(0,1fr);align-items:stretch
}
.fa-rail > .fa-card .fa-banner{aspect-ratio:auto;height:100%;min-height:301px;width:100%;min-width:0;align-self:stretch;overflow:hidden}
.fa-rail > .fa-card .fa-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fa-rail > .fa-card .fa-body{padding:22px 22px 20px;gap:13px;justify-content:center}
@media(max-width:700px){
  .fa-rail > .fa-card{flex-basis:100%;grid-template-columns:1fr}
  .fa-rail > .fa-card .fa-banner{aspect-ratio:16/9}
}


/* ==========================================================================
   V10.6 — NEWSROOM ARCHIVE
   ========================================================================== */
.nw-topbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}
.nw-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.nw-tabs::-webkit-scrollbar{display:none}
.nw-tabs button{
  flex:0 0 auto;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);
  font:inherit;font-size:.84rem;font-weight:600;color:var(--text-2);cursor:pointer;line-height:1
}
.nw-tabs button:hover{border-color:#C9CFD8}
.nw-tabs button.active{background:#11202E;border-color:#11202E;color:#fff}
.nw-search{
  display:flex;align-items:center;gap:8px;height:42px;padding:0 13px;flex:0 1 260px;
  border:1px solid var(--line);border-radius:999px;background:var(--surface)
}
.nw-search .ico{width:16px;height:16px;color:var(--muted);flex:0 0 auto}
.nw-search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:.86rem;color:var(--text);outline:none}

.nw-lead{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;align-items:start}
.nw-leadcard{position:relative;border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow-xs)}
.nw-leadcard:hover{border-color:#F2951F}
.nw-leadimg{position:relative;aspect-ratio:16/8;background:var(--surface-2)}
.nw-leadimg img{width:100%;height:100%;object-fit:cover}
.nw-flag{
  position:absolute;left:14px;top:14px;padding:5px 11px;border-radius:999px;
  background:rgba(17,32,46,.88);color:#fff;font-size:.72rem;font-weight:700
}
.nw-leadbody{padding:18px}
.nw-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:.76rem;color:var(--muted)}
.nw-cat{padding:3px 9px;border-radius:999px;background:#FBF1E3;color:#8C4C04;font-weight:700}
.nw-leadtitle{margin:9px 0 0;font-size:clamp(1.3rem,2.4vw,1.75rem);line-height:1.18;letter-spacing:-.02em}
.nw-leadtitle a,.nw-title a,.nw-rowtitle a{color:inherit;text-decoration:none}
.nw-leadcard:hover .nw-leadtitle a,.nw-card:hover .nw-title a,.nw-row:hover .nw-rowtitle a{color:#8C4C04}
.nw-dek{margin:8px 0 0;font-size:.9rem;line-height:1.5;color:var(--text-2);text-wrap:pretty}
.nw-by{margin-top:10px;font-size:.78rem;color:var(--muted)}

.nw-sidelist{display:grid;gap:12px}
.nw-row{
  position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;
  padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)
}
.nw-row:hover{border-color:#F2951F}
.nw-rowthumb{aspect-ratio:1/1;border-radius:11px;overflow:hidden;background:var(--surface-2)}
.nw-rowthumb img{width:100%;height:100%;object-fit:cover}
.nw-rowtitle{margin:7px 0 0;font-size:.96rem;line-height:1.3;letter-spacing:-.01em}

.nw-grid{display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.nw-card{
  position:relative;display:flex;flex-direction:column;border:1px solid var(--line);
  border-radius:18px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow-xs);height:100%
}
.nw-card:hover{border-color:#F2951F}
.nw-thumb{aspect-ratio:16/9;background:var(--surface-2)}
.nw-thumb img{width:100%;height:100%;object-fit:cover}
.nw-cbody{display:flex;flex-direction:column;gap:0;padding:15px}
.nw-title{margin:9px 0 0;font-size:1.04rem;line-height:1.28;letter-spacing:-.015em}
.nw-card .nw-dek{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.nw-card .nw-by{margin-top:auto;padding-top:11px}

.nw-band{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nw-bandgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px;align-items:start}
.nw-most{margin:14px 0 0;padding:0;list-style:none;counter-reset:nw}
.nw-most li{
  counter-increment:nw;display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;
  padding:11px 0;border-top:1px solid var(--line)
}
.nw-most li::before{content:counter(nw,decimal-leading-zero);font-size:.8rem;font-weight:800;color:#F2951F}
.nw-most a{font-size:.94rem;line-height:1.35;color:var(--text);text-decoration:none}
.nw-most a:hover{color:#8C4C04;text-decoration:underline}
.nw-sub{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.nw-sub h3{margin:0 0 7px}
.nw-sub p{margin:0 0 13px;font-size:.89rem;line-height:1.5;color:var(--text-2)}
.nw-subform{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.nw-subform input{
  flex:1 1 170px;min-width:0;height:44px;padding:0 13px;border:1px solid var(--line);
  border-radius:11px;background:var(--surface);font:inherit;font-size:.88rem;color:var(--text)
}
.nw-subform input:focus{outline:none;border-color:#F2951F}
.nw-subform .btn{height:44px}
@media(max-width:820px){.nw-lead{grid-template-columns:1fr}}
[data-theme="dark"] .nw-cat{background:rgba(242,149,31,.18);color:#F0A85A}
[data-theme="dark"] .nw-tabs button.active{background:#F2951F;border-color:#F2951F;color:#11202E}
[data-theme="dark"] .nw-leadcard:hover .nw-leadtitle a,[data-theme="dark"] .nw-card:hover .nw-title a,
[data-theme="dark"] .nw-row:hover .nw-rowtitle a,[data-theme="dark"] .nw-most a:hover{color:#F0A85A}


/* ==========================================================================
   V10.7 — SINGLE NEWS ARTICLE
   ========================================================================== */
.nw-progress{position:sticky;top:0;z-index:50;height:3px;background:transparent}
.nw-progress i{display:block;height:100%;width:0;background:#F2951F}
.na-head{padding:26px 0 6px}
.na-headinner{max-width:820px}
.na-headmeta{margin-top:12px}
.na-live{padding:3px 9px;border-radius:999px;background:var(--surface-2);font-weight:600}
.na-title{margin:12px 0 0;font-size:clamp(1.75rem,4.2vw,2.8rem);line-height:1.08;letter-spacing:-.028em;text-wrap:pretty}
.na-dek{margin:13px 0 0;font-size:clamp(1rem,1.6vw,1.16rem);line-height:1.55;color:var(--text-2);text-wrap:pretty}
.na-byline{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.na-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.na-bytext{min-width:0;flex:1 1 180px}
.na-bytext b{display:block;font-size:.92rem}
.na-bytext small{display:block;font-size:.78rem;color:var(--muted)}
.na-share{display:flex;gap:7px;flex-wrap:wrap}
.na-sharebtn{
  display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;cursor:pointer;
  border:1px solid var(--line);border-radius:999px;background:var(--surface);
  font:inherit;font-size:.8rem;font-weight:600;color:var(--text-2);line-height:1
}
.na-sharebtn .ico{display:block;width:15px;height:15px;flex:0 0 auto}
.na-sharebtn:hover{border-color:#F2951F;color:#8C4C04}

.na-hero{margin:22px 0 0;padding:0}
.na-hero img{width:100%;aspect-ratio:16/7;object-fit:cover;display:block}
.na-hero figcaption{
  max-width:820px;margin:10px auto 0;padding:0 20px;
  font-size:.8rem;color:var(--muted);line-height:1.5
}
.na-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:30px;align-items:start;padding-top:26px}
.na-body{max-width:720px;font-size:1.02rem;line-height:1.7}
.na-body > p{margin:0 0 18px;text-wrap:pretty}
.na-body h2{margin:28px 0 10px;font-size:1.35rem;letter-spacing:-.02em;line-height:1.25}
.na-key{
  margin:0 0 22px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)
}
.na-key h2{margin:0 0 9px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.na-key ul{margin:0;padding-left:18px;display:grid;gap:7px}
.na-key li{font-size:.92rem;line-height:1.5}
.na-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:22px 0}
.na-stats > div{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:grid;gap:2px}
.na-stats b{font-size:1.35rem;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.na-stats span{font-size:.76rem;color:var(--muted);line-height:1.3}
.na-quote{
  margin:24px 0;padding:18px 20px;border:0;border-left:3px solid #F2951F;
  background:var(--surface-2);border-radius:0 14px 14px 0;
  font-size:1.1rem;line-height:1.5;letter-spacing:-.01em
}
.na-quote cite{display:block;margin-top:10px;font-size:.8rem;font-style:normal;color:var(--muted)}
.na-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:26px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.na-tags > span{font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.na-tags a{
  padding:6px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);
  font-size:.81rem;color:var(--text);text-decoration:none
}
.na-tags a:hover{border-color:#F2951F;color:#8C4C04}
.na-foot{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.na-helpful{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.na-helpful > span{font-size:.8rem;color:var(--muted)}

.na-side{display:grid;gap:12px;position:sticky;top:78px}
.na-toc{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.na-toc h3,.na-sidecard h3{margin:0 0 10px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.na-toc a{display:block;padding:7px 0;font-size:.88rem;color:var(--text);text-decoration:none;border-top:1px solid var(--line)}
.na-toc a:first-of-type{border-top:0}
.na-toc a:hover{color:#8C4C04}
.na-sidecard{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.na-entity{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;padding:9px 0;text-decoration:none;border-top:1px solid var(--line)}
.na-entity:first-of-type{border-top:0}
.na-entlogo{
  width:40px;height:40px;border-radius:11px;display:grid;place-items:center;
  background:var(--surface-2);font-size:.78rem;font-weight:800;color:var(--text)
}
.na-entity b{display:block;font-size:.9rem;color:var(--text)}
.na-entity small{display:block;font-size:.76rem;color:var(--muted)}
.na-entity:hover b{color:#8C4C04}
.na-side .nw-sub{border:1px solid var(--line)}
.na-side .nw-sub p{font-size:.85rem}

@media(max-width:900px){
  .na-grid{grid-template-columns:1fr;gap:22px}
  .na-side{position:static}
}
[data-theme="dark"] .na-sharebtn:hover,[data-theme="dark"] .na-tags a:hover,
[data-theme="dark"] .na-toc a:hover,[data-theme="dark"] .na-entity:hover b{color:#F0A85A}


/* ==========================================================================
   V10.8 — GUIDES ARCHIVE + SINGLE GUIDE
   ========================================================================== */
.bg-topbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}
.bg-lead{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:start}
.bg-leadcard{position:relative;display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow-xs)}
.bg-leadcard:hover{border-color:#F2951F}
.bg-leadimg{position:relative;min-height:260px;background:var(--surface-2)}
.bg-leadimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bg-leadbody{padding:20px}
.bg-learn{margin:13px 0 0;padding-left:18px;display:grid;gap:6px}
.bg-learn li{font-size:.87rem;line-height:1.45;color:var(--text-2)}
.bg-topics{padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2)}
.bg-topics h3{margin:0 0 12px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.bg-topicgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px}
.bg-topic{
  display:grid;gap:3px;padding:12px;border:1px solid var(--line);border-radius:13px;
  background:var(--surface);text-decoration:none
}
.bg-topic .ico{width:17px;height:17px;color:#F2951F}
.bg-topic b{font-size:.9rem;color:var(--text)}
.bg-topic small{font-size:.74rem;color:var(--muted);line-height:1.3}
.bg-topic:hover{border-color:#F2951F}

.bg-series{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.bg-series a{
  display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:13px;align-items:center;
  padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-decoration:none
}
.bg-series a:hover{border-color:#F2951F}
.bg-series i{
  font-style:normal;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;
  background:#11202E;color:#fff;font-size:.9rem;font-weight:800
}
.bg-series b{grid-column:2;display:block;font-size:.98rem;color:var(--text)}
.bg-series small{grid-column:2}
.bg-series a > .ico,.bg-series a > span{grid-column:3;grid-row:1/span 2;align-self:center}
.bg-series i{grid-row:1/span 2;align-self:center}
.bg-series small{display:block;font-size:.8rem;color:var(--muted)}
.bg-series .ico{width:18px;height:18px;color:var(--muted)}

.bg-steps{margin:22px 0;padding:0;list-style:none;display:grid;gap:12px}
.bg-steps li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.bg-stepnum{
  display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  background:var(--surface-2);font-size:.85rem;font-weight:800;color:#8C4C04
}
.bg-steps b{display:block;font-size:1rem;letter-spacing:-.01em}
.bg-steps p{margin:5px 0 0;font-size:.9rem;line-height:1.55;color:var(--text-2)}
.bg-callout{
  display:grid;grid-template-columns:22px minmax(0,1fr);gap:13px;margin:22px 0;padding:16px 18px;
  border:1px solid #E7CFA6;border-radius:16px;background:#FBF1E3
}
.bg-callout .ico{width:20px;height:20px;color:#8C4C04}
.bg-callout b{display:block;font-size:.95rem;color:#5C3202}
.bg-callout p{margin:5px 0 0;font-size:.89rem;line-height:1.55;color:#5C3202}
.bg-check{margin:22px 0;padding:17px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.bg-check h3{margin:0 0 11px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.bg-check label{display:grid;grid-template-columns:20px minmax(0,1fr);gap:11px;align-items:start;padding:7px 0;cursor:pointer}
.bg-check input{width:17px;height:17px;margin:2px 0 0;accent-color:#F2951F;cursor:pointer}
.bg-check span{font-size:.9rem;line-height:1.45}
.bg-takeaway{background:var(--surface-2)}
@media(max-width:900px){
  .bg-lead{grid-template-columns:1fr}
  .bg-leadcard{grid-template-columns:1fr}
  .bg-leadimg{min-height:0;aspect-ratio:16/8}
}
[data-theme="dark"] .bg-series i{background:#F2951F;color:#11202E}
[data-theme="dark"] .bg-stepnum{color:#F0A85A}
[data-theme="dark"] .bg-callout{background:rgba(242,149,31,.14);border-color:rgba(242,149,31,.4)}
[data-theme="dark"] .bg-callout b,[data-theme="dark"] .bg-callout p{color:#F5D8AE}
