/* 강북노회 레이아웃 설정 연동 스타일 (main/sub 공통)
   관리자 색상 테마, 섹션 순서, 왼쪽 메뉴 너비 자동 반영. */
.kb-site{--kb-primary:#138BD0;--kb-secondary:#0879BD;--kb-light:#EAF8FF}
.kb-site .kb-nav{background:linear-gradient(105deg,var(--kb-primary),var(--kb-secondary))!important}
.kb-site .kb-nav-list>li:hover>a,
.kb-site .kb-nav-list>li>a:hover,
.kb-site .kb-nav-list>li.kb-current>a{background:var(--kb-secondary)!important}
.kb-site .kb-nav-list>li:first-child>a::after{background:#ffffffc9}
.kb-site .kb-panel-head{background:linear-gradient(105deg,var(--kb-primary),var(--kb-secondary))!important}
.kb-site .kb-panel-head>a,.kb-site .kb-search button{background:var(--kb-secondary)!important}
.kb-site .kb-panel-head>a:hover,.kb-site .kb-search button:hover{background:var(--kb-primary)!important}
.kb-site .kb-quick,.kb-site .kb-sidebar-help{background:var(--kb-light)!important}
.kb-site .kb-quick-icon,.kb-site .kb-text-link{color:var(--kb-primary)!important}
.kb-site .kb-quick>a:hover{background:color-mix(in srgb,var(--kb-primary) 12%,white)!important}
.kb-site .kb-sidebar-heading{background:linear-gradient(135deg,var(--kb-primary),var(--kb-secondary))!important}
.kb-site .kb-sidebar-menu a.kb-side-active{border-left-color:var(--kb-primary)!important;background:var(--kb-light)!important;color:var(--kb-secondary)!important}
.kb-site .kb-sub-visual-mask{background:linear-gradient(90deg,color-mix(in srgb,var(--kb-secondary) 74%,transparent),color-mix(in srgb,var(--kb-primary) 48%,transparent),rgba(255,255,255,.06))!important}
.kb-site .kb-hero-shade{background:linear-gradient(90deg,color-mix(in srgb,var(--kb-secondary) 66%,transparent),color-mix(in srgb,var(--kb-primary) 38%,transparent) 48%,rgba(255,255,255,.02) 95%)!important}
.kb-site .kb-gold-line{background:color-mix(in srgb,var(--kb-primary) 40%,white)!important}
.kb-site .kb-article-header-rule::before{background:var(--kb-primary)!important}
.kb-site .kb-breadcrumb-bar{background:var(--kb-light)!important}
.kb-site .kb-breadcrumbs strong{color:var(--kb-secondary)!important}
.kb-site .kb-sidebar-help a{color:var(--kb-secondary)!important}
.kb-site .kb-footer-brand{color:var(--kb-secondary)!important}
.kb-site .kb-footer{background:var(--kb-light)!important}
.kb-site .kb-feature-overlay{background:linear-gradient(0deg,color-mix(in srgb,var(--kb-secondary) 64%,#07182f),transparent)!important}
.kb-site .kb-custom-footer-desc{white-space:pre-line}
/* Section visibility is controlled through template cond; sorting is CSS only. */
.kb-site .kb-home-sections{display:flex;flex-direction:column;width:100%;align-items:stretch}
.kb-site .kb-home-sections>.kb-hero{order:1;width:100%}
.kb-site .kb-home-sections>.kb-quick-wrap{order:2;width:100%}
.kb-site .kb-home-sections>.kb-news-area{order:3;width:min(1400px,calc(100% - 64px))}
.kb-site .kb-home-sections>.kb-feature-section{order:4;width:min(1400px,calc(100% - 64px))}
.kb-site .kb-order-newsfirst>.kb-news-area{order:2}
.kb-site .kb-order-newsfirst>.kb-quick-wrap{order:3}
.kb-site .kb-order-quickfirst>.kb-quick-wrap{order:1}
.kb-site .kb-order-quickfirst>.kb-hero{order:2}
.kb-site .kb-order-featuresfirst>.kb-feature-section{order:2}
.kb-site .kb-order-featuresfirst>.kb-news-area{order:3}
.kb-site .kb-order-featuresfirst>.kb-quick-wrap{order:4}
.kb-site .kb-news-area.kb-news-order-missionfirst>.kb-mission{order:1}
.kb-site .kb-news-area.kb-news-order-missionfirst>.kb-notices{order:2}
.kb-site .kb-news-area.kb-news-order-missionfirst>.kb-gallery{order:3}
.kb-site .kb-news-area.kb-news-order-galleryfirst>.kb-gallery{order:1}
.kb-site .kb-news-area.kb-news-order-galleryfirst>.kb-notices{order:2}
.kb-site .kb-news-area.kb-news-order-galleryfirst>.kb-mission{order:3}
.kb-site .kb-quick{grid-template-columns:repeat(8,minmax(0,1fr))}
.kb-site .kb-feature-section{grid-auto-flow:row}
.kb-site .kb-feature-content small{white-space:pre-line}
.kb-site .kb-mission-body p,.kb-site .kb-gallery-body p{white-space:pre-line}
.kb-site .kb-sub-layout:has(> .kb-article-area:first-child){grid-template-columns:minmax(0,1fr)}
.kb-site .kb-sidebar-width-narrow{grid-template-columns:205px minmax(0,1fr)}
.kb-site .kb-sidebar-width-normal{grid-template-columns:255px minmax(0,1fr)}
.kb-site .kb-sidebar-width-wide{grid-template-columns:310px minmax(0,1fr)}
.kb-site .kb-content-width-wide{gap:24px}
.kb-site .kb-content-width-full{width:calc(100% - 30px);max-width:none;gap:26px}
.kb-site .kb-article-content{white-space:normal}
@media(max-width:1150px){
 .kb-site .kb-home-sections>.kb-news-area,.kb-site .kb-home-sections>.kb-feature-section{width:min(1400px,calc(100% - 42px))}
 .kb-site .kb-sidebar-width-narrow{grid-template-columns:180px minmax(0,1fr)}
 .kb-site .kb-sidebar-width-normal{grid-template-columns:226px minmax(0,1fr)}
 .kb-site .kb-sidebar-width-wide{grid-template-columns:270px minmax(0,1fr)}
}
@media(max-width:850px){
 .kb-site .kb-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
 .kb-site .kb-sub-layout{display:block}
}
@media(max-width:560px){
 .kb-site .kb-home-sections>.kb-news-area,.kb-site .kb-home-sections>.kb-feature-section{width:calc(100% - 28px)}
 .kb-site .kb-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
 .kb-site .kb-news-area{display:grid;grid-template-columns:1fr}
 .kb-site .kb-sidebar{margin-bottom:20px}
}

/* Five image slides: editable heights and gentle horizontal pan with crossfade. */
.kb-site .kb-home-sections>.kb-hero{height:var(--kb-hero-height-pc,623px)!important}
.kb-site .kb-hero-slide{z-index:0;transition:opacity 1.9s cubic-bezier(.22,.61,.36,1),visibility 0s linear 1.9s!important}
.kb-site .kb-hero-slide.is-leaving{z-index:1;opacity:1;visibility:visible;pointer-events:none;transition:none!important}
.kb-site .kb-hero-slide.is-current{z-index:2;visibility:visible;opacity:1;transition:opacity 1.9s cubic-bezier(.22,.61,.36,1),visibility 0s!important}
.kb-site .kb-hero-slide::before{content:"";position:absolute;inset:-7%;background:inherit;background-position:center;background-size:cover;transform:translate3d(2.5%,0,0) scale(1.10);pointer-events:none}
.kb-site .kb-hero-slide.is-current::before,.kb-site .kb-hero-slide.is-leaving::before{animation:kbHeroHorizontalPan var(--kb-hero-pan-ms,7500ms) linear both}
.kb-site .kb-hero-slide.is-leaving::before{animation-play-state:paused}
/* Slow dolly-out: horizontal drift plus subtle receding zoom, with existing crossfade untouched. */
@keyframes kbHeroHorizontalPan{from{transform:translate3d(2.5%,0,0) scale(1.10)}to{transform:translate3d(-2.5%,0,0) scale(1.02)}}
@media(max-width:850px){.kb-site .kb-home-sections>.kb-hero{height:var(--kb-hero-height-mobile,540px)!important}}
@media(prefers-reduced-motion:reduce){.kb-site .kb-hero-slide::before{animation:none!important;transform:none!important}}

/* Footer office holders, legible on desktop and mobile. */
.kb-site .kb-footer-people{margin-top:11px;display:flex;flex-direction:column;gap:3px}
.kb-site .kb-footer-people p{margin:0;font-size:13px;line-height:1.7;opacity:1;color:inherit}
.kb-site .kb-footer-people strong{font-weight:650}
@media(max-width:560px){.kb-site .kb-footer-people{margin-top:12px}.kb-site .kb-footer-people p{font-size:12px}}


/* Kangbuk unified warm-gold theme, 2026-11-13.
   Main and sub layouts use identical #eccf9c surfaces with dark legible text.
   Identity mark, photographs, slide motion and content remain unchanged. */
.kb-site {
  --kb-primary:#eccf9c !important;
  --kb-secondary:#eccf9c !important;
  --kb-light:#fff8ed !important;
  --kb-navy:#eccf9c !important;
  --kb-navy-dark:#d3b385 !important;
  --kb-gold:#eccf9c !important;
  --kb-ink:#1c1a17 !important;
  --kb-border:#e5d4b9 !important;
  --kb-muted:#60584d !important;
  color:#211d17;
}
/* Site identity and navigation: one consistent gold strip. */
.kb-site .kb-header,
.kb-site .kb-nav,
.kb-site .kb-nav.is-open {
  background:#eccf9c !important;
  color:#111 !important;
  box-shadow:none !important;
}
.kb-site .kb-header {border-bottom:1px solid #d9b98d}
.kb-site .kb-brand-mark {
  padding:3px;
  box-sizing:border-box;
  background:#fff;
  border-radius:50%;
}
.kb-site .kb-brand-wordmark,
.kb-site .kb-brand-wordmark strong,
.kb-site .kb-brand-wordmark small,
.kb-site .kb-brand-eyebrow,
.kb-site .kb-brand,
.kb-site .kb-utilities,
.kb-site .kb-utilities a,
.kb-site .kb-mobile-actions a {
  color:#111 !important;
}
.kb-site .kb-search {border:1px solid #cbaa7c;background:#fff !important}
.kb-site .kb-search input {background:#fff !important;color:#111 !important}
.kb-site .kb-search input::placeholder{color:#5a5044}
.kb-site .kb-nav-list>li>a,
.kb-site .kb-nav-list>li>a:hover,
.kb-site .kb-nav-list>li:hover>a,
.kb-site .kb-nav-list>li.kb-current>a {
  color:#111 !important;
}
.kb-site .kb-nav-list>li:hover>a,
.kb-site .kb-nav-list>li>a:hover,
.kb-site .kb-nav-list>li.kb-current>a {
  background:#dfc08e !important;
}
.kb-site .kb-nav-list>li:first-child>a::after {background:#29231b !important}
.kb-site .kb-submenu{
  background:#eccf9c !important;
  border:1px solid #d2b385 !important;
  box-shadow:0 12px 25px rgba(56,44,23,.15) !important;
}
.kb-site .kb-submenu li a,
.kb-site .kb-submenu li a:visited {color:#111 !important}
.kb-site .kb-submenu li a:hover,
.kb-site .kb-submenu li a:focus-visible {
  background:#dfbd87 !important;
  color:#111 !important;
}
.kb-site .kb-menu-toggle span {background:#111 !important}
.kb-site .kb-mobile-actions {background:#eccf9c !important}
.kb-site .kb-nav a:focus-visible,.kb-site .kb-header a:focus-visible{
  outline:2px solid #222;outline-offset:2px;
}
/* Titles, sidebars, headings, toolbar buttons and active indicators. */
.kb-site .kb-panel-head,
.kb-site .kb-sidebar-heading {
  background:#eccf9c !important;
  color:#111 !important;
}
.kb-site .kb-panel-head *,
.kb-site .kb-sidebar-heading *,
.kb-site .kb-panel-head a {
  color:#111 !important;
}
.kb-site .kb-panel-head>a,
.kb-site .kb-panel-head>a:hover,
.kb-site .kb-search button,
.kb-site .kb-search button:hover {
  background:#eccf9c !important;
  color:#111 !important;
}
.kb-site .kb-quick,.kb-site .kb-sidebar-help {
  background:#fff7e9 !important;
  border-color:#eddcbf !important;
}
.kb-site .kb-quick-wrap {background:#fffcf6 !important;border-bottom-color:#ead8b9 !important}
.kb-site .kb-quick>a {color:#111 !important}
.kb-site .kb-quick-icon,
.kb-site .kb-text-link,
.kb-site .kb-sidebar-help a,
.kb-site .kb-sidebar-help-icon,
.kb-site .kb-latest-eyebrow,
.kb-site .kb-youtube-eyebrow,
.kb-site .kb-article-kicker,
.kb-site .kb-breadcrumbs strong {
  color:#4a3821 !important;
}
.kb-site .kb-quick>a:hover,
.kb-site .kb-sidebar-menu a:hover {
  background:#f6e6c9 !important;
  color:#111 !important;
}
.kb-site .kb-sidebar-menu a.kb-side-active {
  background:#faebd1 !important;
  color:#111 !important;
  border-left-color:#c99e62 !important;
}
.kb-site .kb-subhero {
  background:linear-gradient(110deg,#eccf9c,#f9e7c4) !important;
}
.kb-site .kb-subhero h1,
.kb-site .kb-subhero span,
.kb-site .kb-subhero p,
.kb-site .kb-subhero a {color:#191714 !important}
.kb-site .kb-breadcrumb-bar{background:#f8e9d0 !important;border-bottom-color:#e9d6b8 !important}
.kb-site .kb-sub-visual-mask{
  background:linear-gradient(90deg,rgba(47,35,22,.78),rgba(69,51,28,.45) 58%,rgba(47,35,22,.08)) !important;
}
.kb-site .kb-sidebar-heading a,.kb-site .kb-sidebar-heading strong{color:#111 !important}
.kb-site .kb-article-header h2{color:#211b14 !important}
.kb-site .kb-article-header-rule::before,
.kb-site .kb-gold-line {background:#eccf9c !important}
.kb-site .kb-sidebar-help strong{color:#2a241e !important}
.kb-site .kb-article-bottomlinks a,
.kb-site .kb-latest-more,
.kb-site .kb-youtube-more {
  border-color:#dac39d !important;
  color:#2a2117 !important;
}
.kb-site .kb-article-bottomlinks a:hover{background:#fff2d9 !important}
/* Warm neutral shades protect white-on-photograph text readability. */
.kb-site .kb-hero-shade{
  background:linear-gradient(90deg,rgba(28,24,18,.73),rgba(42,32,20,.42) 48%,rgba(35,28,22,.08) 95%) !important;
}
.kb-site .kb-feature-overlay{
  background:linear-gradient(0deg,rgba(37,29,20,.85),rgba(37,29,20,.12)) !important;
}
.kb-site .kb-feature-arrow{border-color:#eccf9c !important}
/* Every page footer uses the same gold, with dark labels and links. */
.kb-site .kb-footer{background:#eccf9c !important;color:#111 !important;border-top:1px solid #ddbe8c !important}
.kb-site .kb-footer .kb-footer-brand,
.kb-site .kb-footer .kb-custom-footer-desc,
.kb-site .kb-footer .kb-footer-people *,
.kb-site .kb-footer a,
.kb-site .kb-footer-bottom,
.kb-site .kb-footer-bottom span {color:#111 !important}
.kb-site .kb-footer-bottom {border-top-color:#d3b482 !important}
/* Latest posts, YouTube headings and content highlights use the common accent. */
.kb-site .kb-latest-heading h2,.kb-site .kb-youtube-heading h2 {color:#282119 !important}
.kb-site .kb-latest-section,.kb-site .kb-youtube-section{border-color:#ead9bc}
.kb-site .kb-hero-arrow{background:rgba(53,42,26,.65) !important;color:#fff !important}
.kb-site .kb-hero-arrow:hover{background:rgba(53,42,26,.88) !important}
.kb-site .kb-hero-dots button.is-active{background:#eccf9c !important}
/* Integrated search screen: remove the previous blue accents. */
.kb-site #kb-article-content:has(#fo_is) #spot {
  background:linear-gradient(125deg,#fff7e9,#fffdfa) !important;
  border-color:#e9d6b6 !important;
}
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="text"]:focus{
  border-color:#b99561 !important;box-shadow:0 0 0 3px rgba(236,207,156,.45) !important;
}
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="submit"],
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="submit"]:hover,
.kb-site #kb-article-content:has(#fo_is) .localNavigation li.on a,
.kb-site #kb-article-content:has(#fo_is) .localNavigation li a:hover,
.kb-site #kb-article-content:has(#fo_is) .localNavigation li a:focus-visible {
  background:#eccf9c !important;color:#111 !important;border-color:#c9ab77 !important;
}
.kb-site #kb-article-content:has(#fo_is) h3.subTitle{
  background:#fff4df !important;border-left-color:#dbb77d !important;color:#30251a !important;
}
.kb-site #kb-article-content:has(#fo_is) .subNavigation li.on a,
.kb-site #kb-article-content:has(#fo_is) .subNavigation li a:hover{
  background:#fff2d9 !important;border-color:#dfc39b !important;color:#4a3821 !important;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult li dl dt a{color:#49331c !important}
@media(max-width:850px) {
  .kb-site .kb-nav,.kb-site .kb-nav.is-open,
  .kb-site .kb-submenu {background:#eccf9c !important}
  .kb-site .kb-submenu li a {color:#111 !important}
  .kb-site .kb-nav-list>li>a {color:#111 !important}
  .kb-site .kb-menu-toggle span{background:#111 !important}
}

/* Kangbuk white logo band and warm gold navigation separation.
   Keep #eccf9c navigation untouched; no prominent divider required. */
.kb-site .kb-header {
  background:#ffffff !important;
  color:#111111 !important;
  border-bottom:1px solid #e6dccb !important;
  box-shadow:none !important;
}
.kb-site .kb-header-inner {
  background:#ffffff !important;
}
@media (max-width:850px) {
  .kb-site .kb-header,
  .kb-site .kb-header-inner {background:#ffffff !important;}
  .kb-site .kb-menu-toggle {background:transparent !important;}
}

/* Footer staff softer typography - 20261114: subordinate to the site identity. */
.kb-site .kb-footer .kb-footer-people {
  margin-top:9px;
  gap:2px;
}
.kb-site .kb-footer .kb-footer-people p,
.kb-site .kb-footer .kb-footer-people strong {
  font-size:12px !important;
  line-height:1.55 !important;
  color:#60564d !important;
  font-weight:450 !important;
}
@media(max-width:560px) {
  .kb-site .kb-footer .kb-footer-people p,
  .kb-site .kb-footer .kb-footer-people strong {
    font-size:11px !important;
  }
}


/* Mobile dropdown accordion: closed initially, one section at a time, overlays
   the page instead of pushing all content down. Desktop hover remains intact. */
@media (max-width: 850px) {
  .kb-site .kb-header {position:relative}
  .kb-site .kb-header > .kb-nav {
    position:absolute !important;
    top:100%;
    left:0;
    right:0;
    z-index:120;
    box-sizing:border-box;
    width:100%;
    max-height:min(76vh,640px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    border-top:1px solid #ddc59f;
    border-bottom:1px solid #d1b383;
    box-shadow:0 14px 28px rgba(37,28,16,.19) !important;
    background:#eccf9c !important;
  }
  .kb-site .kb-header > .kb-nav:not(.is-open) {display:none !important}
  .kb-site .kb-header > .kb-nav.is-open {display:block !important}
  .kb-site .kb-nav .kb-nav-list > li {
    position:relative;
    border-bottom:1px solid #dbc39d;
  }
  .kb-site .kb-nav .kb-nav-list > li > a {
    display:flex;
    align-items:center;
    box-sizing:border-box;
    min-height:49px;
    height:auto;
    padding:12px 24px;
    color:#181714 !important;
    line-height:1.45;
    text-align:left;
  }
  .kb-site .kb-nav .kb-nav-list > li.kb-has-children > a {padding-right:70px}
  .kb-site .kb-nav .kb-nav-list > li > .kb-submenu {
    display:none !important;
    position:static !important;
    box-sizing:border-box;
    width:100%;
    margin:0;
    padding:6px 0 9px;
    border:0 !important;
    border-top:1px solid #e4d2b3 !important;
    border-radius:0;
    background:#f8ead0 !important;
    box-shadow:none !important;
  }
  .kb-site .kb-nav .kb-nav-list > li.kb-submenu-open > .kb-submenu {
    display:block !important;
    animation:kbMobileDropdownAppear .17s ease-out both;
  }
  .kb-site .kb-nav .kb-submenu li a {
    display:block;
    padding:10px 28px 10px 43px;
    line-height:1.5;
    font-size:14px;
    font-weight:500;
    color:#33291d !important;
  }
  .kb-site .kb-nav .kb-submenu li a:hover,
  .kb-site .kb-nav .kb-submenu li a:focus-visible {
    background:#edd6b0 !important;
    color:#111 !important;
  }
  .kb-site .kb-nav .kb-nav-list > li.kb-submenu-open > a,
  .kb-site .kb-nav .kb-nav-list > li.kb-submenu-open > .kb-submenu-toggle {
    background:#ead0a4 !important;
    color:#111 !important;
  }
  .kb-site .kb-nav .kb-submenu-toggle {
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:0;
    right:0;
    width:54px;
    height:49px;
    margin:0;
    padding:0;
    border:0;
    border-left:1px solid #dac095;
    background:transparent;
    color:#302417;
    cursor:pointer;
  }
  .kb-site .kb-nav .kb-submenu-toggle::after {
    content:"";
    display:block;
    width:8px;
    height:8px;
    margin-top:-4px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    transition:transform .18s ease,margin-top .18s ease;
  }
  .kb-site .kb-nav .kb-submenu-open > .kb-submenu-toggle::after {
    margin-top:4px;
    transform:rotate(225deg);
  }
  .kb-site .kb-nav .kb-submenu-toggle:focus-visible {
    outline:2px solid #322514;
    outline-offset:-4px;
  }
  .kb-site .kb-nav .kb-mobile-parent-link {
    display:block !important;
    border-bottom:1px solid #e8d6b9;
    margin-bottom:3px;
  }
  .kb-site .kb-nav .kb-mobile-parent-link > a {
    font-weight:700;
    color:#6a4d2a !important;
  }
  .kb-site .kb-nav .kb-mobile-actions {
    border-top:1px solid #dcc49d;
    background:#eccf9c;
  }
  @keyframes kbMobileDropdownAppear {
    from {opacity:.55;transform:translateY(-5px)}
    to {opacity:1;transform:translateY(0)}
  }
}
@media (min-width:851px) {
  .kb-site .kb-nav .kb-submenu-toggle,
  .kb-site .kb-nav .kb-mobile-parent-link {display:none !important}
}
@media (prefers-reduced-motion:reduce) {
  .kb-site .kb-nav .kb-submenu-open > .kb-submenu {animation:none !important}
  .kb-site .kb-nav .kb-submenu-toggle::after {transition:none !important}
}


/* Mobile panel: 70% width, right-aligned slide-in, login at top. */
.kb-site .kb-mobile-login {display:none}
@media(max-width:850px) {
  .kb-site .kb-header > .kb-nav,
  .kb-site .kb-header > .kb-nav:not(.is-open),
  .kb-site .kb-header > .kb-nav.is-open {
    display:block !important;
    box-sizing:border-box;
    position:absolute !important;
    top:100% !important;
    left:auto !important;
    right:0 !important;
    width:70% !important;
    max-width:70% !important;
    max-height:min(78vh,690px);
    overflow-x:hidden;
    overflow-y:auto;
    background:#eccf9c !important;
    transform-origin:top right;
    box-shadow:0 13px 26px rgba(25,20,13,.15) !important;
  }
  .kb-site .kb-header > .kb-nav:not(.is-open) {
    visibility:hidden !important;
    opacity:0;
    pointer-events:none;
    transform:translate3d(20px,-7px,0);
    transition:opacity .28s ease,transform .38s cubic-bezier(.22,.61,.36,1),visibility 0s linear .38s !important;
  }
  .kb-site .kb-header > .kb-nav.is-open {
    visibility:visible !important;
    opacity:1;
    pointer-events:auto;
    transform:translate3d(0,0,0);
    transition:opacity .28s ease,transform .38s cubic-bezier(.22,.61,.36,1),visibility 0s !important;
  }
  .kb-site .kb-mobile-login {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-height:54px;
    box-sizing:border-box;
    padding:8px 18px;
    background:#f8e7c9;
    border-bottom:1px solid #d6bb8e;
  }
  .kb-site .kb-mobile-login a {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-height:37px;
    padding:0 17px;
    border:1px solid #cab083;
    border-radius:8px;
    background:#fffaf1;
    color:#221a12 !important;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
  }
  .kb-site .kb-mobile-login a:hover,
  .kb-site .kb-mobile-login a:focus-visible {background:#f1d7ad}
  .kb-site .kb-nav .kb-nav-list>li>a {
    white-space:normal;
    overflow-wrap:anywhere;
    padding-left:19px;
  }
  .kb-site .kb-nav .kb-nav-list>li.kb-has-children>a {padding-right:53px}
  .kb-site .kb-nav .kb-submenu-toggle {width:47px}
  .kb-site .kb-nav .kb-nav-list > li > .kb-submenu {
    display:block !important;
    box-sizing:border-box;
    max-height:0;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    padding-top:0 !important;
    padding-bottom:0 !important;
    animation:none !important;
    transition:max-height .38s cubic-bezier(.22,.61,.36,1),opacity .25s ease,padding .38s ease,visibility 0s linear .38s !important;
  }
  .kb-site .kb-nav .kb-nav-list > li.kb-submenu-open > .kb-submenu {
    display:block !important;
    max-height:var(--kb-submenu-target-height,420px);
    opacity:1;
    visibility:visible;
    overflow:hidden;
    padding-top:6px !important;
    padding-bottom:9px !important;
    animation:none !important;
    transition:max-height .38s cubic-bezier(.22,.61,.36,1),opacity .28s ease,padding .38s ease,visibility 0s !important;
  }
  .kb-site .kb-nav .kb-submenu li a {padding-left:27px;padding-right:14px}
  .kb-site .kb-nav .kb-mobile-actions {padding:12px 19px}
}
@media(min-width:851px) {
  .kb-site .kb-mobile-login {display:none !important}
}
@media(prefers-reduced-motion:reduce) {
  .kb-site .kb-header > .kb-nav,
  .kb-site .kb-nav .kb-submenu {transition:none !important}
}

/* Kangbuk mobile viewport fit, 2026-11-14.
   Remove unintentional browser body margins and horizontal drift while
   preserving the 70% off-canvas navigation and readable content padding. */
@media (max-width:850px) {
  html, body {
    margin:0 !important;
    padding:0 !important;
    overflow-x:clip !important;
  }
  .kb-site {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  /* Closed menu slides inward instead of beyond the right viewport edge. */
  .kb-site .kb-header > .kb-nav:not(.is-open) {
    transform:translate3d(-18px,-7px,0) !important;
  }
  /* Fix an inherited zero-width links row on mobile subpages. */
  .kb-site .kb-article-bottomlinks {
    display:flex !important;
    flex-wrap:wrap !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  .kb-site .kb-article-bottomlinks a {
    position:static !important;
    flex:0 1 auto !important;
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
}
