/* Shared PROGRAM / WELLNESS CLUB / PARTNER chrome.
   Desktop uses the existing Wellness Club masthead, not the page's hero H1.
   Mobile keeps all eight menus in an accessible horizontal scroll row. */
@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; }
.page-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 96px));
  max-width: 1240px;
  margin-inline: auto;
  gap: 20px;
  padding: 20px 0 4px;
  color: #746a64;
  font-family: MovflexUI, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  font-weight: 400;
  line-height: 1.75;
}
.page-context nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: .1em;
  line-height: 1.75;
}
.page-context nav > a:hover { color: #6e3e3f; }
.page-context [aria-current="page"] { color: #6e3e3f; font-weight: 600; }
.page-context > p {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 12px;
  font-size: 10px;
  letter-spacing: normal;
  line-height: 1.75;
}
.page-context .serif {
  display: inline;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: normal;
  color: #6e3e3f;
}
@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; }
  .page-context { width: calc(100% - 72px); }
}
@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; }
  .page-context { width: calc(100% - 48px); }
}
@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; }
  .page-context { width: calc(100% - 40px); padding: 14px 0 0; gap: 12px; }
  .page-context nav { font-size: 8px; gap: 8px; }
  .page-context > p { font-size: 8px; gap: 8px; }
  .page-context .serif { font-size: 16px; }
}
@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; }
  .page-context { width: calc(100% - 32px); gap: 8px; }
  .page-context nav { font-size: 7px; gap: 6px; }
  .page-context > p { font-size: 7px; gap: 6px; }
  .page-context .serif { font-size: 14px; }
}
