* {
    box-sizing: border-box;
}

.ntsmp-header {
    position: relative;
    z-index: 9999;
    background: #002158;
    width: 100%;
    max-width: 100%;
    font-family: 'Montserrat', sans-serif;

}
.ntsmp-container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ntsmp-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ntsmp-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

.ntsmp-logo-img {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 1024px) {
 
  .ntsmp-logo-img {
    height: 44px !important;
    max-height: 44px !important;
    max-width: 180px !important;
  }
}

.ntsmp-brand img.custom-logo.has-transparency {
  width: 60px !important;
  height: auto !important;
}

.ntsmp-brand-text {
  color: #ffd229 !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  display: inline-block !important;
}

@media (max-width: 768px) {
.ntsmp-menu > li.maturity-codes-menu > .ntsmp-mega .ntsmp-mega-inner {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
  .ntsmp-logo-img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }
.ntsmp-container {
    padding: 0 15px;
    justify-content: space-between;
}
  .ntsmp-brand-text {
    font-size: 22px !important;
  }
  li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-5961.current_page_item {
    display: none;
}
}

.ntsmp-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

.ntsmp-menu,
.ntsmp-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ntsmp-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ntsmp-menu > li {
  position: relative;
}

.ntsmp-top-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 30px 12px;
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.18s ease;
}

.ntsmp-top-link:hover {
  background: unset;
  color: #ffffff;
}

.ntsmp-caret {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}

.ntsmp-menu-button > .ntsmp-top-link {
  background: #ffffff;
  color: #0a2540;
  padding: 12px 18px;
  border-radius: 12px;
}

.ntsmp-menu-button > .ntsmp-top-link:hover {
  background: #f4f7fb;
  color: #0a2540;
}

.ntsmp-top-cta-wrap {
  display: none;
}

.ntsmp-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 360px;
  background: linear-gradient(180deg, #f9fbff 0%, #f6f9fc 100%);
  border: 1px solid #e6ebf1;
  border-radius: 0px;
  padding: 15px 2px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.ntsmp-menu > li:hover > .ntsmp-dropdown,
.ntsmp-menu > li:focus-within > .ntsmp-dropdown {
  display: block;
}

.ntsmp-dropdown > li > a {
    display: block;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1.35;
    color: #111111;
    font-weight: 600;
}

.ntsmp-dropdown > li > a:hover {
  background: #f6f9fc;
  color: #111111;
}

.ntsmp-dropdown-featured-item {
  margin-bottom: 10px;
}

.ntsmp-dropdown-featured-card {
  display: block !important;
  text-decoration: none;
  background: none;
  border-radius: 16px;
  padding: 16px;
}

.ntsmp-dropdown-featured-card:hover {
  background: #edf2fb;
}

.ntsmp-dropdown-featured-title {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    color: #111111;
    font-weight: 600;
}

.ntsmp-dropdown-featured-desc {
  display: block;
color: #66768f;
    font-size: 14px;
    line-height: 1.6;
  margin-bottom: 12px;
   font-weight: 400;
}

.ntsmp-dropdown-featured-cta {
    display: inline-block;
    color: #9f0000;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.ntsmp-has-mega {
  position: static !important;
}

.ntsmp-mega {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: min(1240px, calc(100vw - 40px));
  background: #ffffff;
  border: 1px solid #e6ebf1;
  border-radius: 0px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.ntsmp-has-mega:hover > .ntsmp-mega,
.ntsmp-has-mega:focus-within > .ntsmp-mega {
  display: block;
}

.ntsmp-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
   background: linear-gradient(180deg, #f9fbff 0%, #f6f9fc 100%);
}

.ntsmp-col {
  padding: 28px 30px;
  min-height: auto;
  border-right: 1px solid #edf2f7;
  background: #ffffff;
}

.ntsmp-col:last-child {
  border-right: 0;
}

.ntsmp-col-featured {
  background: linear-gradient(180deg, #f9fbff 0%, #f6f9fc 100%);
}

.ntsmp-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #0a2540;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ntsmp-col-title {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.35;
    color: #111111;
    font-weight: 600;
}

.ntsmp-col-desc {
  margin: 0px 0px !important;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7c93;
  padding:0px !important;
}

.ntsmp-col-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ntsmp-col-link {
  display: block;
  text-decoration: none;
  padding: 7px 0;
  color: #9f0000;
}

.ntsmp-col-link:hover {
  color: #0a2540;
}

.ntsmp-col-link-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.ntsmp-col-link-desc {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7c93;
  margin-top: 2px;
}

.ntsmp-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.ntsmp-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .ntsmp-toggle {
    display: flex;
    align-items: flex-end;
  }

  .ntsmp-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a2a66;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
  }

  .ntsmp-panel.is-open {
    display: flex;
  }

  .ntsmp-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .ntsmp-menu > li {
    width: 100%;
  }

  .ntsmp-top-link {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0px;
  }

  .ntsmp-dropdown,
  .ntsmp-mega {
    position: static;
    transform: none;
    width: 100%;
    min-width: 100%;
    display: none;
    border-radius: 16px;
    box-shadow: none;
    margin-top: 8px;
  }

  .ntsmp-menu > li.is-open > .ntsmp-dropdown,
  .ntsmp-menu > li.is-open > .ntsmp-mega {
    display: block;
  }

  .ntsmp-mega-inner {
    grid-template-columns: 1fr;
  }

  .ntsmp-col {
    min-height: auto;
    padding: 18px 18px;
    border-right: 0;
    border-bottom: 1px solid #edf2f7;
  }

  .ntsmp-col:last-child {
    border-bottom: 0;
  }

  .ntsmp-mega-footer {
    padding: 16px 18px 20px;
  }

  .ntsmp-top-cta-wrap {
    display: block;
  }

  .ntsmp-top-cta {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: #d8613c;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display:none !important;
  }
  .ntsmp-menu > li > .ntsmp-mega,
  .ntsmp-menu > li > .ntsmp-dropdown {
    display: none !important;
  }

  .ntsmp-menu > li.is-open > .ntsmp-mega,
  .ntsmp-menu > li.is-open > .ntsmp-dropdown {
    display: block !important;
  }
}

.ntsmp-mega-footer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 30px 28px;
  border-top: 1px solid #edf2f7;
  background: #ffffff;
}

.ntsmp-mega-footer-link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: #635bff;
}

.ntsmp-mega-footer-link:hover {
  color: #0a2540;
}

.ntsmp-mega-footer-link-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.ntsmp-mega-footer-link-desc {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7c93;
}
.ntsmp-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.ntsmp-caret img {
  width: 10px;
  height: 10px;
  display: block;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.25s ease;
}

.ntsmp-menu > li.is-open .ntsmp-caret img {
  transform: rotate(180deg);
}
/* Only for Maturity Codes mega menu */
.ntsmp-menu > li.maturity-codes-menu > .ntsmp-mega .ntsmp-mega-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ntsmp-menu > li.maturity-codes-menu > .ntsmp-mega .ntsmp-mega-inner > .ntsmp-col:nth-child(3),
.ntsmp-menu > li.maturity-codes-menu > .ntsmp-mega .ntsmp-mega-inner > .ntsmp-col:nth-child(4) {
  display: none !important;
}

.ntsmp-menu > li.maturity-codes-menu > .ntsmp-mega {
    width: min(800px, calc(86vw - 40px)) !important;
}
.ntsmp-menu > li.maturity-codes-menu > .ntsmp-mega {
    left: 75%;
}