/* 해링턴 플레이스 문래 보완 — 상동 sangdong.css 복사본(아테라 base.css·site.css 위에 얹는 최소 규칙) + 해링턴 전용 규칙(맨 아래) */

/* 로고: 해링턴 플레이스 공식 레터링(684×120) + 운영 주체 표시. 어떤 폭에서도 잘리거나 찌그러지지 않게 */
.header .sd-logo{display:flex;align-items:center;gap:14px;flex:0 0 auto;min-width:0;white-space:nowrap;line-height:1.4}
.header .sd-logo .sd-logo-img{display:block;height:28px;width:auto;max-width:none;flex:0 0 auto;position:relative;top:1px}
.header .sd-logo .sd-logo-text{display:block;flex:0 0 auto;border-left:1px solid var(--line);padding-left:14px;font-size:15px;font-weight:500;line-height:1.45;color:var(--ink);letter-spacing:-.02em}
.header .sd-logo .sd-logo-text small{display:block;font-size:11px;font-weight:400;letter-spacing:0;line-height:1.45;margin-top:2px;color:var(--muted)}
.header .nav{flex:0 1 auto}

/* 잔여세대 문의(아테라 consult-divider 형식, 버튼 두 개) */
.sd-consult .sd-actions{display:flex;gap:10px;flex-shrink:0}
.sd-consult .sd-actions a{display:inline-flex;align-items:center;justify-content:center;gap:14px;box-sizing:border-box;min-width:150px;min-height:48px;padding:12px 20px;border:1px solid #25483e;border-radius:3px;background:#25483e;color:#fff;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.02em;white-space:nowrap}
.sd-consult .sd-actions a span{font-size:19px;line-height:1}
.sd-consult .sd-actions a:hover{background:#1d3b32;border-color:#1d3b32}
.sd-consult .sd-actions a.line{background:transparent;color:#25483e}
.sd-consult .sd-actions a.line:hover{background:#e7ebe2}

/* 영상: 최고화질 썸네일을 16:9 그대로, 위에 아무것도 얹지 않음 */
.sd-video{position:relative;width:100%;aspect-ratio:16/9;background:#173a33;line-height:0}
.sd-video .video-poster{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer}
.sd-video .video-poster img{display:block;width:100%;height:auto;aspect-ratio:16/9}
.sd-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.sd-video-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:12px 0;border-bottom:1px solid var(--line)}
.sd-video-bar p{margin:0;font-size:14px;color:var(--muted);line-height:1.9}
.sd-video-bar a{display:inline-flex;align-items:center;gap:10px;min-height:44px;white-space:nowrap;font-size:16px}
.sd-video-bar a span{font-size:12px;color:var(--gold)}

/* 면적·세대 표 */
.sd-table-wrap{overflow-x:auto}
.sd-table{width:100%;border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.sd-table caption{caption-side:top;text-align:left;font-size:14px;color:var(--muted);padding-bottom:12px;line-height:1.9}
.sd-table th,.sd-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:right;font-weight:400;white-space:nowrap;line-height:1.6}
.sd-table thead th{font-size:14px;color:var(--muted);border-top:1px solid var(--ink)}
.sd-table th:first-child{text-align:left;padding-left:0}
.sd-table th:last-child,.sd-table td:last-child{padding-right:0}
.sd-table tbody th{font:19px/1.5 Georgia,serif}
.sd-table tfoot th,.sd-table tfoot td{font-weight:500;border-bottom:1px solid var(--ink)}

/* 분양가 목록, 2단 목록, 본문 링크 */
.sd-price dt{font:22px/1.5 Georgia,serif;color:var(--ink)}
.sd-price dt small{display:block;font:14px/1.7 'Noto Sans KR',sans-serif;color:var(--muted)}
.sd-price dd{font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}
.at-data.sd-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;border-top:0}
.at-data.sd-cols>div{border-top:0}
.at-data.sd-cols>div:nth-child(-n+2){border-top:1px solid var(--line)}
.sd-inline{border-bottom:1px solid #99a88f}
.sd-type-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
.soft .lead{max-width:780px}
.sd-hero>picture img{object-position:60% center}
.sd-hero:after{background:linear-gradient(90deg,#061a19b8,transparent 75%),linear-gradient(0deg,#061a1999,transparent 28%)}
.sd-tight{margin-top:56px}
.type-next>span{min-width:1px}
.photo-open>img{background:#fff}

@media(max-width:1100px){
 .header .sd-logo .sd-logo-img{height:24px}
 .header .sd-logo{gap:12px}
 .header .sd-logo .sd-logo-text{padding-left:12px;font-size:14px}
 .header .sd-logo .sd-logo-text small{font-size:11px}
}
@media(max-width:900px){
 .sd-consult .sd-actions{margin-top:14px}
}
@media(max-width:600px){
 .header .sd-logo{gap:10px}
 .header .sd-logo .sd-logo-img{height:24px}
 .header .sd-logo .sd-logo-text{padding-left:10px;font-size:13px}
 .header .sd-logo .sd-logo-text small{font-size:10px;margin-top:1px}
 .sd-consult .sd-actions{width:100%}
 .sd-consult .sd-actions a{flex:1 1 0;min-width:0;padding:12px 10px}
 main .sd-video{width:calc(100% + 48px);margin-inline:-24px}
 .sd-video-bar{display:block;padding:12px 0 6px}
 .sd-video-bar a{margin-top:2px}
 .sd-table{font-size:14px}
 .sd-table th,.sd-table td{padding:12px 4px}
 .sd-table thead th{font-size:12px}
 .sd-table tbody th{font-size:16px}
 .sd-price dt{font-size:20px}
 .sd-price dd{font-size:17px}
 .at-data.sd-cols{grid-template-columns:1fr}
 .at-data.sd-cols>div:nth-child(2){border-top:0}
 .sd-type-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:360px){
 .header .sd-logo .sd-logo-img{height:24px}
 .header .sd-logo .sd-logo-text{font-size:12px}
 .header .sd-logo .sd-logo-text small{font-size:10px;letter-spacing:-.02em}
}
@media(max-width:600px){
 .sd-hero>picture img{object-position:center bottom}
 .sd-hero:after{background:linear-gradient(180deg,#142f2af0 0%,#142f2ae6 30%,#142f2a00 58%,#061a1955 88%,#061a1999 100%)}
}
.contact-grid>aside h2{margin-top:36px}

/* ---- 하우스토리 전용 (문래 해링턴 규칙에서 이름만 바꿈) ---- */
/* 평면 미공개 카드: 이미지 자리에 타입명과 안내만 (가짜 평면을 만들지 않음) */
.hs-plan-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:4/3;background:#f3f1e8;border:1px dashed #c9bd9a;text-align:center;padding:24px}
.hs-plan-pending strong{font:400 52px/1.2 Georgia,serif;color:var(--ink);letter-spacing:.02em}
.hs-plan-pending span{font-size:15px;color:var(--muted);line-height:1.7}
.hs-floor td:nth-child(2){text-align:left;white-space:normal;min-width:180px}
.hs-hero>picture img{object-position:40% center}
@media(max-width:600px){
 .hs-plan-pending{aspect-ratio:16/9}
 .hs-plan-pending strong{font-size:44px}
 .hs-floor td:nth-child(2){min-width:140px}
}
/* 바로가기 3칸: 글 길이가 달라도 화살표 높이를 맞춘다 */
.explore-grid>a{display:flex;flex-direction:column}
.explore-grid>a>span:last-child{margin-top:auto;padding-top:22px}
/* HAUSTORY 레터링은 가로로 길고(766×120) 획이 굵어 높이를 낮춘다 — 320px에서도 메뉴 버튼이 밀려나지 않게 */
.header .sd-logo .hs-logo-img{height:24px;top:0}
@media(max-width:1100px){.header .sd-logo .hs-logo-img{height:21px}}
@media(max-width:600px){.header .sd-logo .hs-logo-img{height:19px}}
@media(max-width:374px){
 .header .sd-logo{gap:8px}
 .header .sd-logo .hs-logo-img{height:16px}
 .header .sd-logo .sd-logo-text{padding-left:8px}
}
/* 모바일 히어로: 밝은 하늘 CG 위 글씨가 읽히도록 위쪽 어두운 막을 상동보다 길게 */
@media(max-width:600px){
 .hs-hero:after{background:linear-gradient(180deg,#142f2af5 0%,#142f2aeb 46%,#142f2a00 66%,#061a1955 88%,#061a19a6 100%)}
}
.gallery-scenes>figure.hs-wide{grid-column:1/-1}
/* 모바일 표: 화면 밖으로 밀리는 열을 접는다 (동·라인은 주거공간·단지 구성 페이지에 따로 있음) */
@media(max-width:600px){
 .hs-floor th:nth-child(2),.hs-floor td:nth-child(2){display:none}
 .hs-area th:nth-child(4),.hs-area td:nth-child(4){display:none}
}

/* 회사명·짧은 구절이 줄 끝에서 한두 글자만 넘어가지 않게 */
.nw{white-space:nowrap}
/* 줄 끝 한두 글자 넘김 방지: 문단 마지막 줄을 브라우저가 고르게 나눈다 */
p,dd,dt,li,figcaption,h1,h2,h3{text-wrap:pretty}
.stats strong{white-space:nowrap}
/* 원본이 작은 약도(540px)는 늘리지 않고 원본 크기까지만, 왼쪽 기준선은 그대로 */
.hs-small{max-width:540px}
@media(max-width:600px){.hs-mix th:nth-child(4),.hs-mix td:nth-child(4){display:none}}
/* 상담 버튼: 글자+화살표 잉크 기준으로 상하·좌우 여백을 맞춤(실측 좌28.5/우30.5, 위19/아래16 → 1px 이내) */
.sd-consult .sd-actions a{padding:11px 19px 13px 21px}
@media(max-width:600px){.sd-consult .sd-actions a{padding:11px 9px 13px 11px}}
/* PC 첫 화면: 밝은 건물 CG 위 작은 글씨 대비를 위해 왼쪽 어두운 막을 조금 진하게 */
@media(min-width:601px){.hs-hero:after{background:linear-gradient(90deg,#061a19d9 0%,#061a19a6 38%,#061a1900 68%),linear-gradient(0deg,#061a1999,transparent 28%)}}
