/* =========================================================
   BMT High Tier - Full Production CSS
   Version: 3.0 (Synced with Preview HTML)
   File: /wp-content/themes/kadence-child/css/bmt-high-tier.css
   ========================================================= */

/* =========================================================
   1. RESET & VARIABLES
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg:    #eef1f6;
  --card:  #ffffff;
  --ink:   #0b1220;
  --sub:   #2d3a4f;
  --muted: #64748b;

  --navy: #0f172a;
  --gold: #c9a84c;

  --line:  rgba(15,23,42,.10);
  --line2: rgba(15,23,42,.07);

  --shadowPod:   0 1px 2px rgba(0,0,0,0.04), 0 8px 20px rgba(0,0,0,0.07), 0 32px 80px rgba(0,0,0,0.11);
  --shadowRail:  0 2px 6px rgba(0,0,0,0.04), 0 14px 36px rgba(0,0,0,0.09);
  --shadowChart: 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.08);

  --r:      16px;
  --max:    1340px;
  --rail:   368px;
  --brandH: 48px;

  --sans:  'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  --ease: cubic-bezier(0.22,1,0.36,1);
}


/* =========================================================
   2. BASE & THEME ISOLATION
   ========================================================= */
body.bmt-high-tier-active {
  background: var(--bg) !important;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  color: var(--ink);
  margin: 0 !important;
  padding: 0 !important;
}

a { text-decoration: none; color: inherit; }

/* Hide theme chrome */
body.bmt-high-tier-active .site-header,
body.bmt-high-tier-active #masthead,
body.bmt-high-tier-active .site-footer,
body.bmt-high-tier-active #colophon,
body.bmt-high-tier-active .entry-header,
body.bmt-high-tier-active .page-header,
body.bmt-high-tier-active .entry-hero,
body.bmt-high-tier-active h1.entry-title:not(.bmt-h1) {
  display: none !important;
}

/* Suppress duplicate title injected by WP/plugins */
.bmt-body > span.bmt-brand:first-child,
.bmt-body > h1:first-child,
.bmt-body > h1:nth-child(2) {
  display: none !important;
}

/* Admin bar offsets */
body.admin-bar .bmt-topbar { top: 32px; }


/* =========================================================
   3. PROGRESS BAR
   ========================================================= */
.bmt-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  z-index: 99999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(0,0,0,.18);
}


/* Brand bar 제거 — 브랜딩은 Top bar로 통합 */


/* =========================================================
   5. TOP BAR — 브랜딩 + 타이틀 + 네비 통합
   ========================================================= */
.bmt-topbar {
  position: sticky;
  top: 0;                        /* brand bar 제거로 top: 0 */
  z-index: 10000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(15,23,42,.09);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.bmt-topbar .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* 브랜딩 로고 */
.bmt-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
  transition: opacity .2s ease;
  text-decoration: none;
}
.bmt-topbar-brand::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.bmt-topbar-brand:hover { opacity: .65; }

/* 브랜딩 / 타이틀 구분선 */
.bmt-topbar-brand::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(15,23,42,.15);
  margin-left: 10px;
  flex-shrink: 0;
}

/* .bmt-topbar .title — 제거됨 */

.bmt-topbar .nav { display: flex; gap: 8px; flex: 0 0 auto; }

.bmt-topbar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.09);
  background: #f1f5f9;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
  transition: all .18s var(--ease);
  white-space: nowrap;
  color: var(--ink);
}
.bmt-topbar .btn:hover {
  transform: translateY(-1px);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(15,23,42,.18);
}


/* =========================================================
   6. SHELL & GRID LAYOUT
   ========================================================= */
.bmt-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 52px 20px 64px;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(15,23,42,.05) 0%, transparent 60%),
    linear-gradient(rgba(15,23,42,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.02) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}

.bmt-grid {
  width: 100%;
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0,1fr) var(--rail);
  gap: 28px;
  align-items: start;
}


/* =========================================================
   7. MAIN PAPER
   ========================================================= */
.bmt-paper {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadowPod);
  padding: 88px 80px 96px;
  position: relative;
  overflow: hidden;
}

/* Flat top bar strip */
.bmt-paper::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}

/* Paper texture */
.bmt-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(15,23,42,.18), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(201,168,76,.18), transparent 45%);
}

.bmt-paper > * { position: relative; z-index: 1; }


/* =========================================================
   8. ARTICLE HEADER
   ========================================================= */
.bmt-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.bmt-eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  border-radius: 2px;
  flex-shrink: 0;
}

.bmt-h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.04em;
  margin: 0 0 18px;
  color: var(--ink);
}

.bmt-dek {
  max-width: 72ch;
  margin: 0 0 22px;
  color: var(--sub);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.62;
}

/* Meta chips row */
.bmt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 26px;
}

.bmt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.11);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--sub);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  white-space: nowrap;
}
.bmt-chip i { font-style: normal; opacity: .75; }
.bmt-chip.tag {
  background: rgba(201,168,76,.10);
  border-color: rgba(201,168,76,.22);
  color: var(--navy);
}


/* =========================================================
   9. HERO IMAGE
   ========================================================= */
.bmt-hero {
  margin: 22px 0 42px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.bmt-hero img {
  width: 100%; height: auto; display: block;
}
.bmt-hero figcaption {
  padding: 12px 16px;
  font-size: .86rem;
  color: var(--muted);
  background: linear-gradient(180deg, #fff, #fafafa);
  border-top: 1px solid rgba(15,23,42,.06);
}


/* =========================================================
   10. BODY CONTENT
   ========================================================= */
.bmt-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.88;
  color: #1c1c1c;
  letter-spacing: -.003em;
}

.bmt-body p { margin: 0 0 22px; }

.bmt-body h2 {
  font-family: var(--sans);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -.025em;
  margin: 72px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(15,23,42,.08);
}

.bmt-body h3 {
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--ink);
  margin: 34px 0 10px;
}

.bmt-body ul {
  margin: 16px 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.bmt-body li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
  line-height: 1.75;
}
.bmt-body li::before {
  content: "▸";
  position: absolute;
  left: 0; top: .1em;
  color: var(--gold);
  font-weight: 900;
}


/* =========================================================
   11. 3-CARD ROW
   ========================================================= */
.bmt-cards3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 26px 0 10px;
}

.bmt-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}
.bmt-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--gold) 100%);
}

.bmt-card .k {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 8px;
}
.bmt-card .v {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 8px 8px;
}
.bmt-card .d {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  color: var(--sub);
  margin: 0 0 0 8px;
  line-height: 1.55;
}


/* =========================================================
   12. CALLOUT BOXES
   ========================================================= */
.bmt-callout {
  margin: 28px 0;
  padding: 18px 18px 18px 18px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.bmt-callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--navy));
}
.bmt-callout h4 {
  margin: 0 0 8px 8px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bmt-callout p {
  margin: 0 0 0 8px;
  font-family: var(--sans);
  color: var(--sub);
  font-weight: 600;
  line-height: 1.6;
}


/* =========================================================
   13. CHARTS
   ========================================================= */
.bmt-chart {
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: var(--shadowChart);
  overflow: hidden;
  margin: 44px 0;
}

.bmt-chart .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(15,23,42,.07);
  background: linear-gradient(180deg, #ffffff, #fafafa);
  position: relative;
}
.bmt-chart .head::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.bmt-chart .t {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.02rem;
  margin: 0;
}
.bmt-chart .m {
  font-family: var(--sans);
  color: var(--muted);
  font-weight: 700;
  font-size: .86rem;
  margin: 6px 0 0;
}

.bmt-badge {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: #f6f7fb;
  color: var(--muted);
}

.bmt-chart .plot {
  padding: 10px 12px 14px;
}

/* chart target container (ApexCharts renders here) */
.bmt-chart-target {
  width: 100%;
  min-height: 320px;
}

.bmt-chart .foot {
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(15,23,42,.06);
  font-family: var(--sans);
  color: var(--muted);
  font-weight: 700;
  font-size: .78rem;
}


/* =========================================================
   14. TABLE — Responsive (desktop: standard / mobile: card-flip)
   ========================================================= */
.bmt-tableWrap {
  margin: 26px 0;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  overflow: hidden;          /* no outer scroll; inner handles it */
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* ── 테이블 제목 (caption 태그) ── */
.bmt-tableWrap caption,
table.bmt-table caption {
  caption-side: top;
  text-align: center;
  padding: 14px 16px 12px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #f4f7fb, #eef1f6);
  border-bottom: 1px solid rgba(15,23,42,.08);
  white-space: normal;
  line-height: 1.4;
}

/* ── Desktop scroll container ── */
.bmt-tableWrap .bmt-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15,23,42,.18) transparent;
}
.bmt-tableWrap .bmt-table-scroll::-webkit-scrollbar { height: 4px; }
.bmt-tableWrap .bmt-table-scroll::-webkit-scrollbar-track { background: transparent; }
.bmt-tableWrap .bmt-table-scroll::-webkit-scrollbar-thumb { background: rgba(15,23,42,.18); border-radius: 4px; }

/* ── 데스크톱 테이블 기본 ── */
table.bmt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: .92rem;
  table-layout: auto;       /* fixed 제거 — 컬럼 너비 자동 */
}

.bmt-table th {
  text-align: left;
  padding: 13px 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .74rem;
  background: linear-gradient(180deg, #f4f7fb, #eef1f6);
  border-bottom: 2px solid rgba(15,23,42,.10);
  white-space: nowrap;
}

.bmt-table th:first-child,
.bmt-table td:first-child {
  font-weight: 900;
  color: var(--ink);
}

.bmt-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  color: var(--sub);
  vertical-align: top;
  line-height: 1.55;
}
.bmt-table tr:last-child td { border-bottom: none; }
.bmt-table tbody tr:nth-child(even) td { background: #fafbfe; }


/* ══════════════════════════════════════════
   모바일 Card-Flip (≤ 700px)
   — JS data-label 의존 없이 CSS만으로 작동
   — nth-child pseudo-label 방식 사용
   ══════════════════════════════════════════ */
@media (max-width: 700px) {

  /* 래퍼: overflow hidden 해제, 스크롤 없음 */
  .bmt-tableWrap {
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .bmt-tableWrap .bmt-table-scroll {
    overflow: visible;
    background: none;
  }

  /* 테이블/행/셀 전부 block */
  table.bmt-table,
  .bmt-table thead,
  .bmt-table tbody,
  .bmt-table th,
  .bmt-table td,
  .bmt-table tr {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* 원래 헤더 행 숨김 */
  .bmt-table thead tr { display: none; }

  /* caption은 block으로 유지 */
  table.bmt-table caption {
    display: block;
    width: 100%;
    white-space: normal;
    word-break: keep-all;
    text-align: center;
    padding: 12px 16px;
    font-size: .9rem;
  }

  /* 각 행 = 카드 */
  .bmt-table tbody tr {
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    background: #fff;
  }

  /* 각 셀 = 라벨 + 값 행 */
  .bmt-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(15,23,42,.05);
    font-size: .9rem;
    line-height: 1.55;
    background: #fff;
  }
  .bmt-table tbody tr:nth-child(even) td { background: #fff; }
  .bmt-table td:last-child { border-bottom: none; }

  /* ── data-label 방식 (JS 주입 시) ── */
  .bmt-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 900;
    font-size: .70rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 100px;
    padding-top: 3px;
    line-height: 1.4;
  }

  /* 첫 번째 셀 = 행 제목 (강조 헤더처럼) */
  .bmt-table td:first-child {
    background: linear-gradient(180deg, #f0f4fa, #e8edf6) !important;
    font-weight: 900;
    font-size: .88rem;
    letter-spacing: .02em;
    color: var(--ink);
    border-bottom: 2px solid rgba(15,23,42,.10) !important;
    justify-content: flex-start;
    padding-left: 18px;
  }
  .bmt-table td:first-child::before { display: none; }

  /* data-label 없는 셀도 올바르게 표시 */
  .bmt-table td:not([data-label]):not(:first-child)::before {
    display: none;
  }
}


/* =========================================================
   15. SIDEBAR (RIGHT RAIL)
   ========================================================= */
.bmt-rail {
  position: sticky;
  top: calc(var(--topbarH, 56px) + 20px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bmt-railCard {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: var(--shadowRail);
  overflow: hidden;
  position: relative;
}
.bmt-railCard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--gold));
}

.bmt-railHead {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(15,23,42,.07);
  margin-left: 4px;
}
.bmt-railTitle {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--muted);
}

.bmt-railBody { padding: 12px 12px 14px; margin-left: 4px; }

.bmt-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: #f8fafc;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13.5px;
  transition: all .18s var(--ease);
  line-height: 1.45;
}
.bmt-link:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(15,23,42,.16);
  box-shadow: 0 8px 18px rgba(0,0,0,.07);
}

.bmt-pill {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  flex: 0 0 auto;
  white-space: nowrap;
}
.bmt-pill.gov { background: rgba(15,23,42,.90); }
.bmt-pill.new { background: rgba(201,168,76,.95); color: #1a1a1a; }

/* Key stats row */
.bmt-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f5f9;
  margin: 8px 0;
  font-family: var(--sans);
}
.bmt-stat .l { font-size: 12px; font-weight: 800; color: var(--muted); }
.bmt-stat .r { font-size: 14px; font-weight: 900; color: var(--ink); }

/* Cluster label */
.bmt-clusterLabel {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 2px 8px;
}

/* TOC pill variant */
.bmt-toc-pill { background: var(--navy); }


/* =========================================================
   16. AUTO INTERNAL LINK
   ========================================================= */
.bmt-autolink {
  font-weight: 900;
  border-bottom: 1px solid rgba(201,168,76,.85);
  padding-bottom: 1px;
  color: inherit;
  text-decoration: none;
}
.bmt-autolink:hover { opacity: .78; }


/* =========================================================
   17. FOOTER
   ========================================================= */
.bmt-footer {
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 20px 24px 28px;
  text-align: center;
  border-top: 1px solid rgba(15,23,42,.09);
}
.bmt-footer .nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
}
.bmt-footer .nav a:hover { text-decoration: underline; }
.bmt-footer .sep { color: rgba(15,23,42,.35); font-weight: 900; }
.bmt-footer .copy {
  margin-top: 10px;
  font-family: var(--sans);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}


/* =========================================================
   18. RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .bmt-grid { grid-template-columns: 1fr; gap: 20px; }
  .bmt-rail { position: static; }
  .bmt-paper { padding: 56px 36px 76px; }
}

@media (max-width: 768px) {
  .bmt-shell { padding: 18px 14px 40px; }
  .bmt-paper { padding: 34px 18px 58px; border-radius: 14px; }
  .bmt-h1 { font-size: clamp(2.05rem, 9vw, 3.0rem); }
  .bmt-dek { font-size: 1.05rem; }
  .bmt-body { font-size: 1.04rem; line-height: 1.82; }
  .bmt-body h2 { margin-top: 48px; font-size: 1.55rem; }
  .bmt-cards3 { grid-template-columns: 1fr; gap: 12px; }
  .bmt-hero { border-radius: 14px; }
  .bmt-chart .plot { padding: 8px 8px 12px; }
}

@media (max-width: 420px) {
  .bmt-topbar .inner { padding: 10px 14px; }
  .bmt-topbar .btn { padding: 7px 10px; }
  .bmt-chip { height: 28px; padding: 0 12px; font-size: .78rem; }
  /* 초소형 화면에서 브랜드명 숨김 — 골드 dot만 유지 */
  .bmt-topbar-brand { font-size: 0; gap: 0; letter-spacing: 0; }
  .bmt-topbar-brand::before { width: 8px; height: 8px; }
  .bmt-topbar-brand::after { display: none; }
}