/* ============================================
   KJBRIDGE - 매거진 블로그 스타일
   Noto Sans KR + 버건디 액센트
   Light/Dark 토글 대응
   ============================================ */

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s ease, color .3s ease;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* -------- Theme Tokens -------- */
:root {
  --bg: #faf8f6;
  --bg-elevated: #f2ede8;
  --bg-muted: #efeae4;
  --text: #1a1512;
  --text-secondary: #45403c;
  --text-muted: #6b625d;
  --text-faint: #9a9089;
  --border: #e5ddd5;
  --border-strong: #d4c9be;
  --accent: #8b1f2f;           /* 버건디 */
  --accent-hover: #6d1724;
  --accent-soft: #f5e4e6;

  /* 카테고리 컬러 */
  --cat-philosophy: #2c4a6e;   /* 통일사상 - 딥블루 */
  --cat-spirituality: #5e3a7a; /* 영성훈련 - 퍼플 */
  --cat-world: #8b1f2f;        /* 세상읽기 - 버건디 */
  --cat-group: #3d6b4a;        /* 소그룹 - 그린 */
  --cat-meditation: #7a5230;   /* 훈독묵상 - 브라운 */
  --cat-scripture: #a05a2c;    /* 세계경전 - 오렌지브라운 */
  --cat-issue: #b8324a;        /* 이슈트렌드 - 딥레드 */
  --cat-principle: #1f5f5b;    /* 원리와 신학 - 딥틸 */

  --radius-sm: 4px;
  --radius: 8px;
  --content-max: 1240px;
  --gutter: 15px;

  --font-serif: 'Noto Serif KR', 'Georgia', serif;
}

:root[data-theme="dark"] {
  --bg: #141210;
  --bg-elevated: #1e1a17;
  --bg-muted: #22201d;
  --text: #f0ece8;
  --text-secondary: #c8c1ba;
  --text-muted: #8a827c;
  --text-faint: #5c554f;
  --border: #2a2622;
  --border-strong: #3a342f;
  --accent: #d94e63;           /* 다크모드에서 밝은 버건디 */
  --accent-hover: #e56778;
  --accent-soft: #3a1f24;

  --cat-philosophy: #6b9ad4;
  --cat-spirituality: #a888c9;
  --cat-world: #d94e63;
  --cat-group: #7ab087;
  --cat-meditation: #c99b6e;
  --cat-scripture: #d99460;
  --cat-issue: #e35678;
  --cat-principle: #5aa8a3;
}

/* -------- Container -------- */
.bp-container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .bp-container { padding: 0 var(--gutter); }
}

/* ============================================
   HEADER
   ============================================ */
.bp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color .3s ease;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px;height: 32px;
}
.brand-name {
  font-size: 26px;
  color: var(--text);
}
.brand-tag {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background-color .15s ease, color .15s ease;
}
.icon-btn:hover { background: var(--bg-elevated); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.cta-subscribe {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .15s ease;
  white-space: nowrap;
}
.cta-subscribe:hover { background: var(--accent-hover); }
:root[data-theme="dark"] .cta-subscribe { color: #141210; }

/* -------- Nav Tabs -------- */
.nav-tabs {
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs-inner {
  display: flex;
  gap: 4px;
  padding: 4px 0;
  min-width: max-content;
}
.nav-tab {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .header-top { padding: 14px 0; gap: 12px; }
  .brand-tag { display: none; }
  .brand-mark { font-size: 22px; }
  .brand-name { font-size: 18px; }
  .cta-subscribe { padding: 8px 14px; font-size: 15px; }
  .nav-tab { padding: 11px 12px; font-size: 15px; }
}

/* ============================================
   HERO — 피처드 아티클 + 사이드 최신글
   ============================================ */
.hero {
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-featured .hero-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 22px;
  background: var(--bg-muted);
}
.hero-featured .hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-featured a:hover .hero-thumb img { transform: scale(1.03); }
.hero-featured .cat-label { margin-bottom: 14px; }
.hero-featured h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}
.hero-featured .hero-excerpt {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.hero-featured .meta { font-size: 15px; }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-side-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--text);
}
.hero-side-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.hero-side-item:last-child { border-bottom: 0; }
.hero-side-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 24px;
  padding-top: 2px;
}
.hero-side-body { flex: 1; min-width: 0; }
.hero-side-body .cat-label { margin-bottom: 6px; font-size: 15px; }
.hero-side-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.hero-side-body h3 a:hover { color: var(--accent); }
.hero-side-body .meta { font-size: 15px; color: var(--text-muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .hero { padding: 24px 0 32px; }
  .hero-featured h1 { font-size: 26px; }
  .hero-featured .hero-excerpt { font-size: 16px; }
  .hero-featured .hero-thumb { border-radius: 4px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
}

/* ============================================
   CATEGORY LABEL
   ============================================ */
.cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cat-color, var(--accent));
  text-transform: none;
}
.cat-label::before {
  content: '';
  width: 4px;
  height: 14px;
  background: var(--cat-color, var(--accent));
  display: inline-block;
}
.cat-label[data-cat="philosophy"]  { --cat-color: var(--cat-philosophy); }
.cat-label[data-cat="spirituality"]{ --cat-color: var(--cat-spirituality); }
.cat-label[data-cat="world"]       { --cat-color: var(--cat-world); }
.cat-label[data-cat="group"]       { --cat-color: var(--cat-group); }
.cat-label[data-cat="meditation"]  { --cat-color: var(--cat-meditation); }
.cat-label[data-cat="scripture"]   { --cat-color: var(--cat-scripture); }
.cat-label[data-cat="issue"]       { --cat-color: var(--cat-issue); }
.cat-label[data-cat="principle"]   { --cat-color: var(--cat-principle); }

.meta {
  font-size: 15px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); display: inline-block; }

/* ============================================
   SECTION HEADER
   ============================================ */
.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  border-bottom: 2px solid var(--text);
  padding-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-title .dash {
  width: 32px;
  height: 4px;
  background: var(--accent);
  display: inline-block;
}
.section-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.section-more:hover { color: var(--accent); }
.section-more::after { content: ' →'; }

@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 22px; padding-bottom: 12px; }
  .section-title { font-size: 22px; }
  .section-title .dash { width: 24px; height: 3px; }
}

/* ============================================
   POST GRID / CARDS
   ============================================ */
.bp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}
.bp-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.bp-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) {
  .bp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .bp-grid,
  .bp-grid.cols-3,
  .bp-grid.cols-2 { grid-template-columns: 1fr; gap: 0; }
}

.post-card {
  display: block;
}
.post-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  margin-bottom: 14px;
}
.post-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .cat-label { margin-bottom: 8px; }
.post-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.post-card:hover h3 { color: var(--accent); }
.post-card .excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .meta { font-size: 15px; }

/* mobile: 리스트형 (박스 없이 구분선) */
@media (max-width: 768px) {
  .post-card {
    display: grid;
    grid-template-columns: 1fr 108px;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
  }
  .post-card:first-child { padding-top: 0; }
  .post-card .thumb {
    aspect-ratio: 1/1;
    margin-bottom: 0;
    order: 2;
    border-radius: 4px;
  }
  .post-card .body { order: 1; min-width: 0; }
  .post-card h3 { font-size: 16px; margin-bottom: 6px; }
  .post-card .excerpt {
    font-size: 15px;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
  }
  .post-card .cat-label { font-size: 15px; margin-bottom: 6px; }
  .post-card.no-thumb { grid-template-columns: 1fr; }
  .post-card.no-thumb .thumb { display: none; }
}

/* ============================================
   FEATURED IN SECTION (2-col with lead)
   ============================================ */
.section-lead {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.section-lead .lead-card .thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-muted);
  margin-bottom: 18px;
}
.section-lead .lead-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.section-lead .lead-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0 12px;
  letter-spacing: -0.02em;
}
.section-lead .lead-card .excerpt {
  font-size: 16px; line-height: 1.65; color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0 0 12px;
}
.section-lead-side {
  display: flex; flex-direction: column;
}
.section-lead-side .side-item {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.section-lead-side .side-item:first-child { padding-top: 0; }
.section-lead-side .side-item:last-child { border-bottom: 0; }
.section-lead-side .side-item .thumb {
  aspect-ratio: 1/1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-muted);
  order: 2;
}
.section-lead-side .side-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.section-lead-side .side-item .body { order: 1; min-width: 0; }
.section-lead-side .side-item h4 {
  font-size: 16px; font-weight: 700; line-height: 1.4; margin: 6px 0 8px;
  letter-spacing: -0.015em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.section-lead-side .side-item:hover h4 { color: var(--accent); }
.section-lead-side .side-item .meta { font-size: 15px; }

@media (max-width: 900px) {
  .section-lead { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .section-lead .lead-card h3 { font-size: 22px; }
}

/* ============================================
   RANKING SECTION (인기글)
   ============================================ */
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.ranking-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ranking-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.ranking-item:nth-child(-n+3) .ranking-num { color: var(--accent); }
.ranking-body { min-width: 0; }
.ranking-body .cat-label { font-size: 15px; margin-bottom: 6px; }
.ranking-body h3 {
  font-size: 16px; font-weight: 700; line-height: 1.45; margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.ranking-item:hover h3 { color: var(--accent); }
.ranking-body .meta { font-size: 15px; }

@media (max-width: 768px) {
  .ranking-grid { grid-template-columns: 1fr; gap: 0; }
  .ranking-num { font-size: 26px; }
}

/* ============================================
   TAGS SECTION
   ============================================ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.bp-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: all .15s ease;
  background: transparent;
}
.bp-tag:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.bp-tag.hot {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
  font-weight: 600;
}
.bp-tag .count {
  margin-left: 6px;
  color: var(--text-faint);
  font-size: 15px;
  font-weight: 400;
}
.bp-tag.hot .count { color: var(--accent); opacity: .65; }

/* ============================================
   NEWSLETTER CTA
   ============================================ */
.newsletter {
  padding: 64px 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.newsletter-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .15s ease;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent-hover); }
:root[data-theme="dark"] .newsletter-form button { color: #141210; }
.newsletter-note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .newsletter { padding: 44px 0; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .newsletter-title { font-size: 24px; }
}

/* ============================================
   FOOTER
   ============================================ */
.bp-footer {
  background: var(--bg);
  padding: 56px 0 40px;
  color: var(--text-muted);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { margin: 0; line-height: 1.7; color: var(--text-muted); font-size: 15px; }
.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col a { color: var(--text-muted); font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}
.footer-bottom .social { display: flex; gap: 12px; }
.footer-bottom .social a {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .15s ease;
}
.footer-bottom .social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom .social svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   SVG PLACEHOLDER THUMBS (색상별 그라디언트)
   ============================================ */
.thumb-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--ph-c1, #2c4a6e) 0%, var(--ph-c2, #5e3a7a) 100%);
  position: relative;
  overflow: hidden;
}
.thumb-ph::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.04) 22px 44px);
}
.thumb-ph span { position: relative; z-index: 1; padding: 6px 12px; }
.thumb-ph.ph-philosophy  { --ph-c1: #1e3352; --ph-c2: #3d6091; }
.thumb-ph.ph-spirituality{ --ph-c1: #442960; --ph-c2: #7a5599; }
.thumb-ph.ph-world       { --ph-c1: #6d1724; --ph-c2: #a83a4c; }
.thumb-ph.ph-group       { --ph-c1: #2a4a34; --ph-c2: #558060; }
.thumb-ph.ph-meditation  { --ph-c1: #5c3d22; --ph-c2: #96693e; }
.thumb-ph.ph-scripture   { --ph-c1: #7a3f1a; --ph-c2: #b8703a; }
.thumb-ph.ph-issue       { --ph-c1: #7a1e30; --ph-c2: #c04565; }
.thumb-ph.ph-principle   { --ph-c1: #143f3c; --ph-c2: #348580; }

/* ============================================
   CATEGORY (SUBPAGE)
   ============================================ */
.cat-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.cat-breadcrumb {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.cat-breadcrumb a:hover { color: var(--accent); }
.cat-breadcrumb .sep { margin: 0 8px; color: var(--text-faint); }
.cat-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cat-hero .cat-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 720px;
}
.cat-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.cat-meta-row strong { color: var(--text); font-weight: 700; }

.cat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}
.cat-filter {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.cat-filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .15s ease;
}
.cat-filter-btn:hover { background: var(--bg-elevated); color: var(--text); }
.cat-filter-btn.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.cat-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
.cat-sort select {
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

/* Category post list (long list) */
.cat-list {
  padding: 20px 0 40px;
}
.cat-post {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cat-post .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}
.cat-post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-post:hover .thumb img { transform: scale(1.03); }
.cat-post .body { min-width: 0; }
.cat-post .cat-label { margin-bottom: 10px; }
.cat-post h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.cat-post:hover h2 { color: var(--accent); }
.cat-post .excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-post .meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.cat-post .meta-row .author { font-weight: 600; color: var(--text-secondary); }

@media (max-width: 768px) {
  .cat-hero { padding: 28px 0 24px; }
  .cat-post {
    grid-template-columns: 1fr 108px;
    gap: 14px;
    padding: 20px 0;
  }
  .cat-post .thumb { aspect-ratio: 1/1; order: 2; border-radius: 4px; }
  .cat-post .body { order: 1; }
  .cat-post h2 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.015em; }
  .cat-post .excerpt { font-size: 15px; -webkit-line-clamp: 2; margin-bottom: 8px; line-height: 1.55; }
  .cat-post .cat-label { font-size: 15px; margin-bottom: 6px; }
  .cat-post .meta-row { font-size: 15px; gap: 8px; }
  .cat-toolbar { padding: 14px 0; }
}

/* ============================================
   PAGINATION
   ============================================ */
.bp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 40px 0 20px;
}
.bp-page {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.bp-page:hover { background: var(--bg-elevated); color: var(--text); }
.bp-page.active {
  background: var(--accent);
  color: #fff;
}
:root[data-theme="dark"] .bp-page.active { color: #141210; }
.bp-page.disabled { color: var(--text-faint); pointer-events: none; }

/* ============================================
   FLOATING MENU (우측 하단 세로 스택)
   ============================================ */
.floating-menu {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
:root[data-theme="dark"] .floating-menu {
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
}

.floating-item {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: transparent;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.floating-item:hover {
  background: var(--accent);
  color: #fff;
}
:root[data-theme="dark"] .floating-item:hover { color: #141210; }
.floating-item:active { transform: scale(0.94); }
.floating-item svg { width: 20px; height: 20px; }

/* 슬라이딩 툴팁 (왼쪽으로 슬라이드 등장) */
.floating-item .fm-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), visibility .2s;
  letter-spacing: -0.01em;
}
/* 툴팁 꼬리 */
.floating-item .fm-tip::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--text);
}
.floating-item:hover .fm-tip,
.floating-item:focus-visible .fm-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 접기/펼치기 토글 (모바일에서 유용) */
.floating-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139,31,47,0.35);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .18s ease;
}
:root[data-theme="dark"] .floating-toggle { color: #141210; box-shadow: 0 8px 24px rgba(217,78,99,0.35); }
.floating-toggle:hover { background: var(--accent-hover); }
.floating-toggle svg { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.floating-menu.is-open .floating-toggle svg { transform: rotate(45deg); }

/* 데스크톱: 항상 펼쳐진 상태, 토글 숨김 */
@media (min-width: 769px) {
  .floating-toggle { display: none !important; }
  .floating-menu .floating-item { display: inline-flex; }
}

/* 모바일: 토글로 접힘 */
@media (max-width: 768px) {
  .floating-menu {
    right: 15px;
    bottom: 15px;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .floating-toggle { display: inline-flex; }
  .floating-menu .floating-item {
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(12px) scale(0.85);
    pointer-events: none;
    transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), background-color .18s ease, color .18s ease;
  }
  :root[data-theme="dark"] .floating-menu .floating-item {
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  }
  .floating-menu.is-open .floating-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  /* 순차 등장 (아래에서 위로) */
  .floating-menu.is-open .floating-item:nth-last-child(1) { transition-delay: .02s; }
  .floating-menu.is-open .floating-item:nth-last-child(2) { transition-delay: .06s; }
  .floating-menu.is-open .floating-item:nth-last-child(3) { transition-delay: .10s; }
  .floating-menu.is-open .floating-item:nth-last-child(4) { transition-delay: .14s; }

  /* 모바일에선 툴팁 항상 숨김 (탭 UI에 방해) */
  .floating-item .fm-tip { display: none; }
}

/* ============================================
   UTILITIES
   ============================================ */
.no-mobile { }
@media (max-width: 768px) {
  .no-mobile { display: none !important; }
}
.only-mobile { display: none; }
@media (max-width: 768px) {
  .only-mobile { display: block; }
}

/* ============================================
   CMS 적용 추가분 (blog_premium 템플릿)
   ============================================ */
/* 1차 메뉴 탭 + 2차 드롭다운 */
.nav-tabs { overflow: visible; }
.nav-tabs-inner { position: relative; }
.nav-tab-item { position: relative; }
.nav-tab-item .nav-tab { display: inline-flex; align-items: center; gap: 4px; }
.nav-tab-item .nav-tab svg { width: 12px; height: 12px; opacity: .6; }
.nav-dropdown {
  position: absolute; top: calc(100% + 1px); left: 0; min-width: 220px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10); padding: 8px 0; z-index: 110;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .18s ease, visibility .15s;
}
:root[data-theme="dark"] .nav-dropdown { box-shadow: 0 12px 32px rgba(0,0,0,0.5); }
.nav-tab-item:hover .nav-dropdown, .nav-tab-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 9px 16px; font-size: 15px; color: var(--text-secondary); white-space: nowrap; }
.nav-dropdown a:hover, .nav-dropdown a.active { color: var(--accent); background: var(--bg-elevated); }
@media (max-width: 768px) {
  .nav-tabs { overflow-x: auto; }
  .nav-dropdown { display: none; }
}
/* 헤더 검색 레이어 */
.bp-search { display: none; border-top: 1px solid var(--border); padding: 14px 0; }
.bp-search.is-open { display: block; }
.bp-search form { display: flex; gap: 8px; max-width: 720px; margin: 0 auto; }
.bp-search input { flex: 1; min-width: 0; height: 44px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit; outline: none; }
.bp-search input:focus { border-color: var(--accent); }
.bp-search button { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; }
:root[data-theme="dark"] .bp-search button { color: #141210; }
.header-tools .user-name { font-size: 15px; color: var(--text-muted); margin-right: 4px; }
.cta-subscribe.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.cta-subscribe.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* 실제 썸네일: .thumb 안의 img 는 꽉 채움, 없으면 카테고리색 placeholder */
.hero-thumb, .post-card .thumb, .lead-card .thumb, .side-item .thumb, .cat-post .thumb { background: var(--bg-muted); }
.thumb-ph { --ph-c1: var(--cat-color, #2c4a6e); --ph-c2: color-mix(in srgb, var(--cat-color, #2c4a6e) 60%, #ffffff 40%); }

/* 게시글 상세 */
.bp-article { max-width: 860px; margin: 0 auto; padding: 0 0 40px; }
.bp-article-head { padding: 40px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.bp-article-head .cat-breadcrumb { margin-bottom: 18px; }
.bp-article-head h1 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; margin: 12px 0 18px; }
.bp-article-head .meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--text-muted); }
.bp-article-head .meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); display: inline-block; }
.bp-article-head .meta-row .author { font-weight: 600; color: var(--text-secondary); }
.bp-article .post-content { font-size: 17px; line-height: 1.85; color: var(--text); }
.bp-article .post-content p { margin: 0 0 1.2em; }
.bp-article .post-content img { border-radius: var(--radius); margin: 8px auto; }
.bp-article .post-content h2, .bp-article .post-content h3 { font-family: var(--font-serif); line-height: 1.4; margin: 1.8em 0 .7em; }
.bp-article .post-content blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: var(--bg-elevated); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-secondary); }
.bp-article .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.bp-article .tags a { padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 15px; color: var(--text-secondary); }
.bp-article .tags a:hover { border-color: var(--accent); color: var(--accent); }
.bp-article .youtube-container { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.bp-article .prev-next-nav { border-color: var(--border) !important; border-radius: var(--radius) !important; }
.bp-article .pn-row { color: var(--text) !important; }
.bp-article .pn-row:hover { background: var(--bg-elevated); }
.bp-article .btn-post { border-radius: 999px; font-size: 15px; }
.bp-article .btn-post.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
:root[data-theme="dark"] .bp-article .btn-post.btn-primary { color: #141210; }
@media (max-width: 768px) {
  .bp-article-head { padding: 24px 0 20px; margin-bottom: 22px; }
  .bp-article .post-content { font-size: 16px; }
}

/* 게시판 목록: 빈 상태 */
.bp-empty { padding: 56px 0; text-align: center; }
.bp-empty h3 { font-family: var(--font-serif); font-size: 24px; margin: 0 0 8px; }
.bp-empty p { color: var(--text-muted); margin: 0; font-size: 15px; }
.cat-post .lock { color: var(--text-faint); margin-right: 4px; }
.cat-post h2 .notice { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 1px 7px; margin-right: 8px; vertical-align: middle; font-family: 'Noto Sans KR', sans-serif; }
.cat-toolbar .btn-write { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; }
:root[data-theme="dark"] .cat-toolbar .btn-write { color: #141210; }

/* 글쓰기/수정, 로그인 등 폼 카드 (style.css 의 admin-card 계열) */
.bp .admin-card { background: var(--bg-elevated) !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
.bp .admin-card input[type="text"], .bp .admin-card input[type="url"], .bp .admin-card select, .bp .admin-card textarea { background: var(--bg); color: var(--text); border-color: var(--border-strong) !important; }
.bp .btn-post { border-radius: 999px; }
.bp .btn-post.btn-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.bp main, .bp .board-centered { padding: 0; }
.bp .content-title-area h2 { font-family: var(--font-serif); color: var(--text) !important; }
.bp .content-title-area h2::after { background: var(--accent); }

/* 댓글 영역 (style.css 스킨 위에 색만 맞춤) */
.bp .comment-section, .bp .comments-section { border-color: var(--border) !important; }
.bp .comment-item { border-color: var(--border) !important; }
.bp .comment-form textarea { background: var(--bg); color: var(--text); border-color: var(--border-strong) !important; }

/* 홈: 이슈 밴드 · 홈 리스트 · 필터 링크 */
.bp-notice-band { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); overflow: hidden; }
.bp-notice-band__label { flex-shrink: 0; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; }
:root[data-theme="dark"] .bp-notice-band__label { color: #141210; }
.bp-notice-band__items { display: flex; gap: 26px; min-width: 0; overflow: hidden; white-space: nowrap; }
.bp-notice-band__items a { font-size: 15px; color: var(--text); }
.bp-notice-band__items a:hover { color: var(--accent); }
.bp-notice-band__items time { color: var(--text-muted); margin-left: 6px; }
@media (max-width: 768px) { .bp-notice-band__items a:not(:first-child) { display: none; } }
.cat-list--home .cat-post:first-child { padding-top: 0; }
.cat-list--home .cat-post h2 { font-size: 20px; }
.cat-filter-btn { display: inline-flex; align-items: center; }
.lb-container { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .lb-container { padding: 0 var(--gutter); } }
.cat-hero--compact { padding: 32px 0 24px; margin-bottom: 28px; }
.cat-hero--compact h1 { font-size: clamp(24px, 3.4vw, 34px); }
.bp .tag-search-list .tsi-title { font-family: var(--font-serif); }
.bp-article--page { max-width: 960px; padding-bottom: 60px; }
.bp .card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); }
.bp-main { flex: 1 0 auto; width: 100%; }

/* 서브 메뉴 형식(템플릿 설정): 서브탭 ONLY / +좌측 / +우측 — 위젯 사이드바 */
.bp .subpage-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 0; }
.bp .subpage-grid--full { grid-template-columns: minmax(0, 1fr); }
.bp .subpage-grid--left { grid-template-columns: 300px minmax(0, 1fr); }
.bp .subpage-grid--left .subpage-sidebar { order: -1; }
.bp .subpage-leftnav { display: none !important; }
@media (max-width: 992px) { .bp .subpage-grid, .bp .subpage-grid--left { grid-template-columns: 1fr; } .bp .subpage-grid--left .subpage-sidebar { order: 0; } }
.bp .subpage-center { margin-top: 0; }
.bp .subpage-sidebar { gap: 16px; }
.bp .sw-box { background: var(--bg-elevated); border-color: var(--border); border-radius: var(--radius); }
.bp .sw-title { font-family: var(--font-serif); font-size: 17px; color: var(--text); border-bottom: 2px solid var(--text); }
.bp .xz-sidenav__item { color: var(--text-secondary); font-size: 15px; }
.bp .xz-sidenav__item.is-active, .bp .xz-sidenav__item:hover { color: var(--accent); }
.cat-subtabs { margin-top: 18px; }
.bp-article.bp-article--in-grid { max-width: none; }
@media (max-width: 992px) { .bp .subpage-grid { gap: 28px; } }
.bp .subpage-grid:not(.subpage-grid--full) .bp-article { max-width: none; }

/* 서브탑 노출 슬라이드 (블로그 톤) */
.bp .sub-top-slide-band { background: var(--bg-elevated); padding: 32px 0; margin-bottom: 0; border-bottom: 1px solid var(--border); }
.bp .sub-top-slide-wrap { max-width: var(--content-max); padding: 0 24px; }
.bp .sub-top-swiper { border-radius: var(--radius); }
.bp .sub-top-slide-item { background: var(--bg); border-color: var(--border); border-radius: var(--radius); }
.bp .sub-top-slide-body { padding: 24px 32px 36px; }
.bp .sub-top-slide-title { font-family: var(--font-serif); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin: 12px 0 10px; }
.bp .sub-top-slide-excerpt { font-size: 16px; color: var(--text-secondary); -webkit-line-clamp: 3; }
.bp .sub-top-slide-meta { font-size: 15px; color: var(--text-muted); }
.bp .sub-top-nav { color: var(--accent) !important; }
.bp .sub-top-pagination .swiper-pagination-bullet { background: var(--text-faint); opacity: 1; }
.bp .sub-top-pagination .swiper-pagination-bullet-active { background: var(--accent); }
@media (max-width: 768px) {
  .bp .sub-top-slide-band { padding: 0; border-bottom: 0; }
  .bp .sub-top-slide-wrap { padding: 0; }
  .bp .sub-top-swiper { border-radius: 0; }
  .bp .sub-top-slide-item { flex-direction: column; border: 0; border-radius: 0; }
  .bp .sub-top-slide-img { flex: none; width: 100%; }
  .bp .sub-top-slide-body { padding: 16px var(--gutter) 34px; }
  .bp .sub-top-slide-title { font-size: 20px; }
  .bp .sub-top-nav { display: none; }
}

/* 서브탑(1차 밴드 + 드롭다운 바) + 페이지별 타이틀 — 다크블루 방식, 블로그 톤 */
.bp .board-header-full { background: var(--bg-elevated) !important; border-bottom: 1px solid var(--border); padding: 40px 0 !important; }
.bp .board-title-white, .bp .board-header-full h2 { font-family: var(--font-serif); color: var(--text) !important; font-size: 32px !important; font-weight: 800 !important; letter-spacing: -0.02em; margin: 0; }
.bp .sub-breadcrumb-bar { background: var(--bg); border-color: var(--border); }
.bp .breadcrumb-inner { max-width: var(--content-max); padding: 0 24px; }
.bp .home-icon, .bp .dropdown-toggle { background: var(--bg); color: var(--text); border-color: var(--border); font-size: 15px; }
.bp .breadcrumb-dropdown { border-color: var(--border); }
.bp .dropdown-menu { background: var(--bg-elevated); border-color: var(--border); }
.bp .dropdown-menu a { color: var(--text); border-bottom-color: var(--border); font-size: 15px; }
.bp .dropdown-menu a:hover { background: var(--bg); color: var(--accent); }
.bp .dropdown-menu a.active { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .bp .dropdown-menu a.active { color: #141210; }
.bp .content-title-area { text-align: center; margin: 44px 0 30px; }
.bp .content-title-area h2 { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 34px); font-weight: 800 !important; letter-spacing: -0.02em; color: var(--text) !important; display: inline-block; position: relative; margin: 0; }
.bp .content-title-area h2 a { color: inherit; }
.bp .content-title-area h2::after { content: ''; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: 40px; height: 3px; background: var(--accent); }
.bp .content-title-area .cat-desc { margin: 30px auto 0; max-width: 720px; }
.bp .content-title-area .cat-meta-row { justify-content: center; border-top: 0; margin-top: 14px; padding-top: 0; }
.bp .content-title-area .cat-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); display: inline-block; }
.bp .cat-toolbar { margin-top: 10px; }
.bp-article-head { padding: 8px 0 24px; }
@media (max-width: 768px) {
  .bp .board-header-full { padding: 26px 0 !important; }
  .bp .board-title-white, .bp .board-header-full h2 { font-size: 24px !important; }
  .bp .breadcrumb-inner { padding: 0 var(--gutter); }
  .bp .breadcrumb-inner > .breadcrumb-dropdown:first-of-type { display: none; }   /* 모바일: 최종(2차) 드롭다운만 */
  .bp .content-title-area { margin: 28px 0 20px; }
}
