/* Shared iLuno header for the editorial blog and React School. */
.iluno-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  overflow: visible;
  gap: 20px;
}
.iluno-header:before {
  display: none;
}
.iluno-header .wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.iluno-header .wordmark img {
  display: block;
  width: 140px;
  height: 50px;
  object-fit: contain;
  border-radius: 0;
}
.iluno-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #1d1d1f);
}
.iluno-header nav a,
.iluno-header nav button {
  font: inherit;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.iluno-header .nav-login {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface, #fff);
}
.iluno-header .header-blur {
  position: absolute;
  inset: 0 0 -48px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(var(--top), 1) 0%,
    rgba(var(--top), 0.96) 20%,
    rgba(var(--top), 0.72) 48%,
    rgba(var(--top), 0.28) 72%,
    rgba(var(--top), 0) 100%
  );
}
.iluno-header .blur-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.iluno-header .blur-1 {
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  mask-image: linear-gradient(#000 5%, transparent 55%);
}
.iluno-header .blur-2 {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  mask-image: linear-gradient(#000 28%, transparent 68%);
}
.iluno-header .blur-3 {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(#000 42%, transparent 80%);
}
.iluno-header .blur-4 {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  mask-image: linear-gradient(#000 56%, transparent 90%);
}
.iluno-header .blur-5 {
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  mask-image: linear-gradient(#000 66%, transparent);
}
@media (max-width: 599px) {
  .iluno-header {
    padding: 12px 18px;
    gap: 12px;
  }
  .iluno-header .wordmark img {
    width: 88px;
    height: 38px;
  }
  .iluno-header nav {
    gap: 10px;
    font-size: 10px;
  }
  .iluno-header .nav-login {
    padding: 7px 10px;
  }
  .iluno-header .header-blur {
    bottom: -36px;
  }
}
