/*
 * Hover / focus state for single-link header dropdowns
 * (About Us, Partners, Resources, ...: `.ems-drp-link-list .ems-drp-link`).
 * Simple text-colour change to primary-600 (same blue the Products megamenu
 * cards use on hover). No box/border/shadow by design. Linked inline next to
 * each menu, so it reaches main-site and product sub-site headers alike.
 */
.ems-drp-link-list .ems-drp-link {
  text-decoration: none;
  /* icon sits on the title's first line. Title line = 19.2px, icon = 20px,
     so top-aligning centres the icon on that line, for title-only items
     and for items with a description underneath (centring would put the
     icon halfway down the description). */
  -webkit-box-align: start !important;
      -ms-flex-align: start !important;
          align-items: flex-start !important;
}
.ems-drp-link-list .ems-drp-link__icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
/* inline <img> sits on the text baseline and drops ~2-4px; block removes that */
.ems-drp-link-list .ems-drp-link__icon img {
  display: block;
  /* some legacy icon files are not square: keep them inside the 20px box */
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
/* title-only items: no bottom margin pushing the text above the icon centre */
.ems-drp-link-list .ems-drp-link h4:only-child {
  margin-bottom: 0 !important;
}
/*
 * Uniform typography + rhythm for every dropdown item, matching the
 * emSigner Use Cases menu (the reference): title 16px/600, description
 * 14px/400 grey at 21px line height, 28px between rows of described items.
 */
.ems-drp-link-list .ems-drp-link h4 {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.ems-drp-link-list .ems-drp-link p {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
@media (min-width: 992px) {
  .ems-drp-link-list .ems-drp-link-list__item:has(.ems-drp-link p) {
    margin-bottom: 28px !important;
  }
}
/*
 * Product sub-site mega dropdowns: same width as emSigner / CertiNext /
 * SecurePass. PrivaTrust, IDBroker and DataShield main.css carry a legacy
 * "DataShield secondary nav - tighter dropdowns" override (780/840px) that
 * made their menus a narrow box; restore the shared 960/1266px widths.
 */
@media (min-width: 992px) {
  .emsigner-india-header .ems-navlist .nav-dropdown--lg {
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .emsigner-india-header .ems-navlist .nav-dropdown--lg {
    width: 1266px;
  }
}
/* Column layout, same as CertiNext / SecurePass:
   large product dropdowns = 3 columns; IDBroker "IDP Solution" (4 items) = 2 columns. */
@media (min-width: 992px) {
  .emsigner-india-header .nav-dropdown--lg .ems-drp-link-list--emudhar .ems-drp-link-list__item {
    width: 33.333% !important;
    padding-right: 24px;
  }
  .emsigner-india-header .nav-dropdown--2col {
    min-width: 860px !important;
    max-width: 860px !important;
  }
  .emsigner-india-header .nav-dropdown--2col .ems-drp-link-list__item {
    width: 50% !important;
    padding-right: 24px;
  }
}
/* centre every large dropdown on the navbar, whichever menu item it hangs
   from (main.css only does this for the 1st/2nd item) */
@media (min-width: 992px) {
  .emsigner-india-header .ems-navlist > .nav-item-header:has(> .nav-dropdown--lg) {
    position: unset !important;
  }
}
.ems-drp-link-list .ems-drp-link h4 {
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
/* no browser focus box on menu links (the title colour change below is the
   focus indicator instead) */
.nav-dropdown a:focus,
.nav-dropdown a:focus-visible,
.ems-drp-link:focus,
.ems-drp-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.ems-drp-link-list .ems-drp-link:focus h4,
.ems-drp-link-list .ems-drp-link:hover h4,
.ems-drp-link-list .ems-drp-link:focus-visible h4 {
  color: var(--primary-600, #1C64F2) !important;
}
