/*
Theme Name: MoneyBlack Pro (코리아머니랩 × 머니블랙 시그니처)
Theme URI: https://koreamoneylab.com
Author: KoreaMoneyLab × MoneyBlack Studio
Description: 머니블랙(@moneyblack_kr) 경제 유튜브 채널 연동형 초고속 모바일 퍼스트 핀테크·세금·시황 워드프레스 테마 (Core Web Vitals 99+, Lite-YouTube, 3초 슬라이더 계산기, D+14 트래커 내장)
Version: 1.2.0
Text Domain: moneyblack-pro
*/

:root {
  --bg-page: #F3F6FB;
  --bg-card: #FFFFFF;
  --bg-obsidian: #090D16;
  --bg-obsidian-2: #111827;
  --bg-obsidian-3: #1E293B;
  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #64748B;
  --accent-blue: #2563EB;
  --accent-blue-dark: #1D4ED8;
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #38BDF8;
  --accent-gold: #F59E0B;
  --accent-emerald: #10B981;
  --accent-red: #EF4444;
  --border-light: #E2E8F0;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-elevated: 0 16px 38px rgba(9, 13, 22, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: clip; }

body {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 78px; /* Space for mobile sticky bottom dock */
  max-width: 100%;
  overflow-x: clip;
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease, opacity 0.15s ease; }

/* Prevent CSS Grid auto-min-width blowout on mobile */
.mb-hero-grid > *,
.mb-article-shell > *,
.mb-silo-grid > *,
.mb-post-grid > *,
.mb-video-showcase > *,
.mb-live-inner > div:first-child,
.mb-logo-wrap > div {
  min-width: 0;
  max-width: 100%;
}

/* Reading Progress Bar */
#mb-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-gold));
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Top Live Signal Bar */
.mb-live-strip {
  background: var(--bg-obsidian);
  color: #CBD5E1;
  font-size: 11.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}
.mb-live-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 7px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.mb-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  margin-right: 5px;
  animation: mbPulse 1.8s infinite;
}
@keyframes mbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.2); }
}
.mb-yt-chip {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mb-yt-chip:hover { background: rgba(239, 68, 68, 0.28); color: #fff; }

/* Sticky App Header + Swipeable Pill Nav */
.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.mb-header-top {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 11px 14px 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.mb-logo-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.mb-logo-mark {
  background: linear-gradient(135deg, #090D16 0%, #1E293B 100%);
  color: var(--accent-cyan-light);
  border: 1px solid #334155;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 9px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(9, 13, 22, 0.18);
}
.mb-logo-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--text-main);
  line-height: 1.15;
}
.mb-logo-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mb-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.mb-calc-top-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Swipeable Category Pill Scroller */
.mb-pill-nav-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4px 14px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mb-pill-nav-wrap::-webkit-scrollbar { display: none; }
.mb-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.mb-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid transparent;
  white-space: nowrap;
}
.mb-pill-link:hover, .mb-pill-link.active {
  background: var(--bg-obsidian);
  color: #FFFFFF;
}
.mb-pill-link.mb-special {
  background: #0F172A;
  color: var(--accent-cyan-light);
  border-color: #334155;
}

/* Main Layout Container */
.mb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px 44px;
}

/* ==========================================================================
   HOMEPAGE HERO: MONEYBLACK TERMINAL + INTERACTIVE 3-TAB THUMB SIMULATOR
   ========================================================================== */
.mb-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
@media (min-width: 960px) {
  .mb-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 22px;
  }
}

.mb-terminal-hero {
  background: radial-gradient(circle at 88% 14%, rgba(6, 182, 212, 0.22), transparent 46%),
              radial-gradient(circle at 12% 90%, rgba(37, 99, 235, 0.24), transparent 50%),
              linear-gradient(155deg, #090D16 0%, #111827 65%, #172554 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .mb-terminal-hero { padding: 32px 34px; }
}
.mb-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #7DD3FC;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 14px;
}
.mb-terminal-hero h1 {
  font-size: 25px;
  line-height: 1.34;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .mb-terminal-hero h1 { font-size: 32px; }
}
.mb-terminal-hero h1 .hl-gold { color: #FBBF24; }
.mb-terminal-hero h1 .hl-cyan { color: #38BDF8; }
.mb-hero-desc {
  color: #CBD5E1;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* MoneyBlack Signature D+14 Live Scoreboard inside Hero */
.mb-d14-board {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 15px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.mb-d14-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #38BDF8;
  margin-bottom: 10px;
}
.mb-d14-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  gap: 8px;
  min-width: 0;
}
.mb-d14-row > span:first-child {
  flex: 1;
  min-width: 0;
}
.mb-d14-badge {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FCD34D;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mb-hero-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mb-btn-cyan {
  background: linear-gradient(135deg, #06B6D4, #2563EB);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12.8px;
  text-align: center;
  padding: 11px 10px;
  border-radius: 12px;
}
.mb-btn-outline {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: #F8FAFC;
  font-weight: 700;
  font-size: 12.8px;
  text-align: center;
  padding: 11px 10px;
  border-radius: 12px;
}

/* Interactive 3-Second Thumb Simulator Card */
.mb-sim-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  border: 1.5px solid #CBD5E1;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mb-sim-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mb-sim-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mb-sim-live-tag {
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
}
.mb-sim-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.mb-sim-tab {
  border: none;
  background: transparent;
  padding: 9px 6px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mb-sim-tab.active {
  background: #FFFFFF;
  color: var(--accent-blue-dark);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.mb-sim-pane { display: none; }
.mb-sim-pane.active { display: block; }

.mb-slider-group { margin-bottom: 14px; }
.mb-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.mb-slider-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-blue-dark);
}
input[type="range"].mb-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  outline: none;
}
input[type="range"].mb-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 3px solid #FFFFFF;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.4);
  cursor: pointer;
}
.mb-radio-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.mb-rpill {
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 8px 4px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
}
.mb-rpill.active {
  border-color: var(--accent-blue);
  background: #EFF6FF;
  color: var(--accent-blue-dark);
}
.mb-sim-result {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 6px;
}
.mb-res-sub { font-size: 12px; font-weight: 800; color: #1E40AF; }
.mb-res-big {
  font-size: 23px;
  font-weight: 900;
  color: #0F172A;
  margin: 3px 0;
}
.mb-res-big span { color: var(--accent-blue-dark); }
.mb-res-tip { font-size: 12px; color: #059669; font-weight: 700; }
.mb-sim-go-btn {
  display: block;
  margin-top: 12px;
  background: var(--bg-obsidian);
  color: #FFFFFF;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
}
.mb-sim-go-btn span { color: #FBBF24; }

/* ==========================================================================
   LITE-YOUTUBE VIDEO BRIEFING SECTION (ZERO IFRAME LAG)
   ========================================================================== */
.mb-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 28px 0 14px;
  gap: 10px;
}
.mb-section-header h2 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
}
.mb-section-header a {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-blue);
  white-space: nowrap;
}

.mb-video-showcase {
  background: var(--bg-obsidian);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid #1E293B;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 860px) {
  .mb-video-showcase {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 26px 28px;
    align-items: center;
  }
}

.mb-yt-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
@media (min-width: 860px) {
  .mb-yt-dual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mb-yt-window-card {
  background: #090D16;
  border: 1px solid #1E293B;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(9, 13, 22, 0.14);
  margin: 18px 0;
}
.mb-yt-dual-grid .mb-yt-window-card { margin: 0; }
.mb-yt-win-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
}
.mb-yt-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}
.mb-yt-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mb-yt-win-foot {
  padding: 12px 15px;
  background: #090D16;
  color: #F8FAFC;
}
.mb-yt-win-foot .yt-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  color: #FFFFFF;
}
.mb-yt-win-foot .yt-sub {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 4px;
}

/* ==========================================================================
   5-SILO TOPICAL CLUSTER HUB & POST CARDS
   ========================================================================== */
.mb-silo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .mb-silo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mb-silo-grid { grid-template-columns: repeat(5, 1fr); }
}
.mb-silo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.mb-silo-card:hover { transform: translateY(-2px); border-color: #93C5FD; }
.mb-silo-card.featured-silo {
  border: 1.5px solid #0F172A;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}
.mb-silo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mb-silo-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #EFF6FF;
}
.mb-silo-card h3 { font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.mb-silo-card p { font-size: 12.8px; color: var(--text-muted); line-height: 1.45; margin-bottom: 12px; }
.mb-silo-go { font-size: 12.5px; font-weight: 800; color: var(--accent-blue); }

/* Post Feed Cards */
.mb-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .mb-post-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1080px) {
  .mb-post-grid { grid-template-columns: repeat(3, 1fr); }
}
.mb-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mb-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.mb-badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mb-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #334155;
}
.mb-badge.blue { background: #DBEAFE; color: #1D4ED8; }
.mb-badge.dark { background: #0F172A; color: #38BDF8; }
.mb-badge.amber { background: #FEF3C7; color: #B45309; }
.mb-post-card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
  margin-bottom: 8px;
  color: var(--text-main);
}
.mb-post-excerpt {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 14px;
}
.mb-post-foot {
  border-top: 1px solid #F1F5F9;
  padding-top: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.mb-read-cta { color: var(--accent-blue-dark); font-weight: 800; }

/* ==========================================================================
   SINGLE ARTICLE & PAGE TYPOGRAPHY (SEO / AEO / MOBILE READABILITY)
   ========================================================================== */
.mb-article-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 980px) {
  .mb-article-shell { grid-template-columns: minmax(0, 1fr) 330px; }
}
.mb-article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) {
  .mb-article-main { padding: 36px 40px; }
}
.mb-breadcrumb {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.mb-article-h1 {
  font-size: 24px;
  line-height: 1.36;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .mb-article-h1 { font-size: 30px; }
}
.mb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

/* Atomic Answer Box (AI Overview & Featured Snippet Magnet) */
.mb-atomic-answer {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 14px 14px 0;
  padding: 16px 18px;
  margin: 18px 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #1E293B;
}
.mb-atomic-answer strong { color: var(--accent-blue-dark); }

/* Auto Table of Contents */
.mb-toc-box {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.mb-toc-title { font-size: 14px; font-weight: 900; margin-bottom: 8px; color: var(--text-main); }
.mb-toc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: #334155; }
.mb-toc-list a:hover { color: var(--accent-blue); }

/* Post Card Featured Thumbnails (16:9 CLS-Zero) */
.mb-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 13px;
  background: #090D16;
  border: 1px solid #E2E8F0;
}
.mb-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.mb-post-card:hover .mb-card-thumb img {
  transform: scale(1.03);
}
.mb-hero-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid #CBD5E1;
  background: #090D16;
}
.mb-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rich Entry Content (GPTO 9-Rule Editorial Formatting) */
.mb-entry-content { font-size: 16.2px; line-height: 1.85; color: #1E293B; }
.mb-entry-content h2 {
  font-size: 21.5px;
  font-weight: 900;
  color: #0F172A;
  margin: 38px 0 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid #E2E8F0;
  letter-spacing: -0.02em;
}
.mb-entry-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
  margin: 26px 0 10px;
  padding-left: 11px;
  border-left: 3px solid var(--accent-blue);
}
.mb-entry-content p { margin-bottom: 17px; }
.mb-entry-content ul, .mb-entry-content ol { margin: 0 0 20px 20px; }
.mb-entry-content li { margin-bottom: 9px; }
.mb-entry-content a {
  color: var(--accent-blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #93C5FD;
  text-underline-offset: 3px;
}
.mb-entry-content a:hover { color: #1E3A8A; }
.mb-entry-content mark {
  background: linear-gradient(transparent 55%, #FDE68A 55%);
  color: #0F172A;
  padding: 0 3px;
  font-weight: 800;
  border-radius: 2px;
}
.mb-entry-content blockquote {
  margin: 22px 0;
  padding: 15px 18px;
  border-left: 4px solid #090D16;
  background: #F8FAFC;
  border-radius: 0 12px 12px 0;
  font-weight: 700;
  color: #0F172A;
  font-size: 15.5px;
}
.mb-entry-content figure {
  margin: 24px 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.mb-entry-content figure img, .mb-entry-content > p > img {
  width: 100%;
  height: auto;
  display: block;
}
.mb-entry-content figcaption {
  padding: 9px 14px;
  font-size: 12.5px;
  color: #64748B;
  font-weight: 600;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}
.mb-related-callout {
  margin: 26px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid #BFDBFE;
  background: #EFF6FF;
}
.mb-related-callout .eyebrow {
  font-size: 11.5px;
  font-weight: 900;
  color: #1D4ED8;
  margin-bottom: 4px;
}
.mb-related-callout a {
  display: inline-block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
  text-decoration: underline;
}

/* Responsive Scrollable Tables on Mobile */
.mb-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 24px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.mb-entry-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 14px;
}
.mb-entry-content th {
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 800;
  text-align: left;
  padding: 11px 14px;
}
.mb-entry-content td {
  padding: 11px 14px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
}
.mb-entry-content tr:nth-child(even) td { background: #F8FAFC; }

/* Disclaimer Box */
.mb-disclaimer-box {
  margin-top: 30px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.6;
}

/* Sticky Sidebar on Desktop */
.mb-sidebar-sticky {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer */
.mb-footer {
  background: var(--bg-obsidian);
  color: #94A3B8;
  padding: 36px 16px 44px;
  margin-top: 40px;
  border-top: 1px solid #1E293B;
}
.mb-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM APP DOCK (NO-EXIT ADDICTIVE UX ON SMARTPHONES)
   ========================================================================== */
.mb-mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: rgba(9, 13, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) {
  .mb-mobile-dock { display: none; }
}
.mb-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #94A3B8;
  font-size: 10.5px;
  font-weight: 700;
}
.mb-dock-item .ico { font-size: 17px; line-height: 1.1; }
.mb-dock-item.active, .mb-dock-item:hover { color: #FFFFFF; }
.mb-dock-item.dock-center {
  color: #38BDF8;
  font-weight: 900;
}
.mb-dock-item.dock-center .ico {
  background: linear-gradient(135deg, #06B6D4, #2563EB);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -14px;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.5);
  font-size: 16px;
}
