/* Outlined pills (24 Oct 2026): thick black outline on white; black with white writing on hover, focus and press.
   Used by the Log in link and the filter pills on Resources and Blog. */
nav.links a.nav-login,
.blog-filter button{border:2px solid #241F19;background:#fff;color:#241F19;font-weight:600;}
/* Log in: the same 1.5px outline as the level pills on the home page (Undergraduate, Master's, PhD). */
nav.links a.nav-login{border-width:1.5px;}
nav.links a.nav-login:hover, nav.links a.nav-login:focus-visible, nav.links a.nav-login:active,
.blog-filter button:hover, .blog-filter button:focus-visible, .blog-filter button:active,
.blog-filter button[aria-pressed="true"]{background:#241F19;border-color:#241F19;color:#fff;}

/* Jump pills under the title of the level pages and the Scholarship page (replace the old text links with arrows). */
.jump-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:22px;}
.jump-pills a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:2px solid #241F19;border-radius:999px;background:#fff;color:#241F19;font-size:14.5px;font-weight:600;text-decoration:none;}
.jump-pills a:hover, .jump-pills a:focus-visible, .jump-pills a:active{background:#241F19;border-color:#241F19;color:#fff;}
.jump-pills a:focus-visible{outline:3px solid #fff;outline-offset:2px;}
/* Consultancy jump strip: same outlined pills as Resources. */
.svc-strip a{border:2px solid #241F19;background:#fff;color:#241F19;}
.svc-strip a:hover, .svc-strip a:focus-visible, .svc-strip a:active{background:#241F19;border-color:#241F19;color:#fff;}

/* Phones: pills in even rows of two, all the same height. */
@media (max-width:520px){
  .jump-pills a{flex:1 1 calc(50% - 5px);justify-content:center;text-align:center;}
}
@media (max-width:1000px){
  .svc-strip-inner{align-items:stretch;}
  .svc-strip a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;}
}

/* Stop the white fill showing as a hairline through the dark outline (rounded pills at fractional zoom). */
.svc-strip a,.jump-pills a,.blog-filter button{background-clip:padding-box;}

/* Solid-dark-under-the-outline pills: the outline is the dark layer itself, with white drawn only inside it,
   so no white can ever show through the curve at the pill ends. */
.about-pills a,.svc-strip a,.jump-pills a,.blog-filter button{
  border:2px solid transparent;
  background:linear-gradient(#fff,#fff) padding-box,#241F19 border-box;
  background-clip:padding-box,border-box;
}
.about-pills a:hover,.about-pills a:focus-visible,.about-pills a:active,
.svc-strip a:hover,.svc-strip a:focus-visible,.svc-strip a:active,
.jump-pills a:hover,.jump-pills a:focus-visible,.jump-pills a:active,
.blog-filter button:hover,.blog-filter button:focus-visible,.blog-filter button:active,
.blog-filter button[aria-pressed="true"]{background:#241F19;border-color:#241F19;color:#fff;}
