@charset "utf-8";
/* 게시판 이용규칙 및 저작권 가이드 */

.bk-rules { color: #0f172a; }
.bk-rules * { box-sizing: border-box; }
.bk-rules h1, .bk-rules h2, .bk-rules p { margin: 0; }
.bk-rules a { text-decoration: none; }

/* 히어로 */
.bk-ru-hero { margin: 0 0 18px; padding: 48px 48px 44px; border: 1px solid #e2e8f0; border-radius: 28px; text-align: center; background: radial-gradient(900px 300px at 50% -20%, #dbeafe 0%, rgba(219,234,254,0) 70%), #fff; }
.bk-ru-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #1d4ed8; }
.bk-ru-hero h1 { margin: 12px 0 14px; font-size: 36px; font-weight: 800; line-height: 1.3; letter-spacing: -0.045em; word-break: keep-all; }
.bk-ru-hero h1 em { font-style: normal; color: #1d4ed8; }
.bk-ru-hero p { font-size: 15px; line-height: 1.8; color: #64748b; }

/* 요약 카드 */
.bk-ru-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.bk-ru-sumc { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; color: #475569; font-size: 13px; line-height: 1.55; word-break: keep-all; transition: transform .2s, box-shadow .2s, border-color .2s; }
.bk-ru-sumc:hover { transform: translateY(-3px); border-color: #bfdbfe; box-shadow: 0 12px 26px rgba(29,78,216,.1); }
.bk-ru-sumc .ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: #eff6ff; color: #1d4ed8; font-size: 16px; }
.bk-ru-sumc b { margin-top: 4px; font-size: 12px; font-weight: 800; color: #1d4ed8; letter-spacing: .04em; }

/* 본문 2단 */
.bk-ru-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.bk-ru-toc { position: sticky; top: 16px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; }
.bk-ru-toc strong { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 800; color: #94a3b8; letter-spacing: .08em; }
.bk-ru-toc ul { margin: 0; padding: 0; list-style: none; }
.bk-ru-toc li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #334155; line-height: 1.4; word-break: keep-all; }
.bk-ru-toc li a em { font-style: normal; font-size: 11px; font-weight: 800; color: #1d4ed8; }
.bk-ru-toc li a:hover { background: #f4f6fa; }

.bk-ru-list { display: grid; gap: 14px; min-width: 0; }
.bk-ru-art { padding: 32px 34px; border: 1px solid #e2e8f0; border-radius: 22px; background: #fff; scroll-margin-top: 20px; }
.bk-ru-art header { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid #f1f5f9; }
.bk-ru-no { flex: none; padding: 5px 12px; border-radius: 999px; background: #1d4ed8; color: #fff; font-size: 13px; font-weight: 800; }
.bk-ru-art h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.04em; word-break: keep-all; }
.bk-ru-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.bk-ru-items > li { display: flex; gap: 12px; }
.bk-ru-items .mk { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: #eff6ff; color: #1d4ed8; font-size: 14px; font-weight: 800; line-height: 26px; text-align: center; }
.bk-ru-items .tx { min-width: 0; flex: 1; }
.bk-ru-items .tx > p { font-size: 15px; line-height: 1.85; color: #334155; word-break: keep-all; }
.bk-ru-sub { margin: 12px 0 0; padding: 14px 16px; list-style: none; display: grid; gap: 8px; border-radius: 14px; background: #f8fafc; }
.bk-ru-sub li { display: flex; gap: 10px; font-size: 14px; line-height: 1.7; color: #475569; word-break: keep-all; }
.bk-ru-sub b { flex: none; width: 22px; height: 22px; border-radius: 7px; background: #fff; border: 1px solid #e2e8f0; color: #ea580c; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }

.bk-ru-foot { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 18px; background: #eff6ff; color: #1d4ed8; }
.bk-ru-foot i { font-size: 20px; }
.bk-ru-foot p { font-size: 14px; font-weight: 600; line-height: 1.6; }

@media (max-width: 980px) {
    .bk-ru-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bk-ru-body { grid-template-columns: minmax(0, 1fr); }
    .bk-ru-toc { position: static; padding: 14px; }
    .bk-ru-toc strong { display: none; }
    .bk-ru-toc ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
    .bk-ru-toc ul::-webkit-scrollbar { display: none; }
    .bk-ru-toc li a { flex-direction: row; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #f4f6fa; white-space: nowrap; }
}
@media (max-width: 640px) {
    .bk-ru-hero { padding: 34px 20px 30px; border-radius: 22px; }
    .bk-ru-hero h1 { font-size: 26px; }
    .bk-ru-hero p { font-size: 14px; }
    .bk-ru-sumc { padding: 14px; }
    .bk-ru-art { padding: 22px 18px; border-radius: 18px; }
    .bk-ru-art h2 { font-size: 18px; }
    .bk-ru-items .tx > p { font-size: 14px; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bk-ru-sumc { transition: none; } .bk-ru-sumc:hover { transform: none; } }
