/* Reference layout: nine ordered columns for the development mega menu. */
.mega-menu:has(.mega-groups > section:nth-child(9):last-child) {
  display: block;
  padding: 16px 20px 20px;
}
.mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-menu-title {
  margin: 0 0 12px;
  font-size: 16px;
}
.mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-groups {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #eceef1;
  border-left: 1px solid #eceef1;
}
.mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-groups section {
  min-width: 0;
  min-height: 150px;
  padding: 10px 8px 12px;
  border-right: 1px solid #eceef1;
  border-bottom: 1px solid #eceef1;
}
.mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-groups h3 {
  min-height: 25px;
  margin: 0 0 5px;
  padding: 0 7px;
  color: #858b95;
  font-size: 12px;
  font-weight: 600;
}
.mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-groups button {
  width: 100%;
  min-height: 29px;
  padding: 5px 7px;
  line-height: 19px;
  overflow-wrap: anywhere;
}
@media (max-width: 1200px) {
  .mega-menu:has(.mega-groups > section:nth-child(9):last-child) {
    left: 90px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-groups section {
    padding-left: 3px;
    padding-right: 3px;
  }
}
@media (max-width: 900px) {
  .mega-menu:has(.mega-groups > section:nth-child(9):last-child) {
    top: 190px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 200px);
  }
  .mega-menu:has(.mega-groups > section:nth-child(9):last-child) .mega-groups {
    min-width: 1080px;
  }
}
