@import url('/public/themes/webscepts/footer.css?v=modern-6');

/* Common site header, notice bar, and shell for all public pages */
.wsSiteShell :is(.wsNoticeBarInner, .wsHeaderInner) {
  max-width: none;
  padding-left: clamp(58px, 4.2vw, 80px);
  padding-right: clamp(58px, 4.2vw, 80px);
}

.wsSiteShell .wsNoticeBar {
  background: linear-gradient(100deg, rgb(12, 46, 89), rgb(16, 74, 134), rgb(12, 41, 78));
  padding: 10px 0px;
  font-size: 11px;
  color: rgb(229, 240, 255);
}

.wsSiteShell .wsNoticeRight {
  gap: 25px;
}

.wsSiteShell .wsHeader {
  position: relative;
  background: white;
  box-shadow: none;
}

.wsSiteShell .wsHeaderInner {
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 25px;
}

.wsSiteShell .wsLogo img {
  width: 48px;
  height: 38px;
  object-fit: contain;
}

.wsSiteShell .wsBrandName {
  font-size: 22px;
}

.wsSiteShell .wsBrandTagline {
  font-size: 8px;
}

.wsSiteShell .wsNav {
  gap: 26px;
  min-height: 0px;
  padding: 0px;
  visibility: visible;
}

.wsSiteShell .wsNavItem {
  padding: 0px;
}

.wsSiteShell .wsNavItem > a {
  font-size: 12px;
  padding: 10px 0px;
}

.wsSiteShell .wsNavItem:focus-within .wsDropdownMenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  pointer-events: auto;
}

.wsSiteShell .wsHeaderActions {
  gap: 18px;
}

.wsSiteShell .wsCtaBtn {
  border-radius: 5px;
  padding: 12px 18px;
  font-size: 12px;
}

.wsSiteShell :is(.wsHeader, .wsFooter, .wsNoticeBar) :is(a, button, input):focus-visible {
  outline: 3px solid #49a1ff;
  outline-offset: 4px;
}

@media (max-width: 1150px) {
  .wsSiteShell :is(.wsNoticeBarInner, .wsHeaderInner) {
    padding-left: 28px;
    padding-right: 28px;
  }
  .wsSiteShell .wsNav {
    gap: 14px;
  }
}

@media (max-width: 850px) {
  .wsSiteShell .wsNoticeLink {
    display: none;
  }
  .wsSiteShell .wsHeaderInner {
    flex-wrap: wrap;
  }
  .wsSiteShell .wsHeaderActions {
    margin-left: auto;
  }
  .wsSiteShell .wsNav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow: visible;
  }
}

@media (max-width: 540px) {
  .wsSiteShell :is(.wsNoticeBarInner, .wsHeaderInner) {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wsSiteShell .wsNoticeBar {
    font-size: 9px;
  }
  .wsSiteShell .wsNoticeRight {
    display: none;
  }
  .wsSiteShell .wsHeader {
    height: auto;
  }
  .wsSiteShell .wsHeaderInner {
    gap: 12px;
    height: auto;
  }
  .wsSiteShell .wsBrandName {
    font-size: 19px;
  }
  .wsSiteShell .wsHeaderActions {
    gap: 8px;
  }
  .wsSiteShell .wsCtaBtn {
    padding: 10px;
    font-size: 10px;
  }
  .wsSiteShell .wsSearchBtn {
    display: none;
  }
  .wsSiteShell .wsNav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px 12px;
    position: static;
    height: auto;
    opacity: 1;
    transform: none;
    flex-wrap: wrap;
  }
  .wsSiteShell .wsNavItem > a {
    font-size: 11px;
    padding: 9px 0px;
  }
  .wsSiteShell .wsDropdownMenu {
    max-width: calc(-40px + 100vw);
    min-width: 230px;
  }
  .wsSiteShell .wsMegaMenu {
    grid-template-columns: 1fr;
  }
  .wsSiteShell .wsNavItem .wsDropdownMenu {
    left: 0px;
    right: auto;
  }
  .wsSiteShell .wsNavItem:nth-child(3n) .wsDropdownMenu {
    left: auto;
    right: 0px;
  }
  .wsSiteShell .wsNavItem:nth-child(3n+2) .wsDropdownMenu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Keep menu labels on one line; tighten spacing on small laptops/tablets. */
.wsSiteShell .wsNav .wsNavItem > a { white-space: nowrap; }
@media (max-width: 1100px) {
  .wsSiteShell .wsNav { gap: 10px; }
  .wsSiteShell .wsNav .wsNavItem > a { font-size: 13px; }
  .wsSiteShell .wsHeaderActions { gap: 10px; }
}
@media (min-width: 851px) and (max-width: 1024px) {
  .wsSiteShell .wsHeaderInner { flex-wrap: wrap; row-gap: 6px; }
  .wsSiteShell .wsNav { order: 3; width: 100%; justify-content: space-between; }
  .wsSiteShell .wsHeaderActions { margin-left: auto; }
}
/* Full-width menu row: open the outer dropdowns inward so they stay on screen. */
@media (min-width: 851px) and (max-width: 1024px) {
  .wsSiteShell .wsNav .wsNavItem:first-child .wsDropdownMenu { left: 0; right: auto; transform: translateY(10px); }
  .wsSiteShell .wsNav .wsNavItem:nth-last-child(-n+2) .wsDropdownMenu { left: auto; right: 0; transform: translateY(10px); }
  .wsSiteShell .wsNav .wsNavItem:is(:first-child, :nth-last-child(-n+2)):is(:hover, :focus-within) .wsDropdownMenu { transform: translateY(0); }
}
