:root {
  --bsw-bg: #faf7f1;
  --bsw-bg-alt: #f3eee4;
  --bsw-card: #ffffff;
  --bsw-ink: #1c1813;
  --bsw-ink-2: #3a322a;
  --bsw-muted: #6f6357;
  --bsw-faint: #a1968a;
  --bsw-line: #ebe4d6;
  --bsw-line-strong: #d8cdb9;
  --bsw-accent: #e85c2c;
  --bsw-accent-deep: #bf4317;
  --bsw-accent-soft: #fde6da;
  --bsw-font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --bsw-font-orbit: 'Orbit', 'Pretendard', sans-serif;
  --bsw-container: 1148px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bsw-bg);
  color: var(--bsw-ink);
  font-family: var(--bsw-font-kr);
  font-size: 15px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--bsw-accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.bsw-skip-link {
  position: absolute; left: 12px; top: -40px;
  padding: 8px 14px; background: var(--bsw-accent); color: #fff;
  font-size: 13px; font-weight: 700; border-radius: 8px;
  text-decoration: none; z-index: 100; transition: top .15s;
}
.bsw-skip-link:focus { top: 8px; }

.bsw-container { max-width: var(--bsw-container); margin: 0 auto; padding: 0 40px; }
.bsw-container--narrow { max-width: 760px; }
.bsw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 18px; }
@media (max-width: 1000px) { .bsw-grid { grid-template-columns: 1fr; } }

.bsw-header { position: sticky; top: 0; z-index: 5; background: rgba(250,247,241,0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bsw-line); }
.bsw-header__inner { max-width: var(--bsw-container); margin: 0 auto; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.bsw-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.bsw-logo__mark { flex: 0 0 40px; box-sizing: border-box; width: 40px; height: 40px; border-radius: 9px; background: var(--bsw-accent); color: #fff; font-family: var(--bsw-font-orbit); font-weight: 900; font-size: 21px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding-bottom: 2px; }
.bsw-logo__wordmark { display: flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.12; }
.bsw-logo__wordmark strong { font-family: var(--bsw-font-orbit); font-weight: 400; font-size: 18px; letter-spacing: 0.01em; color: var(--bsw-ink); height: 23px; }
.bsw-logo__wordmark small { font-family: var(--bsw-font-orbit); font-size: 9.5px; letter-spacing: 0.18em; color: var(--bsw-muted); text-transform: uppercase; height: 12px; }
.bsw-nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.bsw-nav a { font-size: 14px; font-weight: 500; color: var(--bsw-ink-2); text-decoration: none; }
.bsw-nav a:hover { color: var(--bsw-accent); }
.bsw-header__actions { display: flex; gap: 8px; align-items: center; }
.bsw-searchform { display: inline-flex; gap: 4px; align-items: center; }
.bsw-searchform input { padding: 8px 12px; border: 1px solid var(--bsw-line); border-radius: 8px; background: transparent; font-size: 13px; }
.bsw-searchform button { width: 38px; height: 38px; border: 1px solid var(--bsw-line); background: transparent; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--bsw-ink-2); }
.bsw-searchform button:hover { color: var(--bsw-accent); border-color: var(--bsw-line-strong); }

/* 헤더 접이식 검색 — 돋보기 클릭 시 좌측으로 입력칸 확장 (JS 향상, no-JS면 항상 보임) */
.bsw-headsearch { display: flex; align-items: center; }
.bsw-headsearch__input {
  width: 190px; padding: 8px 12px; border: 1px solid var(--bsw-line); border-radius: 10px;
  background: transparent; font-family: inherit; font-size: 13px; color: var(--bsw-ink);
  transition: width .28s cubic-bezier(.2,.7,.3,1), opacity .2s ease, padding .28s ease, border-color .18s ease;
}
.bsw-headsearch__input::placeholder { color: var(--bsw-faint); }
.bsw-headsearch__input:focus { outline: none; border-color: var(--bsw-accent); }
.bsw-headsearch__btn {
  flex: 0 0 38px; width: 38px; height: 38px; margin-left: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--bsw-line); background: transparent; border-radius: 10px;
  color: var(--bsw-ink-2); cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.bsw-headsearch__btn:hover { color: var(--bsw-accent); border-color: var(--bsw-line-strong); }
/* JS 향상 시: 기본은 접힘 (데스크톱 전용 — 모바일은 별도 규칙) */
.bsw-headsearch:not(.bsw-headsearch--mobile).is-js .bsw-headsearch__input {
  width: 0; padding-left: 0; padding-right: 0; margin: 0; opacity: 0; border-color: transparent; pointer-events: none;
}
.bsw-headsearch:not(.bsw-headsearch--mobile).is-js.is-open .bsw-headsearch__input {
  width: 200px; padding: 8px 12px; opacity: 1; border-color: var(--bsw-line); pointer-events: auto;
}
.bsw-headsearch.is-js.is-open .bsw-headsearch__btn { background: var(--bsw-accent); border-color: var(--bsw-accent); color: #fff; }
/* 모바일 검색 폼 — 데스크톱에선 숨김(모바일 상단바에서만 노출) */
.bsw-headsearch--mobile { display: none; }

.bsw-cta { padding: 11px 18px; font-size: 13.5px; font-weight: 600; border-radius: 10px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.bsw-cta--ghost { background: transparent; color: var(--bsw-ink); border: 1px solid var(--bsw-line-strong); }
.bsw-cta--outline { background: transparent; color: var(--bsw-ink); border: 1.5px solid var(--bsw-accent); }

.bsw-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; padding: 18px 0; }
.bsw-hero h1 { font-size: 34px; font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; margin: 14px 0 0; }
.bsw-hero h1 em { font-style: normal; color: var(--bsw-accent); }
.bsw-hero p { font-size: 14.5px; line-height: 1.65; color: var(--bsw-muted); margin: 14px 0 22px; max-width: 440px; }
.bsw-eyebrow { font-family: var(--bsw-font-orbit); font-size: 10.5px; letter-spacing: 0.24em; color: var(--bsw-accent); font-weight: 700; text-transform: uppercase; }
@media (max-width: 768px) { .bsw-hero { grid-template-columns: 1fr; } .bsw-hero h1 { font-size: 24px; } }

.bsw-feed__head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--bsw-line); margin-bottom: 24px; }
.bsw-feed__head h2 { font-size: 26px; font-weight: 800; margin: 6px 0 0; }
.bsw-card { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 16px; padding: 24px 28px; margin-bottom: 14px; }
.bsw-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--bsw-muted); }
.bsw-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.4; margin: 0 0 9px; }
.bsw-card h3 a { color: var(--bsw-ink); text-decoration: none; }
.bsw-card h3 a:hover { color: var(--bsw-accent); }
.bsw-card p { font-size: 15.5px; line-height: 1.65; color: var(--bsw-muted); margin: 0; }

.bsw-cat-pill { display: inline-flex; padding: 5px 11px; font-size: 12.5px; font-weight: 600; border-radius: 6px; background: var(--bsw-bg-alt); color: var(--bsw-ink-2); white-space: nowrap; }
.bsw-cat-pill--sanjae-basics, .bsw-cat-pill--basics { background: #f3ece1; color: #7a6041; }
.bsw-cat-pill--application, .bsw-cat-pill--apply { background: #fde6da; color: #c14a1d; }
.bsw-cat-pill--compensation { background: #e2edf5; color: #235a93; }
.bsw-cat-pill--work-disease { background: #ece1ef; color: #7b3c8c; }
.bsw-cat-pill--cases { background: #e3eee1; color: #3f7a4f; }

.bsw-article { min-width: 0; }
.bsw-article h1 { font-size: 36px; line-height: 1.3; font-weight: 800; margin: 0 0 16px; }
.bsw-article__subtitle { display: block; margin-top: 10px; font-size: 19px; line-height: 1.45; font-weight: 500; color: var(--bsw-ink-2); letter-spacing: -0.02em; }
.bsw-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--bsw-faint); }
.bsw-breadcrumb a { text-decoration: none; }
.bsw-breadcrumb a.bsw-cat-pill { transition: filter .15s ease; }
.bsw-breadcrumb a.bsw-cat-pill:hover { filter: brightness(.96); }
.bsw-article__meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--bsw-muted); padding-bottom: 24px; border-bottom: 1px solid var(--bsw-line); margin-bottom: 24px; }
.bsw-article__updated { display: inline-flex; align-items: center; gap: 5px; color: var(--bsw-muted); font-weight: 400; font-family: var(--bsw-font-orbit); letter-spacing: 0.04em; }
.bsw-article__updated-badge { padding: 2px 7px; border-radius: 4px; background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); font-size: 11px; font-weight: 700; font-family: var(--bsw-font-kr); letter-spacing: 0; }
.bsw-article__body { font-size: 17px; line-height: 1.88; color: var(--bsw-ink-2); }
.bsw-article__body h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin: 36px 0 14px; color: var(--bsw-ink); }

.bsw-tags { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bsw-line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bsw-tags a { padding: 5px 11px; font-size: 12.5px; color: var(--bsw-ink-2); border: 1px solid var(--bsw-line); background: var(--bsw-card); border-radius: 999px; text-decoration: none; }
.bsw-tags a::before { content: "#"; }

.bsw-notice { margin: 24px 0; padding: 14px 18px; border-radius: 12px; background: var(--bsw-accent-soft); border: 1px solid rgba(232,92,44,0.2); }
.bsw-notice--warn { background: #fef9ed; border-color: #f1e3b8; }
.bsw-notice--info { background: var(--bsw-accent-soft); border-color: rgba(232,92,44,0.2); }
.bsw-notice--tip { background: #eaf3ec; border-color: #bbd6c1; }
.bsw-notice strong { display: block; color: var(--bsw-accent-deep); margin-bottom: 6px; }
/* 첫/마지막 자식 margin 제거 → 위·아래 여백을 padding(14px)으로 대칭 유지 */
.bsw-notice > :first-child { margin-top: 0; }
.bsw-notice > :last-child { margin-bottom: 0; }
/* ─── [notice] 라인 SVG 배지 + 좌측 컬러바 (시안 B안) ─── */
.bsw-notice--icon { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 16px 18px 16px 20px; border-radius: 12px; border: 1px solid; overflow: hidden; }
.bsw-notice--icon::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.bsw-notice__icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.bsw-notice__icon svg { width: 20px; height: 20px; }
.bsw-notice__label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.01em; margin-bottom: 4px; }
.bsw-notice__body { font-size: 14px; line-height: 1.72; color: var(--bsw-ink-2); }
.bsw-notice__body > :first-child { margin-top: 0; }
.bsw-notice__body > :last-child { margin-bottom: 0; }
.bsw-notice--icon.bsw-notice--warn { background: #fef9ed; border-color: #f1e3b8; }
.bsw-notice--icon.bsw-notice--warn::before { background: #d8a72a; }
.bsw-notice--icon.bsw-notice--warn .bsw-notice__icon { background: #f7edcf; color: #7a5a14; }
.bsw-notice--icon.bsw-notice--warn .bsw-notice__label { color: #7a5a14; }
.bsw-notice--icon.bsw-notice--info { background: var(--bsw-accent-soft); border-color: rgba(232,92,44,0.22); }
.bsw-notice--icon.bsw-notice--info::before { background: var(--bsw-accent); }
.bsw-notice--icon.bsw-notice--info .bsw-notice__icon { background: #fbd3c2; color: var(--bsw-accent-deep); }
.bsw-notice--icon.bsw-notice--info .bsw-notice__label { color: var(--bsw-accent-deep); }
.bsw-notice--icon.bsw-notice--tip { background: #eaf3ec; border-color: #bbd6c1; }
.bsw-notice--icon.bsw-notice--tip::before { background: #4f9266; }
.bsw-notice--icon.bsw-notice--tip .bsw-notice__icon { background: #d6e8da; color: #3f7a4f; }
.bsw-notice--icon.bsw-notice--tip .bsw-notice__label { color: #3f7a4f; }

/* ─── [quote] 대형 풀쿼트 (시안 B안) ─── */
.bsw-quote { margin: 40px 0; text-align: center; padding: 8px 20px; }
.bsw-quote__mark { display: block; font-family: var(--bsw-font-orbit); font-size: 60px; line-height: 0.6; color: var(--bsw-accent); opacity: 0.5; }
.bsw-quote p { font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: -0.02em; color: var(--bsw-ink); margin: 6px 0 0; text-wrap: balance; }
.bsw-quote cite { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; font-style: normal; color: var(--bsw-muted); }
.bsw-quote cite::before { content: ""; width: 22px; height: 1px; background: var(--bsw-line-strong); }

/* ─── [tldr] 번호 요약 (시안 C안) ─── */
.bsw-tldr { background: var(--bsw-accent-soft); border-radius: 14px; padding: 20px 22px; margin: 24px 0; }
.bsw-tldr__eyebrow { display: block; font-family: var(--bsw-font-orbit); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bsw-accent-deep); font-weight: 700; margin-bottom: 12px; }
.bsw-tldr__list { margin: 0; padding: 0; list-style: none; counter-reset: bsw-t; display: flex; flex-direction: column; gap: 12px; }
.bsw-tldr__list li { counter-increment: bsw-t; display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 14.5px; color: var(--bsw-ink-2); line-height: 1.6; }
.bsw-tldr__list li::before { content: counter(bsw-t, decimal-leading-zero); font-family: var(--bsw-font-orbit); font-size: 13px; color: var(--bsw-accent-deep); font-weight: 700; }

/* ─── [steps] 타임라인 (시안 B안) ─── */
.bsw-steps { list-style: none; padding: 0; margin: 24px 0; }
.bsw-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 0 0 22px; }
.bsw-steps li::before { content: ""; position: absolute; left: 17px; top: 34px; bottom: -2px; width: 2px; background: var(--bsw-line-strong); }
.bsw-steps li:last-child { padding-bottom: 0; }
.bsw-steps li:last-child::before { display: none; }
.bsw-step-num { width: 36px; height: 36px; border-radius: 999px; background: var(--bsw-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--bsw-font-kr); font-weight: 800; font-size: 16px; line-height: 1; z-index: 1; }
.bsw-step-body { min-width: 0; }
.bsw-step-body strong { display: block; padding-top: 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--bsw-ink); }
.bsw-step-body span { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.65; color: var(--bsw-muted); }

/* ─── [checklist] 채움 체크마크 (시안 B안) ─── */
.bsw-checklist { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; }
.bsw-checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 11px; padding: 9px 0; align-items: start; font-size: 15px; color: var(--bsw-ink-2); }
.bsw-checklist li:not(:last-child) { border-bottom: 1px dashed var(--bsw-line); }
.bsw-check { width: 22px; height: 22px; border-radius: 6px; background: var(--bsw-accent); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.bsw-check svg { width: 14px; height: 14px; color: #fff; }

/* ─── [kv] accent 라벨 + 줄무늬 (시안 B안) ─── */
.bsw-kv { display: grid; grid-template-columns: 170px 1fr; border: 1px solid var(--bsw-line-strong); border-radius: 12px; overflow: hidden; margin: 24px 0; }
.bsw-kv dt, .bsw-kv dd { padding: 13px 18px; margin: 0; font-size: 14px; border-bottom: 1px solid var(--bsw-line); }
.bsw-kv dt { font-weight: 700; color: var(--bsw-accent-deep); background: var(--bsw-accent-soft); }
.bsw-kv dd { color: var(--bsw-ink-2); background: var(--bsw-card); }
.bsw-kv dt:last-of-type, .bsw-kv dd:last-of-type { border-bottom: none; }

/* ─── [compare] 장단점 O/X (시안 B안) ─── */
.bsw-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.bsw-compare__col { border: 1px solid var(--bsw-line); border-radius: 12px; overflow: hidden; background: var(--bsw-card); }
.bsw-compare__h { display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-weight: 800; font-size: 13.5px; background: var(--bsw-bg-alt); color: var(--bsw-ink); }
.bsw-compare__h svg { width: 18px; height: 18px; }
.bsw-compare__col--pro .bsw-compare__h { background: #eaf3ec; color: #3f7a4f; }
.bsw-compare__col--con .bsw-compare__h { background: #fbeae3; color: var(--bsw-accent-deep); }
.bsw-compare__list { list-style: none; margin: 0; padding: 12px 16px; display: flex; flex-direction: column; gap: 9px; }
.bsw-compare__list li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--bsw-ink-2); line-height: 1.55; }
.bsw-compare__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 999px; background: var(--bsw-line-strong); }
.bsw-compare__col--pro .bsw-compare__list li::before { background: #4f9266; }
.bsw-compare__col--con .bsw-compare__list li::before { background: var(--bsw-accent); }
.bsw-compare__free { padding: 12px 16px; font-size: 14px; line-height: 1.65; color: var(--bsw-ink-2); }
@media (max-width: 520px) { .bsw-compare { grid-template-columns: 1fr; } }

/* ─── [btn] soft(ghost) 변형 ─── */
.bsw-cta--soft { background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); border: 1px solid transparent; }
.bsw-cta--soft:hover { background: #fbd3c2; }

/* ─── [related] 카드 + 화살표 (시안 B안) ─── */
.bsw-related-inline { display: flex; align-items: center; gap: 16px; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 12px; padding: 16px 18px; text-decoration: none; margin: 24px 0; transition: border-color .15s ease; }
.bsw-related-inline:hover { border-color: var(--bsw-accent); }
.bsw-related-inline__ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); display: inline-flex; align-items: center; justify-content: center; }
.bsw-related-inline__ic svg { width: 20px; height: 20px; }
.bsw-related-inline__tx { min-width: 0; flex: 1; height: 42px; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0; }
.bsw-related-inline__tx .bsw-eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsw-related-inline__tx strong { display: block; font-size: 15px; line-height: 1.3; color: var(--bsw-ink); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsw-related-inline__ar { flex: 0 0 auto; margin-left: 12px; color: var(--bsw-faint); font-size: 18px; }

.bsw-sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bsw-line-strong); }
.bsw-sources header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.bsw-sources h2 { flex: 0 0 auto; white-space: nowrap; font-size: 17px; font-weight: 800; margin: 0; }
.bsw-sources__checked { margin-left: auto; font-size: 11.5px; color: var(--bsw-faint); letter-spacing: -0.005em; }
.bsw-sources ul { list-style: none; padding: 0; margin: 0; }
.bsw-sources li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bsw-line); }
.bsw-sources li:last-child { border-bottom: none; }
.bsw-source-kind { flex: 0 0 auto; white-space: nowrap; padding: 2px 8px; font-size: 11px; font-weight: 700; border-radius: 4px; background: var(--bsw-bg-alt); color: var(--bsw-ink-2); }
.bsw-source-kind--law { background: #f3ece1; color: #7a6041; }
.bsw-source-kind--case { background: #e3eee1; color: #3f7a4f; }
.bsw-source-kind--official { background: #e2edf5; color: #235a93; }
.bsw-source-kind--news { background: var(--bsw-bg-alt); color: var(--bsw-muted); }
.bsw-sources a, .bsw-sources__label { flex: 1; min-width: 0; color: var(--bsw-ink-2); text-decoration: none; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsw-sources__arrow { flex: 0 0 auto; color: var(--bsw-faint); }
.bsw-sources a:hover { color: var(--bsw-accent); }

/* 본문 목차 (TOC) — 시안 InlineToc 일치 */
.bsw-toc { margin: 0 0 32px; border: 1px solid var(--bsw-line); border-radius: 10px; background: var(--bsw-bg-alt); overflow: hidden; }
.bsw-toc__head { list-style: none; cursor: pointer; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bsw-toc__head::-webkit-details-marker { display: none; }
.bsw-toc__head::marker { content: ''; }
.bsw-toc__titles { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bsw-toc__kicker { letter-spacing: 0.22em; }
.bsw-toc__label { font-size: 14px; font-weight: 700; color: var(--bsw-ink); letter-spacing: -0.025em; }
.bsw-toc__count { font-family: var(--bsw-font-orbit); font-size: 10.5px; letter-spacing: 0.12em; color: var(--bsw-faint); }
.bsw-toc__chevron { display: inline-flex; color: var(--bsw-muted); transition: transform .18s ease; }
.bsw-toc[open] .bsw-toc__chevron { transform: rotate(180deg); }
.bsw-toc__list { list-style: none; margin: 0; padding: 4px 20px 16px; border-top: 1px solid var(--bsw-line); }
.bsw-toc__list a { display: flex; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--bsw-line); }
.bsw-toc__list li:last-child a { border-bottom: none; }
.bsw-toc__num { font-family: var(--bsw-font-orbit); font-size: 11px; color: var(--bsw-accent); letter-spacing: 0.04em; flex: 0 0 22px; }
.bsw-toc__text { font-size: 14px; line-height: 1.45; color: var(--bsw-ink-2); font-weight: 500; letter-spacing: -0.015em; }
.bsw-toc__list a:hover .bsw-toc__text { color: var(--bsw-accent); }
/* 앵커 점프 시 스티키 헤더에 가리지 않도록 여백 확보 */
.bsw-article__body h2 { scroll-margin-top: 84px; }

.bsw-sidebar > * { margin-bottom: 18px; }
.bsw-popular { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 14px; padding: 20px; }
.bsw-popular h3 { font-size: 14px; font-weight: 800; margin: 0 0 16px; }
.bsw-popular ol { list-style: none; padding: 0; counter-reset: pop; margin: 0; }
.bsw-popular li { counter-increment: pop; padding: 9px 0; border-bottom: 1px solid var(--bsw-line); font-size: 13px; }
.bsw-popular li:last-child { border-bottom: none; }
.bsw-popular li::before { content: counter(pop, decimal-leading-zero); display: inline-block; width: 22px; height: 22px; border-radius: 7px; background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); font-family: var(--bsw-font-orbit); font-size: 11.5px; font-weight: 800; text-align: center; line-height: 22px; margin-right: 12px; }
.bsw-popular a { color: var(--bsw-ink-2); text-decoration: none; }
.bsw-empty-small { font-size: 13px; color: var(--bsw-muted); }

.bsw-ad-placeholder { padding: 20px; border: 1px dashed var(--bsw-line-strong); border-radius: 12px; color: var(--bsw-muted); font-size: 12.5px; text-align: center; background: var(--bsw-card); margin: 18px 0; }

/* ──────────────────────────────────────────────────────────
 * Ad slots — reserve space (CLS 0) + responsive fill
 * The box keeps its height before the ad loads, so content
 * below never jumps. Responsive ads center & fill within it.
 * ────────────────────────────────────────────────────────── */
.bsw-ad { display: flex; align-items: center; justify-content: center; margin: 18px 0; overflow: hidden; }
/* 시안: 와이드 배너존 위 우측 캡션 — 직접 배너 영업 안내 */
.bsw-ad__caption { font-size: 10.5px; color: var(--bsw-faint); text-align: right; letter-spacing: -0.005em; margin: 18px 0 6px; }
.bsw-ad__caption + .bsw-ad { margin-top: 0; }
/* 광고 미게재(승인 전) 방문자용 — 예약 크기의 빈 배너 프레임 + 규격 표시.
 * 광고주가 배너 규격을 가늠하도록 실제 예약 높이를 그대로 점유. */
.bsw-ad--empty { border: 1px dashed var(--bsw-line-strong); border-radius: 12px; background: var(--bsw-card); }
.bsw-ad__empty-label { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--bsw-font-orbit); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bsw-faint); }
.bsw-ad__empty-size { font-family: var(--bsw-font-orbit); font-size: 13px; letter-spacing: 0.04em; color: var(--bsw-muted); }
/* 관리자 미리보기: 빈 프레임을 실제 배너 크기로 점유하고, 그 안에 슬롯 ID + 위젯 링크를 함께 표시 */
.bsw-ad--admin { flex-direction: column; gap: 10px; padding: 16px; }
.bsw-ad__admin-meta { font-size: 12px; color: var(--bsw-muted); letter-spacing: -0.01em; text-align: center; }
.bsw-ad__admin-meta code { font-size: 11.5px; background: var(--bsw-bg); border: 1px solid var(--bsw-line); border-radius: 5px; padding: 1px 6px; color: var(--bsw-ink); }
.bsw-ad__admin-meta a { color: var(--bsw-accent); text-decoration: none; }
.bsw-ad__admin-meta a:hover { text-decoration: underline; }
.bsw-ad__admin-flag { color: var(--bsw-accent-deep); font-weight: 700; }
.bsw-ad > * { max-width: 100%; }
.bsw-ad ins, .bsw-ad .adsbygoogle { display: block; width: 100%; }
.bsw-ad--ad-hero          { min-height: 280px; }  /* 336×280  */
.bsw-ad--ad-top-banner    { min-height: 250px; }  /* 970×250  */
.bsw-ad--ad-in-feed       { min-height: 250px; }
.bsw-ad--ad-in-article    { min-height: 250px; }
.bsw-ad--ad-sidebar-mpu   { min-height: 250px; }  /* 300×250  */
.bsw-ad--ad-footer        { min-height: 90px;  }  /* 728×90   */
.bsw-ad--ad-sidebar-mpu, .bsw-ad--ad-sidebar-sticky { max-width: 300px; margin-inline: auto; }

/* Sticky sidebar (300×600) — actually follows on scroll */
.bsw-ad--ad-sidebar-sticky { min-height: 600px; position: sticky; top: 88px; }

/* Mobile: drop the sticky + shrink wide reservations so the
   box never reserves more than a mobile ad can fill. */
@media (max-width: 1000px) {
  .bsw-ad--ad-sidebar-sticky { position: static; min-height: 100px; }
  .bsw-ad--ad-top-banner { min-height: 100px; }  /* mobile 320×100 */
}
/* 폰: 히어로 광고를 300×250로 — 좁은 화면에서 336폭이 넘쳐 답답해 보이지 않게 */
@media (max-width: 640px) {
  .bsw-ad--ad-hero { min-height: 250px; max-width: 300px; margin-inline: auto; }
}

.bsw-footer { color: var(--bsw-ink-2); padding: 22px 0 24px; margin-top: 56px; border-top: 1px solid var(--bsw-line); }
.bsw-footer__inner { max-width: var(--bsw-container); margin: 0 auto; padding: 0 40px; }
.bsw-footer__grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 64px; margin-top: 0; }
.bsw-footer h4 { font-size: 12px; font-family: var(--bsw-font-orbit); letter-spacing: 0.16em; color: var(--bsw-faint); text-transform: uppercase; margin: 0 0 14px; }
.bsw-footer ul { list-style: none; padding: 0; margin: 0; }
.bsw-footer ul li a { color: var(--bsw-ink-2); text-decoration: none; line-height: 2; font-size: 13.5px; }
/* 시안: 푸터 카테고리 2열 그리드 */
.bsw-footer__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 480px) { .bsw-footer__cats { display: flex; flex-wrap: wrap; gap: 10px 20px; } }
.bsw-footer__grid p { margin: 14px 0 0; line-height: 1.65; }
.bsw-footer__est { font-family: var(--bsw-font-orbit); font-size: 10px; letter-spacing: 0.24em; color: var(--bsw-faint); margin-top: 14px; display: inline-block; }
.bsw-footer__bottom { margin-top: 19px; padding-top: 18px; border-top: 1px solid var(--bsw-line); display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 12px; color: var(--bsw-muted); }
/* 하단 법적 페이지 메뉴 — wp_nav_menu(<ul>)를 가로로 나열 */
.bsw-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bsw-footer__legal li { margin: 0; }
.bsw-footer__legal a { color: var(--bsw-muted); text-decoration: none; transition: color .15s; }
.bsw-footer__legal a:hover { color: var(--bsw-accent); }

.bsw-404 { padding: 56px 40px 32px; text-align: center; }
.bsw-404__num { font-family: var(--bsw-font-orbit); font-size: 150px; line-height: 1; color: var(--bsw-ink); }

.bsw-empty { padding: 60px 28px; text-align: center; background: var(--bsw-card); border: 1px dashed var(--bsw-line-strong); border-radius: 14px; margin: 18px 0; }
.bsw-empty h2 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.bsw-empty p { font-size: 13.5px; color: var(--bsw-muted); margin: 0 0 24px; }

.bsw-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--bsw-line-strong); }
.bsw-comments header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.bsw-comments h2 { font-size: 22px; font-weight: 800; margin: 0; }
.bsw-comments h2 span { font-family: var(--bsw-font-orbit); font-size: 13px; color: var(--bsw-accent); margin-left: 8px; }
.bsw-comments__empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--bsw-line-strong); border-radius: 12px; background: var(--bsw-bg-alt); margin-bottom: 28px; }
.bsw-comments .commentlist, .bsw-comments__list { list-style: none; padding: 0; }
.bsw-comments .comment { padding: 20px 0; border-bottom: 1px solid var(--bsw-line); }

.bsw-cat-header { display: grid; grid-template-columns: 5px 1fr auto; gap: 18px; align-items: center; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 12px; padding: 22px 24px; margin: 18px 0 0; }
/* stripe 를 텍스트 블록 높이에 맞춰 늘림 → 글자들이 색깔 줄 안에 딱 들어오게 */
.bsw-cat-header__stripe { width: 5px; align-self: stretch; background: var(--bsw-accent); border-radius: 3px; }
.bsw-cat-header h1 { font-size: 23px; font-weight: 800; line-height: 1.28; margin: 0 0 3px; }
.bsw-cat-header p { margin: 0; font-size: 14px; color: var(--bsw-muted); line-height: 1.5; }
.bsw-cat-header p:empty { display: none; } /* the_archive_description 이중 <p> 래핑으로 생기는 빈 단락 제거 */
.bsw-cat-header__count strong { font-family: var(--bsw-font-orbit); font-size: 32px; line-height: 1; }
.bsw-cat-header__count small { font-size: 11.5px; color: var(--bsw-muted); display: block; margin-top: 6px; }

.bsw-search-header { padding: 18px 0; }
.bsw-search-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.bsw-search-header p { color: var(--bsw-muted); margin: 0; }

/* 카드 푸터 — "더 읽기" (시안 카드 일치) */
.bsw-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--bsw-line); }
.bsw-card__more { font-size: 13.5px; font-weight: 700; color: var(--bsw-accent); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bsw-card__more span { transition: transform .15s ease; }
.bsw-card__more:hover span { transform: translateX(3px); }

/* 히어로 배지 + CTA */
.bsw-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); font-size: 12.5px; font-weight: 600; }
.bsw-hero__dot { width: 5px; height: 5px; border-radius: 99px; background: var(--bsw-accent); }
.bsw-hero__cta { margin-top: 26px; }

/* 채움 CTA (헤더 문의하기 등) */
.bsw-cta--primary { background: var(--bsw-accent); color: #fff; border: 1px solid var(--bsw-accent); }
.bsw-cta--primary:hover { background: var(--bsw-accent-deep); border-color: var(--bsw-accent-deep); }

/* 단일 글 하단 관련글 — 스트라이프 카드 + "같은 카테고리/태그" 리즌 칩 (시안 일치) */
.bsw-related { margin-top: 56px; }
.bsw-related__head { display: flex; align-items: flex-end; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--bsw-line); margin-bottom: 20px; }
.bsw-related__head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin: 2px 0 0; }
.bsw-related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bsw-related-card { display: grid; grid-template-columns: 4px 1fr; gap: 16px; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 12px; padding: 16px 18px; text-decoration: none; transition: border-color .15s ease; }
.bsw-related-card:hover { border-color: var(--bsw-line-strong); }
.bsw-related-card__bar { border-radius: 2px; background: var(--bsw-line-strong); }
.bsw-related-card__body { min-width: 0; }
.bsw-related-card__t { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.42; color: var(--bsw-ink); }
.bsw-related-card:hover .bsw-related-card__t { color: var(--bsw-accent); }
.bsw-reason { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: -0.005em; background: var(--bsw-bg-alt); color: var(--bsw-ink-2); }
.bsw-reason--cat { background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); }
.bsw-reason__dot { width: 4px; height: 4px; border-radius: 99px; background: currentColor; opacity: .65; }
.bsw-reason em { font-style: normal; font-family: var(--bsw-font-orbit); font-size: 10px; letter-spacing: 0.03em; opacity: .8; font-weight: 600; margin-left: 1px; }
.bsw-related-card--sanjae-basics .bsw-related-card__bar, .bsw-related-card--basics .bsw-related-card__bar { background: #7a6041; }
.bsw-related-card--application .bsw-related-card__bar, .bsw-related-card--apply .bsw-related-card__bar { background: #c14a1d; }
.bsw-related-card--compensation .bsw-related-card__bar { background: #235a93; }
.bsw-related-card--work-disease .bsw-related-card__bar { background: #7b3c8c; }
.bsw-related-card--cases .bsw-related-card__bar { background: #3f7a4f; }
@media (max-width: 640px) { .bsw-related__grid { grid-template-columns: 1fr; } }

/* 단일 글 하단 제보·문의 CTA 바 (시안 VASingle 일치) */
.bsw-inquiry { display: grid; grid-template-columns: 1.6fr auto; gap: 32px; align-items: center; background: var(--bsw-accent-soft); border: 1px solid rgba(232,92,44,0.2); border-radius: 20px; padding: 36px 44px; margin-top: 56px; }
.bsw-inquiry__kicker { font-family: var(--bsw-font-orbit); font-size: 11px; letter-spacing: 0.28em; color: var(--bsw-accent-deep); margin-bottom: 10px; }
.bsw-inquiry h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; margin: 0; color: var(--bsw-ink); }
.bsw-inquiry .bsw-cta { white-space: nowrap; }
@media (max-width: 640px) {
  .bsw-inquiry { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
  .bsw-inquiry h2 { font-size: 21px; }
}

/* ──────────────────────────────────────────────────────────
 * Contact Form 7 — 문의 폼 스타일 (시안 VAContact 일치)
 * CF7 마크업(.wpcf7-*)을 테마 디자인에 맞춰 입힘. 폼 자체는 CF7가 생성.
 * 운영자는 contact 페이지에 [contact-form-7 ...] 숏코드만 넣으면 됨.
 * ────────────────────────────────────────────────────────── */
.wpcf7 { margin: 0; }
.wpcf7-form { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 18px; padding: 26px 28px; position: relative; }
.wpcf7-form p { margin: 0 0 13px; }
.wpcf7-form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--bsw-ink-2); letter-spacing: -0.01em; }
.wpcf7-form label .bsw-req { color: var(--bsw-accent); margin-left: 3px; }
/* 텍스트·이메일·텍스트영역 */
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-textarea, .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 100%; margin-top: 6px; padding: 10px 13px;
  border: 1px solid var(--bsw-line); border-radius: 10px; background: var(--bsw-bg);
  font-family: inherit; font-size: 14px; line-height: 1.55; color: var(--bsw-ink);
}
.wpcf7-form textarea { min-height: 112px; resize: vertical; }
.wpcf7-form .wpcf7-text:focus, .wpcf7-form .wpcf7-textarea:focus, .wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--bsw-accent); }
.wpcf7-form ::placeholder { color: var(--bsw-faint); }
/* 문의 주제 — 라디오를 칩으로 */
.wpcf7-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item { margin: 0; position: relative; }
/* CF7 6.x는 라디오를 <label>로 감싸지 않음(input·텍스트가 형제). 보이는 input 대신
 * 투명 input 을 칩 전체에 겹쳐 깔아 칩 어디를 눌러도 선택되게 한다. */
.wpcf7-form .wpcf7-radio input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
  display: block; padding: 8px 13px; border: 1px solid var(--bsw-line); border-radius: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--bsw-ink-2); cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item:hover .wpcf7-list-item-label { border-color: var(--bsw-line-strong); }
.wpcf7-form .wpcf7-radio .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label {
  background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); border-color: rgba(232,92,44,0.4); font-weight: 700;
}
/* 동의 체크 (acceptance) */
.wpcf7-form .wpcf7-acceptance { display: block; margin: 2px 0 16px; }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-acceptance label { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; color: var(--bsw-muted); line-height: 1.5; cursor: pointer; }
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--bsw-accent); }
.wpcf7-form .wpcf7-acceptance a { color: var(--bsw-muted); text-decoration: underline; text-underline-offset: 2px; }
.wpcf7-form .wpcf7-acceptance a:hover { color: var(--bsw-accent); }
/* 제출 버튼 */
.wpcf7-form .wpcf7-submit {
  width: 100%; margin-top: 2px; padding: 13px; border: none; border-radius: 11px; cursor: pointer;
  background: var(--bsw-accent); color: #fff; font-family: inherit; font-weight: 800; font-size: 14px; letter-spacing: -0.01em;
  transition: background .15s ease;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--bsw-accent-deep); }
/* 로딩 스피너 — 흐름을 차지하지 않게 버튼 위에 절대배치(레이아웃 밀림 방지) */
.wpcf7-spinner { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); margin: 0; }
/* 응답·검증 메시지 */
.wpcf7-form .wpcf7-response-output { margin: 14px 0 0; padding: 11px 15px; border-radius: 10px; font-size: 12.5px; line-height: 1.55; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output { border: 1px solid #f1c9b8; background: #fdeee6; color: var(--bsw-accent-deep); }
/* 전송 성공: 문의 버튼 바로 아래에 버튼과 같은 모양(폭·라운드)의 박스로 표시 */
.wpcf7-form.sent .wpcf7-response-output {
  margin: 8px 0 0; padding: 13px 16px; border: 1px solid #bbd6c1; border-radius: 11px;
  background: #eef5ef; color: #3f7a4f; text-align: center; font-weight: 700; font-size: 13.5px; line-height: 1.5;
}
.wpcf7-not-valid-tip { color: var(--bsw-accent-deep); font-size: 12px; margin-top: 5px; }
.wpcf7-form .wpcf7-not-valid { border-color: var(--bsw-accent) !important; }

/* 빈 상태 일러스트 + 카테고리 칩 */
.bsw-empty__illust { display: block; margin: 0 auto 16px; color: var(--bsw-faint); }
.bsw-empty__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 22px; }
.bsw-empty__cat { padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--bsw-ink-2); text-decoration: none; background: var(--bsw-bg); border: 1px solid var(--bsw-line); border-radius: 8px; }
.bsw-empty__cat:hover { border-color: var(--bsw-line-strong); }
.bsw-comments__empty .bsw-empty__illust { margin-bottom: 12px; }

/* 아카이브 헤더 키커 (라벨 + 카테고리 pill) */
.bsw-cat-header__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

/* 404 — 카테고리에서 찾기 그리드 */
.bsw-404-browse { margin-bottom: 32px; }
.bsw-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bsw-cat-card { display: grid; grid-template-columns: 5px 1fr auto; gap: 14px; align-items: center; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 10px; padding: 14px 16px; text-decoration: none; transition: border-color .15s ease; }
.bsw-cat-card:hover { border-color: var(--bsw-line-strong); }
.bsw-cat-card__stripe { width: 5px; height: 32px; border-radius: 2px; background: var(--bsw-accent); }
.bsw-cat-card__name { font-size: 14px; font-weight: 700; color: var(--bsw-ink); letter-spacing: -0.02em; }
.bsw-cat-card__arrow { color: var(--bsw-faint); }
.bsw-cat-card--sanjae-basics .bsw-cat-card__stripe, .bsw-cat-card--basics .bsw-cat-card__stripe { background: #7a6041; }
.bsw-cat-card--application .bsw-cat-card__stripe, .bsw-cat-card--apply .bsw-cat-card__stripe { background: #c14a1d; }
.bsw-cat-card--compensation .bsw-cat-card__stripe { background: #235a93; }
.bsw-cat-card--work-disease .bsw-cat-card__stripe { background: #7b3c8c; }
.bsw-cat-card--cases .bsw-cat-card__stripe { background: #3f7a4f; }
@media (max-width: 600px) { .bsw-cat-grid { grid-template-columns: 1fr; } }

/* 검색 — 재검색 박스 + 결과 메타 */
.bsw-search-box { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 12px; padding: 18px 20px; }
.bsw-search-box .bsw-searchform { display: flex; gap: 8px; align-items: center; }
.bsw-search-box .bsw-searchform input { flex: 1; padding: 11px 14px; font-size: 15px; border: 1px solid var(--bsw-line); border-radius: 10px; background: var(--bsw-bg); }
.bsw-search-box .bsw-searchform button { width: auto; padding: 0 16px; height: 42px; border-radius: 10px; border: none; background: var(--bsw-accent); color: #fff; font-weight: 700; cursor: pointer; }
.bsw-search-box__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; color: var(--bsw-ink-2); }
.bsw-search-box__meta b { color: var(--bsw-accent); }
.bsw-search-box__count { font-family: var(--bsw-font-orbit); letter-spacing: 0.04em; }

/* 정렬 탭 + 조회수 */
.bsw-sortbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--bsw-line); margin-bottom: 18px; }
.bsw-sortbar__label { font-size: 13px; color: var(--bsw-muted); }
.bsw-sortbar__label b { color: var(--bsw-ink); font-weight: 700; }
.bsw-sortbar__count { font-family: var(--bsw-font-orbit); color: var(--bsw-ink); font-weight: 700; letter-spacing: 0.04em; margin-right: 2px; }
.bsw-sort { display: inline-flex; gap: 14px; }
.bsw-sort__tab { font-size: 12.5px; color: var(--bsw-muted); text-decoration: none; padding-bottom: 3px; }
.bsw-sort__tab:hover { color: var(--bsw-ink-2); }
.bsw-sort__tab.is-active { color: var(--bsw-ink); font-weight: 700; border-bottom: 1.5px solid var(--bsw-accent); }
.bsw-views { display: inline-flex; align-items: center; gap: 4px; font-family: var(--bsw-font-orbit); font-size: 12.5px; color: var(--bsw-faint); letter-spacing: 0.04em; white-space: nowrap; }
.bsw-views .bsw-eye { display: inline-block; }

/* 검색 — 관련 태그 칩 */
.bsw-search-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--bsw-line); }
.bsw-search-tags__label { font-family: var(--bsw-font-orbit); font-size: 12px; letter-spacing: 0.12em; color: var(--bsw-muted); }
.bsw-search-tags__chip { padding: 5px 11px; font-size: 12.5px; color: var(--bsw-ink-2); border: 1px solid var(--bsw-line); border-radius: 999px; background: var(--bsw-card); text-decoration: none; }
.bsw-search-tags__chip:hover { border-color: var(--bsw-accent); color: var(--bsw-accent); }

/* 검색어 하이라이트 */
.bsw-mark { background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); padding: 1px 4px; border-radius: 3px; font-weight: 700; }

/* 사이드바 용어집 위젯 */
.bsw-glossary-widget { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 14px; padding: 16px 18px; text-decoration: none; transition: border-color .15s ease; }
.bsw-glossary-widget:hover { border-color: var(--bsw-line-strong); }
.bsw-glossary-widget__text { display: flex; flex-direction: column; gap: 4px; }
.bsw-glossary-widget__text strong { font-size: 14px; font-weight: 800; color: var(--bsw-ink); letter-spacing: -0.02em; }
.bsw-glossary-widget__text small { font-size: 12px; color: var(--bsw-muted); }
.bsw-glossary-widget__count { font-family: var(--bsw-font-orbit); color: var(--bsw-accent); font-weight: 700; letter-spacing: 0.02em; }
.bsw-glossary-widget__icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 99px; background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); display: inline-flex; align-items: center; justify-content: center; }

/* ─── 본문 용어집 링크(.glossaryLink) + 호버 시 자체 디자인 카드 ─── */
/* 플러그인 기본 회색 점선을 이기려 !important — 블로그 강조색(주황) 점선으로 */
a.glossaryLink {
  color: inherit;
  text-decoration: none !important;
  border-bottom: 1px dotted var(--bsw-accent) !important;
  cursor: help;
  transition: color .15s ease, border-color .15s ease;
}
a.glossaryLink:hover { color: var(--bsw-accent); border-bottom-color: var(--bsw-accent-deep) !important; }
/* 플러그인 기본 툴팁 숨기고 자체 카드로 대체 */
#tt, .qtipPlugin, .ui-tooltip, .glossary-tooltip { display: none !important; }
.bsw-glossary-tooltip {
  position: absolute; z-index: 999; width: 300px; max-width: calc(100vw - 24px);
  background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 14px;
  padding: 14px 18px; box-shadow: 0 14px 36px rgba(28, 24, 19, 0.14);
  opacity: 0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: auto; display: none;
}
.bsw-glossary-tooltip.is-visible { display: block; }
.bsw-glossary-tooltip.is-visible.is-shown { opacity: 1; transform: translateY(0); }
.bsw-glossary-tooltip__eyebrow { display: block; font-family: var(--bsw-font-orbit); font-size: 10px; letter-spacing: 0.18em; color: var(--bsw-accent); font-weight: 700; text-transform: uppercase; margin: 0 0 8px; }
.bsw-glossary-tooltip__title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--bsw-ink); letter-spacing: -0.02em; line-height: 1.3; }
.bsw-glossary-tooltip__body { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: var(--bsw-ink-2); }
.bsw-glossary-tooltip__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--bsw-accent); text-decoration: none; letter-spacing: -0.01em; }
.bsw-glossary-tooltip__cta:hover { color: var(--bsw-accent-deep); }
/* 말풍선 꼬리 */
.bsw-glossary-tooltip::after { content: ''; position: absolute; width: 12px; height: 12px; background: var(--bsw-card); transform: rotate(45deg); }
.bsw-glossary-tooltip:not(.is-below)::after { bottom: -7px; left: var(--arrow-left, 50%); margin-left: -6px; border-right: 1px solid var(--bsw-line); border-bottom: 1px solid var(--bsw-line); }
.bsw-glossary-tooltip.is-below::after { top: -7px; left: var(--arrow-left, 50%); margin-left: -6px; border-left: 1px solid var(--bsw-line); border-top: 1px solid var(--bsw-line); }

/* ─── 용어집 페이지 (page-glossary.php) ───────────── */
.bsw-glossary-page { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.bsw-glossary-header h1 {
  font-size: 36px; font-weight: 800; letter-spacing: -0.035em;
  margin: 6px 0 10px; color: var(--bsw-ink); line-height: 1.15;
}
.bsw-glossary-header__desc { font-size: 13.5px; line-height: 1.6; color: var(--bsw-muted); max-width: 560px; }
.bsw-glossary-header__desc p { margin: 0; }

.bsw-glossary-nav {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 12px 14px; background: var(--bsw-card);
  border: 1px solid var(--bsw-line); border-radius: 12px;
}
.bsw-glossary-nav__item {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; font-size: 14px; font-weight: 700;
  border-radius: 7px; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.bsw-glossary-nav__item.is-active { border: 1px solid var(--bsw-line-strong); color: var(--bsw-ink); background: var(--bsw-card); }
.bsw-glossary-nav__item.is-active:hover { background: var(--bsw-accent); color: #fff; border-color: var(--bsw-accent); }
.bsw-glossary-nav__item.is-empty { color: var(--bsw-faint); cursor: default; }

.bsw-glossary-sections { display: flex; flex-direction: column; gap: 20px; }
.bsw-glossary-section { border-top: 1px solid var(--bsw-line); padding-top: 16px; scroll-margin-top: 90px; }
.bsw-glossary-section__letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1.5px solid var(--bsw-accent);
  color: var(--bsw-accent); font-size: 14px; font-weight: 800;
  border-radius: 7px; margin: 0 0 10px;
}
.bsw-glossary-term { padding: 12px 0; border-bottom: 1px solid var(--bsw-line); }
.bsw-glossary-term:last-child { border-bottom: none; }
.bsw-glossary-term__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 3px; }
.bsw-glossary-term__title { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--bsw-ink); }
.bsw-glossary-term__related { font-size: 12px; color: var(--bsw-accent); text-decoration: none; white-space: nowrap; }
.bsw-glossary-term__related:hover { color: var(--bsw-accent-deep); }
.bsw-glossary-term__desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--bsw-ink-2); }
.bsw-glossary-empty { text-align: center; color: var(--bsw-muted); padding: 60px 0; }
@media (max-width: 640px) {
  .bsw-glossary-header h1 { font-size: 32px; }
  .bsw-glossary-term__head { flex-direction: column; gap: 4px; align-items: flex-start; }
}

@media print {
  .bsw-header, .bsw-footer, .bsw-sidebar, .bsw-ad-placeholder, .bsw-ad--empty, .bsw-comments { display: none; }
}

/* ── Author E-E-A-T box ───────────────────────────────────── */
.bsw-author { margin-top: 48px; padding: 26px 28px; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 16px; }
.bsw-author__top { display: flex; gap: 18px; align-items: stretch; }
.bsw-author__avatar { width: 72px; height: auto; align-self: stretch; object-fit: cover; border-radius: 16px; flex-shrink: 0; }
.bsw-author__id { display: flex; flex-direction: column; justify-content: center; }
.bsw-author__id .bsw-eyebrow { font-size: 9.5px; }
.bsw-author__id .bsw-eyebrow { font-size: 9.5px; line-height: 1; }
.bsw-author__name { font-family: var(--bsw-font-orbit); font-size: 18px; line-height: 1.1; font-weight: 800; letter-spacing: 0.01em; margin: 3px 0 0; }
.bsw-author__cred { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bsw-author__role { font-family: var(--bsw-font-orbit); font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 6px; background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); white-space: nowrap; letter-spacing: 0.02em; }
.bsw-author__exp { font-family: var(--bsw-font-orbit); font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 6px; background: var(--bsw-bg-alt); color: var(--bsw-ink-2); white-space: nowrap; letter-spacing: 0.02em; }
.bsw-author__bio { font-size: 14px; line-height: 1.75; color: var(--bsw-ink-2); margin: 16px 0 0; }
.bsw-author__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bsw-line); }
.bsw-author__links a { font-size: 12.5px; color: var(--bsw-muted); text-decoration: none; }
.bsw-author__links a strong { color: var(--bsw-ink-2); font-weight: 700; }
.bsw-author__links a:hover { color: var(--bsw-accent); }
.bsw-author__disclaimer { margin: 16px 0 0; padding: 12px 14px; background: var(--bsw-bg-alt); border-radius: 9px; font-size: 12px; line-height: 1.65; color: var(--bsw-muted); }

/* ──────────────────────────────────────────────
 * Mobile nav drawer (햄버거) + 반응형 보완
 * ────────────────────────────────────────────── */
.bsw-navtoggle { display: none; }
.bsw-header__mnav { display: none; }
.bsw-msearchbar { display: none; }
.bsw-drawer, .bsw-drawer-backdrop { display: none; }

@media (max-width: 960px) {
  /* 데스크톱 인라인 메뉴/액션 → 햄버거로 교체 (태블릿 중간폭 포함: ≤960px). 본문 그리드(≤1000)와 정렬해 좁은 폭에서 메뉴 줄바꿈 방지 */
  .bsw-nav--desktop, .bsw-header__actions--desktop { display: none; }
  .bsw-header__inner { gap: 10px; }
  /* 모바일 상단바: 로고 서브라인 숨김(공간 절약) */
  .bsw-logo__wordmark small { display: none; }
  .bsw-navtoggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0; cursor: pointer;
    background: transparent; border: 1px solid var(--bsw-line-strong); border-radius: 10px;
  }
  .bsw-navtoggle__bars { width: 18px; }
  .bsw-navtoggle__bars span { display: block; height: 2px; margin: 4px 0; background: var(--bsw-ink); border-radius: 2px; }

  .bsw-drawer-backdrop {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(28,24,19,0.42); opacity: 0; pointer-events: none;
    transition: opacity .22s ease;
  }
  body.bsw-drawer-open .bsw-drawer-backdrop { opacity: 1; pointer-events: auto; }

  .bsw-drawer {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(84vw, 330px); padding: 0;
    background: var(--bsw-bg); border-left: 1px solid var(--bsw-line);
    box-shadow: -16px 0 48px rgba(28,24,19,0.18);
    transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.7,.3,1);
    overflow-y: auto;
  }
  body.bsw-drawer-open .bsw-drawer { transform: translateX(0); }

  /* 드로어 헤더: Menu 라벨 + 닫기 */
  .bsw-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid var(--bsw-line);
  }
  .bsw-drawer__eyebrow {
    font-family: var(--bsw-font-orbit); font-size: 10px; letter-spacing: 0.24em;
    color: var(--bsw-muted); text-transform: uppercase;
  }
  .bsw-navclose {
    width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--bsw-accent); border-radius: 6px;
    background: var(--bsw-accent-soft); color: var(--bsw-accent-deep); cursor: pointer;
  }
  .bsw-drawer__label {
    display: block; font-family: var(--bsw-font-orbit); font-size: 9.5px; letter-spacing: 0.22em;
    color: var(--bsw-faint); text-transform: uppercase; margin-bottom: 4px;
  }
  /* 카테고리: 색점 + 이름 + 화살표 */
  .bsw-drawer__cats { padding: 18px 20px 12px; }
  .bsw-drawer__cat {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--bsw-line);
  }
  .bsw-drawer__cat-name { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: var(--bsw-ink); }
  .bsw-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--bsw-muted); flex: 0 0 6px; }
  .bsw-dot--sanjae-basics { background: #7a6041; }
  .bsw-dot--application { background: #c14a1d; }
  .bsw-dot--compensation { background: #235a93; }
  .bsw-dot--work-disease { background: #7b3c8c; }
  .bsw-dot--cases { background: #3f7a4f; }
  .bsw-drawer__arrow { color: var(--bsw-faint); flex: 0 0 auto; }
  .bsw-drawer__cat:hover .bsw-drawer__cat-name,
  .bsw-drawer__cat:hover .bsw-drawer__arrow { color: var(--bsw-accent); }
  /* 페이지 링크 — 하단으로 밀착 */
  .bsw-drawer__pages { margin-top: auto; padding: 16px 20px 10px; }
  .bsw-drawer__pagelist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .bsw-drawer__pagelist a { font-size: 11.5px; font-weight: 500; color: var(--bsw-muted); text-decoration: none; letter-spacing: -0.01em; }
  .bsw-drawer__pagelist a:hover { color: var(--bsw-accent); }
  .bsw-drawer__foot { margin-top: auto; padding: 12px 20px 22px; border-top: 1px solid var(--bsw-line); }
  .bsw-drawer__pages + .bsw-drawer__foot { margin-top: 0; }
  .bsw-cta--block { width: 100%; justify-content: center; }

  /* 모바일 우측 액션 그룹: [검색][햄버거] */
  .bsw-header__inner { position: relative; gap: 10px; }
  .bsw-header__mnav { display: flex; align-items: center; gap: 8px; }
  .bsw-msearch-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0; cursor: pointer;
    background: transparent; border: 1px solid var(--bsw-line-strong); border-radius: 10px; color: var(--bsw-ink-2);
  }
  .bsw-msearch-toggle:hover { color: var(--bsw-accent); }
  /* 검색바: 검색 아이콘 탭 시 우→좌로 와이프되며 헤더를 덮음(좌측으로 늘어남). 항상 화면 폭 안. */
  .bsw-msearchbar {
    display: flex; align-items: center; gap: 8px;
    position: absolute; inset: 0; padding: 0 18px; z-index: 6;
    background: var(--bsw-bg);
    clip-path: inset(0 0 0 100%);
    opacity: 0; pointer-events: none;
    transition: clip-path .32s cubic-bezier(.2,.7,.3,1), opacity .18s ease;
  }
  .bsw-msearchbar.is-open { clip-path: inset(0); opacity: 1; pointer-events: auto; }
  .bsw-msearchbar__input {
    flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 14px;
    border: 1px solid var(--bsw-line); border-radius: 10px; background: var(--bsw-card);
    font-family: inherit; font-size: 15px; color: var(--bsw-ink);
  }
  .bsw-msearchbar__input:focus { outline: none; border-color: var(--bsw-accent); }
  .bsw-msearchbar__input::placeholder { color: var(--bsw-faint); }
  .bsw-msearchbar__go, .bsw-msearchbar__close {
    flex: 0 0 42px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--bsw-line-strong); border-radius: 10px; background: transparent; cursor: pointer; color: var(--bsw-ink-2);
  }
  .bsw-msearchbar__go { background: var(--bsw-accent); border-color: var(--bsw-accent); color: #fff; }

}

/* 푸터는 좁은 폰(≤768)에서만 1단으로 — 태블릿(769~960)에선 2단 유지 */
@media (max-width: 768px) {
  .bsw-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .bsw-footer__bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

@media (max-width: 640px) {
  .bsw-container, .bsw-footer__inner { padding-left: 18px; padding-right: 18px; }
  .bsw-header__inner { padding-left: 18px; padding-right: 18px; }
  .bsw-404 { padding-left: 20px; padding-right: 20px; }
  .bsw-404__num { font-size: 96px; }
  .bsw-article h1 { font-size: 28px; }
  .bsw-article__subtitle { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════
 * v0.6.2 — 시안 일치 보강 (페이지네이션 · 카테고리 헤더색 · 댓글 · 카드밀도 · 인기글 · 404 · 날짜)
 * ════════════════════════════════════════════════════════════ */

/* ── 8. 카드 메타 날짜 = Orbit (숫자 글꼴 통일) ───────────────── */
.bsw-card__meta time { font-family: var(--bsw-font-orbit); letter-spacing: 0.06em; }
.bsw-article__read { display: inline-flex; align-items: center; gap: 4px; }
.bsw-article__read .bsw-read__icon { display: inline-block; }

/* ── 1. 페이지네이션 — 시안 칩 스타일 (홈·아카이브·검색) ──────── */
.bsw-feed .pagination { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bsw-line); }
.bsw-feed .pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.bsw-feed .pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 4px; border-radius: 8px;
  font-family: var(--bsw-font-orbit); font-size: 13.5px; font-weight: 500;
  color: var(--bsw-ink-2); text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bsw-feed .pagination a.page-numbers:hover { background: var(--bsw-bg-alt); }
.bsw-feed .pagination .page-numbers.current {
  font-weight: 800; color: var(--bsw-accent-deep);
  background: var(--bsw-accent-soft); border-color: rgba(232,92,44,0.2);
}
.bsw-feed .pagination .page-numbers.dots { min-width: 0; color: var(--bsw-faint); background: none; }
.bsw-feed .pagination .page-numbers.prev,
.bsw-feed .pagination .page-numbers.next {
  width: auto; padding: 0 14px; gap: 6px; font-family: var(--bsw-font-kr);
  font-size: 13.5px; font-weight: 600; border: 1px solid var(--bsw-line); color: var(--bsw-ink);
}
.bsw-feed .pagination .page-numbers.prev:hover,
.bsw-feed .pagination .page-numbers.next:hover { border-color: var(--bsw-line-strong); background: transparent; }

/* ── 2. 카테고리 헤더 색띠 — 슬러그별 (시안 catColor.fg) ───────── */
.bsw-cat-header--sanjae-basics .bsw-cat-header__stripe, .bsw-cat-header--basics .bsw-cat-header__stripe { background: #7a6041; }
.bsw-cat-header--application .bsw-cat-header__stripe, .bsw-cat-header--apply .bsw-cat-header__stripe { background: #c14a1d; }
.bsw-cat-header--compensation .bsw-cat-header__stripe { background: #235a93; }
.bsw-cat-header--work-disease .bsw-cat-header__stripe { background: #7b3c8c; }
.bsw-cat-header--cases .bsw-cat-header__stripe { background: #3f7a4f; }
/* eyebrow는 시안처럼 무채색(faint)으로 — 색은 띠와 pill이 전담 */
.bsw-cat-header .bsw-cat-header__kicker .bsw-eyebrow { color: var(--bsw-faint); }

/* ── 5. 카테고리/검색 카드 — compact 변형 (시안 목록 카드) ─────── */
.bsw-feed--compact .bsw-card { padding: 22px 26px; }
.bsw-feed--compact .bsw-card h3 { font-size: 17px; letter-spacing: -0.025em; line-height: 1.45; }
.bsw-feed--compact .bsw-card p {
  font-size: 14px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 카드 푸터 통계 묶음 — 읽는 시간(⏱) + 조회수(👁) */
.bsw-card__stats { display: inline-flex; align-items: center; gap: 14px; }
.bsw-read { display: inline-flex; align-items: center; gap: 4px; font-family: var(--bsw-font-orbit); font-size: 12.5px; color: var(--bsw-faint); letter-spacing: 0.04em; white-space: nowrap; }
.bsw-read__icon { display: inline-block; }

/* ── 6. 인기글 제목 불꽃 아이콘 ───────────────────────────────── */
.bsw-popular__title { display: flex; align-items: center; gap: 7px; margin: 0 0 16px; font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.bsw-popular__title svg { flex: 0 0 auto; color: var(--bsw-accent); }
.bsw-popular > h3.bsw-popular__title { margin: 0 0 16px; }

/* ── 4. 사이드바 신청기한 박스 = accent-soft (warn 앰버와 구분) ── */
.bsw-notice--deadline { background: var(--bsw-accent-soft); border-color: rgba(232,92,44,0.2); }
.bsw-notice--deadline strong { color: var(--bsw-accent-deep); }
.bsw-notice--deadline b { color: var(--bsw-accent-deep); }
/* 사이드바 신청기한 위젯 — 본문 [notice]보다 작은 글씨 */
.bsw-sidebar .bsw-notice--deadline strong { font-size: 13px; }
.bsw-sidebar .bsw-notice--deadline p { font-size: 13px; line-height: 1.55; }

/* ── 7. 404 최근글 — 번호 리스트 (시안 RECENT) ────────────────── */
.bsw-recent-list { display: flex; flex-direction: column; }
.bsw-recent-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--bsw-line); text-decoration: none; }
.bsw-recent-item__no { font-family: var(--bsw-font-orbit); font-size: 11px; color: var(--bsw-faint); letter-spacing: 0.04em; flex: 0 0 28px; padding-top: 3px; }
.bsw-recent-item__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.bsw-recent-item__meta time { font-size: 11.5px; color: var(--bsw-muted); font-family: var(--bsw-font-orbit); letter-spacing: 0.04em; }
.bsw-recent-item__t { font-size: 14.5px; font-weight: 700; color: var(--bsw-ink); letter-spacing: -0.02em; line-height: 1.4; }
.bsw-recent-item:hover .bsw-recent-item__t { color: var(--bsw-accent); }

/* ── 3. 댓글 — 시안 일치 (아바타·OPERATOR 배지·답글 accent 박스·폼) ── */
.bsw-comments .bsw-comments__list { list-style: none; padding: 0; margin: 0; }
.bsw-comments .bsw-comment { padding: 20px 0; border-bottom: 1px solid var(--bsw-line); }
.bsw-comment__row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.bsw-comment__avatar {
  width: 40px; height: 40px; border-radius: 99px; background: var(--bsw-line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bsw-muted); font-weight: 700; font-size: 14px;
}
.bsw-comment__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.bsw-comment__name { font-size: 14px; font-weight: 700; color: var(--bsw-ink); letter-spacing: -0.015em; }
.bsw-comment__date { font-size: 11.5px; color: var(--bsw-faint); font-family: var(--bsw-font-orbit); letter-spacing: 0.04em; }
.bsw-comment__badge { padding: 1px 7px; font-size: 10.5px; font-weight: 700; background: var(--bsw-accent); color: #fff; border-radius: 4px; font-family: var(--bsw-font-orbit); letter-spacing: 0.06em; }
.bsw-comment__text { font-size: 14px; line-height: 1.75; color: var(--bsw-ink-2); letter-spacing: -0.005em; }
.bsw-comment__text > :first-child { margin-top: 0; }
.bsw-comment__text > :last-child { margin-bottom: 0; }
.bsw-comment__pending { font-size: 12px; color: var(--bsw-accent-deep); margin: 0 0 6px; font-weight: 600; }
.bsw-comment__actions { margin-top: 10px; }
.bsw-comment__actions a, .bsw-comment__actions .comment-reply-link {
  display: inline-flex; padding: 4px 10px; font-size: 12px; font-weight: 600;
  background: transparent; border: 1px solid var(--bsw-line); border-radius: 6px;
  color: var(--bsw-muted); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bsw-comment__actions a:hover { border-color: var(--bsw-accent); color: var(--bsw-accent); }
/* 답글 들여쓰기 (자식 ol) */
.bsw-comments .children { list-style: none; margin: 14px 0 0; padding: 0; }
.bsw-comments .children .bsw-comment { padding: 0; border-bottom: none; margin-top: 14px; }
/* 운영자(글쓴이) 답글 — accent 좌측 바 + bgAlt 박스 */
.bsw-comments .children > .bsw-comment.bsw-comment--author {
  background: var(--bsw-bg-alt); border-left: 3px solid var(--bsw-accent);
  border-radius: 0 10px 10px 0; padding: 14px 16px 14px 18px;
}
.bsw-comment--author .bsw-comment__avatar { background: var(--bsw-accent); color: #fff; }
.bsw-comments .children .bsw-comment__row { grid-template-columns: 32px 1fr; gap: 12px; }
.bsw-comments .children .bsw-comment__avatar { width: 32px; height: 32px; font-size: 12px; }
.bsw-comments .children .bsw-comment__name { font-size: 13.5px; }
.bsw-comments .children .bsw-comment__text { font-size: 13.5px; line-height: 1.7; }

/* 댓글 페이지네이션 */
.bsw-comment-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bsw-line); flex-wrap: wrap; }
.bsw-comment-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 4px;
  border-radius: 7px; font-family: var(--bsw-font-orbit); font-size: 12.5px; font-weight: 500;
  color: var(--bsw-ink-2); text-decoration: none; border: 1px solid transparent; white-space: nowrap;
}
.bsw-comment-pagination .page-numbers.current { font-weight: 800; color: var(--bsw-accent-deep); background: var(--bsw-accent-soft); border-color: rgba(232,92,44,0.2); }
.bsw-comment-pagination .page-numbers.prev, .bsw-comment-pagination .page-numbers.next { width: auto; padding: 0 12px; font-family: var(--bsw-font-kr); color: var(--bsw-ink); border: 1px solid var(--bsw-line); }

/* 댓글 폼 — 시안 "댓글 남기기" 카드 */
.bsw-comments .comment-respond { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 14px; padding: 24px 26px; margin-top: 28px; }
.bsw-comments .comment-reply-title { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
.bsw-comments .comment-reply-title small { font-weight: 400; }
.bsw-comments .comment-reply-title small a { font-family: var(--bsw-font-orbit); font-size: 11px; letter-spacing: 0.12em; color: var(--bsw-faint); text-decoration: none; text-transform: uppercase; }
.bsw-comments .comment-reply-title::after { content: "Leave a Reply"; font-family: var(--bsw-font-orbit); font-size: 10.5px; letter-spacing: 0.18em; color: var(--bsw-faint); text-transform: uppercase; font-weight: 700; }
.bsw-comments .comment-form { display: block; }
.bsw-comments .bsw-comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.bsw-comments .comment-form input[type="text"],
.bsw-comments .comment-form input[type="email"],
.bsw-comments .comment-form input[type="url"],
.bsw-comments .comment-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--bsw-line); border-radius: 8px;
  font-size: 13.5px; color: var(--bsw-ink); font-family: var(--bsw-font-kr); background: var(--bsw-bg); outline: none;
}
.bsw-comments .comment-form input:focus, .bsw-comments .comment-form textarea:focus { border-color: var(--bsw-accent); }
.bsw-comments .comment-form textarea { min-height: 100px; line-height: 1.6; resize: vertical; margin-bottom: 12px; }
.bsw-comments .comment-form p { margin: 0 0 10px; }
.bsw-comments .comment-form .comment-form-author,
.bsw-comments .comment-form .comment-form-email { margin: 0; }
.bsw-comments .comment-form label { display: block; font-size: 11.5px; color: var(--bsw-muted); margin-bottom: 4px; }
.bsw-comments .comment-form-comment label { display: none; }
.bsw-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--bsw-muted); line-height: 1.6; margin: 0 0 16px; }
.bsw-comments .comment-form-cookies-consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--bsw-accent); }
.bsw-comments .comment-form-cookies-consent label { display: inline; margin: 0; font-size: 12.5px; color: var(--bsw-muted); }
.bsw-comments .form-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.bsw-comments .bsw-comment-form__hint { order: -1; font-size: 11.5px; color: var(--bsw-faint); line-height: 1.6; margin: 0; }
.bsw-comments .comment-form .submit {
  padding: 11px 20px; border-radius: 8px; border: none; cursor: pointer;
  background: var(--bsw-accent); color: #fff; font-weight: 700; font-size: 13.5px; font-family: var(--bsw-font-kr);
}
.bsw-comments .comment-form .submit:hover { background: var(--bsw-accent-deep); }
@media (max-width: 640px) {
  .bsw-comments .bsw-comment-form__row { grid-template-columns: 1fr; }
  .bsw-comments .form-submit { flex-direction: column-reverse; align-items: stretch; }
  .bsw-comments .comment-form .submit { width: 100%; }
}

/* ════════════════════════════════════════════════════════════
 * v0.6.2 — About / Contact 페이지 템플릿 (시안 VAAbout · VAContact 일치)
 * ════════════════════════════════════════════════════════════ */

/* ── About 히어로 ─────────────────────────────────────────── */
.bsw-about-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: flex-end; padding: 64px 0 56px; }
.bsw-about-hero__lead h1 { font-size: 60px; line-height: 1.15; letter-spacing: -0.035em; font-weight: 800; margin: 18px 0 0; text-wrap: balance; }
.bsw-about-hero__desc { font-size: 17px; line-height: 1.8; color: var(--bsw-muted); margin: 0; }

/* ── About 통계 밴드 ──────────────────────────────────────── */
.bsw-about-stats { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 18px; padding: 40px 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 8px; }
.bsw-about-stat { padding-left: 32px; border-left: 1px solid var(--bsw-line); }
.bsw-about-stat:first-child { padding-left: 0; border-left: none; }
.bsw-about-stat__n { font-family: var(--bsw-font-orbit); font-size: 44px; font-weight: 400; color: var(--bsw-ink); letter-spacing: -0.01em; line-height: 1; }
.bsw-about-stat__l { font-size: 14px; font-weight: 700; color: var(--bsw-ink-2); margin-top: 12px; }
.bsw-about-stat__s { font-size: 12.5px; color: var(--bsw-muted); margin-top: 4px; }

/* ── About 원칙 ───────────────────────────────────────────── */
.bsw-about-principles { padding: 48px 0 0; }
.bsw-about-principles h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 36px; text-wrap: balance; }
.bsw-about-principles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bsw-principle { background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 16px; padding: 28px 32px; }
.bsw-principle__top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.bsw-principle__no { font-family: var(--bsw-font-orbit); font-size: 14px; color: var(--bsw-accent); letter-spacing: 0.08em; }
.bsw-principle__k { font-size: 11px; color: var(--bsw-muted); letter-spacing: 0.18em; font-family: var(--bsw-font-orbit); text-transform: uppercase; white-space: nowrap; }
.bsw-principle__t { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--bsw-ink); margin-bottom: 10px; }
.bsw-principle__d { font-size: 14.5px; color: var(--bsw-muted); line-height: 1.7; }

/* ── About 운영자 ─────────────────────────────────────────── */
.bsw-about-operator { padding: 80px 0 0; }
.bsw-about-operator__head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 20px; border-bottom: 1px solid var(--bsw-line); margin-bottom: 28px; }
.bsw-about-operator__head > div { flex: 1 1 auto; min-width: 0; }
.bsw-about-operator__head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; margin: 6px 0 0; }
.bsw-about-operator__card { display: block; background: var(--bsw-card); border: 1px solid var(--bsw-line); border-radius: 16px; padding: 32px 36px; }
.bsw-about-operator__id { display: flex; align-items: center; gap: 18px; }
.bsw-about-operator__avatar { width: 88px; height: 88px; object-fit: cover; border-radius: 18px; background: var(--bsw-line-strong); flex: 0 0 88px; }
.bsw-about-operator__id .bsw-eyebrow { font-size: 9.5px; line-height: 1; letter-spacing: 0.24em; }
.bsw-about-operator__name { font-family: var(--bsw-font-orbit); font-size: 18px; line-height: 1.1; font-weight: 800; letter-spacing: 0.01em; margin: 3px 0 0; }
.bsw-about-operator__since { font-size: 12px; color: var(--bsw-muted); margin-top: 8px; }
.bsw-about-operator__bio { margin-top: 16px; }
.bsw-about-operator__bio p { font-size: 14px; line-height: 1.75; color: var(--bsw-ink-2); margin: 0; }
.bsw-about-operator__meta { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.bsw-about-operator__note { margin: 16px 0 0 !important; padding: 12px 14px; background: var(--bsw-bg-alt); border-radius: 9px; font-size: 12.5px !important; line-height: 1.7 !important; color: var(--bsw-muted) !important; }
.bsw-about-extra { max-width: 760px; margin: 56px 0 0; }

/* ── Contact 히어로 ───────────────────────────────────────── */
.bsw-contact-hero { text-align: center; padding: 72px 0 48px; }
.bsw-contact-hero h1 { font-size: 56px; line-height: 1.18; letter-spacing: -0.035em; font-weight: 800; margin: 14px 0 14px; text-wrap: balance; }
.bsw-contact-hero p { font-size: 16.5px; color: var(--bsw-muted); margin: 0 auto; max-width: 560px; }

/* ── Contact 본문 그리드 ──────────────────────────────────── */
.bsw-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 24px; }
.bsw-contact-form { min-width: 0; }
.bsw-contact-form__empty { background: var(--bsw-card); border: 1px dashed var(--bsw-line-strong); border-radius: 18px; padding: 40px 36px; text-align: center; }
.bsw-contact-form__empty strong { color: var(--bsw-ink); }
.bsw-contact-form__empty p { margin: 0 0 8px; font-size: 14px; color: var(--bsw-muted); line-height: 1.7; }
.bsw-contact-form__empty p:last-child { margin: 0; }

.bsw-contact-aside__resp { background: #fef9ed; border: 1px solid #f1e3b8; border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.bsw-contact-aside__resp-t { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: #7a5a14; margin-bottom: 6px; }
.bsw-contact-aside__resp-t svg { flex: 0 0 auto; }
.bsw-contact-aside__resp p { font-size: 13px; color: var(--bsw-ink-2); line-height: 1.7; margin: 0; }
.bsw-contact-aside__notice { background: var(--bsw-bg-alt); border-radius: 14px; padding: 20px 22px; }
.bsw-contact-aside__notice-k { font-size: 11px; font-family: var(--bsw-font-orbit); letter-spacing: 0.2em; color: var(--bsw-muted); text-transform: uppercase; margin-bottom: 10px; }
.bsw-contact-aside__notice p { font-size: 13px; color: var(--bsw-ink-2); line-height: 1.75; margin: 0; }
.bsw-contact-aside__notice b { color: var(--bsw-ink); }
.bsw-contact-aside__spam { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--bsw-line-strong); font-size: 12px !important; color: var(--bsw-muted) !important; }

/* ── About / Contact 반응형 ───────────────────────────────── */
/* ── 정책·약관 (tpl-legal.php) ───────────────────────────── */
.bsw-legal { padding: 40px 0 48px; }
.bsw-legal__hero { padding: 0 0 32px; }
.bsw-legal__hero .bsw-eyebrow { color: var(--bsw-accent); }
.bsw-legal__title { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin: 12px 0 14px; color: var(--bsw-ink); text-wrap: balance; }
.bsw-legal__updated { margin: 0; font-size: 12px; color: var(--bsw-muted); font-family: var(--bsw-font-orbit); letter-spacing: 0.06em; }
.bsw-legal__note { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: var(--bsw-muted); max-width: 640px; }
.bsw-legal__body { font-size: 14.5px; line-height: 1.85; }
.bsw-legal__body > :first-child { margin-top: 0; }
.bsw-legal__body h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; padding-top: 24px; border-top: 1px solid var(--bsw-line); color: var(--bsw-ink); }
.bsw-legal__body h2:first-of-type { border-top-color: var(--bsw-line-strong); }
.bsw-legal__body h3 { font-size: 15.5px; font-weight: 700; margin: 22px 0 8px; color: var(--bsw-ink); }
.bsw-legal__body p { margin: 0 0 10px; letter-spacing: -0.005em; }
.bsw-legal__body ul, .bsw-legal__body ol { margin: 0 0 12px; padding-left: 20px; }
.bsw-legal__body li { margin: 4px 0; }
.bsw-legal__related { margin-top: 40px; padding: 20px 22px; background: var(--bsw-bg-alt); border-radius: 12px; }
.bsw-legal__related .bsw-eyebrow { color: var(--bsw-muted); display: block; margin-bottom: 12px; }
.bsw-legal__rels { display: flex; gap: 10px; flex-wrap: wrap; }
.bsw-legal__rel { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none; background: var(--bsw-card); color: var(--bsw-ink-2); border: 1px solid var(--bsw-line-strong); white-space: nowrap; }
.bsw-legal__rel:hover { border-color: var(--bsw-accent); color: var(--bsw-accent-deep); }
.bsw-legal__rel--current { background: transparent; color: var(--bsw-faint); border-color: var(--bsw-line); cursor: default; }
.bsw-legal__contact { margin: 24px 0 0; padding: 0 4px; font-size: 12.5px; color: var(--bsw-muted); line-height: 1.7; }
.bsw-legal__contact a { color: var(--bsw-ink-2); }

@media (max-width: 900px) {
  .bsw-about-hero { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 40px; }
  .bsw-about-hero__lead h1 { font-size: 42px; }
  .bsw-about-stats { grid-template-columns: 1fr 1fr; gap: 28px 0; padding: 32px; }
  .bsw-about-stat { padding-left: 28px; }
  .bsw-about-stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .bsw-about-principles__grid { grid-template-columns: 1fr; }
  .bsw-about-operator__card { grid-template-columns: 1fr; gap: 24px; }
  .bsw-contact-grid { grid-template-columns: 1fr; }
  .bsw-contact-hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .bsw-about-hero__lead h1 { font-size: 34px; }
  .bsw-about-stats { grid-template-columns: 1fr; gap: 22px; }
  .bsw-about-stat, .bsw-about-stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .bsw-about-principles h2 { font-size: 26px; }
  .bsw-contact-hero h1 { font-size: 32px; }
  .bsw-legal__title { font-size: 28px; }
}
