/*
Theme Name: 廣廈地產（陶土暖沙・平面圖側欄）
Template: nvbase
Description: house.111adv.com 專屬子主題：左側「建築平面圖／樓層導覽」欄、陶土磚紅＋暖沙奶油居家色、拱窗頭條、實價登錄各區房價行情＋房貸試算。
Version: 1.0.0
*/
:root{
	--terra:#C4552E;--brick:#94361D;--clay:#D9784F;--sand:#EBD3AE;--sand2:#F5E6CC;--cream:#FCF6EC;--paper:#FFFBF4;
	--ink:#3A281E;--muted:#7E6555;--line:#E8D5BC;--sage:#6F7C4B;--r:14px;
	--serif:"Noto Serif TC","Noto Sans TC",serif;--sans:"Noto Sans TC",system-ui,-apple-system,"PingFang TC","Microsoft JhengHei",sans-serif;--num:"DM Serif Display",Georgia,serif;
	--rail:268px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.hse{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.7;overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:hover{color:var(--terra)}
img{max-width:100%;display:block}
h1,h2,h3{font-family:var(--serif)}
[hidden]{display:none!important}

/* ---------- 左側：平面圖樓層導覽 ---------- */
.hse-rail{position:fixed;inset:0 auto 0 0;width:var(--rail);z-index:50;display:flex;flex-direction:column;
	background-color:var(--sand2);
	background-image:linear-gradient(rgba(196,85,46,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(196,85,46,.09) 1px,transparent 1px),linear-gradient(rgba(196,85,46,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(196,85,46,.05) 1px,transparent 1px);
	background-size:60px 60px,60px 60px,12px 12px,12px 12px;
	border-right:6px double var(--terra)}
.hse-rail-top{display:flex;align-items:center;justify-content:space-between;padding:22px 18px 16px;border-bottom:2px solid var(--terra);background:var(--terra);color:#fff}
.hse-logo{display:flex;align-items:center;gap:10px;color:#fff}
.hse-logo:hover{color:#fff}
.hse-logo svg{width:44px;height:40px;flex:none;fill:none;stroke:#FFE9CF;stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.hse-logo b{display:block;font-family:var(--serif);font-size:25px;font-weight:900;letter-spacing:.12em;line-height:1.2}
.hse-logo small{display:block;font-size:10.5px;letter-spacing:.2em;color:#FFE1C4}
.hse-burger{display:none;background:none;border:2px solid #FFE1C4;border-radius:8px;width:42px;height:38px;padding:8px;cursor:pointer;flex-direction:column;justify-content:space-between}
.hse-burger span{display:block;height:2px;background:#fff;border-radius:2px}
.hse-rail-body{flex:1;overflow-y:auto;padding:16px 14px 20px;scrollbar-width:thin}
.hse-rail .nv-search{display:flex;background:var(--paper);border:1.5px solid var(--terra);border-radius:999px;overflow:hidden;margin-bottom:18px}
.hse-rail .nv-search input{flex:1;min-width:0;border:0;background:none;padding:8px 14px;font:inherit;font-size:14px;color:var(--ink);outline:none}
.hse-rail .nv-search button{border:0;background:var(--terra);color:#fff;font:inherit;font-size:13px;padding:0 14px;cursor:pointer}
.hse-plan-label{display:flex;align-items:baseline;justify-content:space-between;margin:0 2px 8px;border-bottom:1px dashed var(--terra);padding-bottom:4px}
.hse-plan-label span{font-family:var(--serif);font-weight:900;color:var(--brick);font-size:15px;letter-spacing:.1em}
.hse-plan-label em{font-style:normal;font-size:10px;letter-spacing:.16em;color:var(--muted)}
/* 每一層樓像平面圖上的一個房間：虛線牆、門口缺口、樓層標籤 */
.hse-floors{display:flex;flex-direction:column-reverse;gap:0;border:2px solid var(--brick);background:var(--paper)}
.hse-floors a{position:relative;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:8px 10px 8px 8px;border-top:1.5px dashed rgba(148,54,29,.45);font-size:15px;font-weight:500}
.hse-floors a:last-child{border-top:0}
.hse-floors a::after{content:"";position:absolute;right:-2px;top:30%;height:40%;width:4px;background:var(--paper)}
.hse-floors i{font-style:normal;font-family:var(--num);font-size:17px;color:var(--terra);border:1.5px solid var(--terra);border-radius:4px;text-align:center;line-height:26px;background:var(--cream)}
.hse-floors small{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.hse-floors a:hover{background:var(--sand2);color:var(--brick)}
.hse-floors a.on{background:var(--terra);color:#fff}
.hse-floors a.on i{background:#fff;border-color:#fff;color:var(--terra)}
.hse-floors a.on small{color:#FFE1C4}
.hse-rail-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
.hse-rail-tools a{text-align:center;background:var(--brick);color:#fff;border-radius:10px;padding:8px 6px;font-weight:700;font-size:14px}
.hse-rail-tools a:hover{background:var(--terra);color:#fff}
.hse-compass{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10.5px;letter-spacing:.14em;padding:4px 4px 0}
.hse-compass span{font-family:var(--num);font-size:18px;color:var(--brick);width:30px;height:30px;border:1.5px solid var(--brick);border-radius:50%;display:grid;place-items:center;position:relative}
.hse-compass span::before{content:"";position:absolute;top:-7px;left:50%;margin-left:-4px;border:4px solid transparent;border-bottom:6px solid var(--brick);border-top:0}
.hse-compass i{flex:1;height:8px;border:1.5px solid var(--brick);border-top:0;background:repeating-linear-gradient(90deg,var(--brick) 0 10px,transparent 10px 20px)}
.hse-compass em{font-style:normal}

/* ---------- 右側舞台 ---------- */
.hse-stage{margin-left:var(--rail);min-height:100vh;display:flex;flex-direction:column}
.hse-topline{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 32px;font-size:13px;color:var(--brick);background:var(--sand);border-bottom:1px solid var(--line)}
.hse-topline-r{letter-spacing:.2em;font-weight:700}
.hse-home,.nv-layout,.nv-404{width:100%;max-width:1220px;margin:0 auto;padding:0 32px}
.hse-home{padding-bottom:30px}

.hse-h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid var(--terra);position:relative}
.hse-h2::after{content:"";position:absolute;left:0;bottom:-6px;width:56px;height:4px;background:var(--brick)}
.hse-h2 h2{margin:0;font-size:24px;font-weight:900;color:var(--ink)}
.hse-h2 em{font-style:normal;font-size:13px;color:var(--muted)}
.hse-h2-tag{font-size:12px;font-weight:700;color:#fff;background:var(--terra);padding:2px 10px;border-radius:999px 999px 999px 0;align-self:center}

/* 拱窗頭條 */
.hse-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:28px;margin:28px 0 36px}
.hse-hero-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:end;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.hse-arch{display:block;aspect-ratio:4/5;border-radius:999px 999px 10px 10px;overflow:hidden;border:6px solid var(--sand);outline:2px solid var(--terra);outline-offset:-2px;background:var(--sand2)}
.hse-arch img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hse-arch:hover img{transform:scale(1.04)}
.hse-kicker{display:flex;gap:8px;align-items:center;margin:0 0 10px;font-size:13px}
.hse-kicker span{background:var(--brick);color:#fff;font-weight:700;padding:2px 10px;border-radius:4px}
.hse-kicker em{font-style:normal;color:var(--terra);font-weight:700}
.hse-hero-txt h1{margin:0 0 12px;font-size:clamp(24px,2.4vw,34px);line-height:1.38;font-weight:900}
.hse-dek{margin:0 0 12px;color:var(--muted);font-size:15.5px}
.hse-hero-txt time{font-size:13px;color:var(--muted)}
.hse-plates{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.hse-plates a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;background:var(--paper);border:1px solid var(--line);border-left:5px solid var(--clay);border-radius:10px;padding:12px 14px;height:100%}
.hse-plates a:hover{border-left-color:var(--brick)}
/* 門牌：藍底白字的台灣門牌改成陶土色 */
.hse-plate{grid-row:1/3;align-self:start;font-family:var(--num);font-weight:400;font-size:15px;color:#fff;background:var(--terra);border:2px solid #fff;outline:2px solid var(--terra);border-radius:6px;padding:4px 8px;line-height:1.2}
.hse-plates span{font-weight:700;line-height:1.5;font-size:15.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hse-plates time{font-size:12.5px;color:var(--muted)}

/* 試算＋房價 */
.hse-tools{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;margin:0 0 40px;scroll-margin-top:20px}
.hse-price,.hse-calc{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:22px 22px 18px;scroll-margin-top:20px}
.hse-calc{background:linear-gradient(180deg,#FFF5E8,var(--paper));border:2px solid var(--clay)}
.hse-price-ctl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-bottom:12px}
.hse-price-ctl label{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--brick)}
.hse-price-ctl select,.hse-calc select,.hse-calc input{font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1.5px solid var(--sand);border-radius:8px;padding:6px 10px}
.hse-price-ctl select:focus,.hse-calc select:focus,.hse-calc input:focus{outline:2px solid var(--terra);border-color:var(--terra)}
.hse-price-tip{margin:0;font-size:13px;color:var(--terra);font-weight:500}
.hse-bars{list-style:none;margin:0;padding:0 4px 0 0;max-height:440px;overflow-y:auto;scrollbar-width:thin}
.hse-bars button{display:grid;grid-template-columns:26px 76px minmax(0,1fr) 116px;align-items:center;gap:8px;width:100%;border:0;background:none;font:inherit;color:inherit;text-align:left;padding:6px 6px;border-radius:8px;cursor:pointer}
.hse-bars button:hover{background:var(--sand2)}
.hse-bars button.on{background:#FBE2D2;outline:1.5px solid var(--terra)}
.hse-bar-rk{font-family:var(--num);color:var(--muted);text-align:right;font-size:14px}
.hse-bars li:nth-child(-n+3) .hse-bar-rk{color:var(--brick)}
.hse-bar-name{font-weight:700;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hse-bar-track{height:16px;background:var(--sand2);border-radius:0 6px 6px 0;overflow:hidden}
.hse-bar-track i{display:block;height:100%;background:repeating-linear-gradient(90deg,var(--terra) 0 14px,var(--clay) 14px 16px);border-radius:0 6px 6px 0}
.hse-bars li:nth-child(-n+3) .hse-bar-track i{background:repeating-linear-gradient(90deg,var(--brick) 0 14px,var(--terra) 14px 16px)}
.hse-bar-val{font-size:13px;text-align:right;line-height:1.25}
.hse-bar-val b{font-family:var(--num);font-weight:400;font-size:18px;color:var(--brick)}
.hse-bar-val small{display:block;font-size:11px;color:var(--muted)}
.hse-price-note,.hse-calc-note{margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.nv-govcredit{margin:8px 0 0;font-size:12.5px;color:var(--muted);line-height:1.6}
.nv-govcredit a{color:var(--terra);text-decoration:underline;text-underline-offset:2px}

.hse-calc-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.hse-calc-form>label,.hse-calc-area label{display:flex;flex-direction:column;gap:4px;font-size:13.5px;font-weight:700;color:var(--brick)}
.hse-calc-form label span{display:flex;align-items:center;gap:6px;font-weight:400;color:var(--muted);font-size:13.5px}
.hse-calc-form label span{white-space:nowrap}
.hse-calc-form input,.hse-calc-form select{flex:1;width:100%;min-width:0}
.hse-calc-area{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;border:1.5px dashed var(--clay);border-radius:10px;padding:8px 12px 12px;margin:0}
.hse-calc-area legend{font-size:12.5px;color:var(--terra);font-weight:700;padding:0 6px}
.hse-calc-from{grid-column:1/-1;margin:0;font-size:13px;color:var(--sage);font-weight:700}
.hse-calc-out{margin-top:16px;background:var(--terra);color:#fff;border-radius:12px;padding:14px 16px}
.hse-out-loan{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:8px;margin-bottom:8px;font-size:14px}
.hse-out-loan b{font-family:var(--num);font-weight:400;font-size:20px}
.hse-out-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hse-out-grid>div{background:rgba(255,255,255,.12);border-radius:8px;padding:8px 10px}
.hse-out-grid span{display:block;font-size:12.5px;color:#FFE1C4}
.hse-out-grid b{font-family:var(--num);font-weight:400;font-size:20px;line-height:1.3;word-break:break-all}
.hse-out-grid .is-main{grid-column:1/-1;background:var(--paper);color:var(--brick)}
.hse-out-grid .is-main span{color:var(--muted)}
.hse-out-grid .is-main b{font-size:30px}

/* 居住與城市 */
.hse-living{margin:0 0 40px}
.hse-living-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hse-room{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.hse-room .nv-card-media{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--sand2);border-bottom:4px solid var(--clay)}
.hse-room .nv-card-media img{width:100%;height:100%;object-fit:cover}
.hse-room .nv-card-body{padding:12px 14px 14px}
.hse-room .nv-card-title{font-size:16px;line-height:1.5;margin:4px 0 6px}

/* 下半：最新進件＋樓層＋側欄 */
.hse-cols{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:start}
.hse-fresh{margin-bottom:34px}
.hse-fresh ul{list-style:none;margin:0;padding:0;background:var(--paper);border:1px solid var(--line);border-radius:var(--r)}
.hse-fresh li{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;padding:11px 16px;border-top:1px dashed var(--line)}
.hse-fresh li:first-child{border-top:0}
.hse-fresh time{font-family:var(--num);color:var(--terra);font-size:17px;line-height:1.1;text-align:center}
.hse-fresh time small{display:block;font-family:var(--sans);font-size:11px;color:var(--muted)}
.hse-fresh a{font-weight:500;line-height:1.5}
.hse-fresh em{font-style:normal;font-size:12px;color:var(--sage);border:1px solid var(--sage);border-radius:999px;padding:0 8px;white-space:nowrap}
.hse-floor{margin-bottom:34px}
.hse-floor-head{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:8px 14px;background:var(--sand);border-radius:10px 10px 0 0;border-bottom:3px solid var(--brick)}
.hse-floor-head i{font-style:normal;font-family:var(--num);font-size:22px;color:#fff;background:var(--brick);border-radius:6px;padding:0 10px;line-height:34px}
.hse-floor-head h2{margin:0;font-size:21px;font-weight:900;flex:1}
.hse-floor-head a{font-size:13.5px;color:var(--brick);font-weight:700}
.hse-floor-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px}
.hse-floor-lead .nv-card-media{display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:var(--sand2);margin-bottom:10px}
.hse-floor-lead .nv-card-media img{width:100%;height:100%;object-fit:cover}
.hse-floor-lead .nv-card-title{font-size:18px;line-height:1.5;margin:0 0 6px}
.hse-floor-lead .nv-card-excerpt{margin:0 0 4px;color:var(--muted);font-size:14.5px}
.hse-floor-body:not(:has(.hse-floor-lead)){grid-template-columns:1fr}
.hse-floor-list{list-style:none;margin:0;padding:0}
.hse-floor-list li{padding:10px 0 10px 18px;border-bottom:1px dashed var(--line);position:relative}
.hse-floor-list li::before{content:"";position:absolute;left:0;top:18px;width:9px;height:9px;border:2px solid var(--terra);border-radius:2px}
.hse-floor-list a{display:block;font-weight:700;line-height:1.5}
.hse-floor-list time{font-size:12.5px;color:var(--muted)}
.nv-card-time{font-size:12.5px;color:var(--muted)}
.nv-card-cat{font-size:12px;font-weight:700;color:var(--terra)}

/* 側欄 */
.nv-side>*+*{margin-top:18px}
.nv-side .nv-widget{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:14px}

/* ---------- 內頁 ---------- */
.nv-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:start;padding-top:24px;padding-bottom:30px}
.nv-main{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:6px 32px 30px;min-width:0}
.nv-crumb{font-size:13px;color:var(--muted);margin:16px 0 10px}
.nv-crumb a{color:var(--terra)}
.nv-crumb .sep{margin:0 6px;color:var(--clay)}
.nv-page-head{border-bottom:2px solid var(--terra);padding-bottom:10px;margin-bottom:6px}
.nv-page-title{font-family:var(--serif);font-size:30px;font-weight:900;margin:0}
.nv-page-desc{color:var(--muted);font-size:14.5px}
.nv-list-item{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;padding:18px 0;border-bottom:1px dashed var(--line)}
.nv-list-item .nv-card-media{display:block;aspect-ratio:4/3;border-radius:999px 999px 8px 8px;overflow:hidden;background:var(--sand2)}
.nv-list-item .nv-card-media img{width:100%;height:100%;object-fit:cover}
.nv-list-item:not(:has(.nv-card-media)){grid-template-columns:1fr}
.nv-list-item .nv-card-title{font-size:19px;line-height:1.5;margin:2px 0 6px}
.nv-list-item .nv-card-excerpt{margin:0 0 4px;color:var(--muted);font-size:14.5px}
.nv-pagination{display:flex;flex-wrap:wrap;gap:6px;margin:24px 0 4px}
.nv-pagination .page-numbers{padding:5px 13px;border-radius:8px;background:var(--sand2);font-size:14px}
.nv-pagination .current{background:var(--terra);color:#fff}
.nv-empty{color:var(--muted)}
.nv-search{display:flex;gap:6px;max-width:460px}
.nv-main .nv-search input,.nv-404 .nv-search input{flex:1;min-width:0;font:inherit;padding:8px 12px;border:1.5px solid var(--sand);border-radius:8px}
.nv-main .nv-search button,.nv-404 .nv-search button{font:inherit;background:var(--terra);color:#fff;border:0;border-radius:8px;padding:0 16px;cursor:pointer}
.nv-article-head{padding-top:4px}
.nv-article-cat{display:inline-block;background:var(--terra);color:#fff;font-weight:700;font-size:13px;padding:2px 12px;border-radius:999px 999px 999px 0}
.nv-article-cat:hover{color:#fff;background:var(--brick)}
.nv-article-title{font-size:clamp(25px,3vw,34px);line-height:1.42;font-weight:900;margin:12px 0 10px}
.nv-article-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:13.5px;color:var(--muted);padding-bottom:16px;border-bottom:1px dashed var(--clay);margin-bottom:22px}
.nv-article-body{font-size:17px;line-height:1.95;overflow-wrap:anywhere}
.nv-article-body p{margin:0 0 1.2em}
.nv-article-body a{color:var(--terra);text-decoration:underline}
.nv-article-body img{height:auto;border-radius:10px}
.nv-article-body figure{margin:1.2em 0;max-width:100%}
.nv-article-body table{display:block;overflow-x:auto;max-width:100%}
.nv-tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.nv-tags a{background:var(--sand2);color:var(--brick);border-radius:999px;padding:2px 12px;font-size:13.5px}
.nv-sec-title{font-family:var(--serif);font-size:20px;font-weight:900;margin:32px 0 14px;padding-left:12px;border-left:5px solid var(--terra)}
.nv-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.nv-related-grid .nv-card-media{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--sand2);margin-bottom:6px}
.nv-related-grid .nv-card-media img{width:100%;height:100%;object-fit:cover}
.nv-related-grid .nv-card-title{font-size:15px;line-height:1.5;margin:0 0 4px}
.nv-prevnext{display:flex;justify-content:space-between;gap:16px;margin-top:26px;font-size:14.5px;border-top:1px dashed var(--line);padding-top:14px}
.nv-prevnext a{color:var(--brick)}
.nv-prevnext .next{text-align:right;margin-left:auto}
.nv-404{padding-block:40px}


/* 內文浮動大圖會把文字擠成一長條 → 一律改成置中不浮動 */
.nv-article-body table[align],.nv-article-body img[align],.nv-article-body .alignright,.nv-article-body .alignleft{float:none!important;display:block;margin:1.2em auto!important;max-width:100%}

/* ---------- 頁尾 ---------- */
.hse-foot{margin-top:auto;background:var(--brick);color:#FBE6D4;padding:26px 32px 22px;border-top:6px double var(--sand)}
.hse-foot-in{max-width:1156px;margin:0 auto}
.hse-foot-brand{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.hse-foot-brand b{font-family:var(--serif);font-size:22px;color:#fff;letter-spacing:.1em}
.hse-foot-brand span{font-size:13px;color:var(--sand)}
.hse-foot-cats{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 0;font-size:14px}
.hse-foot-cats a:hover{color:#fff}
.hse-foot p{margin:0;font-size:13px;color:#EBC9B2}

/* ---------- 響應式 ---------- */
@media (max-width:1260px){
	.hse-hero{grid-template-columns:1fr}
	.hse-plates{display:grid;grid-template-columns:1fr 1fr}
	.hse-living-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1100px){
	.hse-tools{grid-template-columns:1fr}
	.hse-cols,.nv-layout{grid-template-columns:minmax(0,1fr) 280px}
	.nv-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:980px){
	.hse-rail{position:sticky;top:0;width:auto;inset:auto;border-right:0;border-bottom:4px double var(--terra);max-height:100vh}
	.hse-rail-top{padding:10px 16px}
	.hse-logo svg{width:34px;height:31px}
	.hse-logo b{font-size:21px}
	.hse-burger{display:flex}
	.hse-rail-body{display:none;max-height:calc(100vh - 64px)}
	.hse-rail.is-open .hse-rail-body{display:block}
	.hse-floors{flex-direction:column}
	.hse-floors a{border-top:0;border-bottom:1.5px dashed rgba(148,54,29,.45)}
	.hse-stage{margin-left:0}
	.hse-cols,.nv-layout{grid-template-columns:1fr}
	.hse-topline{padding:8px 16px}
	.hse-home,.nv-layout,.nv-404{padding-left:16px;padding-right:16px}
}
@media (max-width:640px){
	.hse-hero{margin:18px 0 28px;gap:16px}
	.hse-hero-main{grid-template-columns:1fr;padding:14px}
	.hse-arch{aspect-ratio:4/3;max-height:none}
	.hse-plates{grid-template-columns:1fr}
	.hse-topline-r{display:none}
	.hse-price,.hse-calc{padding:16px 14px 14px}
	.hse-bars button{grid-template-columns:22px 64px minmax(0,1fr) 92px;gap:6px;padding:6px 2px}
	.hse-bar-name{font-size:13.5px}
	.hse-calc-form,.hse-calc-area{grid-template-columns:1fr 1fr;gap:8px 10px}
	.hse-out-grid .is-main b{font-size:24px}
	.hse-out-grid b{font-size:17px}
	.hse-living-grid{grid-template-columns:1fr 1fr;gap:12px}
	.hse-room .nv-card-title{font-size:14.5px}
	.hse-floor-body{grid-template-columns:1fr}
	.hse-fresh li{grid-template-columns:48px 1fr;padding:10px 12px}
	.hse-fresh em{display:none}
	.nv-main{padding:4px 16px 22px}
	.nv-list-item{grid-template-columns:110px minmax(0,1fr);gap:12px}
	.nv-list-item .nv-card-excerpt{display:none}
	.nv-list-item .nv-card-title{font-size:16px}
	.hse-h2 h2{font-size:21px}
	.hse-foot{padding:22px 16px}
}
