header .mega {
  --navy: #292b2e;
  --mut: #565b61;
  --mega-line: rgba(42, 49, 57, .09);
  --mega-hover: rgba(43, 68, 87, .065);
  background: #fafafa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .64), 0 8px 24px rgba(10, 23, 34, .17);
}

body.dark header.scrolled:has(.mega-host.open) {
  background: #052133;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

header .mega-intro {
  background: rgba(72, 84, 95, .015);
}

header .mega .mega-item {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 500;
}

header .mega .mega-eyebrow,
header .mega .resource-feature-heading { font-weight: 600; }
header .mega .mega-eyebrow { color: #565b61; }
header .mega .mega-item svg { color: #5a6167; }

header .mega .mega-more,
header .mega .mega-intro-more { font-weight: 400; }

header .mega .mega-item,
header .mega .mega-more,
header .mega .mega-intro-more { color: var(--navy); }

header .mega .mega-intro-more:hover {
  background-color: var(--mega-hover);
  text-decoration: none;
}

.mega-products > .mega-cap-col {
  background: transparent;
}

.product-menu-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: calc(2 * var(--mega-pad));
}

.product-menu-entries .mega-more {
  align-self: start;
  justify-self: start;
}

@media (max-width: 1064px) {
  .product-menu-entries {
    column-gap: 24px;
  }
}
