/* Kangbuk Modern sub layout */
.kb-sub-main{min-height:600px;background:#fff}
.kb-sub-visual{position:relative;height:228px;background:#163858 url('/layouts/kangbuk_sub/assets/hero-sunrise.svg') center 56%/cover no-repeat;color:white}
.kb-sub-visual-mask{position:absolute;inset:0;background:linear-gradient(90deg,#091f3ae8,#113967c7 52%,#0b335b7c)}
.kb-sub-visual-inner{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.kb-sub-visual-en{font-size:12px;letter-spacing:2px;color:#dce8f1;margin:0 0 13px}
.kb-sub-visual h1{font-size:39px;font-weight:760;line-height:1.2;color:#fff;margin:0;letter-spacing:-1.2px}
.kb-sub-visual-summary{font-size:14px;color:#dce8f1;margin:15px 0 0}
.kb-breadcrumb-bar{background:#f6f8fb;border-bottom:1px solid #e6eaf0}
.kb-breadcrumbs{display:flex;gap:11px;align-items:center;justify-content:flex-end;min-height:51px;font-size:12px;color:#718196;white-space:nowrap;overflow:hidden}
.kb-breadcrumbs strong{color:#22384f;font-weight:700;overflow:hidden;text-overflow:ellipsis}
.kb-breadcrumbs a{flex-shrink:0;color:#66798a}.kb-crumb-arrow{font-size:18px;color:#90a0b1}
.kb-sub-layout{display:grid;grid-template-columns:255px minmax(0,1fr);align-items:start;gap:50px;padding-top:46px;padding-bottom:85px}
.kb-sidebar{border:1px solid #e4eaf1;min-width:0;background:#fff}
.kb-sidebar-heading{background:linear-gradient(125deg,#092b52,#174a78);color:#fff;padding:22px 21px;min-height:105px;display:flex;justify-content:center;flex-direction:column}
.kb-sidebar-heading span{font-size:10px;letter-spacing:1.7px;color:#bbd0e1}
.kb-sidebar-heading strong{font-size:22px;font-weight:750;line-height:1.3;margin-top:7px;color:#fff}
.kb-sidebar-menu ul{margin:0;padding:0;list-style:none}.kb-sidebar-menu li{list-style:none}
.kb-sidebar-menu>ul>li>a,.kb-sidebar-parent{display:flex;justify-content:space-between;align-items:center;min-height:47px;padding:11px 18px;border-bottom:1px solid #e8edf1;font-size:14px;color:#263c53}
.kb-sidebar-menu a:hover{background:#f1f7fb;color:#164674}
.kb-sidebar-menu a.kb-side-active{border-left:3px solid #dfa92a;padding-left:15px;font-weight:800;color:#0c3f70;background:#eaf3fa}
.kb-sidebar-menu a span{font-size:17px;color:#8998a7}
.kb-sidebar-third{background:#f8fbfe;border-bottom:1px solid #e7edf2}
.kb-sidebar-third a{display:block;padding:8px 17px 8px 31px;font-size:12px;color:#657488}
.kb-sidebar-help{background:#f5f8fb;border-top:1px solid #e2e9f0;padding:20px;display:flex;flex-direction:column}
.kb-sidebar-help-icon{font-size:29px;color:#16456d}
.kb-sidebar-help strong{font-size:16px;margin:7px 0;color:#183c5c}
.kb-sidebar-help p{font-size:12px;color:#697b8c;margin:0 0 13px;line-height:1.7}
.kb-sidebar-help a{font-weight:700;font-size:12px;color:#0c4072}
.kb-article-area{min-width:0}.kb-article-header{padding:2px 0 28px}
.kb-article-kicker{font-size:11px;letter-spacing:1.8px;color:#7c9ab6;font-weight:700;margin:0 0 7px}
.kb-article-header h2{font-size:29px;letter-spacing:-.7px;font-weight:760;color:#18314c;margin:0 0 15px}
.kb-article-header-rule{height:3px;background:#e7ebf0;position:relative}
.kb-article-header-rule:before{content:"";position:absolute;width:63px;height:3px;top:0;left:0;background:#dba832}
.kb-article-content{min-height:350px;max-width:100%;overflow-wrap:anywhere}
.kb-article-content img{max-width:100%;height:auto}.kb-article-content iframe,.kb-article-content table{max-width:100%}
.kb-article-bottomlinks{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid #e7ebef;padding-top:21px;margin-top:38px}
.kb-article-bottomlinks a{padding:8px 13px;border-radius:5px;border:1px solid #d9e4ee;font-size:12px;color:#224b6d;font-weight:650}
.kb-article-bottomlinks a:hover{background:#edf5fc}
@media(max-width:1150px){.kb-sub-layout{grid-template-columns:226px minmax(0,1fr);gap:25px}}
@media(max-width:850px){.kb-sub-visual{height:189px}.kb-sub-visual h1{font-size:32px}.kb-sub-layout{display:block;padding-top:26px}.kb-sidebar{margin-bottom:25px}.kb-sidebar-heading{min-height:73px;padding:15px 20px}.kb-sidebar-heading strong{font-size:19px}.kb-sidebar-menu>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.kb-sidebar-menu>ul>li>a{font-size:13px;border-right:1px solid #e7edf3}.kb-sidebar-help{display:none}.kb-article-header h2{font-size:25px}}
@media(max-width:560px){.kb-sub-visual{height:152px}.kb-sub-visual-en{font-size:9px;letter-spacing:1px;margin-bottom:8px}.kb-sub-visual h1{font-size:26px}.kb-sub-visual-summary{font-size:11px;margin-top:8px}.kb-breadcrumbs{min-height:42px;font-size:11px;gap:7px}.kb-sub-layout{padding-top:18px;padding-bottom:44px}.kb-sidebar{margin-bottom:21px}.kb-sidebar-menu>ul>li>a{padding:8px 12px;min-height:39px;font-size:12px}.kb-article-header{padding-bottom:21px}.kb-article-header h2{font-size:22px}.kb-article-content{min-height:190px}.kb-article-bottomlinks{margin-top:20px}}

/* Mobile subpages: hide the desktop-only section sidebar above article content. */
@media (max-width: 850px) {
  .kb-site .kb-sub-layout > .kb-sidebar { display: none !important; }
}
