/* Match the public SiteHeader without applying app styles to the learn content. */
@font-face {
  font-family: "Learn Header Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/learn-assets/nunito-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: "Learn Header Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/learn-assets/nunito-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Learn Header Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/learn-assets/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

.learn-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #2a3040;
  background: #0d1016;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  color: #fff;
  font-family: "Learn Header Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "tnum";
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.learn-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 2200px;
  height: 58px;
  margin: 0 auto;
  padding: 0 16px;
}
.learn-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.learn-header-logo img {
  display: block;
  width: auto;
  height: 28px;
}
.learn-site-header .learn-header-nav {
  display: none;
  align-items: center;
  gap: 2px;
  min-width: 0;
  width: auto;
  padding: 0;
  border: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.learn-header-nav::-webkit-scrollbar { display: none; }
.learn-header-nav a {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: color 150ms, background-color 150ms;
}
.learn-header-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
.learn-site-header a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.learn-menu-button {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, .86);
}
.learn-menu-button svg { display: block; width: 20px; height: 20px; }
.learn-menu-button .learn-menu-close-icon,
.learn-menu-button[aria-expanded="true"] .learn-menu-open-icon { display: none; }
.learn-menu-button[aria-expanded="true"] .learn-menu-close-icon { display: block; }
.learn-site-header .learn-mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  width: auto;
  justify-content: stretch;
  align-items: stretch;
  gap: 2px;
  padding: 8px 16px 16px;
  border: 0;
  border-bottom: 1px solid #2a3040;
  background: #0d1016;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .35);
}
.learn-mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12.8px;
  border-radius: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
}
.learn-mobile-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.learn-site-header .learn-mobile-menu[hidden] { display: none; }
@media (min-width: 640px) {
  .learn-site-header .learn-header-nav { display: flex; }
  .learn-menu-button,
  .learn-site-header .learn-mobile-menu { display: none; }
}
@media (min-width: 768px) {
  .learn-header-inner { gap: 24px; padding: 0 24px; }
  .learn-site-header .learn-header-nav { gap: 4px; }
  .learn-header-nav a { padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 1024px) {
  .learn-header-inner { padding: 0 32px; }
}
@media (min-width: 1536px) {
  .learn-header-logo img { height: 30px; }
  .learn-header-nav a { font-size: 14px; }
}
