/* BENCOM English navigation candidate. Scoped to the existing site header. */
#c-home-header .c-nav > li.has-product-meganav,
#c-home-header .c-nav > li.has-content-meganav {
  position: static;
}

#c-home-header .c-product-meganav,
#c-home-header .c-content-meganav {
  position: fixed;
  top: 110px;
  left: 50%;
  z-index: 8;
  box-sizing: border-box;
  width: calc(100vw - 48px);
  max-height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d9e7f2;
  border-top-color: #e6eef5;
  border-radius: 0 0 12px 12px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 22px 50px rgba(8, 36, 64, 0.15);
  color: #172538;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-50%, -10px, 0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

#c-home-header .c-product-meganav { max-width: 1240px; }
#c-home-header .c-content-meganav { max-width: 920px; }
#c-home-header .c-nav > li.is-mega-open > .c-product-meganav,
#c-home-header .c-nav > li.is-content-mega-open > .c-content-meganav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
  transition-delay: 0s;
}

#c-home-header .c-product-meganav .c-mega-inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.68fr) minmax(0, 2.2fr) minmax(220px, 0.92fr);
  gap: 22px;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 22px 22px;
}

#c-home-header .c-product-meganav section,
#c-home-header .c-product-meganav aside { min-width: 0; }
#c-home-header .c-product-meganav h2,
#c-home-header .c-content-meganav h2 {
  margin: 3px 0 12px;
  color: #162a42;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

#c-home-header .c-mega-eyebrow {
  margin: 0;
  color: #0073c3;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

#c-home-header .c-mega-categories {
  align-self: stretch;
  padding: 2px 18px 0 0;
  border-right: 1px solid #dce7ef;
}
#c-home-header .c-mega-categories ul,
#c-home-header .c-mega-product-list,
#c-home-header .c-content-mega-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
#c-home-header .c-mega-categories ul { display: grid; gap: 4px; }
#c-home-header .c-mega-categories li,
#c-home-header .c-mega-product-list > li,
#c-home-header .c-content-mega-links li { min-width: 0; margin: 0; }
#c-home-header .c-mega-categories a {
  display: flex !important;
  box-sizing: border-box;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 4px;
  align-items: center;
  color: #33465a !important;
  font-size: 14px !important;
  line-height: 1.4;
  overflow-wrap: anywhere;
  transition: color 160ms ease, background-color 160ms ease;
}
#c-home-header .c-mega-categories a:hover,
#c-home-header .c-mega-categories a:focus-visible,
#c-home-header .c-mega-categories a.is-active {
  color: #0073c3 !important;
  background: #f2f8fc;
}

#c-home-header .c-mega-heading {
  display: flex;
  min-height: 43px;
  margin-bottom: 10px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
#c-home-header .c-mega-heading h2 { margin-bottom: 0; }
#c-home-header .c-mega-all,
#c-home-header .c-content-mega-all {
  display: inline-flex !important;
  padding: 5px 0;
  align-items: center;
  flex-shrink: 0;
  color: #52657a !important;
  font-size: 13px !important;
}
#c-home-header .c-mega-all i,
#c-home-header .c-content-mega-all i,
#c-home-header .c-mega-support > a i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
#c-home-header .c-mega-all:hover,
#c-home-header .c-mega-all:focus-visible,
#c-home-header .c-content-mega-all:hover,
#c-home-header .c-content-mega-all:focus-visible { color: #0073c3 !important; }

#c-home-header .c-mega-product-scroll {
  max-height: 198px;
  padding-right: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #b7cad9 transparent;
  scrollbar-width: thin;
}
#c-home-header .c-mega-product-panel[hidden] { display: none; }
#c-home-header .c-mega-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
#c-home-header .c-mega-product-list > li { display: flex; }
#c-home-header .c-mega-product-card {
  display: grid !important;
  grid-template-columns: 94px minmax(0, 1fr);
  width: 100%;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 6px;
  background: #fff;
  color: #23364b !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
#c-home-header .c-mega-product-card:hover,
#c-home-header .c-mega-product-card:focus-visible {
  border-color: rgba(0, 115, 195, 0.42);
  box-shadow: 0 8px 20px rgba(15, 52, 84, 0.08);
  color: #0073c3 !important;
  transform: translate3d(0, -1px, 0);
}
#c-home-header .c-mega-product-card figure {
  position: relative;
  width: 94px;
  min-height: 92px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #f9fbfd, #edf4f8);
}
#c-home-header .c-mega-product-card figure::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #708397;
  content: "Image unavailable";
  font-size: 11px;
  opacity: 0;
}
#c-home-header .c-mega-product-card figure.is-error::before { opacity: 1; }
#c-home-header .c-mega-product-card img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 180ms ease;
}
#c-home-header .c-mega-product-card img.is-loaded { opacity: 1; }
#c-home-header .c-mega-product-card > span {
  align-self: center;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#c-home-header .c-mega-support {
  position: relative;
  min-height: 251px;
  overflow: hidden;
  padding: 24px 20px;
  border-radius: 8px;
  background: linear-gradient(145deg, #071f3b 0%, #0a4169 68%, #086b9b 100%);
  color: #fff;
}
#c-home-header .c-mega-support__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#c-home-header .c-mega-support.has-custom-background::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(145deg, rgba(4, 23, 43, 0.92), rgba(6, 75, 113, 0.78));
}
#c-home-header .c-mega-support::after {
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}
#c-home-header .c-mega-support .c-mega-eyebrow,
#c-home-header .c-mega-support h2,
#c-home-header .c-mega-support p,
#c-home-header .c-mega-support a { position: relative; z-index: 2; color: #fff !important; }
#c-home-header .c-mega-support h2 { margin: 11px 0 13px; font-size: 22px; }
#c-home-header .c-mega-support > p:not(.c-mega-eyebrow) { font-size: 13px; line-height: 1.75; }
#c-home-header .c-mega-hotline { margin-top: 12px; }
#c-home-header .c-mega-hotline span,
#c-home-header .c-mega-hotline a { display: block; }
#c-home-header .c-mega-hotline a { margin-top: 3px; font-size: 18px !important; font-weight: 600; }
#c-home-header .c-mega-support > a {
  display: inline-flex !important;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
  align-items: center;
  font-size: 13px !important;
}
#c-home-header .c-mega-support > a:hover,
#c-home-header .c-mega-support > a:focus-visible { background: #fff; color: #075b92 !important; }

#c-home-header .c-mega-product-placeholder,
#c-home-header .c-content-mega-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 92px;
  place-items: center;
  padding: 8px;
  box-sizing: border-box;
  color: #708397;
  font-size: 11px;
  text-align: center;
}

#c-home-header .c-content-mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  padding: 18px 20px 20px;
}
#c-home-header .c-content-mega-intro__copy > p {
  margin: 0 0 14px;
  color: #687b8e;
  font-size: 13px;
  line-height: 1.65;
}
#c-home-header .c-content-mega-intro.has-service-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 285px);
  gap: 16px;
  align-items: start;
}
#c-home-header .c-content-mega-intro__copy { min-width: 0; }
#c-home-header .c-content-mega-service {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 285px;
  padding: 2px 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
  box-sizing: border-box;
}
#c-home-header .c-content-mega-service p {
  margin: 0;
  color: #7a8897;
  font-size: 11px;
  line-height: 1.55;
  white-space: nowrap;
}
#c-home-header .c-content-mega-service p span,
#c-home-header .c-content-mega-service p a { display: block; }
#c-home-header .c-content-mega-service p a {
  margin-top: 2px;
  color: #263f55 !important;
  font-size: 16px !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#c-home-header .c-content-mega-service__cta {
  display: inline-flex !important;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #d5e0e8;
  border-radius: 4px;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  color: #006eaf !important;
  font-size: 11px !important;
  line-height: 1.35;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
#c-home-header .c-content-mega-service__cta i {
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
#c-home-header .c-content-mega-service__cta:hover,
#c-home-header .c-content-mega-service__cta:focus-visible {
  border-color: #9fc7df;
  background: #f7fbfd;
  color: #005f9f !important;
}
#c-home-header .c-content-mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
#c-home-header .c-content-mega-links a {
  display: flex !important;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 4px;
  align-items: center;
  color: #2e4156 !important;
  font-size: 14px !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
  transition: color 160ms ease, background-color 160ms ease;
}
#c-home-header .c-content-mega-links a:hover,
#c-home-header .c-content-mega-links a:focus-visible,
#c-home-header .c-content-mega-links a.is-active { color: #0073c3 !important; background: #f2f8fc; }
#c-home-header .c-content-mega-all { margin-top: 13px; }
#c-home-header .c-content-mega-visual-stage { align-self: center; min-width: 0; }
#c-home-header .c-content-mega-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #eef4f8;
}
#c-home-header .c-content-mega-visual[hidden] { display: none; }
#c-home-header .c-content-mega-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease, transform 280ms ease;
}
#c-home-header .c-content-mega-visual img.is-loaded { opacity: 1; }
#c-home-header .c-content-mega-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(4, 25, 44, 0.82));
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

#c-home-header .c-mega-categories a:focus-visible,
#c-home-header .c-mega-all:focus-visible,
#c-home-header .c-mega-product-card:focus-visible,
#c-home-header .c-content-mega-links a:focus-visible,
#c-home-header .c-content-mega-all:focus-visible,
#c-home-header .c-subnav-toggle:focus-visible {
  outline: 2px solid #0073c3;
  outline-offset: 2px;
}

#c-home-header .c-nav2-box .c-title-box { display: flex; align-items: center; justify-content: space-between; }
#c-home-header .c-subnav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}
#c-home-header .c-subnav-toggle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 180ms ease;
}
#c-home-header .c-nav2-box li.on > .c-title-box .c-subnav-toggle i {
  transform: translate(-50%, -30%) rotate(225deg);
}

@media (min-width: 973px) and (max-width: 1260px) {
  #c-home-header .c-product-meganav,
  #c-home-header .c-content-meganav { top: 74px; width: calc(100vw - 32px); max-height: calc(100vh - 74px); }
  #c-home-header .c-product-meganav .c-mega-inner {
    grid-template-columns: minmax(135px, 0.64fr) minmax(0, 2.35fr) minmax(185px, 0.9fr);
    gap: 16px;
    padding: 16px 17px 18px;
  }
  #c-home-header .c-mega-product-scroll { max-height: 260px; }
  #c-home-header .c-mega-product-card { grid-template-columns: 78px minmax(0, 1fr); min-height: 78px; }
  #c-home-header .c-mega-product-card figure,
  #c-home-header .c-mega-product-card img { width: 78px; height: 78px; min-height: 78px; }
  #c-home-header .c-mega-support { min-height: 313px; padding: 20px 16px; }
  #c-home-header .c-content-meganav { max-width: 860px; }
  #c-home-header .c-content-mega-inner { grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.86fr); }
  #c-home-header .c-content-mega-intro.has-service-entry { grid-template-columns: minmax(0, 1fr); }
  #c-home-header .c-content-mega-service {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    justify-self: start;
  }
  #c-home-header .c-content-mega-service p span,
  #c-home-header .c-content-mega-service p a { display: inline; }
}

@media (max-width: 972px) {
  #c-home-header .c-product-meganav,
  #c-home-header .c-content-meganav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  #c-home-header .c-product-meganav,
  #c-home-header .c-content-meganav,
  #c-home-header .c-mega-product-card,
  #c-home-header .c-content-mega-visual img,
  #c-home-header .c-subnav-toggle i { transition-duration: 0.01ms !important; }
}
