#nav #links {
  margin-left: auto;
}

#nav #links a.login {
  margin-left: clamp(12px, 2vw, 30px);
  opacity: .8;
}

#nav #links a.nav-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid #26345d;
  background: #26345d;
  color: #fff;
  font: 400 12px/16px "DM Sans", Arial, sans-serif;
  white-space: nowrap;
  backdrop-filter: none;
}

#nav #links a.nav-apply:hover,
#nav #links a.nav-apply:focus-visible {
  background: #384979;
  text-decoration: none;
}

#nav #links a.nav-apply::after { content: none; }

@media (min-width: 761px) {
  header#nav,
  header#nav.scrolled,
  body.page-home header#nav:not(.scrolled) {
    --header-gutter: 6.2%;
    min-height: 93px;
    padding: 0 var(--header-gutter);
    border-top: 4px solid #171f40;
    border-bottom: 1px solid #cbd0d9;
    background: #eef0f3;
    color: #202d58;
    box-shadow: none;
  }

  #nav .brand {
    max-width: 224px;
    position: relative;
    z-index: 1;
  }

  body #nav .brand .site-logo-black { display: block; }
  body #nav .brand .site-logo-white { display: none; }
  body.page-home #nav:not(.scrolled) .brand .site-logo-black { display: block; }
  body.page-home #nav:not(.scrolled) .brand .site-logo-white { display: none; }

  #nav #links {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(16px, 2.6vw, 36px);
    padding: 0 var(--header-gutter);
    pointer-events: none;
    font: 400 clamp(14px, 1.25vw, 17px)/1.25 "DM Sans", Arial, sans-serif;
  }

  #nav #links > a {
    grid-row: 1;
    pointer-events: auto;
    white-space: nowrap;
  }

  #nav #links > a:first-child { grid-column: 2; }
  #nav #links > a:nth-child(2) { grid-column: 3; }
  #nav #links > a:is(:first-child, :nth-child(2)) {
    translate: clamp(0px, (100vw - 900px) * .08, 35px) 0;
  }

  #nav #links > a[aria-current="page"]:not(.nav-apply) {
    padding-bottom: 0;
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: 9px;
  }

  #nav #links > a.login,
  #nav #links > a.nav-apply {
    grid-column: 4;
    justify-self: end;
  }

  #nav #links > a.login {
    margin-inline: 0 113px;
    color: #4c6186;
    font-size: 15px;
    opacity: 1;
  }

  #nav #links > a.nav-apply {
    min-width: 94px;
    min-height: 52px;
    padding: 12px 20px;
    border-color: #202b54;
    background: #202b54;
    font-size: 16px;
    font-weight: 600;
  }
}

@media (max-width: 760px) {
  #nav #links.open > a.login { margin-left: 0; }
  #nav #links.open > a.nav-apply {
    width: max-content;
    min-height: 42px;
    margin-top: 10px;
    padding: 12px 22px;
  }
}

.home-insights h2 { max-width: 17ch; }
.home-insights .insights-reading-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  max-width: 48rem;
  border-top: 1px solid var(--line);
}
.home-insights .insights-reading-list li {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.home-insights .insights-reading-list a {
  display: block;
  padding: 16px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
