@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');
/* ── MoneyDecoded 공통 헤더 CSS ── */

.disclosure { background: #fffbea; border-bottom: 1px solid #e5d96a; padding: 8px 20px; font-size: 0.72rem; color: #7a6a00; text-align: center; }
.disclosure strong { font-weight: 600; }

header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 48px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
}

.logo span {
  color: #1a6b4a;
}

.header-blog-cta {
  background: #1a6b4a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.header-blog-cta:hover {
  background: #155a3d;
}

.header-nav-outer {
  border-top: 1px solid #e8e8e4;
  overflow-x: auto;
  background: #fff;
  position: sticky;
  top: 48px;
  z-index: 99;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.header-nav-outer::-webkit-scrollbar { height: 6px; background: #f0f0f0; }
.header-nav-outer::-webkit-scrollbar-thumb { background: #b0b0b0; border-radius: 4px; }
.header-nav-outer::-webkit-scrollbar-thumb:hover { background: #888; }

.header-nav {
  display: flex;
  gap: 0;
  padding: 0 24px;
  width: max-content;
}

.header-nav a {
  font-size: 13px;
  font-weight: 400;
  color: #5f6368;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 12px 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.header-nav a:hover { color: #1a6b4a; }

.header-nav a.active {
  color: #1a6b4a;
  font-weight: 600;
  border-bottom: 2px solid #1a6b4a;
}
