/* 강북노회 최신소식: 여러 게시판의 최근 8개, PC 4열 · 모바일 1열 */
.kb-site .kb-home-sections>.kb-latest-section{order:4;width:min(1400px,calc(100% - 64px))}
.kb-site .kb-home-sections>.kb-youtube-section{order:5}
.kb-site .kb-home-sections>.kb-feature-section{order:6}
.kb-site .kb-home-sections>.kb-youtube-section.kb-yt-position-afterfeatures{order:7}
.kb-site .kb-home-sections>.kb-latest-section.kb-latest-position-afterfeatures{order:8}
.kb-site .kb-latest-section{margin:14px auto 27px;padding:28px 0 18px}
.kb-site .kb-latest-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:20px;padding:0 2px 15px;border-bottom:2px solid #e5f0f7}
.kb-site .kb-latest-eyebrow{display:block;color:var(--kb-primary,#138bd0);font-size:11px;font-weight:750;letter-spacing:2px}
.kb-site .kb-latest-heading h2{font-size:28px;margin:5px 0 6px;font-weight:800;color:#1b4b70}
.kb-site .kb-latest-heading p{font-size:13px;margin:0;color:#657f8f;word-break:keep-all}
.kb-site .kb-latest-more{display:inline-flex;align-items:center;gap:11px;padding:10px 16px;font-size:12px;font-weight:750;color:var(--kb-secondary,#0879bd);background:#f1faff;border:1px solid #cde8f6;border-radius:8px;white-space:nowrap}
.kb-site .kb-latest-more:hover{background:#e4f5fe}
.kb-site .kb-latest-widget{max-width:100%}
.kb-site .kb-latest-cards{list-style:none;display:grid;grid-template-columns:repeat(var(--kb-latest-columns,4),minmax(0,1fr));gap:19px;margin:0;padding:0}
.kb-site .kb-latest-card{list-style:none;margin:0;min-width:0;border:1px solid #dfedf5;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 3px 18px #205b8110;transition:transform .2s,box-shadow .2s}
.kb-site .kb-latest-card:hover{transform:translateY(-3px);box-shadow:0 9px 23px #15638b20}
.kb-site .kb-latest-card-link{display:block;color:#203e56!important;height:100%}
.kb-site .kb-latest-card-image{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:#eaf6fc}
.kb-site .kb-latest-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.kb-site .kb-latest-card:hover img{transform:scale(1.035)}
.kb-site .kb-latest-image-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(130deg,#d5f0ff,#7fc8e8 62%,#3fa3d5);color:#fff}
.kb-site .kb-latest-image-fallback span{border:1px solid #ffffff99;border-radius:50px;padding:7px 17px;font-size:14px;font-weight:750;letter-spacing:2px}
.kb-site .kb-latest-card-text{display:flex;flex-direction:column;align-items:flex-start;min-height:119px;padding:13px 14px 14px}
.kb-site .kb-latest-card-board{display:block;max-width:100%;margin-bottom:7px;color:var(--kb-primary,#138bd0);font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kb-site .kb-latest-card-text strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.5;letter-spacing:-.3px;color:#1e405b;font-weight:720;word-break:keep-all}
.kb-site .kb-latest-date{margin-top:auto;padding-top:11px;font-size:11px;color:#8b9aa7;font-variant-numeric:tabular-nums}
.kb-site .kb-latest-empty{margin:0;text-align:center;padding:40px 10px;border-radius:8px;background:#f2f9fc;color:#587c91}
@media(max-width:1150px){.kb-site .kb-home-sections>.kb-latest-section{width:min(1400px,calc(100% - 42px))}.kb-site .kb-latest-cards{gap:13px}}
@media(max-width:850px){.kb-site .kb-latest-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-site .kb-latest-heading h2{font-size:24px}.kb-site .kb-latest-card-image{aspect-ratio:16/9}}
@media(max-width:560px){.kb-site .kb-home-sections>.kb-latest-section{width:calc(100% - 28px)}.kb-site .kb-latest-section{padding-top:18px}.kb-site .kb-latest-heading{align-items:flex-start;gap:9px}.kb-site .kb-latest-heading h2{font-size:23px}.kb-site .kb-latest-heading p{font-size:12px}.kb-site .kb-latest-more{padding:7px 9px;font-size:11px}.kb-site .kb-latest-cards{grid-template-columns:repeat(1,minmax(0,1fr));gap:12px}.kb-site .kb-latest-card-link{display:grid;grid-template-columns:42% 1fr;min-height:112px}.kb-site .kb-latest-card-image{height:100%;min-height:112px;aspect-ratio:auto}.kb-site .kb-latest-card-text{padding:10px 12px;min-height:112px}.kb-site .kb-latest-card-text strong{font-size:13px}.kb-site .kb-latest-card-board{font-size:10px}}
/* Mobile overflow refinement after live visual inspection */
@media(max-width:560px){
 .kb-site .kb-latest-heading{flex-direction:column;align-items:stretch;gap:13px}
 .kb-site .kb-latest-heading>div{min-width:0}
 .kb-site .kb-latest-more{align-self:flex-start;max-width:100%}
 .kb-site .kb-latest-card-link{grid-template-columns:minmax(0,42%) minmax(0,1fr);width:100%}
 .kb-site .kb-latest-card-text{min-width:0;max-width:100%;overflow:hidden}
 .kb-site .kb-latest-card-text strong{max-width:100%;width:100%;word-break:break-word;overflow-wrap:anywhere}
 .kb-site .kb-latest-card-board{width:100%}
}


/* Homepage order: key overview cards immediately under the large slider. */
.kb-site .kb-home-sections.kb-order-default>.kb-hero{order:1}
.kb-site .kb-home-sections.kb-order-default>.kb-feature-section{order:2;margin:18px auto 20px}
.kb-site .kb-home-sections.kb-order-default>.kb-quick-wrap{order:3}
.kb-site .kb-home-sections.kb-order-default>.kb-news-area{order:4}
.kb-site .kb-home-sections.kb-order-default>.kb-latest-section{order:5}
.kb-site .kb-home-sections.kb-order-default>.kb-youtube-section{order:6}
.kb-site .kb-home-sections.kb-order-default>.kb-latest-section.kb-latest-position-afterfeatures{order:2.2}
.kb-site .kb-home-sections.kb-order-default>.kb-youtube-section.kb-yt-position-afterfeatures{order:2.3}
