/* 강북노회 레이아웃 설정 연동 스타일 (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}
}

/* 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 integrated-search page: spacious, responsive presentation.
   Scoped to the search module within the sub-layout; no search logic changes. */
.kb-site #kb-article-content:has(#fo_is) #spot {
  margin: 3px 0 24px;
  padding: 25px 28px;
  background: linear-gradient(125deg,#f0f9ff,#f8fcff);
  border: 1px solid #d5e8f4;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(19,115,174,.06);
}
.kb-site #kb-article-content:has(#fo_is) #spot .search {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 820px;
}
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="text"] {
  display: block;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 54px;
  padding: 0 18px;
  margin: 0;
  line-height: 1.4;
  vertical-align: middle;
  border: 1px solid #bdd9e9;
  border-radius: 9px;
  background: #fff;
  color: #153f5c;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(13,82,125,.045);
}
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="text"]:focus {
  border-color: #178cce;
  box-shadow: 0 0 0 3px rgba(28,144,204,.12);
}
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="submit"] {
  display: block;
  box-sizing: border-box;
  flex: 0 0 110px;
  height: 54px;
  margin: 0;
  padding: 0 19px;
  border: 1px solid #087bb9;
  border-radius: 9px;
  background: linear-gradient(125deg,#148bd0,#0b76b4);
  color: #fff;
  font-size: 15px;
  line-height: normal;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="submit"]:hover,
.kb-site #kb-article-content:has(#fo_is) #spot .search input[type="submit"]:focus-visible {
  background: #076fa9;
}
.kb-site #kb-article-content:has(#fo_is) .localNavigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 0 17px;
  margin: 0 0 26px;
  border-bottom: 1px solid #dfebf4;
}
.kb-site #kb-article-content:has(#fo_is) .localNavigation::after,
.kb-site #kb-article-content:has(#fo_is) .subNavigation::after {
  display: none;
}
.kb-site #kb-article-content:has(#fo_is) .localNavigation li,
.kb-site #kb-article-content:has(#fo_is) .subNavigation li {
  display: block;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kb-site #kb-article-content:has(#fo_is) .localNavigation li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  box-sizing: border-box;
  height: auto;
  min-height: 40px;
  padding: 9px 17px;
  border: 1px solid #d4e4f0;
  border-radius: 20px;
  background: #fff;
  color: #486b83;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.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: #1385c5;
  border-color: #1385c5;
  color: #fff;
}
.kb-site #kb-article-content:has(#fo_is) h3.subTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 15px;
  padding: 13px 16px;
  background: #edf7fd;
  border-left: 4px solid #168bc7;
  border-radius: 0 8px 8px 0;
  color: #24546f;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 750;
}
.kb-site #kb-article-content:has(#fo_is) h3.subTitle span {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #5a829e;
}
.kb-site #kb-article-content:has(#fo_is) .subNavigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  overflow: visible;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
}
.kb-site #kb-article-content:has(#fo_is) .subNavigation li a {
  display: inline-flex;
  float: none;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 13px;
  background: #fff;
  border: 1px solid #dfe9f0;
  border-radius: 7px;
  color: #5b7487;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.kb-site #kb-article-content:has(#fo_is) .subNavigation li.on a,
.kb-site #kb-article-content:has(#fo_is) .subNavigation li a:hover {
  border-color: #9dd0ed;
  background: #e8f6fe;
  color: #087bb5;
  font-weight: 700;
}
.kb-site #kb-article-content:has(#fo_is) .noResult {
  display: block;
  box-sizing: border-box;
  margin: 0 0 27px;
  padding: 21px 22px;
  border: 1px dashed #d4e3ee;
  border-radius: 10px;
  background: #fbfdff;
  color: #718799;
  font-size: 14px;
  line-height: 1.7;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult {
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult > li {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 12px;
  padding: 19px 21px;
  border: 1px solid #e0ebf3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 11px rgba(21,79,117,.035);
}
.kb-site #kb-article-content:has(#fo_is) .searchResult li dl {
  margin: 0;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult li dl dt {
  margin: 0 0 7px;
  color: #527188;
  line-height: 1.55;
  font-size: 16px;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult li dl dt a {
  color: #116b9e;
  font-weight: 700;
  text-decoration: none;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult li dl dt a:hover {text-decoration: underline}
.kb-site #kb-article-content:has(#fo_is) .searchResult li dl dd {
  margin: 0 0 8px;
  color: #516f82;
  font-size: 14px;
  line-height: 1.7;
}
.kb-site #kb-article-content:has(#fo_is) .searchResult li address {color: #708b9e;line-height: 1.6}
.kb-site #kb-article-content:has(#fo_is) .searchImageResult {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
}
.kb-site #kb-article-content:has(#fo_is) .searchImageResult li {
  float: none;
  box-sizing: border-box;
  width: 152px;
  height: auto;
  min-height: 172px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e0ebf3;
  border-radius: 9px;
  background: #fff;
}
.kb-site #kb-article-content:has(#fo_is) div.isMore {padding-bottom: 14px;margin-bottom: 25px}
.kb-site #kb-article-content:has(#fo_is) .pagination {padding: 20px 0}
@media(max-width:600px) {
  .kb-site #kb-article-content:has(#fo_is) #spot {padding: 16px;margin-bottom: 20px;border-radius: 10px}
  .kb-site #kb-article-content:has(#fo_is) #spot .search {gap: 8px}
  .kb-site #kb-article-content:has(#fo_is) #spot .search input[type="text"] {
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }
  .kb-site #kb-article-content:has(#fo_is) #spot .search input[type="submit"] {
    flex-basis: 78px;
    height: 48px;
    padding: 0 9px;
    font-size: 14px;
  }
  .kb-site #kb-article-content:has(#fo_is) .localNavigation {gap: 6px;margin-bottom: 21px;padding-bottom: 14px}
  .kb-site #kb-article-content:has(#fo_is) .localNavigation li a {min-height: 35px;padding: 7px 11px;font-size: 12px}
  .kb-site #kb-article-content:has(#fo_is) h3.subTitle {font-size: 15px;margin: 23px 0 12px;padding: 11px 13px}
  .kb-site #kb-article-content:has(#fo_is) .subNavigation li a {font-size: 12px;padding: 7px 10px}
  .kb-site #kb-article-content:has(#fo_is) .noResult {padding: 17px 15px;font-size: 13px}
  .kb-site #kb-article-content:has(#fo_is) .searchResult > li {padding: 14px}
  .kb-site #kb-article-content:has(#fo_is) .searchResult li dl dt {font-size: 15px}
  .kb-site #kb-article-content:has(#fo_is) .searchImageResult li {width: calc(50% - 7px)}
}


/* 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 member login form: matches the current white-and-warm-gold site design. */
.kb-site #kb-article-content .xm .signin {
  box-sizing:border-box;
  width:min(100%,520px);
  max-width:520px;
  margin:14px auto 55px;
  padding:34px 36px 29px;
  border:1px solid #e7d7bb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 35px rgba(60,43,16,.08);
  color:#2c2822;
  font-family:inherit;
}
.kb-site #kb-article-content .xm .signin .login-header {
  margin:0 0 25px;
  border:0;
  padding:0 0 15px;
  border-bottom:2px solid #eccf9c;
  background:transparent;
}
.kb-site #kb-article-content .xm .signin .login-header h1 {
  margin:0;
  font-size:25px;
  line-height:1.5;
  color:#292017;
  font-weight:800;
}
.kb-site #kb-article-content .xm .signin .login-header i {
  color:#876137;
}
.kb-site #kb-article-content .xm .signin .login-body {
  padding:0;
  margin:0;
  background:transparent;
  border:0;
}
.kb-site #kb-article-content .xm .signin fieldset{
  padding:0;
  margin:0;
  border:0;
  min-width:0;
}
.kb-site #kb-article-content .xm .signin .control-group {
  margin:0 0 15px;
  padding:0;
  display:block;
}
.kb-site #kb-article-content .xm .signin input[type="text"],
.kb-site #kb-article-content .xm .signin input[type="email"],
.kb-site #kb-article-content .xm .signin input[type="password"] {
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  height:52px;
  margin:0 0 13px;
  padding:12px 17px;
  border:1px solid #d8cab3;
  border-radius:9px;
  background:#fffcf8;
  color:#251c16;
  font-family:inherit;
  font-size:15px;
  line-height:1.5;
  box-shadow:none;
}
.kb-site #kb-article-content .xm .signin input[type="text"]:focus,
.kb-site #kb-article-content .xm .signin input[type="email"]:focus,
.kb-site #kb-article-content .xm .signin input[type="password"]:focus {
  outline:2px solid #eccf9c;
  outline-offset:1px;
  border-color:#bb9b64;
}
.kb-site #kb-article-content .xm .signin input[type="submit"],
.kb-site #kb-article-content .xm .signin button[type="submit"] {
  box-sizing:border-box;
  display:block;
  width:100%;
  height:50px;
  margin:18px 0 0;
  padding:10px 16px;
  border:1px solid #b79b6f;
  border-radius:9px;
  background:#eccf9c;
  color:#181410;
  font-size:16px;
  line-height:1.5;
  font-family:inherit;
  font-weight:750;
  cursor:pointer;
  box-shadow:none;
}
.kb-site #kb-article-content .xm .signin input[type="submit"]:hover,
.kb-site #kb-article-content .xm .signin button[type="submit"]:hover {
  background:#e4c38a;
  color:#111;
}
.kb-site #kb-article-content .xm .signin label {
  color:#595044;
  font-size:13px;
  line-height:1.6;
}
.kb-site #kb-article-content .xm .signin input[type="checkbox"] {
  margin:0 6px 0 0;
  accent-color:#b48b50;
  vertical-align:middle;
}
.kb-site #kb-article-content .xm .signin #warning {
  box-sizing:border-box;
  margin:9px 0;
  padding:13px;
  border:1px solid #ecdabe;
  border-radius:8px;
  background:#fff9ed;
  color:#665747;
  font-size:12px;
  line-height:1.7;
}
.kb-site #kb-article-content .xm .signin .login-footer {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0 0;
  padding:18px 0 0;
  border-top:1px solid #f0e6d6;
  color:#b3a18c;
  font-size:13px;
  text-align:center;
}
.kb-site #kb-article-content .xm .signin .login-footer a {
  color:#594329;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}
.kb-site #kb-article-content .xm .signin .login-footer a:hover {text-decoration:underline}
@media(max-width:560px){
  .kb-site #kb-article-content .xm .signin{
    margin:8px auto 38px;
    padding:24px 19px 22px;
    border-radius:12px;
  }
  .kb-site #kb-article-content .xm .signin .login-header h1{font-size:22px}
  .kb-site #kb-article-content .xm .signin input[type="text"],
  .kb-site #kb-article-content .xm .signin input[type="password"]{
    height:49px;
  }
}

/* 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;
  }
}


/* Kangbuk Presbytery Officers page redesign: 2026-11-14. */
.kb-site #kb-article-content:has(.kb-officers-modern) {min-height:0!important;overflow:visible!important;}
.kb-site #kb-article-content:has(.kb-officers-modern) > .rhymix_content,
.kb-site #kb-article-content:has(.kb-officers-modern) > .xe-widget-wrapper {float:none!important;display:block!important;width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;}
.kb-site #kb-article-content .kb-officers-modern {width:100%;max-width:100%;box-sizing:border-box;font-family:inherit;color:#253340;line-height:1.55;}
.kb-site .kb-officers-modern * {box-sizing:border-box;}
.kb-site .kb-officers-modern .kb-officers-intro {margin:0 0 22px;padding:20px 24px;border-left:3px solid #b9945d;background:#f7f8fa;border-radius:0 10px 10px 0;}
.kb-site .kb-officers-modern .kb-officers-eyebrow {display:block;color:#8a775d;font-weight:800;font-size:10px;letter-spacing:2px;line-height:1.4;}
.kb-site .kb-officers-modern .kb-officers-intro p {margin:8px 0 0!important;color:#384a59;font-size:15px;font-weight:650;line-height:1.55;}
.kb-site .kb-officers-modern .kb-officer-president {display:grid;grid-template-columns:minmax(195px,37%) minmax(0,1fr);gap:0;align-items:stretch;min-height:280px;margin:0 0 22px;border:1px solid #e1e8ec;border-radius:16px;background:linear-gradient(118deg,#fafbfc 0%,#f5f8fa 100%);box-shadow:0 9px 28px rgba(20,38,54,.065);overflow:hidden;}
.kb-site .kb-officers-modern .kb-officer-president-photo {margin:0;min-height:280px;overflow:hidden;background:#152331;}
.kb-site .kb-officers-modern .kb-officer-president-photo img {display:block!important;width:100%!important;height:100%!important;min-height:280px!important;max-width:none!important;object-fit:cover;object-position:center 24%;border:0!important;border-radius:0!important;}
.kb-site .kb-officers-modern .kb-officer-president-info {display:flex;flex-direction:column;justify-content:center;min-width:0;padding:34px clamp(24px,4vw,46px);text-align:left;}
.kb-site .kb-officers-modern .kb-officer-president-label {font-size:12px;letter-spacing:1.7px;font-weight:800;color:#9a794c;}
.kb-site .kb-officers-modern .kb-officer-president-info h3 {font-size:clamp(27px,2.5vw,39px)!important;letter-spacing:-1.1px;font-weight:800;color:#26333d!important;margin:14px 0 2px!important;line-height:1.2!important;}
.kb-site .kb-officers-modern .kb-officer-president-info h3 small {font-size:.55em!important;color:#566673!important;font-weight:500;}
.kb-site .kb-officers-modern .kb-officer-president-english {color:#70818c;font-size:14px;margin:4px 0 21px!important;letter-spacing:.15px;}
.kb-site .kb-officers-modern .kb-officer-president-church {display:inline-block;align-self:flex-start;margin:0!important;padding-top:14px;border-top:1px solid #d8e0e5;font-size:15px;font-weight:700;color:#415461;}
.kb-site .kb-officers-modern .kb-officer-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;clear:both;}
.kb-site .kb-officers-modern .kb-officer-card {display:grid;grid-template-columns:136px minmax(0,1fr);gap:0;align-items:stretch;min-width:0;background:#fff;border:1px solid #e4e9ed;border-radius:13px;overflow:hidden;box-shadow:0 4px 15px rgba(29,48,63,.045);}
.kb-site .kb-officers-modern .kb-officer-card>img {display:block!important;width:136px!important;height:162px!important;max-width:none!important;object-fit:cover!important;object-position:center 18%;border:0!important;border-radius:0!important;background:#e9edef;}
.kb-site .kb-officers-modern .kb-officer-card-info {display:flex;flex-direction:column;justify-content:center;min-width:0;padding:19px 16px;}
.kb-site .kb-officers-modern .kb-officer-card-info span {font-size:12px;line-height:1.35;font-weight:800;color:#9b7948;}
.kb-site .kb-officers-modern .kb-officer-card-info em {display:block;font-size:9px;font-style:normal;font-weight:600;letter-spacing:.75px;color:#8d9aa3;margin-top:3px;}
.kb-site .kb-officers-modern .kb-officer-card-info h3 {font-size:21px!important;font-weight:800;letter-spacing:-.55px;line-height:1.2;color:#253340!important;margin:11px 0 6px!important;}
.kb-site .kb-officers-modern .kb-officer-card-info h3 small {font-size:.65em!important;color:#657582;font-weight:500;}
.kb-site .kb-officers-modern .kb-officer-card-info p {font-size:12px;line-height:1.5;color:#657480;margin:0!important;word-break:keep-all;}
/* Never let the three subpage links sit beside a floated XE widget. */
.kb-site .kb-article-area .kb-article-bottomlinks {clear:both!important;width:100%!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;position:relative!important;float:none!important;box-sizing:border-box!important;margin-top:26px!important;}
.kb-site .kb-article-area .kb-article-bottomlinks a {display:inline-flex!important;justify-content:center!important;align-items:center!important;white-space:nowrap!important;word-break:keep-all!important;writing-mode:horizontal-tb!important;flex:0 0 auto!important;min-width:89px!important;padding:10px 15px!important;background:#fff!important;color:#425669!important;border:1px solid #dae2e8!important;border-radius:7px!important;font-size:12px!important;font-weight:700!important;line-height:1.45!important;text-decoration:none!important;}
.kb-site .kb-article-area .kb-article-bottomlinks a:hover {background:#f5f7f9!important;color:#233440!important;border-color:#b8c9d5!important;}
@media(max-width:1280px) {
  .kb-site .kb-officers-modern .kb-officer-list {grid-template-columns:1fr;}
  .kb-site .kb-officers-modern .kb-officer-card {grid-template-columns:142px minmax(0,1fr);}
  .kb-site .kb-officers-modern .kb-officer-card>img {width:142px!important;height:160px!important;}
}
@media(max-width:680px) {
  .kb-site .kb-officers-modern .kb-officers-intro {padding:16px 17px;margin-bottom:17px;}
  .kb-site .kb-officers-modern .kb-officers-eyebrow {font-size:9px;letter-spacing:1.2px;}
  .kb-site .kb-officers-modern .kb-officers-intro p {font-size:13px;}
  .kb-site .kb-officers-modern .kb-officer-president {grid-template-columns:1fr;min-height:0;border-radius:12px;}
  .kb-site .kb-officers-modern .kb-officer-president-photo {height:240px;min-height:0;}
  .kb-site .kb-officers-modern .kb-officer-president-photo img {height:240px!important;min-height:0!important;object-position:center 30%;}
  .kb-site .kb-officers-modern .kb-officer-president-info {padding:22px 21px 25px;}
  .kb-site .kb-officers-modern .kb-officer-president-info h3 {font-size:28px!important;margin:10px 0 2px!important;}
  .kb-site .kb-officers-modern .kb-officer-president-english {font-size:12px;margin-bottom:14px!important;}
  .kb-site .kb-officers-modern .kb-officer-president-church {font-size:13px;padding-top:10px;}
  .kb-site .kb-officers-modern .kb-officer-list {grid-template-columns:1fr;gap:12px;}
  .kb-site .kb-officers-modern .kb-officer-card {grid-template-columns:116px minmax(0,1fr);}
  .kb-site .kb-officers-modern .kb-officer-card>img {width:116px!important;height:148px!important;}
  .kb-site .kb-officers-modern .kb-officer-card-info {padding:12px 13px;}
  .kb-site .kb-officers-modern .kb-officer-card-info h3 {font-size:18px!important;margin:8px 0 5px!important;}
  .kb-site .kb-officers-modern .kb-officer-card-info span {font-size:11px;}
  .kb-site .kb-officers-modern .kb-officer-card-info em {font-size:8px;}
  .kb-site .kb-officers-modern .kb-officer-card-info p {font-size:11px;}
  .kb-site .kb-article-area .kb-article-bottomlinks {gap:7px!important;}
  .kb-site .kb-article-area .kb-article-bottomlinks a {min-width:0!important;padding:9px 11px!important;font-size:11px!important;}
}



/* Kangbuk officers mobile two-column portrait cards, 2026-11-14. */
@media (max-width:680px) {
  .kb-site .kb-officers-modern .kb-officer-list {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px 10px !important;
    align-items:stretch !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    min-width:0 !important;
    height:100%;
    border-radius:12px !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card > img {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    aspect-ratio:1/1 !important;
    object-fit:cover !important;
    object-position:center 18% !important;
    border-radius:0 !important;
    flex:0 0 auto !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card-info {
    flex:1 1 auto !important;
    min-width:0 !important;
    width:100% !important;
    padding:12px 8px 14px !important;
    text-align:center !important;
    justify-content:flex-start !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card-info span {
    display:block;
    font-size:11px !important;
    line-height:1.35 !important;
    word-break:keep-all;
  }
  .kb-site .kb-officers-modern .kb-officer-card-info em {
    font-size:8px !important;
    letter-spacing:.3px !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card-info h3 {
    margin:9px 0 6px !important;
    font-size:17px !important;
    line-height:1.25 !important;
    overflow-wrap:normal !important;
    word-break:keep-all !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card-info p {
    margin:0 !important;
    font-size:10.5px !important;
    line-height:1.5 !important;
    word-break:keep-all !important;
    overflow-wrap:anywhere;
  }
}

/* Officers responsive 2-column lock — 2026-11-14 */
.kb-site .kb-officers-modern .kb-officer-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
@media (max-width: 960px) {
  .kb-site .kb-officers-modern .kb-officer-list {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px 10px !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
    height: 100%;
  }
  .kb-site .kb-officers-modern .kb-officer-card > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    flex: 0 0 auto !important;
  }
  .kb-site .kb-officers-modern .kb-officer-card-info {
    flex: 1 1 auto !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
  }
}
@media (max-width: 680px) {
  .kb-site .kb-officers-modern .kb-officer-list {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

/* Kangbuk church-links directory redesign - 2026-11-14 */
.kb-site #kb-article-content:has(.kb-directory){min-height:0!important;overflow:visible!important}
.kb-site #kb-article-content:has(.kb-directory)>.rhymix_content,
.kb-site #kb-article-content:has(.kb-directory)>.xe-widget-wrapper{float:none!important;display:block!important;width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
.kb-site .kb-directory{width:100%;max-width:100%;box-sizing:border-box;color:#263848;font-family:inherit;padding:0 0 10px}
.kb-site .kb-directory *{box-sizing:border-box}
.kb-site .kb-directory-hero{background:linear-gradient(118deg,#f1f6f8 0%,#fafbf9 100%);border:1px solid #e0e9ed;border-radius:15px;padding:28px 30px;margin:0 0 20px;position:relative;overflow:hidden}
.kb-site .kb-directory-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#c5a06c}
.kb-site .kb-directory-eyebrow{margin:0 0 10px!important;font-size:10px!important;font-weight:800;color:#8c775b!important;letter-spacing:2px;line-height:1.6}
.kb-site .kb-directory-hero h3{color:#18384b!important;font-size:clamp(22px,2.4vw,28px)!important;font-weight:800!important;line-height:1.3!important;letter-spacing:-.7px;margin:0 0 10px!important}
.kb-site .kb-directory-hero>p:last-child{margin:0!important;line-height:1.7;color:#536879!important;font-size:13px!important;word-break:keep-all}
.kb-site .kb-directory-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 32px}
.kb-site .kb-directory-nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:12px 13px;background:#fff;border:1px solid #e1e7ed;border-radius:9px;color:#36546b;font-size:12px;font-weight:700;line-height:1.45;text-decoration:none!important;word-break:keep-all}
.kb-site .kb-directory-nav a:hover,.kb-site .kb-directory-nav a:focus{background:#f4f8fa;border-color:#b7cbd7;color:#153b55}
.kb-site .kb-directory-nav a span{display:inline-block;flex:0 0 auto;color:#947850;background:#f8f4ee;border-radius:20px;padding:3px 8px;font-size:10px;font-weight:750;line-height:1.3}
.kb-site .kb-directory-section{margin:0 0 34px;scroll-margin-top:25px}
.kb-site .kb-directory-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;border-bottom:1px solid #e3eaf0;padding:0 0 13px;margin-bottom:15px}
.kb-site .kb-directory-heading p{font-size:10px!important;font-weight:700;letter-spacing:1.8px;color:#9b8361!important;line-height:1.5;margin:0 0 4px!important}
.kb-site .kb-directory-heading h4{font-size:20px!important;font-weight:800!important;letter-spacing:-.6px;line-height:1.35!important;color:#243a4a!important;margin:0!important}
.kb-site .kb-directory-count{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;font-size:11px;font-weight:750;color:#5e7584;background:#f2f6f8;border-radius:16px;padding:6px 10px}
.kb-site .kb-directory-grid{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px}
.kb-site .kb-directory-grid>li{list-style:none!important;margin:0!important;padding:0!important;min-width:0!important;min-height:0}
.kb-site .kb-directory-grid>li:before{display:none!important}
.kb-site .kb-directory-grid>li>a{height:100%;min-height:86px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:17px 44px 17px 19px;position:relative;overflow:hidden;border-radius:11px;border:1px solid #e1e7ec;background:#fff;box-shadow:0 3px 14px rgba(24,45,63,.045);text-decoration:none!important;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.kb-site .kb-directory-grid>li>a:after{content:"↗";position:absolute;right:15px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#f3f6f7;color:#6b8797;font-size:14px;font-weight:650}
.kb-site .kb-directory-grid>li>a:hover,.kb-site .kb-directory-grid>li>a:focus{background:#fbfdfe;border-color:#b5cbd8;box-shadow:0 7px 17px rgba(27,52,70,.085)}
.kb-site .kb-directory-grid>li>a:hover:after{background:#dfeef5;color:#2b657e}
.kb-site .kb-directory-card-name{display:block;min-width:0;font-size:15px;font-weight:800;color:#263c4c;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
.kb-site .kb-directory-card-domain{display:block;min-width:0;color:#84919c;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
.kb-site .kb-directory-note{margin:12px 0 3px!important;border-top:1px solid #e6ecf0;padding-top:18px;font-size:12px!important;line-height:1.6;color:#7d8893!important}
@media(max-width:740px){
 .kb-site .kb-directory-hero{padding:22px 20px;margin-bottom:14px}
 .kb-site .kb-directory-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:25px}
 .kb-site .kb-directory-nav a{padding:11px 10px;font-size:11px}
 .kb-site .kb-directory-section{margin-bottom:28px}
 .kb-site .kb-directory-heading h4{font-size:18px!important}
 .kb-site .kb-directory-grid{gap:8px!important}
 .kb-site .kb-directory-grid>li>a{min-height:88px;padding:13px 31px 13px 12px}
 .kb-site .kb-directory-grid>li>a:after{right:7px;width:20px;height:20px;font-size:12px}
 .kb-site .kb-directory-card-name{font-size:12px;line-height:1.42}
 .kb-site .kb-directory-card-domain{font-size:10px}
}
@media(max-width:365px){
 .kb-site .kb-directory-nav a{font-size:10px}
 .kb-site .kb-directory-grid>li>a{padding:12px 26px 12px 10px;min-height:92px}
 .kb-site .kb-directory-card-name{font-size:11.5px}
 .kb-site .kb-directory-grid>li>a:after{right:5px;width:17px;height:17px;font-size:11px}
}
