/* HANBIT CMS v0.8.7 · public website only.
   Clear Korean heading typography and property-type navigation contrast.
   No change to admin page builder, database, authentication or layout positions. */

/* 1. One consistent Korean sans-serif for homepage content headings.
   Some designs previously inherited a serif/editorial font unexpectedly. */
body :is(.search-panel,.cms-builder-v2[data-cms-scope="home"],.section-heading,.cms-compact-section-head){
  font-family:"Pretendard","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
}
body :is(.section-heading h2,.section-heading h3,.cms-builder-v2[data-cms-scope="home"] .cms-compact-section-head h2,.cms-builder-v2[data-cms-scope="home"] .section-heading h2){
  font-family:"Pretendard","Noto Sans KR","Malgun Gothic",system-ui,sans-serif!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:-.035em;
  line-height:1.35;
  word-break:keep-all;
  overflow-wrap:break-word;
}
.cms-builder-v2[data-cms-scope="home"] .cms-compact-section-head h2,
.cms-builder-v2[data-cms-scope="home"] .section-heading h2 {font-size:clamp(20px,1.75vw,25px)!important}
/* Allow the page's own dark/color variants to remain intact. */

/* 2. Property type tabs: clearly visible even when not selected.
   Preserve their underlying category links and the active '전체매물' marker. */
.search-panel .search-tabs,
.cms-builder-v2[data-cms-scope="home"] .search-tabs {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 2px 13px;
  border-bottom:1px solid #cfd9e6;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#9aacc5 transparent;
}
.search-panel .search-tabs :is(a,b,strong),
.cms-builder-v2[data-cms-scope="home"] .search-tabs :is(a,b,strong){
  box-sizing:border-box;
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  min-height:43px;
  padding:10px 16px;
  border:1px solid #bfcee0;
  border-radius:9px;
  background:#f0f5fb;
  color:#1a3859;
  font-family:"Pretendard","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
  font-size:14px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:-.025em;
  text-decoration:none;
  white-space:nowrap;
  opacity:1;
  transition:background-color .15s,border-color .15s,color .15s;
}
.search-panel .search-tabs :is(b,strong,.active,[aria-current="page"]),
.cms-builder-v2[data-cms-scope="home"] .search-tabs :is(b,strong,.active,[aria-current="page"]){
  border-color:#173e6b;
  background:#173e6b;
  color:#fff;
  font-weight:800;
  box-shadow:0 2px 5px rgba(11,34,66,.12);
}
.search-panel .search-tabs a:hover,
.cms-builder-v2[data-cms-scope="home"] .search-tabs a:hover{
  background:#dae7f5;
  border-color:#6d92bd;
  color:#102e51;
}
.search-panel .search-tabs a:focus-visible,
.cms-builder-v2[data-cms-scope="home"] .search-tabs a:focus-visible{
  outline:3px solid #d69c14;
  outline-offset:2px;
}
.search-panel .search-tabs a[aria-current="page"]:hover,
.cms-builder-v2[data-cms-scope="home"] .search-tabs a[aria-current="page"]:hover{
  background:#173e6b;
  color:#fff;
}
/* Keep select boxes and the submit control legible at narrower widths. */
.search-panel .search-controls :is(select,input){color:#20324d;font-size:14px;min-height:46px;min-width:0}
.search-panel .search-controls :is(select,input):focus-visible{outline:3px solid #8bb4e0;outline-offset:1px}
.search-panel .search-controls .btn{min-height:46px;white-space:nowrap;font-size:14px;font-weight:750}
@media(max-width:760px){
  .search-panel .search-tabs,.cms-builder-v2[data-cms-scope="home"] .search-tabs{gap:6px;padding-bottom:11px}
  .search-panel .search-tabs :is(a,b,strong),.cms-builder-v2[data-cms-scope="home"] .search-tabs :is(a,b,strong){min-height:44px;padding:10px 13px;font-size:14px}
  .cms-builder-v2[data-cms-scope="home"] .cms-compact-section-head h2,
  .cms-builder-v2[data-cms-scope="home"] .section-heading h2{font-size:20px!important}
}
