/* B-only compact controls. No changes to content, images or interaction handlers. */
@font-face{font-family:"Srea Nanum Myeongjo";src:url('/fonts/nanum-myeongjo/NanumMyeongjo-Bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
.v4{--control-blue:#194f87;--control-ink:#2b465f;--control-line:#d5e0e9}
.v4 .v4-head{min-height:82px;padding-top:12px;padding-bottom:12px;gap:10px 16px}
.v4 .v4-head nav{gap:5px;padding:5px;background:#f0f4f8;border:1px solid #dde5ed;border-radius:8px}
.v4 .v4-head nav>button{min-height:40px;padding:8px 13px;border:1px solid transparent;background:#e9eff5;color:var(--control-ink);border-radius:5px;font-size:.9375rem;font-weight:500;line-height:1.5;box-shadow:none}
.v4 .v4-head nav>button:first-child{background:var(--control-blue);border-color:var(--control-blue);color:#fff}
.v4 .v4-head nav>button:hover{background:#fff;border-color:#c4d4e3;color:#194f87}
.v4 .v4-head nav>button:first-child:hover{background:#123e6c;border-color:#123e6c;color:#fff}
.v4 .v4-head nav>button:active{background:#dce8f2}
.v4 .v4-head nav>button:first-child:active{background:#103558}
.v4 .v4-head>.v4-outline{min-height:40px;padding:8px 13px;border:1px solid #a9bed2;border-radius:5px;font-size:.9375rem;font-weight:500;color:#244c70;background:#fff}
.v4 .v4-head>.v4-outline span{margin-left:8px}
.v4 .v4-head>.v4-outline:hover{background:#edf4fa;border-color:#638bad}
.v4 .v4-main{padding-top:18px}
.v4 .v4-shortcuts{margin:14px 0 20px;padding:6px;gap:5px;border-color:var(--control-line);background:#f6f8fb;border-radius:7px}
.v4 .v4-shortcuts>button{padding:12px 14px;border:1px solid transparent;border-radius:5px;gap:10px;background:transparent;transition:background-color .15s,border-color .15s}
.v4 .v4-shortcuts>button:last-child{border:1px solid transparent}
.v4 .v4-shortcuts>button:hover{background:#fff;border-color:#c7d7e6}
.v4 .v4-shortcuts b{font-size:1rem;font-weight:600}
.v4 .v4-serviceicon{width:30px;height:34px;background:#e5edf5;color:#476a8b;font-size:.875rem!important;border-radius:4px}
.v4 .v4-bodygrid{gap:24px}
.v4 .v4-categorytabs{gap:5px;padding-bottom:10px}
.v4 .v4-categorytabs button{min-height:36px;padding:6px 10px;border:1px solid #b7cde4;background:#e4eef9;color:#244f76;border-radius:5px;box-shadow:0 1px 2px #204f7f12;font-size:.875rem;font-weight:500;line-height:1.5;cursor:pointer}
.v4 .v4-categorytabs button:hover{background:#d3e4f6;border-color:#7fa5cb}
.v4 .v4-categorytabs button.active{background:#204f7f;border-color:#204f7f;color:#fff;box-shadow:0 2px 4px #204f7f26}
.v4 .v4-categorytabs button.active:hover{background:#183e65;border-color:#183e65}
.v4 .v4-sectionhead{margin-bottom:11px;padding-bottom:8px;gap:8px 12px}
.v4 .v4-sectionhead>button,.v4 .v4-brokerstrip>div>button{padding:4px 0;border:0;background:transparent;color:#48667f;font-size:.875rem;font-weight:500}
.v4 .v4-sectionhead>button:hover,.v4 .v4-brokerstrip>div>button:hover{color:#174f87;text-decoration:underline;text-underline-offset:4px}
.v4 .v4-newsbox .v4-sectionhead>button{font-size:1.25rem;line-height:1.2;padding:3px 6px}
.v4 .v4-listsection>.v4-featured{margin:18px 0;padding-top:16px}
.v4 .v4-featuregrid{gap:16px}
.v4 .v4-listsection>.review-search-section{margin:18px 0;padding:16px 20px;background:#f3f7fb;border:1px solid #d5e1eb;border-top:3px solid #285f91;border-radius:6px}
.v4 .review-search-section>.v4-sectionhead{padding:0 0 8px;margin-bottom:12px}
.v4 .v4-filterrow{margin:10px 0;gap:10px}
.v4 .v4-filterrow select,.v4 .v4-query input{min-height:42px;height:auto;padding:9px 12px;border-radius:5px;border-color:#bdcede}
.v4 .v4-query{gap:8px}
.v4 .v4-solid{min-height:42px;min-width:140px;padding:9px 18px;border:1px solid #194f87;border-radius:5px;background:var(--control-blue);color:#fff;font-size:.9375rem;font-weight:600;line-height:1.5}
.v4 .v4-solid span{margin-left:12px}
.v4 .v4-solid:hover{background:#123e6c;border-color:#123e6c}
.v4 .v4-solid:active{background:#103558}
.v4 .v4-hint{margin-top:10px;gap:6px 12px}
.v4 .v4-listsection>.v4-brokerstrip{margin:20px 0;padding:18px;gap:10px}
.v4 .v4-brokercard{padding:16px;gap:6px}
.v4 .review-gallery{margin:20px 0;padding:15px 0}
.v4 .review-gallery-head{margin-bottom:12px}
.v4 .v4-listsection>.v4-newsbox{margin:16px 0}
.v4 .review-flea{margin:20px 0;padding-top:15px}
.v4 .v4-inquiry{padding:20px}
.v4 .v4-inquiry button{min-height:40px;margin-top:14px;padding:9px 12px;font-size:.9375rem;font-weight:500;border:1px solid #d8e4ef;border-radius:5px;background:#f7fafc}
.v4 .v4-inquiry button:hover{background:#e6f0f8}
.v4 .v4-sideinfo{padding-top:18px;padding-bottom:18px}
.v4 .v4-partners{padding-top:24px;padding-bottom:18px}
.v4 .v4-footer{padding-top:22px;padding-bottom:22px}
.v4 :is(.v4-head nav>button,.v4-solid,.v4-shortcuts>button,.v4-categorytabs button):focus-visible{outline:3px solid #75a6d5;outline-offset:3px}
@media(max-width:1100px){.v4 .v4-head nav{justify-content:flex-start}.v4 .v4-head nav>button{flex:1 1 auto}}
@media(max-width:850px){.v4 .v4-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.v4 .v4-shortcuts>button:nth-child(2){border:1px solid transparent}.v4 .v4-shortcuts>button:nth-child(2):hover{border-color:#c7d7e6}}
@media(max-width:540px){.v4 .v4-head nav>button{flex:1 1 125px}.v4 .v4-main{padding-top:14px}.v4 .v4-shortcuts>button{padding:10px 8px}.v4 .v4-shortcuts b{font-size:.9375rem}.v4 .v4-featuregrid{gap:12px}.v4 .v4-listsection>.review-search-section{padding:14px}.v4 .v4-solid{width:100%}}
@media(prefers-reduced-motion:reduce){.v4 .v4-shortcuts>button{transition:none}}

/* Equal-height hero and consultation, with content-driven height for text zoom. */
.v4 .v4-hero-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(270px,1fr);gap:16px;align-items:stretch}
.v4 .v4-hero-row>.v4-search-intro{margin:0;min-width:0;min-height:260px;padding:26px 28px 44px;border-radius:7px;overflow:hidden;background-position:center 48%}
.v4 .v4-hero-row>.v4-inquiry{margin:0;min-width:0;min-height:260px;padding:20px;display:flex;flex-direction:column;border-radius:7px}
.v4 .v4-hero-row>.v4-inquiry h2{font-size:1.375rem;line-height:1.4;margin:8px 0;font-weight:600}
.v4 .v4-hero-row>.v4-inquiry p{font-size:.9375rem;line-height:1.6;margin-bottom:14px}
.v4 .v4-hero-row>.v4-inquiry button{margin-top:auto}
@media(max-width:850px){.v4 .v4-hero-row{grid-template-columns:minmax(0,1fr);gap:12px}.v4 .v4-hero-row>.v4-search-intro{min-height:230px;padding:22px 22px 44px}.v4 .v4-hero-row>.v4-inquiry{min-height:0}.v4 .v4-hero-row>.v4-inquiry button{align-self:flex-start;width:auto;min-width:180px}}

/* Photograph-led slideshow: shade only the caption zone, not the entire image. */
.v4 .b-slideshow{position:relative;isolation:isolate;display:grid;min-height:300px;min-width:0;border-radius:7px;overflow:hidden;background:#28445c;color:#fff}
.v4 .b-slides{display:grid;min-width:0}
.v4 .b-slide{grid-area:1/1;position:relative;display:flex;align-items:center;min-width:0;opacity:0;pointer-events:none;transition:opacity .9s ease-in-out}
.v4 .b-slide.is-current{opacity:1;z-index:1}
.v4 .b-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.v4 .b-slide-shade{position:absolute;inset:28% 0 0;background:linear-gradient(0deg,rgba(8,26,43,.84),rgba(8,26,43,.42) 48%,transparent)}
.v4 .b-slide-copy{position:relative;box-sizing:border-box;width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:72px 28px;text-align:center}
.v4 .b-slide-copy h1{max-width:670px;font-family:"Srea Nanum Myeongjo","Nanum Myeongjo","AppleMyungjo","Batang","바탕",serif;font-size:clamp(1.12rem,1.84vw,1.5rem);font-weight:700;line-height:1.4;letter-spacing:-.015em;color:#fff;text-wrap:balance;text-shadow:0 1px 4px #10283b55}
.v4 .b-slide-copy h1{margin:0}
.v4 .b-slide-brand{position:relative;z-index:2;padding:5px 9px;border-radius:3px;background:#142d44a6;color:#fff;font-size:.75rem;font-weight:500;letter-spacing:.12em;pointer-events:none}
.v4 .b-slide-footer{position:absolute;z-index:3;bottom:14px;left:24px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
.v4 .b-slide-credit{font-size:.75rem;line-height:1.5;color:#fff;text-decoration:none}
.v4 .b-slide-credit:hover{text-decoration:underline;text-underline-offset:3px}
.v4 .b-slide-controls{display:flex;align-items:center;gap:4px;background:#10283dcc;border:1px solid #ffffff40;border-radius:5px;padding:2px;margin-left:auto}
.v4 .b-slide-controls button{min-width:32px;min-height:32px;padding:3px 7px;border-radius:3px;background:transparent;color:#fff;font-size:1.25rem;line-height:1;border:0}
.v4 .b-slide-controls button:hover{background:#ffffff26}
.v4 .b-slide-controls .b-slide-toggle{font-size:.75rem;min-width:62px;line-height:1.4;border-left:1px solid #ffffff40;border-radius:0 3px 3px 0}
.v4 .b-slide-toggle:disabled{opacity:.8;cursor:default}
.v4 .b-slide-counter{font-size:.75rem;min-width:48px;text-align:center;font-variant-numeric:tabular-nums}
.v4 .b-slideshow :is(button,a):focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:540px){.v4 .b-slideshow{min-height:310px}.v4 .b-slide-copy{padding:72px 20px}.v4 .b-slide-footer{left:20px;right:16px}}
@media(prefers-reduced-motion:reduce){.v4 .b-slide{transition:none}}

/* Five compact office cards, isolated from the member/admin data model. */
.v4 .v4-listsection>.b-brokers-compact{display:block;padding:16px;margin:20px 0}
.v4 .b-brokers-compact>.b-brokers-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:12px}
.v4 .b-brokers-heading h2{margin:0;font-size:1.125rem}
.v4 .b-brokers-heading>button{white-space:nowrap;font-size:.875rem}
.v4 .b-brokers-row{overflow-x:auto;padding:3px;margin:-3px;scrollbar-width:thin}
.v4 .b-brokers-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:minmax(6rem,auto);align-items:stretch;min-width:42rem;gap:8px}
.v4 .b-brokers-track>.v4-brokercard{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:4px;width:100%;height:100%;min-width:0;min-height:6rem;margin:0;padding:12px 10px;border:1px solid #d5e0e9;border-radius:5px;background:#fff;text-align:left}
.v4 .b-brokers-track>.v4-brokercard b{display:block;min-height:2.9em;margin:0;font-size:.875rem;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.v4 .b-brokers-track>.v4-brokercard small{display:block;margin:0;font-size:.8125rem;line-height:1.5;color:#5b7085}
.v4 .b-brokers-track>.v4-brokercard:hover{background:#f6faff;border-color:#8cacc9}
.v4 .b-brokers-track>.v4-brokercard:focus-visible{outline:2px solid #245e9c;outline-offset:1px}
.v4 .b-brokers-compact>.b-brokers-note{margin:9px 0 0;font-size:.8125rem;line-height:1.5;color:#5b7085}
.v4 .b-brokers-track>.b-broker-sign-card{justify-content:flex-start;padding:0;gap:0;overflow:hidden}
.v4 .b-broker-sign-card>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#edf1f5;border-bottom:1px solid #d5e0e9}
.v4 .b-broker-sign-card>.b-broker-caption{display:flex;flex:1;flex-direction:column;gap:4px;padding:10px 9px;width:100%;box-sizing:border-box}
.v4 .b-broker-sign-card .b-broker-caption b{word-break:keep-all;overflow-wrap:anywhere;min-height:2.9em}
.v4 .b-broker-sign-card .b-broker-caption small{margin-top:auto}
.v4 .b-brokers-note a{color:#48667f;text-decoration:underline;text-underline-offset:3px}

/* B-only: both sidebar sections align to the original 150px banner width. */
.v4 .v4-side>.v4-sideinfo{box-sizing:border-box;width:150px;max-width:100%;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
.v4 .v4-side>.v4-sideinfo h3{box-sizing:border-box;width:100%;font-size:.75rem;font-weight:600;line-height:1.4;letter-spacing:0;padding:9px 6px;margin:0;white-space:nowrap;text-align:center;color:#fff;background:#194f87;border:1px solid #174879;border-radius:5px 5px 0 0;cursor:default}
.v4 .v4-side>.v4-sideinfo h3:before{content:none}
.v4 .v4-side>.v4-sideinfo button{box-sizing:border-box;min-width:0;gap:6px;margin:0;padding:5px 9px;font-size:.75rem;font-weight:400;line-height:1.45;color:#355571;background:#edf4fb;border:1px solid #d5e3f0;border-top:0;border-radius:0;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.v4 .v4-side>.v4-sideinfo button:last-child{border-radius:0 0 5px 5px}
.v4 .v4-side>.v4-sideinfo button:hover{background:#dfeefa;color:#194f87}
.v4 .v4-side>.v4-sideinfo button:focus-visible{outline:2px solid #194f87;outline-offset:-2px}
.v4 .v4-side>.v4-sideinfo button>span{flex-shrink:0}
.v4 .v4-side>.v4-banner-column{box-sizing:border-box;width:150px;max-width:100%;min-width:0;margin:8px auto 24px;padding:0}
.v4 .v4-side>.v4-banner-column>div{width:100%;gap:10px}
.v4 .v4-side>.v4-banner-column>div>a,.v4 .v4-side>.v4-banner-column>div>span{display:block;width:100%;min-width:0}
.v4 .v4-side>.v4-banner-column img{display:block;width:150px;max-width:100%;height:60px;object-fit:contain}

/* One shared horizontal frame from the utility header through the hero. */
.v4{--b-frame-width:calc(100% - 64px)}
.v4>.v4-top,.v4>.v4-head,.v4>.v4-noticebar,.v4>.v4-main,.v4>.v4-footer>.v4-wrap{box-sizing:border-box;width:var(--b-frame-width);max-width:1205px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
.v4>.v4-top>.v4-wrap,.v4>.v4-noticebar>.v4-wrap{box-sizing:border-box;width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
.v4>.v4-main>.v4-hero-row{box-sizing:border-box;width:100%;margin-left:0;margin-right:0}
@media(max-width:850px){.v4{--b-frame-width:calc(100% - 32px)}}

/* Center the visible 956px listing + 99px gap + 150px sidebar frame.
   The former 300px sidebar left 75px of invisible space after the banners. */
.v4 .v4-bodygrid{grid-template-columns:minmax(0,1fr) 150px;column-gap:99px}
.v4 .v4-bodygrid>.v4-side{width:150px;min-width:0;justify-self:end}
@media(max-width:1150px){.v4 .v4-bodygrid{column-gap:24px}}
@media(max-width:850px){.v4 .v4-bodygrid{grid-template-columns:minmax(0,1fr)}.v4 .v4-bodygrid>.v4-side{justify-self:center}}

/* B listing only: type, region and property information on one horizontal row. */
.v4 .v4-listtable.b-detail-table {min-width:760px;table-layout:fixed}
.v4 .v4-listtable.b-detail-table :is(th,td) {padding:7px 8px;vertical-align:middle}
.v4 .v4-listtable.b-detail-table :is(th,td):not(:last-child) {border-right:1px solid #dce5ed}
.v4 .v4-listtable.b-detail-table :is(th,td):last-child {padding-left:4px;padding-right:4px}
.v4 .v4-listtable.b-detail-table th:nth-child(1) {width:124px;text-align:left}
.v4 .v4-listtable.b-detail-table th:nth-child(2) {width:80px;text-align:left}
.v4 .v4-listtable.b-detail-table th:nth-child(3) {width:auto;text-align:left}
.v4 .v4-listtable.b-detail-table td:nth-child(3) {text-align:left}
.v4 .v4-listtable.b-detail-table th:nth-child(4) {width:74px;text-align:right}
.v4 .v4-listtable.b-detail-table td:nth-child(4) {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.v4 .v4-listtable.b-detail-table th:nth-child(5) {width:174px;text-align:right}
.v4 .v4-listtable.b-detail-table th:nth-child(6) {width:40px;text-align:center}
.v4 .b-detail-table :is(.b-list-type,.b-list-region) {font-size:.875rem;color:#53677d;white-space:nowrap}
.v4 .v4-listtable.b-detail-table .v4-property {display:flex;align-items:center;gap:7px;width:100%;min-width:0;white-space:nowrap;text-align:left}
.v4 .b-detail-table .v4-property b {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:500;line-height:1.5}
.v4 .b-detail-table .v4-property .v4-trade {flex:0 0 auto;padding:2px 5px;font-size:.75rem;line-height:1.5;font-weight:400}

/* B search belongs directly above the listings, with one compact control row. */
.v4 .v4-listsection>.review-search-section.b-search-above {margin:0 0 16px;padding:12px 14px;background:#f4f7fb;border:1px solid #d5e1ed;border-top:2px solid #285784;border-radius:4px}
.v4 .b-search-above>.v4-sectionhead {margin:0 0 9px;padding:0 0 6px}
.v4 .b-search-form {display:grid;grid-template-columns:minmax(108px,1fr) minmax(136px,1.2fr) minmax(100px,.9fr) minmax(120px,1.4fr) auto;align-items:end;gap:8px}
.v4 .b-search-form :is(.v4-filterrow,.v4-query) {display:contents}
.v4 .b-search-form label {display:block;min-width:0;font-size:.875rem;font-weight:500;line-height:1.4;color:#47617d}
.v4 .b-search-form :is(input,select) {display:block;box-sizing:border-box;width:100%;min-width:0;height:38px;margin:4px 0 0;padding:0 8px;border:1px solid #c5d3e1;border-radius:4px;background:#fff;color:#263d53;font-size:.875rem;font-weight:400;line-height:1.4}
.v4 .b-search-form .v4-solid {width:auto;min-width:0;height:38px;padding:0 12px;font-size:.875rem;line-height:1.4;font-weight:600;white-space:nowrap}
.v4 .b-search-form .v4-solid span {margin-left:5px}
.v4 .b-search-above>.v4-hint {margin-top:8px;gap:4px 12px;flex-wrap:wrap;font-size:.8125rem;line-height:1.4}
.v4 .b-search-above>.v4-hint button {padding:0;font-size:.8125rem;line-height:1.4}
@media(max-width:1000px) and (min-width:851px) {
  .v4 .b-search-form {grid-template-columns:108px 132px 100px minmax(0,1fr) auto;gap:6px}
  .v4 .b-search-form .v4-solid {padding:0 8px}
}
@media(max-width:700px) {
  .v4 .b-search-form {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px}
  .v4 .b-search-form .v4-filterrow label:last-child {grid-column:auto}
  .v4 .b-search-form .v4-solid {grid-column:1/-1;width:100%}
}
