/* ==========================================================================
   PROJECT-10 — Design-to-HTML Conversion
   STEP 1 / Image-01 = Header + Hero
   ========================================================================== */

:root{
  --navy: #0B1B42;
  --nav-text: #44445B;
  --border: #E7E7EA;
  --font: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo",
          "Malgun Gothic", "맑은 고딕", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font);
  color:#111;
  background:#fff;
}
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }

a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--navy);
  outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------------------------------------------------------------------
   HEADER  (Image-01 상단부)
   --------------------------------------------------------------------- */
.site-header{
  background:#FDFDFD;
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1180px;
  margin:0 auto;
  padding:15px 32px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:26px;
}
.main-nav{ margin-right:auto; }
.main-nav ul{ display:flex; gap:28px; }
.main-nav a{
  font-size:14.5px;
  font-weight:500;
  color:var(--nav-text);
  white-space:nowrap;
}
.main-nav a:hover{ color:var(--navy); }

.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.icon-btn{
  width:34px; height:34px;
  border:1px solid var(--border);
  border-radius:50%;
  background:#fff;
  color:var(--nav-text);
  display:flex; align-items:center; justify-content:center;
}
.icon-btn:hover{ background:#F5F6F7; }

.btn-navy{
  border:none;
  background:var(--navy);
  color:#fff;
  font-size:13.5px;
  font-weight:600;
  padding:10px 18px;
  border-radius:999px;
}
.btn-navy:hover{ background:#081430; }

.text-link{
  border:1px solid var(--border);
  border-radius:999px;
  padding:9px 16px;
  font-size:13.5px;
  font-weight:500;
  color:var(--nav-text);
  background:#fff;
  white-space:nowrap;
}
.text-link:hover{ background:#F5F6F7; }

.mobile-menu-btn{
  display:none;
  width:34px; height:34px;
  border:none; background:transparent;
  flex-direction:column; justify-content:center; gap:5px;
}
.mobile-menu-btn span{
  display:block; height:2px; width:20px; background:#111; border-radius:2px;
}

/* ---------------------------------------------------------------------
   HERO  (Image-01 하단부)
   원본 시안 이미지를 그대로 배경으로 사용 (재해석/재디자인 없음).
   검색 입력만 실사용을 위해 투명 오버레이로 기능 부여.
   --------------------------------------------------------------------- */
.hero{ background:#fff; }
.hero-media{
  position:relative;
  width:100%;
  max-width:1024px;   /* 원본 시안 기준 폭 */
  margin:0 auto;
  aspect-ratio: 1024 / 354;  /* 원본 시안 비율 고정 */
}
.hero-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* 검색창 오버레이 — 원본 이미지의 흰색 검색 바 위치와 동일한 좌표(%) */
.hero-search-overlay{
  position:absolute;
  left:23.44%;
  top:69.77%;
  width:53.03%;
  height:11.3%;
  display:flex;
  align-items:center;
  background:#fff;
  border-radius:999px;
  box-shadow:0 4px 16px rgba(20,30,50,0.10);
}
.hero-search-icon{
  position:absolute;
  left:4.5%;
  color:#8A93A3;
  pointer-events:none;
}
.hero-search-overlay input{
  flex:1;
  height:100%;
  border:none;
  outline:none;
  background:transparent;
  border-radius:999px;
  padding:0 12% 0 9.5%;
  font-size:1.1vw;
  color:#333;
}

/* CHG-20260729-HERO-POPULAR-TAGS-001
   인기검색 태그 오버레이 — 이미지에서 제거한 원본 태그 행과 동일한 좌표(%) */
.hero-popular-tags{
  position:absolute;
  left:21.29%;
  top:84.5%;
  width:74.22%;
  height:11.3%;
  display:flex;
  align-items:center;
  gap:1%;
  flex-wrap:nowrap;
}
.hero-popular-tags .tag-label{
  background:none;
  color:var(--navy2);
  padding:0;
  margin-right:0.4%;
  border-radius:0;
  font-size:0.9vw;
  font-weight:800;
  white-space:nowrap;
}
.hero-popular-tags a.tag-link{
  background:#fff;
  border:1px solid var(--border);
  color:var(--text-headline);
  padding:0.6% 1.3%;
  border-radius:999px;
  font-size:0.95vw;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s;
}
.hero-popular-tags a.tag-link:hover{ background:var(--bg-alt); }

@media (max-width:760px){
  .hero-popular-tags{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    left:4%;
    width:92%;
    top:84.5%;
    height:15%;
  }
  .hero-popular-tags::-webkit-scrollbar{ display:none; }
  .hero-popular-tags{ gap:6px; }
  .hero-popular-tags .tag-label,
  .hero-popular-tags a.tag-link{
    font-size:10.5px;
    padding:4px 9px;
  }
}
.hero-search-overlay button{
  position:absolute;
  right:1%;
  top:10%;
  width:9%;
  height:80%;
  border:none;
  border-radius:50%;
  background:var(--navy2);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

/* 검색 결과 드롭다운 — Hero 하단에 오버레이로만 표시, Hero 자체 박스 크기에는 영향 없음 */
.hero-search-results{
  position:absolute;
  left:23.44%;
  top:calc(69.77% + 13.56% + 4px);
  width:53.03%;
  max-height:220px;
  overflow-y:auto;
  background:#fff;
  border-radius:12px;
  box-shadow:0 12px 32px rgba(11,27,62,0.18);
  list-style:none;
  margin:0;
  padding:6px;
  z-index:20;
}
.hero-search-results[hidden]{ display:none; }
.hero-search-results li{
  padding:9px 12px;
  border-radius:8px;
  font-size:13px;
  color:var(--text-headline);
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:8px;
}
.hero-search-results li:hover,
.hero-search-results li.is-active{ background:var(--bg-alt); }
.hero-search-results li .result-dong{ color:var(--text-muted); font-size:12px; flex-shrink:0; }
.hero-search-results .no-result{ color:var(--text-muted); cursor:default; }
.hero-search-results .no-result:hover{ background:transparent; }

/* ---------------------------------------------------------------------
   CATEGORY SECTION  (Image-02 상단부)
   --------------------------------------------------------------------- */
:root{
  --text-headline:#16233D;
  --text-body:#5B6472;
  --text-muted:#8A93A3;
  --bg-alt:#F7F9F9;
  --bg-cream:#FDF8F0;
  --green:#427866;
  --green-light:#6FA087;
  --blue:#2170C9;
  --navy2:#0B1B3E;
  --orange:#E67E22;
  --purple:#9D81C8;
  --gold:#C99A3E;
  --radius-lg:16px;
  --radius-md:12px;
  --shadow-card:0 2px 10px rgba(20,30,50,0.05);
  --shadow-card-hover:0 8px 24px rgba(20,30,50,0.09);
}

.category-section{ padding:27px 32px 0; }
.category-grid{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
}
.category-card{
  background:var(--bg-alt);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:13px 15px;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition:box-shadow .18s ease, transform .18s ease;
}
.category-card:hover{ box-shadow:var(--shadow-card-hover); transform:translateY(-2px); }
.category-card-highlight{ background:var(--bg-cream); border-color:#F1DDBF; }

.cat-icon{
  width:38px; height:38px;
  border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:6px;
}
.cat-icon-green{ background:rgba(66,120,102,0.12); color:var(--green); }
.cat-icon-blue{ background:rgba(33,112,201,0.12); color:var(--blue); }
.cat-icon-navy{ background:rgba(11,27,62,0.10); color:var(--navy2); }
.cat-icon-orange{ background:rgba(230,126,34,0.14); color:var(--orange); }
.cat-icon-teal{ background:rgba(111,160,135,0.16); color:var(--green-light); }
.cat-icon-purple{ background:rgba(157,129,200,0.14); color:var(--purple); }

.category-card h3{
  font-size:14.5px;
  font-weight:700;
  margin:0;
  width:100%;
  word-break:keep-all;
  overflow-wrap:normal;
}
.category-card h3 a{
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:center; gap:4px;
  color:var(--text-headline);
  text-decoration:none;
  width:100%;
  text-align:center;
}
.category-card h3 a:hover{ color:var(--navy2); }
.cat-subtitle{ font-size:12px; font-weight:500; color:var(--text-body); white-space:nowrap; }
.chev{ color:var(--text-muted); font-weight:400; }

.category-card ul{ margin-top:3px; display:flex; flex-direction:column; gap:5px; width:100%; }
.category-card ul li a{ color:var(--text-body); text-decoration:none; }
.category-card ul li a:hover{ color:var(--navy2); }
.category-card ul li{
  font-size:12.5px;
  line-height:1.25;
  color:var(--text-body);
  position:relative;
  padding-left:11px;
}
.category-card ul li::before{
  content:"▸";
  position:absolute; left:0; top:0;
  color:var(--text-muted);
  font-size:10px;
}

/* ---------------------------------------------------------------------
   MARKET STATUS BANNER  (Image-02 하단부)
   --------------------------------------------------------------------- */
.market-status{ padding:34px 32px 0; }
.market-card{
  max-width:1180px;
  margin:0 auto;
  height:108px;
  box-sizing:border-box;
  background:var(--bg-alt);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:16px 26px;
  display:flex;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
  overflow:hidden;
}
.market-title h2{ font-size:16.5px; font-weight:700; margin:0; color:var(--text-headline); white-space:nowrap; }
.market-title p{ margin:6px 0 0; font-size:12px; color:var(--text-body); line-height:1.5; }

.market-stats{ display:flex; gap:30px; flex:1; min-width:260px; }
.market-stat{ display:flex; gap:9px; align-items:center; min-width:0; }
.stat-icon{
  width:32px; height:32px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.stat-icon-green{ background:rgba(111,160,135,0.16); color:var(--green-light); }
.stat-icon-blue{ background:rgba(33,112,201,0.12); color:var(--blue); }
.stat-icon-gold{ background:rgba(201,154,62,0.16); color:var(--gold); }
.stat-body{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.stat-label{ font-size:12px; color:var(--text-body); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stat-value{ font-size:16px; font-weight:800; color:var(--text-headline); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stat-delta{ font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
.stat-delta.up{ color:var(--green); }
.stat-delta.down{ color:#C0392B; }
.stat-delta.neutral{ color:var(--text-muted); }

.btn-outline-arrow{
  background:#fff;
  border:1px solid var(--border);
  color:var(--text-headline);
  font-size:12.5px;
  font-weight:600;
  padding:11px 18px;
  border-radius:999px;
  white-space:nowrap;
}
.btn-outline-arrow:hover{ background:var(--bg-cream); }
.btn-outline-arrow span{ margin-left:4px; }

/* ---------------------------------------------------------------------
   INFO ROW — blog / map / quick links  (Image-03)
   --------------------------------------------------------------------- */
.info-row{
  max-width:1180px;
  margin:32px auto 0;
  padding:0 32px 0;
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
}
.info-col{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:15px 18px;
  display:flex;
  flex-direction:column;
}
.info-col-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.info-col-head h3{ font-size:15px; font-weight:700; margin:0; color:var(--text-headline); }
.more-link{ font-size:12px; color:var(--text-muted); }
.more-link:hover{ color:var(--navy2); }

.blog-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.chip{
  background:var(--bg-alt);
  border:1px solid var(--border);
  color:var(--text-body);
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
}

.blog-list{ display:flex; flex-direction:column; gap:9px; margin:0; padding:0; list-style:none; }
.blog-list li{ display:flex; gap:10px; align-items:center; min-width:0; }
.blog-thumb{ width:38px; height:38px; border-radius:7px; flex-shrink:0; background:linear-gradient(135deg,#DCE9E2,#8FB6A6); }
.blog-thumb-2{ background:linear-gradient(135deg,#E4DCC8,#B39A6A); }
.blog-thumb-3{ background:linear-gradient(135deg,#DDE7F2,#6E9CC9); }
.blog-thumb-4{ background:linear-gradient(135deg,#EDE1EF,#B08FC4); }
.blog-meta{ min-width:0; flex:1; }
.blog-title{ font-size:12.5px; font-weight:600; color:var(--text-headline); margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.blog-date{ font-size:11px; color:var(--text-muted); }

.map-address{ font-size:12px; color:var(--text-body); line-height:1.45; margin:0 0 10px; }
.map-placeholder{
  flex:1;
  min-height:88px;
  border-radius:var(--radius-md);
  background:repeating-linear-gradient(45deg,#EFF2F1,#EFF2F1 10px,#E7ECEA 10px,#E7ECEA 20px);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:10px;
}
.map-pin{ display:flex; flex-direction:column; align-items:center; gap:5px; }
.map-pin-dot{ width:14px; height:14px; border-radius:50% 50% 50% 0; background:var(--navy2); transform:rotate(-45deg); }
.map-pin-label{ font-size:11px; font-weight:600; background:#fff; padding:4px 9px; border-radius:999px; box-shadow:var(--shadow-card); }
.map-buttons{ display:flex; gap:9px; }
.map-btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:5px;
  border:1px solid var(--border); background:#fff; padding:9px; border-radius:8px;
  font-size:11.5px; font-weight:600; color:var(--text-headline);
}
.map-btn:hover{ background:var(--bg-alt); }
.map-btn-badge{ width:15px; height:15px; display:flex; align-items:center; justify-content:center; border-radius:4px; font-size:10px; font-weight:800; color:#fff; }
.badge-naver{ background:#03C75A; }
.badge-kakao{ background:transparent; font-size:12px; }

.quick-grid{ display:grid; grid-template-columns:1fr 1fr; grid-template-rows:repeat(3,1fr); gap:8px; flex:1; }
.quick-btn{
  border:1px solid var(--border); background:var(--bg-alt); border-radius:var(--radius-md);
  padding:11px 8px; display:flex; flex-direction:column; align-items:center; gap:6px;
  color:var(--text-headline); text-align:center;
}
.quick-btn:hover{ background:#fff; box-shadow:var(--shadow-card); }
.quick-btn span{ font-size:11.5px; font-weight:600; line-height:1.3; }

/* ---------------------------------------------------------------------
   CONSULT CTA  (Image-04 상단부)
   --------------------------------------------------------------------- */
.consult-banner{ padding:32px 32px 24px; }
.consult-inner{
  max-width:1180px; margin:0 auto;
  background:var(--bg-cream); border-radius:var(--radius-lg);
  padding:20px 26px; display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap;
}
.consult-left{ display:flex; align-items:center; gap:14px; }
.consult-icon{
  width:44px; height:44px; border-radius:50%; background:#fff; color:var(--green);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.consult-title{ font-size:15.5px; font-weight:700; margin:0; color:var(--text-headline); }
.consult-sub{ margin:3px 0 0; font-size:12.5px; color:var(--text-body); }
.btn-green{
  border:none; background:var(--green); color:#fff; font-size:13.5px; font-weight:600;
  padding:12px 22px; border-radius:999px; display:inline-flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.btn-green:hover{ background:#365f52; }

/* ---------------------------------------------------------------------
   FOOTER  (Image-04 하단부)
   --------------------------------------------------------------------- */
.site-footer{ border-top:1px solid var(--border); padding-top:19px; }

.footer-columns{
  max-width:1180px; margin:0 auto; padding:22px 32px;
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px;
}
.footer-col{ display:flex; flex-direction:column; }
.footer-col-photo{ align-items:flex-start; justify-content:center; }
.footer-col-spacer{ visibility:hidden; }
.footer-photo-large{
  width:100%; max-width:84px; aspect-ratio:4/5;
  border-radius:9px; overflow:hidden; background:var(--bg-alt);
  margin-bottom:10px;
}
.footer-photo-large img{ width:100%; height:100%; object-fit:cover; object-position:center 12%; display:block; }
.footer-name{ display:block; font-size:14.5px; font-weight:800; margin:2px 0 7px; color:var(--text-headline); line-height:1.2; }
.footer-contact-list{ display:flex; flex-direction:column; gap:4px; margin:0; padding:0; list-style:none; }
.footer-contact-list li{ font-size:10.5px; color:var(--text-body); word-break:break-word; }

.footer-col h4{ font-size:11.5px; font-weight:700; margin:0 0 8px; color:var(--text-headline); }
.footer-col p{ font-size:10.5px; color:var(--text-body); line-height:1.45; margin:0 0 5px; }
.footer-col ul{ display:flex; flex-direction:column; gap:6px; margin:0; padding:0; list-style:none; }
.footer-col ul li a{ font-size:10.5px; color:var(--text-body); }
.footer-col ul li a:hover{ color:var(--navy2); }
.footer-contact-col{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:6px; }
.footer-contact-col li{ font-size:10.5px; color:var(--text-body); }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 860px){
  .main-nav{ display:none; }
  .header-actions .text-link{ display:none; }
  .mobile-menu-btn{ display:flex; }
  .header-inner{ position:relative; justify-content:space-between; }

  .main-nav.nav-open{
    display:block;
    position:absolute;
    top:100%; left:0; right:0;
    background:#fff;
    border-bottom:1px solid var(--border);
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
  }
  .main-nav.nav-open ul{
    flex-direction:column;
    padding:12px 24px 20px;
  }
  .main-nav.nav-open ul li a{ display:block; padding:12px 4px; }

  .hero-search-overlay input{ font-size:3.2vw; padding-left:5%; }
  .hero-search-icon{ display:none; }
}

@media (max-width: 760px){
  .category-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 860px){
  .market-card{ flex-direction:column; align-items:flex-start; height:auto; }
  .market-stats{ gap:22px; }
}
@media (max-width: 620px){
  .category-grid{ grid-template-columns:repeat(2,1fr); }
  .market-stats{ flex-direction:column; gap:14px; }
}
@media (max-width: 860px){
  .info-row{ grid-template-columns:1fr; }
  .consult-inner{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 620px){
  .footer-columns{ grid-template-columns:1fr 1fr; }
  .footer-profile{ flex-direction:column; align-items:flex-start; }
}

/* ==========================================================================
   PHASE-5 SCAFFOLD — 향후 하위 페이지(단지 상세/실거래/대출·세금/분양전환/
   관리비 비교) 공통 콘텐츠 컨테이너.
   완전히 새로운 클래스이며, Design Freeze v1.0 대상 선택자와
   이름이 겹치지 않으므로 기존 화면에는 어떠한 영향도 주지 않습니다.
   ========================================================================== */
.page-content{
  max-width:1180px;
  margin:0 auto;
  padding:40px 32px;
  min-height:50vh;
}
.page-section + .page-section{ margin-top:32px; }


/* ==========================================================================
   CHG-20260727-HOME-REGRESSION-001 : 내 추천매물 (STEP8B, index.html #my-listings)
   Design Freeze v1.0 토큰만 사용. 신규 색상 하드코딩 없음(카카오 브랜드색 제외).
   토큰 fallback(var(--x, 기본값)) 적용 — 향후 Dark Theme 대응 시 --bg-surface/
   --text-on-primary만 :root에 추가하면 이 블록은 수정 없이 자동 반영됨.
   ========================================================================== */
.ml-section{ padding:34px 32px 0; max-width:1180px; margin:0 auto; }
.ml-head{ text-align:center; margin-bottom:20px; }
.ml-eyebrow{ font-size:12px; font-weight:700; color:var(--green); letter-spacing:.5px; margin-bottom:6px; }
.ml-title{ font-size:22px; font-weight:800; color:var(--text-headline); margin:0 0 6px; }
.ml-sub{ font-size:13px; color:var(--text-body); margin:0; }
.ml-date{ font-size:11.5px; color:var(--text-muted); margin:6px 0 0; }

.ml-tabs{ display:flex; gap:6px; justify-content:center; flex-wrap:wrap; margin-bottom:10px; }

.mlc-dong-tab{
  font-size:12px; padding:6px 14px; border-radius:999px;
  border:1px solid var(--border); background:var(--bg-surface,#fff); color:var(--text-body);
  cursor:pointer; transition:all .15s;
}
.mlc-dong-tab:hover{ border-color:var(--green); color:var(--green); }
.mlc-dong-tab.active{ background:var(--green); border-color:var(--green); color:var(--text-on-primary,#fff); font-weight:700; }

.mlc-complex-tab{
  font-size:13px; font-weight:600; padding:8px 16px; border-radius:999px;
  border:1px solid var(--border); background:var(--bg-surface,#fff); color:var(--text-body);
  cursor:pointer; transition:all .15s;
}
.mlc-complex-tab:hover{ border-color:var(--navy2); color:var(--navy2); }
.mlc-complex-tab.active{ background:var(--navy2); border-color:var(--navy2); color:var(--text-on-primary,#fff); }

.mlc-building-tab{
  font-size:12px; font-weight:600; padding:6px 13px; border-radius:999px;
  border:1px solid var(--border); background:var(--bg-surface,#fff); color:var(--text-body); cursor:pointer;
}
.mlc-building-tab.active{ background:var(--gold); border-color:var(--gold); color:var(--text-on-primary,#fff); }

.ml-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; }
.ml-msg{ text-align:center; color:var(--text-muted); padding:32px; font-size:13.5px; grid-column:1/-1; }

.my-listing-card{
  background:var(--bg-surface,#fff); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:18px; display:flex; flex-direction:column; gap:10px; box-shadow:var(--shadow-card);
  transition:box-shadow .15s, transform .15s;
}
.my-listing-card:hover{ box-shadow:var(--shadow-card-hover); transform:translateY(-2px); }
.mlc-header{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.mlc-name{ font-size:15px; font-weight:800; color:var(--text-headline); }
.mlc-complex-info{ font-size:11px; color:var(--text-muted); margin-top:2px; }
.mlc-dong{ font-size:12px; color:var(--text-body); margin-top:3px; }
.mlc-area{ font-size:12.5px; color:var(--text-body); margin-top:2px; }
.mlc-tag{ font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; background:rgba(66,120,102,0.12); color:var(--green); white-space:nowrap; }
.mlc-div{ border-top:1px solid var(--border); margin:2px 0; }
.mlc-specs{ display:flex; gap:20px; }
.mlc-spec-l{ font-size:10.5px; color:var(--text-muted); margin-bottom:2px; }
.mlc-spec-v{ font-size:13px; font-weight:700; color:var(--text-headline); }
.mlc-price-box{ display:flex; align-items:baseline; justify-content:space-between; }
.mlc-price-l{ font-size:12px; color:var(--text-body); }
.mlc-price-v{ font-size:18px; font-weight:800; color:var(--green); }

.mlc-maintenance-box{
  display:flex; justify-content:space-between; align-items:center;
  font-size:13px; padding:6px 0; cursor:pointer; position:relative;
}
.mlc-maintenance-label{ color:var(--text-body); }
.mlc-maintenance-value{ color:var(--gold); font-weight:700; font-size:14px; }

.mlc-summary{ font-size:13px; color:var(--text-body); line-height:1.5; }
.mlc-cta{ display:flex; gap:8px; margin-top:4px; }
.mlc-btn{ flex:1; text-align:center; padding:10px; border-radius:999px; font-size:12.5px; font-weight:700; text-decoration:none; }
.mlc-btn-call{ background:var(--navy2); color:var(--text-on-primary,#fff); }
.mlc-btn-call:hover{ background:#081430; }
/* 카카오 브랜드 컬러 — 디자인 토큰 예외(고정값 유지) */
.mlc-btn-kakao{ background:#FEE500; color:#3C1E1E; }
.mlc-btn-kakao:hover{ opacity:.85; }

.ml-cta-wrap{ text-align:center; margin-top:24px; }
.ml-cta-btn{ display:inline-block; background:var(--gold); color:var(--text-on-primary,#fff); font-weight:700; padding:12px 30px; border-radius:999px; font-size:14px; text-decoration:none; }
.ml-cta-btn:hover{ opacity:.9; }

@media (max-width:620px){
  .ml-grid{ grid-template-columns:1fr; }
}

/* ==========================================================================
   CHG-20260727-HOME-UX-001 : 홈 UX 개선
   - 직접 의뢰 매물(STEP8B) 9건 제한 + 전체보기 토글 버튼
   - Category Grid / Market Status 사이 여백 보강
   Design Freeze v1.0 토큰만 사용.
   ========================================================================== */
.ml-cta-wrap{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.ml-cta-btn-outline{
  background:var(--bg-surface,#fff); color:var(--text-headline);
  border:1px solid var(--border); cursor:pointer; font-family:inherit;
}
.ml-cta-btn-outline:hover{ background:var(--bg-alt); }

/* Category Grid 아래 여백 보강 (Market Status와의 간격) */
.category-section{ margin-bottom:32px; }

/* ==========================================================================
   CHG-20260727-HOME-UI-SCALE-001 : PC 화면 가독성 확대(차등 스케일업) v1.1
   목적: 27~32인치/4K 모니터에서 "축소판처럼 보이는" 문제 개선.
   방식: 기존 선택자를 직접 고치지 않고, 더 구체적인/후순위 규칙을 추가하는
   방식(override)으로 diff를 좁힘 — 되돌릴 때도 이 블록만 제거하면 원복됨.
   차등 비율(합의된 값, v1.1 리뷰 반영): 컨테이너 폭 1180→1440px(+22%),
   섹션제목 +25~30%(직접 의뢰 매물은 30px까지), 메뉴 +22%(현재 균형 적정,
   추가 확대 보류), 카드제목 +20%, 카드본문 +15%, 버튼 +17%, 카드 패딩
   +16~18%, 직접 의뢰 매물 카드 PC 4열 고정.
   ⚠ Hero 헤드라인("데이터로 찾는...")은 CSS 텍스트가 아니라
   assets/images/hero/hero-main.jpg에 그려진 래스터 이미지이므로 이 블록의
   font-size 확대 대상에서 제외됨. 장기적으로는 Hero를 "배경사진 + HTML
   텍스트(제목/설명/검색창)" 구조로 리팩터링하는 것을 권장(별도 CHG/프로젝트
   필요 — 신규 배경 이미지 에셋 및 HTML 구조 변경 수반, 디자인 결정 필요).
   ========================================================================== */

/* 컨테이너 폭: 1180px → 1400px (+18.6%) — 헤더/카테고리/시장현황/내추천매물/
   유용한도구/footer가 전부 이 값을 공유하므로 이 한 곳만 바꾸면 전체 반영 */
.header-inner,
.category-grid,
.market-card,
.info-row,
.consult-inner,
.footer-columns,
.ml-section{
  max-width:1440px;
}

/* Hero 미디어 컨테이너: 1024px → 1200px (+17%). 원본 시안 이미지를 CSS로
   확대하는 것이므로 해상도에 따라 약간 소프트해질 수 있음 — 아래 안내 참고 */
.hero-media{ max-width:1200px; }

/* 상단 메뉴 +22% */
.main-nav a{ font-size:17.5px; }
.btn-navy, .text-link{ font-size:15.5px; padding:11px 20px; }

/* 카테고리 카드(추천매물/시장분석/단지정보 등) — 제목 +20%, 리스트 +15%,
   아이콘/패딩 확대로 균형 맞춤 */
.category-card{ padding:16px 18px; }
.cat-icon{ width:44px; height:44px; }
.category-card h3{ font-size:17.5px; }
.cat-subtitle{ font-size:13.5px; }
.category-card ul li{ font-size:14.5px; }

/* 시장현황 배너 — 섹션 제목 +27%, 통계값 +18% */
.market-card{ height:126px; padding:18px 30px; }
.market-title h2{ font-size:21px; }
.market-title p{ font-size:14px; }
.stat-value{ font-size:19px; }
.stat-label{ font-size:14px; }

/* 직접 의뢰 매물(STEP8B) — 섹션 제목 +27%, 카드 제목 +20%, 카드 본문 +15%,
   카드 패딩 +16% */
.ml-title{ font-size:30px; }
.ml-sub{ font-size:15px; }
.my-listing-card{ padding:21px; }
.mlc-name{ font-size:18px; }
.mlc-price-v{ font-size:21px; }
.mlc-spec-v{ font-size:15px; }
.mlc-btn{ font-size:14.5px; padding:12px; }

/* 카드 4열 고정(PC 전용) — 컨테이너가 넓어졌으므로 auto-fill 대신 명시적으로
   4열을 고정해 매물이 더 많이 보이고 스크롤이 줄어들도록 함 */
@media (min-width:1024px){
  .ml-grid{ grid-template-columns:repeat(4, 1fr); }
}

/* 카카오 상담/전체보기 등 공용 버튼 +17% */
.ml-cta-btn{ font-size:16px; padding:14px 34px; }

@media (max-width:1023px){
  /* 태블릿/모바일에서는 확대 적용하지 않음 — 기존 반응형 값 유지 */
  .header-inner, .category-grid, .market-card, .info-row,
  .consult-inner, .footer-columns, .ml-section{ max-width:1180px; }
  .hero-media{ max-width:1024px; }
  .main-nav a{ font-size:14.5px; }
  .category-card h3{ font-size:14.5px; }
  .market-title h2{ font-size:16.5px; }
  .ml-title{ font-size:22px; }
  .mlc-name{ font-size:15px; }
}
