/* PARTNER masthead: matched to the approved PROGRAM site chrome only.
   Deliberately excludes page context, hero, and all product-body styling. */
@font-face {
  font-family: MovflexUI;
  src: url('/manus-storage/wellness-a69cfd8792_c5def96c.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root { --header: 84px; }

.header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(247,244,239,.96);
  border-bottom: 1px solid rgba(83,46,47,.13);
  backdrop-filter: blur(16px);
  padding: 0;
  font-family: MovflexUI, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.header .header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
  width: calc(100% - 80px);
  max-width: 1440px;
  margin: auto;
  min-width: 0;
}

.header .logo { display: block; width: 155px; flex-shrink: 0; }
.header .logo img { filter: brightness(0); width: 100%; height: auto; }

.header .main-nav {
  display: flex;
  visibility: visible;
  position: static;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0 0 0 auto;
  padding: 0;
  min-width: 0;
  width: auto;
  max-width: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header .main-nav a {
  position: relative;
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .11em;
  padding: 12px 0;
  white-space: nowrap;
  text-decoration: none;
  flex: 0 0 auto;
  min-height: 0;
  color: #403e3d;
}

.header .main-nav a:hover,
.header .main-nav a[aria-current="page"] { color: #6e3e3f; font-weight: 400; }

.header .main-nav a[aria-current="page"]::after {
  content: '';
  height: 1px;
  background: #6e3e3f;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
}

.header .header-book,
.header .menu-toggle { display: none !important; }

@media (max-width: 1200px) {
  .header .header-inner { gap: 24px; width: calc(100% - 48px); }
  .header .logo { width: 140px; }
  .header .main-nav { gap: 16px; }
  .header .main-nav a { font-size: 9px; }
}

@media (max-width: 1000px) {
  :root { --header: 124px; }

  .header .header-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: 72px 52px;
    gap: 0;
    width: calc(100% - 48px);
  }

  .header .logo { grid-row: 1; align-self: center; width: 190px; }

  .header .main-nav {
    grid-row: 2;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 27px;
    align-self: stretch;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #c9b3a6 transparent;
  }

  .header .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .09em;
  }

  .header .main-nav a[aria-current="page"]::after { bottom: 0; }
}

@media (max-width: 640px) {
  :root { --header: 114px; }
  .header .header-inner { width: calc(100% - 40px); grid-template-rows: 64px 50px; }
  .header .logo { width: 170px; }
  .header .main-nav { gap: 24px; }
  .header .main-nav a { font-size: 10.5px; }
}

@media (max-width: 360px) {
  :root { --header: 110px; }
  .header .header-inner { width: calc(100% - 32px); grid-template-rows: 60px 50px; }
  .header .logo { width: 152px; }
  .header .main-nav { gap: 22px; }
  .header .main-nav a { font-size: 10px; }
}
