@font-face {
  font-family: "Corporate Inter";
  src: url("../fonts/inter/Inter%5Bopsz%2Cwght%5D.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* PublicFontCatalog permits separate typefaces for the home and the current article. */
.gs-header[data-header-font="roboto"] { --header-font-family: "Roboto","Noto Sans","Segoe UI",Arial,sans-serif; }
.gs-header[data-header-font="open-sans"] { --header-font-family: "Open Sans","Noto Sans","Segoe UI",Arial,sans-serif; }
.gs-header[data-header-font="montserrat"] { --header-font-family: "Montserrat","Roboto","Noto Sans","Segoe UI",Arial,sans-serif; }
.gs-header[data-header-font="inter"] { --header-font-family: "Inter","Roboto","Noto Sans","Segoe UI",Arial,sans-serif; }
.gs-header[data-header-font="be-vietnam-pro"] { --header-font-family: "Be Vietnam Pro","Roboto","Noto Sans","Segoe UI",Arial,sans-serif; }
.gs-header[data-header-font="arial"] { --header-font-family: Arial,Helvetica,sans-serif; }
.gs-header[data-header-font="helvetica"] { --header-font-family: Helvetica,Arial,sans-serif; }
.gs-header[data-header-font="georgia"] { --header-font-family: Georgia,"Times New Roman",serif; }
.gs-header[data-header-font="times-new-roman"] { --header-font-family: "Times New Roman",Times,Georgia,serif; }
.gs-header[data-native-header="generic-landing-v1"][data-header-font] { font-family: var(--header-font-family); }
.corp-header { font-family: "Corporate Inter",Arial,sans-serif; }

/* Keep the PageBuilder header subtree intact. The actions share its grid from a sibling slot. */
html:has(#public-component-colors[data-renderer]) body .gs-header[data-native-header]:not([data-native-header="generic-landing-v1"]) {
  --head-height: 76px;
  --head-width: 1200px;
  --head-inset: 20px;
  --head-gap: 24px;
  --head-fill: #07142f;
  --head-ink: #fff;
  --head-line: #ffffff29;
  --nav-ink: #e0e8f7;
  --nav-gap: 6px;
  --nav-padding: 9px 11px;
  --nav-weight: 750;
  --nav-font-size: 14px;
  --nav-highlight: #ffffff13;
  --toggle-size: 48px;
  --action-height: 43px;
  display: grid;
  grid-template-columns: minmax(0,max-content) minmax(0,1fr) auto auto;
  align-items: center;
  isolation: isolate;
  padding-inline: max(var(--head-inset), calc((100% - var(--head-width)) / 2));
  min-height: var(--head-height);
  color: var(--ow-header-text,var(--head-ink));
  background: var(--ow-header-background,var(--head-fill));
  border-bottom: 1px solid var(--ow-header-border,var(--head-line));
  font: 400 1rem/1.65 var(--header-font-family,"Inter",Arial,sans-serif);

  & .gs-header__inner {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    grid-row: 1;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: calc(var(--head-height) - 1px);
    margin: 0;
    padding: 0;
    gap: 0;
  }
  & .gs-brand { grid-area: 1 / 1; min-width: 0; max-width: min(16rem,60vw); gap: 11px; color: inherit; text-decoration: none; }
  & .gs-brand img { display: block; width: auto; height: 42px; max-width: 120px; margin: 0; object-fit: contain; }
  & .gs-brand strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 22px; font-weight: 850; letter-spacing: -.035em; line-height: 1.15; }
  & .gs-brand em { color: var(--ow-header-text,#61d9cf); font-style: normal; }
  & .gs-navigation {
    grid-area: 1 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    width: auto;
    min-width: 0;
    gap: 0 var(--nav-gap);
    margin-inline-start: var(--head-gap);
    background: var(--ow-menu-background,transparent);
  }
  & .gs-navigation a {
    padding: var(--nav-padding);
    color: var(--ow-menu-text,var(--ow-header-text,var(--nav-ink)));
    border-radius: 10px;
    font-size: var(--nav-font-size);
    font-weight: var(--nav-weight);
    line-height: 1.65;
    text-decoration: none;
  }
  & .gs-navigation a:is(:hover,:focus-visible,[aria-current="page"]) {
    color: var(--ow-menu-hover-text,var(--ow-header-text,var(--head-ink)));
    background: var(--ow-menu-hover-background,var(--nav-highlight));
    text-decoration: none;
  }
  & .gs-header-actions {
    grid-area: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    min-width: 0;
    margin-inline-start: var(--head-gap);
  }
  & .gs-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--action-height);
    max-width: min(15rem,34vw);
    padding: 10px 16px;
    color: var(--ow-header-text,var(--head-ink));
    background: #ffffff12;
    border: 1px solid var(--ow-header-border,#ffffff38);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }
  & .gs-header-action:hover { border-color: currentColor; }
  & .gs-header-action--primary {
    color: var(--ow-button-text,#fff);
    background: var(--ow-button-background,#0866ed);
    border-color: transparent;
  }
  & .gs-header-action--primary:hover { background: var(--ow-button-hover,var(--ow-button-background,#0054ce)); }
  & .gs-header-icon {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    min-height: 40px; padding: 0;
    color: var(--ow-link,#0866ed); background: linear-gradient(145deg,#fff,#edf6ff); border: 1px solid #c9dff8;
  }
  & .gs-header-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.85; fill: none; }
  & .gs-menu-toggle {
    display: none; position: relative; grid-area: 1 / 4; width: var(--toggle-size); height: var(--toggle-size);
    margin-inline-start: 10px; padding: 0; border: 1px solid var(--ow-header-border,var(--head-line));
    border-radius: 14px; background: transparent; color: inherit; font-size: 0; cursor: pointer;
  }
  & .gs-menu-toggle::before, & .gs-menu-toggle::after {
    position: absolute; left: 50%; top: 50%; content: ""; width: 18px; height: 2px;
    background: currentColor; border-radius: 2px; transform: translate(-50%, -4px);
  }
  & .gs-menu-toggle::after { transform: translate(-50%, 3px); }
  & .gs-menu-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
  & .gs-menu-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }
  & :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

  &[data-native-header$="-corporate-v1"] {
    --head-height: clamp(4.75rem,6.6vw,6.35rem);
    --head-width: 85rem;
    --head-inset: clamp(1.25rem,6.6vw,7rem);
    --head-gap: 2.5rem;
    --head-fill: #08141b;
    --head-ink: #f6fbfc;
    --head-line: #c7eaef38;
    --nav-ink: var(--head-ink);
    --nav-gap: clamp(1.1rem,2.3vw,3rem);
    --nav-padding: .55rem 0;
    --nav-font-size: .87rem;
    --nav-weight: 550;
    --nav-signal: #7ef8ed;
    --nav-pill-border: #e8f7fc7a;
    --toggle-size: 2.85rem;
    position: relative;
    border-bottom: 0;
    font-family: "Corporate Inter",Arial,sans-serif;
    & .gs-header__inner { min-height: var(--head-height); border-bottom: 1px solid var(--ow-header-border,var(--head-line)); }
    & .gs-brand img { max-width: min(13rem,100%); height: auto; max-height: 3rem; }
    & .gs-brand:has(strong) img { max-width: min(7.5rem,36%); }
    & .gs-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(1.2rem,1.7vw,1.72rem); font-weight: 650; letter-spacing: -.055em; }
    & .gs-navigation { justify-content: end; row-gap: .4rem; padding-block: .6rem; }
    & .gs-navigation a { position: relative; line-height: 1.45; border-radius: 0; }
    & .gs-navigation a:is(:hover,:focus-visible,[aria-current="page"]) { background: var(--ow-menu-active-background,transparent); }
    & .gs-navigation a:not(:last-child):hover { text-decoration: underline; text-underline-offset: .38em; }
    & .gs-navigation a:not(:last-child)[aria-current="page"]::before {
      content: ""; position: absolute; inset: auto 0 .13rem; height: 2px; background: var(--ow-menu-active-text,var(--nav-signal));
    }
    & .gs-navigation a:last-child {
      display: inline-flex; align-items: center; gap: .73em; padding: .58rem 1.14rem;
      border: 1px solid var(--nav-pill-border); border-radius: 3rem;
    }
    & .gs-navigation a:last-child::after { content: "↗"; }
    & .gs-navigation a:last-child:is(:hover,:focus-visible) { color: var(--ow-menu-hover-text,var(--nav-signal)); border-color: currentColor; }
    & .gs-navigation a:last-child[aria-current="page"] { color: var(--ow-menu-active-text,var(--ow-button-text)); background: var(--ow-menu-active-background,var(--ow-button-background)); }
    & .gs-menu-toggle { border-radius: 50%; border-color: var(--ow-header-border,#a9bac77a); }
    @media (max-width: 58rem) { --head-height: 4.6rem; --menu-toggle-display: block; --menu-nav-display: none; }
  }
  &[data-native-header="onemeta-corporate-v1"] {
    --head-fill: #f6f6fb; --head-ink: #211e38; --head-line: #29274033; --nav-signal: #5248c1; --nav-pill-border: #3f395b71;
  }
  &[data-native-header="onekids-landing-v1"] {
    --head-height: 78px; --head-width: 1520px; --head-inset: clamp(20px,3.75vw,60px); --head-gap: 30px;
    --head-fill: linear-gradient(90deg,#fff,#f5faff 52%,#fff9fc); --head-ink: #103b76; --head-line: #d8e8fa;
    --nav-ink: #103b76; --nav-gap: 30px; --nav-padding: 22px 0; --nav-weight: 700; --action-height: 40px; --toggle-size: 44px;
    font-family: var(--header-font-family,"Be Vietnam Pro",Arial,sans-serif);
    & .gs-header__inner { min-height: var(--head-height); }
    & .gs-brand img { width: 114px; height: 42px; margin-inline: 0; }
    & .gs-brand[data-native-logo="text"] img { display: none; }
    & .gs-brand[data-native-logo="text"] strong {
      color: var(--ow-header-text,#104178);
      font-size: clamp(1rem,2vw,1.38rem); font-weight: 750; letter-spacing: normal; line-height: 1.65;
    }
    & .gs-brand[data-native-logo="image"] strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    & .gs-navigation { justify-content: start; }
    & .gs-navigation a:is(:hover,:focus-visible,[aria-current="page"]) { background: var(--ow-menu-hover-background,transparent); color: var(--ow-menu-hover-text,#0866ed); text-decoration: underline; text-underline-offset: .35em; }
    & .gs-header-action:not(.gs-header-icon) { border-radius: 30px; padding: 9px 19px; font-weight: 700; font-size: 13px; }
    & .gs-menu-toggle { border-radius: 10px; }
    @media (min-width: 1500px) { --head-width: 1280px; --head-inset: 32px; }
    @media (max-width: 1150px) { --nav-gap: 18px; --head-gap: 20px; --nav-font-size: 12px; }
    @media (max-width: 900px) { --head-height: 70px; --head-inset: 20px; --menu-toggle-display: block; --menu-nav-display: none; }
    @media (max-width: 600px) {
      --head-height: 66px; --head-inset: 16px; --head-gap: 10px; --toggle-size: 39px;
      & .gs-brand { max-width: 42vw; }
      & .gs-brand img { width: 96px; height: 38px; }
      & .gs-header-action:not(.gs-header-icon) { min-height: 36px; padding: 9px 16px; font-size: 11px; }
      & .gs-header-icon { display: none; }
    }
  }
  &[data-native-header="oneschool-landing-v1"] {
    @media (max-width: 1080px) { --head-width: 960px; --menu-toggle-display: block; --menu-nav-display: none; --secondary-display: none; }
    @media (max-width: 680px) {
      --head-height: 68px; --head-inset: 14px; --actions-display: none;
      & .gs-brand .brand-mark { width: 38px; height: 38px; }
      & .gs-brand strong { font-size: 20px; }
    }
  }
  &[data-native-header="onecamplus-landing-v1"] {
    --head-height: 78px; --head-width: 1240px; --head-gap: 26px; --head-fill: #06101f; --nav-ink: #b9cbe0;
    --nav-gap: 2px; --nav-padding: 10px 13px; --nav-weight: 700; --action-height: 44px;
    font-family: "Be Vietnam Pro",Arial,sans-serif;
    & .gs-brand { gap: 12px; }
    & .gs-brand strong { font: 800 20px/1.15 Inter,Arial,sans-serif; letter-spacing: -.04em; }
    & .gs-brand em { color: var(--ow-header-text,#27d8ff); }
    & .gs-navigation { justify-content: end; }
    & .gs-header-action { border-radius: 13px; }
    @media (max-width: 1120px) { --head-height: 72px; --menu-toggle-display: block; --menu-nav-display: none; --secondary-display: none; }
    @media (max-width: 640px) {
      --head-height: 68px; --head-inset: 14px; --actions-display: none; --toggle-size: 45px;
      & .gs-brand strong { font-size: 18px; }
    }
  }

  &[data-enhanced] .gs-menu-toggle { display: var(--menu-toggle-display,none); }
  &[data-enhanced] .gs-navigation { display: var(--menu-nav-display,flex); }
  &[data-enhanced]:not(.is-open) .gs-header-actions { display: var(--actions-display,flex); }
  &[data-enhanced]:not(.is-open) .gs-header-action:not(.gs-header-action--primary,.gs-header-icon) { display: var(--secondary-display,inline-flex); }

  @media (max-width: 1120px) {
    /* Open grid rows overflow the first row so the page below stays in place. */
    &[data-enhanced].is-open {
      height: var(--head-height); grid-template-rows: var(--head-height) max-content max-content; align-content: start;
      & .gs-header__inner { grid-row: 1 / 3; grid-template-rows: subgrid; align-self: stretch; }
      & .gs-navigation {
        display: flex; grid-area: 2 / 1 / 3 / -1; flex-flow: column nowrap; align-items: stretch;
        gap: 0; width: 100%; max-height: calc(100dvh - var(--head-height) - 5.5rem); overflow-y: auto;
        margin: 0; padding: .45rem .8rem; background: var(--ow-menu-background,var(--ow-header-background,var(--head-fill)));
        box-shadow: 0 12px 22px #06122026;
      }
      & .gs-navigation a { padding: .75rem .35rem; border: 0; border-bottom: 1px solid var(--ow-header-border,var(--head-line)); border-radius: 0; }
      & .gs-navigation a::before { display: none; }
      & .gs-header-actions { grid-area: 3 / 1 / 4 / -1; justify-content: start; margin: 0; padding: .65rem .8rem; flex-wrap: wrap; background: var(--ow-header-background,var(--head-fill)); }
      &[data-native-header="onekids-landing-v1"] .gs-header-actions { grid-area: 1 / 3; padding: 0; background: transparent; flex-wrap: nowrap; }
    }
    &:not([data-enhanced]) {
      & .gs-header__inner { grid-row: 1 / 3; grid-template-rows: minmax(var(--head-height),auto) auto; }
      & .gs-navigation { grid-area: 2 / 1 / 3 / -1; flex-direction: row; flex-wrap: wrap; justify-content: start; margin: 0; gap: .25rem 1rem; padding-block: .35rem; }
      & .gs-navigation a { padding-block: .55rem; }
    }
  }
  @media (max-width: 680px) {
    &:not([data-enhanced]) .gs-header-actions { grid-area: 3 / 1 / 4 / -1; justify-content: start; margin: 0; padding-block: .45rem; flex-wrap: wrap; }
  }
}

/* Article and Docs utilities sit below the selected site header. */
html:has(#public-component-colors[data-renderer]) body .public-topbar.public-topbar--secondary {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 0;
  padding: .5rem max(1rem,calc((100% - 76rem) / 2));
  background: var(--ow-menu-background,var(--shell-head,#fff));
  border-bottom: 1px solid var(--ow-header-border,color-mix(in srgb,currentColor 14%,transparent));
  & .public-topbar__search { flex: 1 1 36rem; min-width: 0; max-width: 42rem; margin: 0; }
  & .public-topbar__register { flex: none; white-space: nowrap; }
  & .public-topbar__actions { flex: none; }
  & [hidden] { display: none; }
  @media (max-width: 860px) {
    gap: .4rem;
    padding-inline: max(.65rem,env(safe-area-inset-left)) max(.65rem,env(safe-area-inset-right));
    &:not([data-topbar-ready]) { flex-wrap: wrap; }
    &:not([data-topbar-ready]) .public-topbar__search { flex-basis: 100%; max-width: none; }
    &[data-topbar-open] .public-topbar__actions { z-index: 1; }
    &[data-topbar-search-open] { flex-wrap: wrap; }
    &[data-topbar-search-open] > .public-topbar__search { flex: 0 0 100%; max-width: none; order: 1; }
  }
}
