/* Homepage product dropdown: match the compact category-and-product layout. */
@media (min-width: 821px) {
  body.home-page header.site-header .desktop-menu-item.solution-menu > .desktop-submenu-list,
  body.home-page header.site-header .desktop-menu-item.service-menu > .desktop-submenu-list {
    top: 100% !important;
    margin-top: 0 !important;
    transition: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu {
    position: static !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu > .desktop-submenu-list {
    top: 100% !important;
    right: auto !important;
    left: 50% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    column-gap: 30px !important;
    row-gap: 0 !important;
    width: min(780px, 100%) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 34px 24px !important;
    overflow: visible !important;
    align-items: start !important;
    align-content: start !important;
    border-radius: 18px !important;
    background: rgba(250, 251, 252, .98) !important;
    box-shadow: 0 18px 42px rgba(20, 45, 61, .16) !important;
    transform: translate(-50%, 0) !important;
    transition: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu:hover > .desktop-submenu-list,
  body.home-page header.site-header .desktop-menu-item.product-menu:focus-within > .desktop-submenu-list,
  body.home-page header.site-header .desktop-menu-item.product-menu.is-pointer-open > .desktop-submenu-list {
    transform: translate(-50%, 0) !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-categories {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 2px 24px 0 0 !important;
    border-right: 0 !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 0 0 14px !important;
    align-items: center !important;
    border: 0 !important;
    color: #627482 !important;
    background: transparent !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: color .2s ease, background-color .2s ease !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category::before {
    position: absolute !important;
    top: 9px !important;
    bottom: 9px !important;
    left: 0 !important;
    width: 3px !important;
    border-radius: 2px !important;
    content: "" !important;
    background: transparent !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category:hover,
  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category:focus-visible,
  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category.is-active {
    color: #071d38 !important;
    background: rgba(7, 135, 123, .06) !important;
    outline: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category.is-active::before {
    background: #07877b !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-content {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    min-height: 290px !important;
    padding: 0 !important;
    flex-direction: column !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-panel {
    display: none !important;
    min-width: 0 !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-panel.is-active {
    display: block !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-panel[hidden] {
    display: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 30px !important;
    row-gap: 2px !important;
    min-width: 0 !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-items--software {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    row-gap: 2px !important;
    align-content: start !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 62px !important;
    padding: 3px 0 !important;
    gap: 11px !important;
    color: #10212d !important;
    text-decoration: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-icon {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 38px !important;
    object-fit: contain !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-copy {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-copy strong {
    overflow: hidden !important;
    color: #111820 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-copy small {
    overflow: hidden !important;
    color: #617286 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-arrow {
    display: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-all-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: max-content !important;
    max-width: 100% !important;
    min-height: 28px !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
    color: #111820 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-all-arrow {
    display: inline-block !important;
    margin-left: 8px !important;
    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }

}

@media (max-width: 1180px) and (min-width: 821px) {
  body.home-page header.site-header .desktop-menu-item.product-menu > .desktop-submenu-list {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    column-gap: 24px !important;
    width: min(740px, 100%) !important;
    padding: 24px 28px 20px !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-items {
    column-gap: 18px !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-categories {
    padding-right: 18px !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-category {
    min-height: 44px !important;
    padding-left: 12px !important;
    font-size: 16px !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-copy strong {
    font-size: 14px !important;
  }

  body.home-page header.site-header .desktop-menu-item.product-menu .desktop-product-item-copy small {
    font-size: 11px !important;
  }
}

/* Solution and service menus keep only their actionable links in a vertical list. */
/* Open the menu in its final color state to avoid a light-to-dark flash. */
@media (min-width: 821px) {
  body.home-page header.site-header::after {
    transition: none !important;
  }

  body.home-page header.site-header > .container > .box {
    transition: top 0.24s ease, width 0.24s ease !important;
  }
}

@media (min-width: 821px) {
  body.home-page header.site-header .desktop-menu-item.solution-menu > .desktop-submenu-list,
  body.home-page header.site-header .desktop-menu-item.service-menu > .desktop-submenu-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    gap: 0 !important;
    width: min(360px, calc(100vw - 48px)) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 34px 30px !important;
    align-content: start !important;
    align-items: start !important;
  }

  body.home-page header.site-header .desktop-menu-item.service-menu > .desktop-submenu-list {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(260px, calc(100vw - 48px)) !important;
  }

  body.home-page header.site-header .desktop-menu-item.solution-menu .desktop-submenu-list > li,
  body.home-page header.site-header .desktop-menu-item.service-menu .desktop-submenu-list > li {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0 !important;
    align-self: stretch !important;
  }

  body.home-page header.site-header .desktop-menu-item.solution-menu .desktop-submenu-list > li:not(.desktop-submenu-feature) .desktop-submenu-link,
  body.home-page header.site-header .desktop-menu-item.service-menu .desktop-submenu-list > li:not(.desktop-submenu-feature) .desktop-submenu-link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 66px !important;
    padding: 8px 0 !important;
    gap: 14px !important;
    color: #111820 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
  }

  body.home-page header.site-header .desktop-menu-item.solution-menu .desktop-submenu-list > li:not(.desktop-submenu-feature) .desktop-submenu-icon,
  body.home-page header.site-header .desktop-menu-item.service-menu .desktop-submenu-list > li:not(.desktop-submenu-feature) .desktop-submenu-icon {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
  }

  body.home-page header.site-header .desktop-menu-item.solution-menu .desktop-submenu-list > li:not(.desktop-submenu-feature) .desktop-submenu-link::after,
  body.home-page header.site-header .desktop-menu-item.service-menu .desktop-submenu-list > li:not(.desktop-submenu-feature) .desktop-submenu-link::after {
    display: none !important;
  }
}
