.ngi-menu-shell {
  --ngi-blue: #0b72f6;
  --ngi-blue-deep: #055acb;
  --ngi-green: #00ef38;
  --ngi-ink: #121723;
  --ngi-muted: #5f6878;
  --ngi-line: #dbe4f1;
  --ngi-soft: #f3f7fc;
  --ngi-white: #ffffff;
  --ngi-font: Calibri, "Segoe UI", Arial, sans-serif;
}

.ngi-menu-shell,
.ngi-menu-shell *,
.ngi-menu-shell *::before,
.ngi-menu-shell *::after {
  box-sizing: border-box;
}

.ngi-menu-shell {
  position: relative;
  z-index: 99990;
  width: 100vw;
  max-width: 100vw !important;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  color: var(--ngi-ink);
  font-family: var(--ngi-font);
  line-height: 1.4;
}

/* Keep the scrolled desktop logo visually centred in the white header. */
@media (min-width: 901px) {
  .ngi-menu-shell.is-scrolled .ngi-logo-swap {
    transform: translateY(-5px);
  }
}

.elementor-widget-shortcode.ngi-menu-host,
.elementor-widget-shortcode.ngi-menu-host > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  outline: 0 !important;
}

.elementor-element.e-con:has(> .elementor-widget-shortcode.ngi-menu-host),
.elementor-element.e-con:has(> .e-con-inner > .elementor-widget-shortcode.ngi-menu-host) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  gap: 0 !important;
  border-top: 0 !important;
  outline: 0 !important;
}

.ngi-menu-shell h1,
.ngi-menu-shell h2,
.ngi-menu-shell h3,
.ngi-menu-shell p {
  max-height: none !important;
  overflow: visible !important;
  font-family: var(--ngi-font) !important;
  text-wrap: pretty;
  word-break: normal;
  white-space: normal;
}

.ngi-menu-shell a,
.ngi-menu-shell button,
.ngi-menu-shell input,
.ngi-menu-shell select {
  font-family: var(--ngi-font) !important;
}

.ngi-menu-shell a {
  color: inherit;
  text-decoration: none;
}

.ngi-menu-shell button {
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-transform: none;
}

/*
 * Some Elementor kits add a coloured block through button/link pseudo-elements.
 * Keep those effects outside this component, then opt the NGI underline back in.
 */
body .ngi-menu-shell[data-ngi-menu] button::before,
body .ngi-menu-shell[data-ngi-menu] button::after,
body .ngi-menu-shell[data-ngi-menu] a::before,
body .ngi-menu-shell[data-ngi-menu] a::after,
.ngi-menu-shell .ngi-brand::before,
.ngi-menu-shell .ngi-brand::after,
.ngi-menu-shell .ngi-logo-swap::before,
.ngi-menu-shell .ngi-logo-swap::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ngi-menu-shell .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ngi-container {
  width: min(calc(100% - 64px), 1760px);
  margin-inline: auto;
}

.ngi-mega-header {
  position: sticky;
  z-index: 99990;
  top: 0;
  width: 100%;
  border-top: 0 !important;
  outline: 0 !important;
}

.admin-bar .ngi-mega-header {
  top: 32px;
}

/* Keep the off-canvas navigation below WordPress's logged-in admin toolbar. */
.admin-bar .ngi-mobile-drawer {
  top: 32px !important;
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
}

.admin-bar .ngi-mobile-backdrop {
  top: 32px;
}

.ngi-menu-shell[data-overlay="true"] .ngi-mega-header {
  position: fixed;
  right: 0;
  left: 0;
}

.ngi-utility {
  height: 44px;
  color: #fff;
  background: var(--ngi-blue);
}

.ngi-utility .ngi-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ngi-socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ngi-socials a {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ngi-socials svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ngi-socials svg path.ngi-icon-fill,
.ngi-socials svg circle.ngi-icon-fill,
.ngi-socials a[aria-label="Facebook"] svg path {
  fill: currentColor;
  stroke: none;
}

.ngi-socials a:hover,
.ngi-socials a:focus-visible {
  color: var(--ngi-blue);
  background: #fff;
  transform: translateY(-1px);
}

.ngi-utility-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ngi-portal-launcher {
  position: relative;
  z-index: 4;
}

.ngi-portal-link {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 9px;
  padding: 4px 5px 4px 8px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ngi-portal-link::before,
.ngi-portal-link::after {
  display: none !important;
  content: none !important;
}

.ngi-portal-icon,
.ngi-portal-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ngi-portal-icon {
  width: 22px;
  height: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.ngi-portal-arrow {
  width: 27px;
  height: 27px;
  color: var(--ngi-blue);
  background: #fff;
  border-radius: 50%;
  transition: color 180ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ngi-portal-icon svg,
.ngi-portal-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ngi-portal-link:hover,
.ngi-portal-link:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 7px 18px rgba(4, 44, 99, 0.18);
  outline: 0;
  text-decoration: none;
  transform: translateY(-1px);
}

.ngi-portal-link:hover .ngi-portal-arrow,
.ngi-portal-link:focus-visible .ngi-portal-arrow,
.ngi-portal-link[aria-expanded="true"] .ngi-portal-arrow {
  color: var(--ngi-blue-deep);
}

.ngi-portal-link[aria-expanded="true"] {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 22px rgba(4, 44, 99, 0.22);
}

.ngi-portal-link[aria-expanded="true"] .ngi-portal-arrow {
  transform: rotate(180deg);
}

.ngi-portal-menu {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: min(372px, calc(100vw - 32px));
  padding: 8px;
  color: #112d4e;
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(213, 225, 241, 0.92);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(3, 37, 82, 0.24),
    0 4px 15px rgba(3, 37, 82, 0.08);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 170ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(16px);
}

.ngi-portal-menu[hidden] {
  display: none !important;
}

.ngi-portal-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ngi-portal-menu::before {
  position: absolute;
  top: -6px;
  right: 34px;
  width: 13px;
  height: 13px;
  content: "";
  background: #086be6;
  border: 1px solid rgba(255, 255, 255, 0.32);
  transform: rotate(45deg);
}

.ngi-portal-menu-head {
  position: relative;
  display: grid;
  min-height: 114px;
  align-content: center;
  padding: 19px 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 91% 18%, rgba(0, 239, 56, 0.34) 0 8%, transparent 9%),
    radial-gradient(circle at 96% 26%, rgba(255, 255, 255, 0.16) 0 23%, transparent 24%),
    linear-gradient(135deg, #064fae 0%, #0b72f6 64%, #1491ff 100%) !important;
  border-radius: 14px;
}

.ngi-portal-menu-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ngi-portal-menu-kicker span {
  width: 7px;
  height: 7px;
  background: var(--ngi-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 239, 56, 0.14);
}

.ngi-portal-menu-head strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 275px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.ngi-portal-menu-head small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 600;
}

.ngi-portal-menu-links {
  display: grid;
  gap: 5px;
  padding: 7px 2px 2px;
}

.ngi-portal-destination {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  min-height: 67px;
  align-items: center;
  gap: 11px;
  padding: 8px 9px;
  color: #153655 !important;
  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 13px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ngi-portal-destination:hover,
.ngi-portal-destination:focus-visible {
  color: #0b4f9c !important;
  background: #f5f9ff !important;
  border-color: #dce9fb;
  box-shadow: 0 8px 20px rgba(11, 79, 156, 0.08);
  outline: 0;
  transform: translateX(2px);
}

.ngi-portal-destination-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #0b63cb;
  background: #eaf3ff;
  border-radius: 12px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ngi-portal-destination--progress .ngi-portal-destination-icon {
  color: #087523;
  background: #e8ffed;
}

.ngi-portal-destination--calendar .ngi-portal-destination-icon {
  color: #74550a;
  background: #fff5cf;
}

.ngi-portal-destination-icon svg,
.ngi-portal-destination-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ngi-portal-destination-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ngi-portal-destination-copy strong {
  color: #0b4f9c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.ngi-portal-destination-copy small {
  color: #6a788a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.ngi-portal-destination-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #0b63cb;
  background: #edf5ff;
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ngi-portal-destination-arrow svg {
  width: 15px;
  height: 15px;
}

.ngi-portal-destination:hover .ngi-portal-destination-icon,
.ngi-portal-destination:focus-visible .ngi-portal-destination-icon {
  transform: scale(1.04);
}

.ngi-portal-destination:hover .ngi-portal-destination-arrow,
.ngi-portal-destination:focus-visible .ngi-portal-destination-arrow {
  color: #07376f;
  background: var(--ngi-green);
  transform: translate(2px, -2px);
}

.ngi-site-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 248px;
  height: 36px;
  padding: 3px 4px 3px 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(4, 44, 99, 0.13);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ngi-site-search .ngi-search-leading {
  display: grid;
  width: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: #687486;
}

.ngi-site-search .ngi-search-leading svg,
.ngi-mobile-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ngi-mobile-search svg {
  position: absolute;
  left: 14px;
}

.ngi-site-search input,
.ngi-mobile-search input {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  padding: 0 8px;
  color: var(--ngi-ink);
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 13px;
}

.ngi-site-search input::placeholder {
  color: #788496;
  opacity: 1;
}

.ngi-site-search > button {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  padding: 0;
  color: var(--ngi-blue);
  background: #eaf3ff !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ngi-site-search > button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ngi-site-search > button:hover,
.ngi-site-search > button:focus-visible {
  color: #fff;
  background: var(--ngi-blue) !important;
  outline: 0;
  transform: scale(1.04);
}

.ngi-site-search:focus-within {
  border-color: rgba(11, 114, 246, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 7px 20px rgba(4, 44, 99, 0.2);
}

.ngi-mainbar {
  position: relative;
  height: 104px;
  background: #fff;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(15, 44, 80, 0.08);
  transition: height 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.ngi-mainbar-inner {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  height: 100%;
  transform: translateY(4px);
}

.ngi-brand {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 260px;
  align-self: center;
  justify-self: start;
}

.ngi-logo-swap {
  display: grid;
  width: 100%;
  height: 100px;
  align-items: center;
  justify-items: start;
  overflow: visible;
}

.ngi-logo-swap img {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
  object-position: left center;
  transition: opacity 220ms ease, transform 260ms ease;
}

.ngi-logo-top {
  width: 94px !important;
  height: 94px !important;
  max-width: 94px !important;
  max-height: 94px !important;
  opacity: 1;
  transform: translateY(4px) scale(1);
}

.ngi-logo-scrolled {
  width: min(100%, 248px) !important;
  height: 62px;
  max-width: 248px !important;
  max-height: 62px;
  opacity: 0;
  object-fit: contain;
  object-position: left center;
  transform: translateY(5px) scale(0.97);
}

.ngi-menu-shell.is-scrolled .ngi-logo-top,
.ngi-menu-shell[data-overlay="false"] .ngi-logo-top {
  opacity: 0;
  transform: translateY(-5px) scale(0.96);
}

.ngi-menu-shell.is-scrolled .ngi-logo-scrolled,
.ngi-menu-shell[data-overlay="false"] .ngi-logo-scrolled,
.ngi-logo-swap--drawer .ngi-logo-scrolled {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ngi-logo-swap--drawer .ngi-logo-top {
  opacity: 0;
}

.ngi-brand img {
  object-fit: contain;
  object-position: left center;
}

.ngi-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ngi-logo-fallback > b {
  color: var(--ngi-green);
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -0.12em;
}

.ngi-logo-fallback > span {
  display: grid;
  color: var(--ngi-blue);
}

.ngi-logo-fallback strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.ngi-logo-fallback small {
  margin-top: 3px;
  color: var(--ngi-ink);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.38em;
}

.ngi-desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(14px, 1.3vw, 30px);
  height: 100%;
}

.ngi-desktop-nav button,
.ngi-desktop-nav .ngi-nav-direct {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  color: var(--ngi-blue);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: clamp(13px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none !important;
  white-space: nowrap;
}

.ngi-desktop-nav button:hover,
.ngi-desktop-nav button:focus,
.ngi-desktop-nav button:focus-visible,
.ngi-desktop-nav button[aria-expanded="true"],
.ngi-desktop-nav .ngi-nav-direct:hover,
.ngi-desktop-nav .ngi-nav-direct:focus,
.ngi-desktop-nav .ngi-nav-direct:focus-visible {
  color: var(--ngi-blue);
  background: transparent !important;
  outline: 0;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav button::after,
body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav .ngi-nav-direct::after {
  display: block !important;
  position: absolute;
  top: calc(50% + 13px);
  right: 0;
  bottom: auto;
  left: 0;
  width: auto !important;
  height: 4px !important;
  content: "" !important;
  background: var(--ngi-green) !important;
  border-radius: 4px 4px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav button:hover::after,
body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav button:focus-visible::after,
body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav button[aria-expanded="true"]::after,
body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav .ngi-nav-direct:hover::after,
body .ngi-menu-shell[data-ngi-menu] .ngi-desktop-nav .ngi-nav-direct:focus-visible::after {
  transform: scaleX(1);
}

.ngi-desktop-nav button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.ngi-desktop-nav button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ngi-header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ngi-btn {
  display: inline-flex;
  min-width: 118px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  color: #fff !important;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--ngi-font) !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 7px 16px rgba(12, 53, 104, 0.18);
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ngi-btn:hover,
.ngi-btn:focus-visible {
  box-shadow: 0 12px 24px rgba(12, 53, 104, 0.24);
  transform: translateY(-2px);
}

.ngi-btn-enquire {
  background: var(--ngi-blue);
  border-color: var(--ngi-blue);
}

.ngi-btn-enquire:hover,
.ngi-btn-enquire:focus-visible {
  background: var(--ngi-blue-deep);
}

.ngi-btn-apply {
  color: #082413 !important;
  background: var(--ngi-green);
  border-color: var(--ngi-green);
  font-weight: 700;
}

.ngi-btn-apply:hover,
.ngi-btn-apply:focus-visible {
  background: #23ff50;
}

.ngi-menu-toggle {
  display: none;
}

.ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-mainbar {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-desktop-nav button,
.ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-desktop-nav .ngi-nav-direct {
  color: #fff;
}

.ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-logo-fallback strong,
.ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-logo-fallback small {
  color: #fff;
}

.ngi-menu-shell.is-scrolled .ngi-mainbar {
  height: 88px;
  background: #fff;
  border-bottom-color: rgba(15, 44, 80, 0.08);
  box-shadow: 0 12px 32px rgba(17, 32, 58, 0.09);
}

.ngi-menu-shell.is-scrolled .ngi-logo-swap {
  height: 76px;
}

.ngi-mega-region {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  pointer-events: none;
}

.ngi-mega-region::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  visibility: hidden;
  background: rgba(9, 22, 42, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: visibility 220ms ease, opacity 220ms ease;
}

.ngi-menu-shell.has-panel-open .ngi-mega-region::before {
  visibility: visible;
  opacity: 1;
}

.ngi-mega-panel {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 145px);
  padding: 30px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(11, 114, 246, 0.42);
  border-radius: 16px;
  box-shadow: 0 30px 64px rgba(15, 35, 67, 0.22);
  opacity: 0;
  pointer-events: auto;
  transform: translate(-50%, -10px) scale(0.985);
}

.ngi-mega-panel[hidden] {
  display: none;
}

.ngi-mega-panel.is-opening {
  animation: ngiPanelIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes ngiPanelIn {
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.ngi-panel-small {
  width: min(760px, calc(100vw - 48px));
}

.ngi-panel-kicker {
  margin-bottom: 22px;
  padding: 16px 20px;
  color: var(--ngi-blue);
  background: linear-gradient(90deg, rgba(11, 114, 246, 0.12), rgba(0, 239, 56, 0.08));
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
}

.ngi-study-grid,
.ngi-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ngi-link-item {
  position: relative;
  display: grid;
  min-height: 96px;
  align-content: center;
  padding: 18px 56px 18px 20px;
  background: var(--ngi-soft) !important;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.ngi-link-item strong {
  color: var(--ngi-blue);
  font-size: 14px;
}

.ngi-link-item > span {
  margin-top: 3px;
  color: var(--ngi-muted);
  font-size: 11px;
}

.ngi-link-item i {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--ngi-blue);
  font-style: normal;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.ngi-link-item:hover,
.ngi-link-item:focus-visible {
  color: var(--ngi-blue);
  background: #fff !important;
  border-color: rgba(11, 114, 246, 0.28);
  outline: 0;
  transform: translateY(-2px);
}

.ngi-link-item:hover i,
.ngi-link-item:focus-visible i {
  transform: translate(4px, -50%);
}

.ngi-programme-columns {
  display: grid;
  grid-template-columns: 0.95fr 1fr 1.25fr 1.1fr;
  gap: 28px;
}

.ngi-menu-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.ngi-menu-column h3,
.ngi-campus-grid h3 {
  margin: 0 0 10px;
  color: var(--ngi-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ngi-menu-column > a:not(.ngi-advisor-card),
.ngi-menu-column > button:not(.ngi-feature-link) {
  width: 100%;
  padding: 5px 0;
  color: #24415f !important;
  background: transparent !important;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  transition: color 150ms ease, transform 150ms ease;
}

.ngi-menu-column > a:not(.ngi-advisor-card):hover,
.ngi-menu-column > a:not(.ngi-advisor-card):focus-visible,
.ngi-menu-column > button:not(.ngi-feature-link):hover,
.ngi-menu-column > button:not(.ngi-feature-link):focus-visible {
  color: var(--ngi-blue);
  outline: 0;
  transform: translateX(4px);
}

.ngi-feature-link {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  padding: 15px 18px;
  color: var(--ngi-blue) !important;
  background: linear-gradient(100deg, #e5f0ff 0%, #ecfbef 100%) !important;
  border: 1px solid rgba(11, 114, 246, 0.22) !important;
  border-radius: 10px;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ngi-feature-link:hover,
.ngi-feature-link:focus,
.ngi-feature-link:focus-visible {
  color: var(--ngi-blue) !important;
  background: linear-gradient(100deg, #d9eaff 0%, #e2f9e7 100%) !important;
  border-color: rgba(11, 114, 246, 0.38) !important;
  box-shadow: 0 10px 24px rgba(11, 114, 246, 0.14) !important;
  outline: 0;
  transform: translateY(-2px);
}

.ngi-feature-link i {
  font-size: 18px;
  font-style: normal;
}

.ngi-advisor-card {
  display: grid;
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--ngi-blue-deep), var(--ngi-blue));
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(8, 92, 203, 0.19);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ngi-advisor-card small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ngi-advisor-card strong {
  margin: 3px 0;
  font-size: 14px;
}

.ngi-advisor-card span {
  font-size: 9px;
}

.ngi-advisor-card:hover,
.ngi-advisor-card:focus-visible {
  box-shadow: 0 16px 30px rgba(8, 92, 203, 0.28);
  outline: 0;
  transform: translateY(-2px);
}

.ngi-campus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ngi-campus-grid > div {
  display: grid;
  align-content: start;
  padding: 16px;
  background: var(--ngi-soft);
  border-radius: 10px;
}

.ngi-campus-grid a {
  padding: 5px 0;
  color: #24415f;
  font-size: 12px;
}

.ngi-campus-grid a:hover,
.ngi-campus-grid a:focus-visible {
  color: var(--ngi-blue);
}

.ngi-panel-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 13px 16px;
  color: var(--ngi-blue) !important;
  background: rgba(11, 114, 246, 0.08);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.ngi-panel-footer-link span {
  transition: transform 180ms ease;
}

.ngi-panel-footer-link:hover span,
.ngi-panel-footer-link:focus-visible span {
  transform: translateX(4px);
}

.ngi-mobile-backdrop,
.ngi-mobile-drawer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.ngi-mobile-backdrop[hidden],
.ngi-mobile-drawer[hidden] {
  display: none !important;
}

.ngi-finder {
  width: min(1460px, calc(100vw - 32px));
  height: min(760px, calc(100vh - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ngi-ink);
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(3, 18, 42, 0.35);
}

.ngi-finder[open] {
  animation: ngiFinderIn 260ms cubic-bezier(0.18, 0.8, 0.22, 1);
}

.ngi-finder::backdrop {
  background: rgba(4, 18, 38, 0.72);
  backdrop-filter: blur(5px);
}

@keyframes ngiFinderIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.ngi-finder-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  height: 100%;
}

.ngi-finder-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 120% 10%, rgba(0, 239, 56, 0.9) 0 7%, transparent 7.5%),
    linear-gradient(150deg, #0757be 0%, var(--ngi-blue) 58%, #0469e9 100%);
}

.ngi-finder-sidebar::after {
  position: absolute;
  right: -85px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  content: "";
  border: 45px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.ngi-finder-brand {
  position: absolute;
  top: 34px;
  left: 34px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ngi-finder-sidebar h2 {
  position: relative;
  z-index: 1;
  max-width: 220px;
  margin: 0 0 15px;
  color: #fff;
  font-size: 32px;
  line-height: 1.08;
}

.ngi-finder-sidebar p {
  position: relative;
  z-index: 1;
  max-width: 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.65;
}

.ngi-proof-line {
  position: absolute;
  z-index: 1;
  bottom: 38px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
}

.ngi-proof-line span {
  width: 24px;
  height: 3px;
  background: var(--ngi-green);
}

.ngi-finder-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px 24px;
  overflow: hidden;
}

.ngi-finder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ngi-finder-head > div {
  display: grid;
  gap: 2px;
}

.ngi-finder-step {
  color: var(--ngi-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ngi-finder-head strong {
  color: var(--ngi-ink);
  font-size: 22px;
}

.ngi-finder-head button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 0 3px;
  color: var(--ngi-ink);
  background: var(--ngi-soft);
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ngi-finder-head button:hover,
.ngi-finder-head button:focus-visible {
  color: #fff;
  background: var(--ngi-blue);
  outline: 0;
  transform: rotate(4deg);
}

.ngi-filters {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.55fr)
    minmax(135px, 1fr)
    minmax(118px, 0.86fr)
    minmax(140px, 1.08fr)
    minmax(145px, 1.12fr)
    minmax(118px, 0.82fr);
  gap: 9px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ngi-line);
}

.ngi-filters label {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
}

.ngi-filters label > span {
  color: #687486;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ngi-filters input,
.ngi-filters select {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 15px;
  color: #21354d;
  background: var(--ngi-soft);
  border: 1px solid #dce6f3;
  border-radius: 10px;
  outline: 0;
  font-size: 13px;
}

.ngi-filters input:focus {
  background: #fff;
  border-color: var(--ngi-blue);
  box-shadow: 0 0 0 3px rgba(11, 114, 246, 0.1);
}

.ngi-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ngi-select {
  position: relative;
  min-width: 0;
}

.ngi-select-toggle {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px 0 15px !important;
  color: #21354d !important;
  background: var(--ngi-soft) !important;
  border: 1px solid #dce6f3 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ngi-select-toggle::before,
.ngi-select-toggle::after {
  display: none !important;
  content: none !important;
}

.ngi-select-toggle > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ngi-select-toggle svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: var(--ngi-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.ngi-select.is-open .ngi-select-toggle,
.ngi-select-toggle:hover,
.ngi-select-toggle:focus-visible {
  color: #21354d !important;
  background: #fff !important;
  border-color: var(--ngi-blue) !important;
  box-shadow: 0 0 0 3px rgba(11, 114, 246, 0.1) !important;
  outline: 0;
}

.ngi-select.is-open .ngi-select-toggle svg {
  transform: rotate(180deg);
}

.ngi-select.is-disabled .ngi-select-toggle {
  color: #98a2b1 !important;
  background: #f0f3f7 !important;
  border-color: #e1e6ed !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.ngi-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 268px;
  padding: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #cddcec;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(14, 45, 83, 0.18);
  scrollbar-color: rgba(11, 114, 246, 0.45) #eef4fa;
  scrollbar-width: thin;
  display: block !important;
}

.ngi-select-menu[hidden] {
  display: none !important;
}

.ngi-select-option {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  padding: 10px 38px 10px 12px !important;
  color: #29415e !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.28;
  text-align: left;
  white-space: normal;
}

/*
 * Keep school and qualification choices in a clean vertical reading order.
 * Some Elementor themes turn button groups into grids, so these declarations
 * deliberately restore one option per row inside the finder.
 */
.ngi-select--school .ngi-select-option,
.ngi-select--type .ngi-select-option,
.ngi-select--mode .ngi-select-option {
  display: flex !important;
  width: 100% !important;
}

/*
 * Campus choices use two columns on larger screens. The first "All campuses"
 * choice spans both columns, with a quiet divider between the remaining items.
 */
.ngi-select--campus .ngi-select-menu {
  right: 0;
  left: auto;
  display: grid !important;
  width: min(390px, calc(100vw - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 8px;
}

.ngi-select--campus .ngi-select-menu[hidden] {
  display: none !important;
}

.ngi-select--campus .ngi-select-option:first-child {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  border-bottom: 1px solid #e2ebf5 !important;
  border-radius: 8px 8px 4px 4px !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-select--campus .ngi-select-option:nth-child(odd):not(:first-child)::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  display: block !important;
  width: 1px !important;
  height: auto !important;
  content: "" !important;
  background: #e2ebf5 !important;
}

.ngi-select--campus .ngi-select-option:nth-child(odd):not(:first-child) {
  padding-left: 18px !important;
}

.ngi-select-option::before {
  display: none !important;
  content: none !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-select-option::after {
  display: block !important;
  position: absolute;
  top: 50%;
  right: 13px;
  width: auto !important;
  height: auto !important;
  color: var(--ngi-blue);
  content: "✓" !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 0;
  transform: translateY(-50%);
}

.ngi-select-option:hover,
.ngi-select-option:focus-visible {
  color: var(--ngi-blue) !important;
  background: #edf5ff !important;
  outline: 0;
}

.ngi-select-option[aria-selected="true"] {
  color: #063f91 !important;
  background: linear-gradient(90deg, #e9f3ff 0%, #effcf2 100%) !important;
  font-weight: 700;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-select-option[aria-selected="true"]::after {
  opacity: 1;
}

.ngi-filters > button {
  align-self: end;
  height: 48px;
  padding: 0 18px;
  color: var(--ngi-blue);
  background: rgba(11, 114, 246, 0.08);
  border: 1px solid rgba(11, 114, 246, 0.12);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ngi-filters > button:hover,
.ngi-filters > button:focus-visible {
  color: #fff;
  background: var(--ngi-blue);
  outline: 0;
}

.ngi-programme-results {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  min-height: 0;
  flex: 1 1 auto;
  gap: 10px;
  margin-top: 18px;
  padding: 2px 10px 2px 2px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(11, 114, 246, 0.5) var(--ngi-soft);
  scrollbar-width: thin;
}

.ngi-programme-results::-webkit-scrollbar {
  width: 8px;
}

.ngi-programme-results::-webkit-scrollbar-track {
  background: var(--ngi-soft);
  border-radius: 99px;
}

.ngi-programme-results::-webkit-scrollbar-thumb {
  background: rgba(11, 114, 246, 0.5);
  border: 2px solid var(--ngi-soft);
  border-radius: 99px;
}

.ngi-programme-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 112px;
  padding: 20px 20px;
  background: #fff;
  border: 1px solid var(--ngi-line);
  border-radius: 10px;
  transition: border 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ngi-programme-result:hover {
  border-color: rgba(11, 114, 246, 0.4);
  box-shadow: 0 10px 24px rgba(24, 66, 120, 0.08);
  transform: translateY(-1px);
}

.ngi-programme-result[hidden] {
  display: none;
}

.ngi-programme-result > div > span {
  color: var(--ngi-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ngi-programme-result h3 {
  width: 100%;
  max-width: 100%;
  margin: 5px 0 11px;
  color: var(--ngi-ink);
  font-size: 16px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.ngi-result-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ngi-result-badges b {
  padding: 3px 6px;
  color: #5d6b7d;
  background: var(--ngi-soft);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
}

.ngi-programme-result > a {
  display: flex;
  min-width: 102px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 15px;
  color: var(--ngi-blue);
  background: rgba(11, 114, 246, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease;
}

.ngi-programme-result > a:hover,
.ngi-programme-result > a:focus-visible {
  color: #fff;
  background: var(--ngi-blue);
  outline: 0;
}

.ngi-programme-result > a > span {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  flex: 0 0 17px;
  font-size: 16px;
  line-height: 1;
  transition: transform 160ms ease;
}

.ngi-programme-result > a:hover > span,
.ngi-programme-result > a:focus-visible > span {
  transform: translateX(3px);
}

.ngi-no-results {
  padding: 40px 24px;
  text-align: center;
  background: var(--ngi-soft);
  border-radius: 12px;
}

.ngi-no-results strong {
  color: var(--ngi-ink);
  font-size: 18px;
}

.ngi-no-results p {
  margin: 6px auto 16px;
  color: var(--ngi-muted);
  font-size: 11px;
}

.ngi-no-results a {
  display: inline-flex;
  padding: 10px 14px;
  color: #fff;
  background: var(--ngi-blue);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.ngi-availability-note {
  flex: 0 0 auto;
  margin: 10px 0 0;
  color: #778294;
  font-size: 10px;
  line-height: 1.4;
}

body.ngi-menu-locked {
  overflow: hidden;
}

@media (max-width: 1380px) {
  .ngi-container {
    width: calc(100% - 32px);
  }

  .ngi-mainbar-inner {
    grid-template-columns: 200px minmax(0, 1fr) auto;
    gap: 20px;
  }

  .ngi-brand {
    max-width: 195px;
  }

  .ngi-desktop-nav {
    gap: 16px;
  }

  .ngi-desktop-nav button,
  .ngi-desktop-nav .ngi-nav-direct {
    font-size: 13px;
  }

  .ngi-btn {
    min-width: 102px;
    min-height: 44px;
    padding: 9px 16px;
    font-size: 13px;
  }
}

@media (max-width: 1279px) {
  .ngi-container {
    width: min(100% - 30px, 1080px);
  }

  .ngi-utility {
    display: none;
  }

  .ngi-mainbar {
    height: 86px;
  }

  .ngi-mainbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }

  .ngi-brand {
    width: auto;
    max-width: 185px;
  }

  .ngi-logo-swap {
    height: 80px;
  }

  .ngi-logo-top {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    transform: translateY(4px) scale(1);
  }

  .ngi-logo-scrolled {
    width: 190px !important;
    height: 48px;
    max-width: 190px !important;
    max-height: 48px;
    transform: translateY(4px) !important;
  }

  .ngi-desktop-nav,
  .ngi-header-ctas {
    display: none;
  }

  .ngi-menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    padding: 0;
    color: var(--ngi-green) !important;
    background: #effdf2 !important;
    border: 1px solid rgba(0, 195, 47, 0.28) !important;
    border-radius: 12px !important;
    box-shadow: 0 7px 18px rgba(11, 75, 150, 0.1) !important;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .ngi-menu-toggle::before,
  .ngi-menu-toggle::after {
    display: none !important;
    content: none !important;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    color: var(--ngi-green) !important;
    stroke: var(--ngi-green) !important;
    stroke-linecap: round;
    stroke-width: 2;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle svg path,
  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-top > button svg path {
    fill: none !important;
    color: var(--ngi-green) !important;
    stroke: var(--ngi-green) !important;
  }

  .ngi-menu-toggle:hover,
  .ngi-menu-toggle:focus-visible {
    color: var(--ngi-green) !important;
    background: #073d86 !important;
    border-color: var(--ngi-green) !important;
    box-shadow: 0 10px 22px rgba(0, 118, 28, 0.18) !important;
    outline: 0;
    transform: translateY(-1px);
  }

  .ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-menu-toggle {
    color: var(--ngi-green) !important;
    background: rgba(8, 53, 111, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.56) !important;
    box-shadow: 0 7px 20px rgba(3, 23, 50, 0.16) !important;
    backdrop-filter: blur(8px);
  }

  .ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-menu-toggle:hover,
  .ngi-menu-shell[data-overlay="true"]:not(.is-scrolled) .ngi-menu-toggle:focus-visible {
    color: var(--ngi-green) !important;
    background: #073d86 !important;
    border-color: var(--ngi-green) !important;
  }

  .ngi-mega-region {
    display: none;
  }

  .ngi-mobile-backdrop {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: block !important;
    visibility: hidden;
    background: rgba(4, 18, 38, 0.66);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: visibility 260ms ease, opacity 260ms ease;
  }

  .ngi-mobile-backdrop[hidden] {
    display: none !important;
  }

  .ngi-mobile-drawer {
    position: fixed;
    z-index: 100001;
    inset: 0 0 0 auto !important;
    display: flex !important;
    width: min(480px, 94vw);
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    margin: 0 !important;
    padding: calc(22px + env(safe-area-inset-top, 0px)) 24px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: -20px 0 50px rgba(5, 22, 44, 0.22);
    transform: translateX(104%);
    transition: transform 280ms cubic-bezier(0.18, 0.8, 0.22, 1);
  }

  .ngi-mobile-drawer[hidden] {
    display: none !important;
  }

  .ngi-menu-shell.mobile-open .ngi-mobile-backdrop {
    visibility: visible !important;
    opacity: 1;
    pointer-events: auto !important;
  }

  .ngi-menu-shell.mobile-open .ngi-mobile-drawer {
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0);
  }

  .ngi-mobile-top {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 !important;
    padding: 0 0 16px;
    border-bottom: 1px solid #dbe6f5 !important;
  }

  .ngi-mobile-top .ngi-brand {
    align-self: center;
    min-height: 46px;
    margin: 0 !important;
    overflow: visible;
  }

  .ngi-mobile-top .ngi-logo-swap,
  .ngi-mobile-top .ngi-logo-swap--drawer {
    height: 46px !important;
    overflow: visible;
  }

  .ngi-mobile-top .ngi-logo-scrolled {
    height: 42px !important;
    transform: translateY(4px) !important;
  }

  .ngi-mobile-top > button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    color: var(--ngi-green) !important;
    background: #effdf2 !important;
    border: 1px solid rgba(0, 195, 47, 0.28) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  .ngi-mobile-top > button::before,
  .ngi-mobile-top > button::after {
    display: none !important;
    content: none !important;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-top > button svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    color: var(--ngi-green) !important;
    stroke: var(--ngi-green) !important;
    stroke-linecap: round;
    stroke-width: 2;
  }

  .ngi-mobile-top > button:hover,
  .ngi-mobile-top > button:focus-visible {
    color: var(--ngi-green) !important;
    background: #073d86 !important;
    border-color: var(--ngi-green) !important;
    outline: 0;
    transform: rotate(2deg);
  }

  .ngi-mobile-search {
    position: relative;
    display: flex;
    height: 52px;
    align-items: center;
    gap: 8px;
    margin: 16px 0 12px;
    padding: 5px 5px 5px 9px;
    background: #fff !important;
    border: 1px solid #cfdeef !important;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(12, 58, 111, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .ngi-mobile-search:focus-within {
    background: #fff !important;
    border-color: var(--ngi-blue) !important;
    box-shadow: 0 0 0 3px rgba(11, 114, 246, 0.1), 0 10px 24px rgba(12, 58, 111, 0.12);
    transform: translateY(-1px);
  }

  .ngi-mobile-search .ngi-mobile-search-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    flex: 0 0 34px;
    color: var(--ngi-blue);
    background: #edf5ff;
    border-radius: 10px;
  }

  .ngi-mobile-search .ngi-mobile-search-icon svg {
    position: static;
    width: 16px;
    height: 16px;
  }

  .ngi-mobile-search > button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    flex: 0 0 40px;
    padding: 0;
    color: #fff !important;
    background: var(--ngi-blue) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
  }

  .ngi-mobile-search > button::before,
  .ngi-mobile-search > button::after {
    display: none !important;
    content: none !important;
  }

  .ngi-mobile-search > button svg {
    position: static;
    width: 17px;
    height: 17px;
    color: #fff !important;
    stroke: #fff !important;
  }

  .ngi-mobile-search > button:hover,
  .ngi-mobile-search > button:focus-visible {
    background: var(--ngi-blue-deep) !important;
    outline: 0;
    transform: scale(1.04);
  }

  .ngi-mobile-search input {
    min-width: 0;
    height: 40px;
    padding: 0 4px;
    color: var(--ngi-ink);
    font-size: 14px;
    font-weight: 600;
  }

  .ngi-mobile-search input::placeholder {
    color: #68768a;
    opacity: 1;
  }

  .ngi-mobile-nav {
    display: grid;
  }

  .ngi-mobile-group {
    border-bottom: 1px solid #dbe6f5 !important;
  }

  .ngi-mobile-direct-link {
    display: flex;
    min-height: 53px;
    align-items: center;
    justify-content: space-between;
    color: var(--ngi-ink) !important;
    border-bottom: 1px solid #dbe6f5 !important;
    font-size: 14px;
    font-weight: 800;
  }

  .ngi-mobile-direct-link span {
    color: var(--ngi-blue);
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-group > button {
    display: flex;
    width: 100%;
    min-height: 53px;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    color: var(--ngi-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    transition: color 160ms ease, background 160ms ease, padding 160ms ease;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-group > button span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: var(--ngi-blue) !important;
    background: #edf5ff !important;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 400;
    transition: transform 180ms ease;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-group > button:hover,
  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-group > button:focus-visible,
  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-group > button[aria-expanded="true"] {
    padding-right: 8px;
    padding-left: 8px;
    color: var(--ngi-blue) !important;
    background: #f4f8fe !important;
    outline: 0;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-group > button[aria-expanded="true"] span {
    color: #fff !important;
    background: var(--ngi-blue) !important;
    transform: rotate(45deg);
  }

  .ngi-mobile-group > div {
    display: grid;
    padding: 0 0 12px 12px;
  }

  .ngi-mobile-group > div[hidden] {
    display: none;
  }

  .ngi-mobile-group a,
  .ngi-mobile-link-button {
    display: flex;
    width: 100%;
    min-height: 39px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: #536173 !important;
    background: transparent !important;
    cursor: pointer;
    font-size: 12px;
    text-align: left;
  }

  .ngi-mobile-group a span,
  .ngi-mobile-link-button span {
    color: var(--ngi-blue);
  }

  .ngi-mobile-group a:hover,
  .ngi-mobile-group a:focus-visible,
  .ngi-mobile-link-button:hover,
  .ngi-mobile-link-button:focus-visible {
    color: var(--ngi-blue) !important;
    outline: 0;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-link-button {
    display: flex !important;
    width: 100% !important;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 6px 0 9px !important;
    padding: 8px 9px 8px 15px !important;
    color: var(--ngi-blue) !important;
    background: linear-gradient(105deg, #edf5ff 0%, #f0fff3 100%) !important;
    border: 1px solid rgba(11, 114, 246, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: 0 7px 18px rgba(11, 74, 145, 0.08) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-link-button span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    flex: 0 0 32px;
    color: #07376f !important;
    background: var(--ngi-green) !important;
    border-radius: 9px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 180ms ease;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-link-button:hover,
  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-link-button:focus-visible {
    color: #fff !important;
    background: var(--ngi-blue) !important;
    border-color: var(--ngi-blue) !important;
    box-shadow: 0 10px 22px rgba(11, 74, 145, 0.16) !important;
    outline: 0;
    transform: translateY(-1px);
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-link-button:hover span,
  body .ngi-menu-shell[data-ngi-menu] .ngi-mobile-link-button:focus-visible span {
    color: #07376f !important;
    background: var(--ngi-green) !important;
    transform: translateX(2px);
  }

  .ngi-mobile-portal {
    position: relative;
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #075fcf 0%, var(--ngi-blue) 62%, #1690ff 100%) !important;
    border: 1px solid rgba(11, 114, 246, 0.18);
    border-radius: 16px;
    box-shadow: 0 13px 28px rgba(5, 71, 151, 0.16);
  }

  .ngi-mobile-portal::after {
    position: absolute;
    right: -38px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    content: "";
    background: rgba(0, 239, 56, 0.18);
    border-radius: 50%;
    pointer-events: none;
  }

  .ngi-mobile-portal-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 2px 2px;
    color: #fff;
  }

  .ngi-mobile-portal-head span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  .ngi-mobile-portal-head small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 600;
  }

  .ngi-mobile-portal a {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 8px 9px;
    color: #12355f !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 12px;
    box-shadow: 0 5px 14px rgba(3, 51, 111, 0.12);
    font-size: 11px;
    font-weight: 700;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .ngi-mobile-portal a::before,
  .ngi-mobile-portal a::after {
    display: none !important;
    content: none !important;
  }

  .ngi-mobile-portal a:hover,
  .ngi-mobile-portal a:focus-visible {
    color: #12355f !important;
    background: #fff !important;
    box-shadow: 0 9px 20px rgba(3, 51, 111, 0.18);
    outline: 0;
    transform: translateY(-1px);
  }

  .ngi-mobile-portal-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #087523;
    background: #e8ffed;
    border-radius: 10px;
  }

  .ngi-mobile-portal-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .ngi-mobile-portal-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .ngi-mobile-portal-copy strong {
    color: #0b4f9c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
  }

  .ngi-mobile-portal-copy small {
    color: #68768a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
  }

  .ngi-mobile-portal-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #07376f;
    background: var(--ngi-green);
    border-radius: 9px;
    font-size: 16px;
    transition: transform 180ms ease;
  }

  .ngi-mobile-portal a:hover .ngi-mobile-portal-arrow,
  .ngi-mobile-portal a:focus-visible .ngi-mobile-portal-arrow {
    transform: translateX(2px);
  }

  .ngi-mobile-ctas {
    position: sticky;
    bottom: -18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: auto -24px -18px;
    padding: 14px 24px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #dbe6f5 !important;
    backdrop-filter: blur(10px);
  }

  .ngi-mobile-ctas .ngi-btn {
    display: flex;
  }

  .ngi-finder {
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .ngi-finder-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .ngi-finder-sidebar {
    padding: 28px;
  }

  .ngi-finder-sidebar h2 {
    font-size: 25px;
  }

  .ngi-finder-brand,
  .ngi-proof-line {
    left: 28px;
  }

  .ngi-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ngi-filters > button {
    align-self: end;
  }
}

@media (max-width: 760px) {
  .ngi-container {
    width: calc(100% - 28px);
  }

  .ngi-mainbar,
  .ngi-menu-shell.is-scrolled .ngi-mainbar {
    height: 82px;
  }

  .ngi-brand {
    max-width: 160px;
  }

  .ngi-logo-swap,
  .ngi-menu-shell.is-scrolled .ngi-logo-swap {
    height: 76px;
  }

  .ngi-logo-top {
    width: 74px !important;
    height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;
    transform: translateY(3px) scale(1);
  }

  .ngi-logo-scrolled {
    width: 158px !important;
    height: 42px;
    max-width: 158px !important;
    max-height: 42px;
    transform: translateY(5px) !important;
  }

  .admin-bar .ngi-mega-header {
    top: 46px;
  }

  .admin-bar .ngi-mobile-drawer {
    top: 46px !important;
    height: calc(100dvh - 46px);
    max-height: calc(100dvh - 46px);
  }

  .admin-bar .ngi-mobile-backdrop {
    top: 46px;
  }

  .ngi-mobile-drawer {
    width: 100%;
    max-width: none;
  }

  .ngi-finder {
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .ngi-finder-layout {
    display: block;
    overflow: auto;
  }

  .ngi-finder-sidebar {
    display: block;
    height: auto;
    min-height: 155px;
    padding: 24px 62px 24px 24px;
  }

  .ngi-finder-brand,
  .ngi-proof-line {
    display: none;
  }

  .ngi-finder-sidebar h2 {
    max-width: 290px;
    margin-bottom: 8px;
    font-size: 25px;
  }

  .ngi-finder-sidebar p {
    max-width: 330px;
    font-size: 10px;
  }

  .ngi-finder-main {
    display: block;
    height: auto;
    padding: 20px 18px 28px;
  }

  .ngi-finder-head {
    margin-bottom: 16px;
  }

  .ngi-finder-head button {
    position: fixed;
    z-index: 3;
    top: 15px;
    right: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
  }

  .ngi-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .ngi-filters label:first-child {
    grid-column: 1 / -1;
  }

  .ngi-filters input,
  .ngi-select-toggle {
    height: 44px;
    font-size: 11px;
  }

  .ngi-select-menu {
    max-height: 238px;
  }

  .ngi-select--campus .ngi-select-menu {
    right: auto;
    left: 0;
    width: min(360px, calc(100vw - 36px));
  }

  .ngi-filters > button {
    height: 44px;
  }

  .ngi-programme-results {
    max-height: none;
    overflow: visible;
  }

  .ngi-programme-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .ngi-programme-result > a {
    justify-content: space-between;
    min-width: 0;
    padding-inline: 17px;
  }

  .ngi-availability-note {
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .ngi-mobile-drawer {
    padding-inline: 18px;
  }

  .ngi-mobile-ctas {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .ngi-filters {
    grid-template-columns: 1fr;
  }

  .ngi-filters label:first-child {
    grid-column: auto;
  }

  .ngi-select--campus .ngi-select-menu {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .ngi-select--campus .ngi-select-option:first-child {
    grid-column: auto;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-select--campus .ngi-select-option:nth-child(odd):not(:first-child)::before {
    display: none !important;
  }

  .ngi-select--campus .ngi-select-option:nth-child(odd):not(:first-child) {
    padding-left: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ngi-menu-shell *,
  .ngi-menu-shell *::before,
  .ngi-menu-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*
 * v1.4 layout refinements. These rules stay strictly inside the NGI component
 * so the plugin can be enabled on an existing Elementor site safely.
 */
.ngi-menu-shell .ngi-link-grid {
  gap: 14px;
}

.ngi-menu-shell .ngi-link-item {
  min-height: 104px;
  padding: 21px 68px 21px 24px;
}

.ngi-menu-shell .ngi-link-item strong {
  line-height: 1.3;
}

.ngi-menu-shell .ngi-link-item > span {
  margin-top: 6px;
  line-height: 1.45;
}

.ngi-menu-shell .ngi-link-item i {
  right: 27px;
}

.ngi-menu-shell .ngi-link-item,
.ngi-menu-shell .ngi-link-item:hover,
.ngi-menu-shell .ngi-link-item:focus,
.ngi-menu-shell .ngi-link-item:active,
.ngi-menu-shell .ngi-programme-result,
.ngi-menu-shell .ngi-programme-result:hover,
.ngi-menu-shell .ngi-select-option,
.ngi-menu-shell .ngi-select-option:hover,
.ngi-menu-shell .ngi-select-option:focus {
  background-color: #f3f7fc !important;
  background-image: none !important;
}

.ngi-menu-shell .ngi-link-item:hover,
.ngi-menu-shell .ngi-link-item:focus-visible {
  background-color: #fff !important;
}

.ngi-menu-shell .ngi-select-option[aria-selected="true"] {
  background: linear-gradient(90deg, #e9f3ff 0%, #effcf2 100%) !important;
}

.ngi-menu-shell .ngi-filters {
  grid-template-columns:
    minmax(0, 1.48fr)
    minmax(0, 1.22fr)
    minmax(0, 0.72fr)
    minmax(0, 1fr)
    minmax(0, 1.08fr)
    minmax(112px, 0.78fr);
  align-items: end;
  column-gap: clamp(10px, 1vw, 16px);
  row-gap: 14px;
  width: 100%;
}

.ngi-menu-shell .ngi-filters label > span {
  min-height: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.ngi-menu-shell .ngi-select-toggle {
  gap: 10px;
  padding-right: 14px !important;
  padding-left: 16px !important;
}

.ngi-menu-shell .ngi-select-option {
  min-height: 46px;
  padding: 12px 42px 12px 16px !important;
  overflow: visible;
  line-height: 1.35;
}

.ngi-menu-shell .ngi-select-menu {
  min-width: max(100%, 210px);
}

.ngi-menu-shell .ngi-select--school .ngi-select-menu {
  width: min(300px, calc(100vw - 40px));
}

.ngi-menu-shell .ngi-programme-result {
  align-items: center;
}

.ngi-menu-shell .ngi-programme-result > div {
  min-width: 0;
  padding-right: 22px;
}

.ngi-menu-shell .ngi-programme-result h3 {
  overflow: visible !important;
  line-height: 1.35;
  white-space: normal !important;
}

@media (max-width: 1279px) {
  .ngi-menu-shell .ngi-mobile-drawer {
    padding-top: calc(34px + env(safe-area-inset-top, 0px));
  }

  .ngi-menu-shell .ngi-mobile-top {
    min-height: 66px;
    padding-bottom: 18px;
  }

  .ngi-menu-shell .ngi-mobile-nav {
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ngi-menu-shell .ngi-filters label:first-child {
    grid-column: 1 / -1;
  }
}

/*
 * The finder still has enough room for one row on compact laptops, but not for
 * the previous hard minimums. Keep the row intact and tighten only the
 * decorative spacing; every control remains inside its own grid track.
 */
@media (min-width: 901px) and (max-width: 1279px) {
  .ngi-menu-shell .ngi-finder-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .ngi-menu-shell .ngi-finder-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ngi-menu-shell .ngi-filters {
    grid-template-columns:
      minmax(0, 1.42fr)
      minmax(0, 1.2fr)
      minmax(0, 0.7fr)
      minmax(0, 0.96fr)
      minmax(0, 1.04fr)
      minmax(104px, 0.76fr);
    column-gap: 9px;
  }

  .ngi-menu-shell .ngi-select-toggle {
    padding-right: 11px !important;
    padding-left: 13px !important;
  }

  .ngi-menu-shell .ngi-select-toggle svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .ngi-menu-shell .ngi-filters > button {
    padding-inline: 12px;
  }
}

@media (max-width: 560px) {
  .ngi-menu-shell .ngi-link-grid {
    grid-template-columns: 1fr;
  }

  .ngi-menu-shell .ngi-filters {
    grid-template-columns: 1fr;
  }

  .ngi-menu-shell .ngi-filters label:first-child {
    grid-column: auto;
  }
}

/*
 * v1.5.2 finder containment.
 * Keep theme-level button widths from pushing a custom select into the next
 * filter track, and reserve enough room for the longest selected labels.
 */
.ngi-menu-shell .ngi-filters {
  grid-template-columns:
    minmax(0, 1.8fr)
    minmax(0, 1.25fr)
    minmax(0, 1.25fr)
    minmax(0, 1.1fr)
    minmax(0, 1.18fr)
    minmax(112px, 0.92fr);
}

.ngi-menu-shell .ngi-filters > label,
.ngi-menu-shell .ngi-filters .ngi-select,
.ngi-menu-shell .ngi-filters .ngi-select-toggle,
.ngi-menu-shell .ngi-filters > button {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.ngi-menu-shell .ngi-filters .ngi-select-toggle {
  overflow: hidden;
}

@media (min-width: 901px) and (max-width: 1279px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns:
      minmax(0, 1.7fr)
      minmax(0, 1.2fr)
      minmax(0, 1.28fr)
      minmax(0, 1.04fr)
      minmax(0, 1.14fr)
      minmax(104px, 0.84fr);
    column-gap: 10px;
  }
}

@media (max-width: 900px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns: 1fr;
  }
}

/*
 * v1.7.3 hotfix: isolate the mobile hamburger from Hello Elementor's global
 * button hover colour and guarantee that it cannot occupy the desktop hero.
 */
@media (min-width: 1280px) {
  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 1279px) {
  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle {
    display: grid !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    place-content: center !important;
    color: var(--ngi-green) !important;
    background: #effdf2 !important;
    border: 1px solid rgba(0, 195, 47, 0.28) !important;
    border-radius: 12px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle:hover,
  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle:focus,
  body .ngi-menu-shell[data-ngi-menu] .ngi-menu-toggle:focus-visible,
  body .ngi-menu-shell[data-ngi-menu].mobile-open .ngi-menu-toggle {
    color: var(--ngi-green) !important;
    background: #073d86 !important;
    border-color: var(--ngi-green) !important;
  }
}

/*
 * v1.7.1 Student Portal trigger containment.
 * Elementor kits can impose a compact button height and block-level span rules.
 * Lock the trigger and its three children into one centred desktop row.
 */
body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-launcher {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility button.ngi-portal-link {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 156px !important;
  max-width: none !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 4px 5px 4px 8px !important;
  overflow: visible !important;
  line-height: 1 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-link > span {
  position: static !important;
  inset: auto !important;
  float: none !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-label {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  color: #fff !important;
  overflow: visible !important;
  white-space: nowrap !important;
  transform: none !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-icon {
  display: grid !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px !important;
  place-items: center !important;
  transform: none !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-arrow {
  display: grid !important;
  width: 27px !important;
  min-width: 27px !important;
  max-width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  flex: 0 0 27px !important;
  place-items: center !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-icon svg,
body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-arrow svg {
  position: static !important;
  display: block !important;
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .ngi-menu-shell[data-ngi-menu] .ngi-utility .ngi-portal-link[aria-expanded="true"] .ngi-portal-arrow {
  transform: rotate(180deg) !important;
}

/*
 * v1.5.4 filter vertical alignment.
 * WordPress/Elementor themes can apply button-content alignment to the custom
 * select buttons. Keep both the label and arrow centred for every filter.
 */
.ngi-menu-shell .ngi-filters .ngi-select-toggle {
  display: flex !important;
  height: 52px !important;
  min-height: 52px !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
}

.ngi-menu-shell .ngi-filters .ngi-select-toggle > span {
  display: flex !important;
  height: 100% !important;
  min-height: 0 !important;
  align-items: center !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.ngi-menu-shell .ngi-filters .ngi-select-toggle svg {
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform-origin: center !important;
}

.ngi-menu-shell .ngi-filters > button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

/*
 * v1.5.3 programme-finder polish.
 * Treat every filter as one consistent field, with a dedicated arrow zone and
 * enough room for descriptive qualification names.
 */
.ngi-menu-shell .ngi-filters {
  grid-template-columns:
    minmax(168px, 1.55fr)
    minmax(138px, 1.08fr)
    minmax(174px, 1.34fr)
    minmax(142px, 1.12fr)
    minmax(156px, 1.2fr)
    minmax(116px, 0.82fr);
  column-gap: 14px;
}

.ngi-menu-shell .ngi-filters label {
  gap: 8px;
}

.ngi-menu-shell .ngi-filters label > span {
  padding-left: 2px;
  color: #52657b;
  font-size: 10px;
  letter-spacing: 0.075em;
}

.ngi-menu-shell .ngi-filters input,
.ngi-menu-shell .ngi-select-toggle,
.ngi-menu-shell .ngi-filters > button {
  height: 52px;
  border-radius: 12px !important;
}

.ngi-menu-shell .ngi-filters input,
.ngi-menu-shell .ngi-select-toggle {
  background: #fff !important;
  border: 1px solid #cddbea !important;
  box-shadow: 0 2px 8px rgba(17, 51, 88, 0.045) !important;
}

.ngi-menu-shell .ngi-select-toggle {
  position: relative;
  gap: 12px;
  padding: 0 14px 0 17px !important;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
}

.ngi-menu-shell .ngi-select-toggle > span {
  flex: 1 1 auto;
}

.ngi-menu-shell .ngi-select-toggle svg {
  box-sizing: content-box;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: -1px -14px -1px 0;
  padding: 19px 14px;
  background: #f3f7fc;
  border-left: 1px solid #dce6f1;
  stroke: var(--ngi-blue);
}

.ngi-menu-shell .ngi-select.is-open .ngi-select-toggle,
.ngi-menu-shell .ngi-select-toggle:hover,
.ngi-menu-shell .ngi-select-toggle:focus-visible {
  border-color: #7aa6d7 !important;
  box-shadow: 0 0 0 3px rgba(11, 114, 246, 0.09), 0 5px 14px rgba(17, 51, 88, 0.07) !important;
}

.ngi-menu-shell .ngi-select.is-open .ngi-select-toggle svg,
.ngi-menu-shell .ngi-select-toggle:hover svg,
.ngi-menu-shell .ngi-select-toggle:focus-visible svg {
  background: #eaf3ff;
}

.ngi-menu-shell .ngi-filters > button {
  padding-inline: 16px;
  background: #edf5ff;
  border-color: #d4e4f7;
}

@media (min-width: 901px) and (max-width: 1279px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns:
      minmax(148px, 1.45fr)
      minmax(122px, 1.02fr)
      minmax(162px, 1.32fr)
      minmax(126px, 1.06fr)
      minmax(140px, 1.14fr)
      minmax(104px, 0.8fr);
    column-gap: 10px;
  }

  .ngi-menu-shell .ngi-select-toggle {
    padding-left: 14px !important;
  }
}

@media (max-width: 900px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ngi-menu-shell .ngi-filters {
    grid-template-columns: 1fr;
  }
}


/* Keep the scrolled desktop logo visually centred in the white header. */
@media (min-width: 901px) {
  .ngi-menu-shell.is-scrolled .ngi-logo-swap {
    transform: translateY(-5px);
  }
}
