.publisher-brand-group {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.5vw, 1.25rem);
  min-width: 0;
}

.masthead .publisher-brand-group .brand,
.bp-header .publisher-brand-group .bp-brand {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.scholar-launch {
  display: inline-flex;
  align-items: center;
  gap: .48em;
  flex: none;
  min-height: 44px;
  padding: .35rem .67rem;
  border: 1px solid #a9bacb;
  border-radius: 4px;
  color: #1a3650;
  background: #eff3f6;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.scholar-launch::after {
  content: "";
  width: .36em;
  height: .36em;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

html:not([lang="en"]) .scholar-launch { white-space: nowrap; }
.scholar-launch:hover { border-color: #365774; background: #dfe9f1; }
.scholar-header { background: #162e46; color: #fff; }

.scholar-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  place-items: center start;
  column-gap: clamp(.7rem, 2.5vw, 2.3rem);
  row-gap: .7rem;
  padding-block: 1.1rem;
}

.scholar-wordmark { text-decoration: none; line-height: 1.2; }
.scholar-wordmark strong { display: block; font: 600 clamp(1.18rem, 3.4vw, 2.55rem)/1.2 var(--serif); }

.scholar-return {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .78rem;
  border: 1px solid #a2bad0;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.scholar-return:hover { background: #edf3f7; color: #162e46; }
.scholar-header .language-switcher button { border-color: #9db4c9; color: #fff; min-height: 44px; }
.scholar-header .language-switcher button[aria-pressed="true"] { background: #edf3f7; color: #162e46; }

.scholar-nav {
  border-top: 1px solid #59758d;
  display: flex;
  gap: .1rem clamp(.85rem, 4vw, 2.2rem);
  flex-wrap: wrap;
}

.scholar-nav a { padding-block: .57rem; min-height: 44px; display: inline-flex; align-items: center; font-size: .89rem; color: #edf4fb; }
.scholar-header a:focus-visible, .scholar-header button:focus-visible { outline: 2px solid #ffe0a3; outline-offset: 3px; }
.scholar-header + main .rp-hero { background: #e9eff4; border-bottom-color: #c7d6e1; }
.scholar-header + main .rp-hero h1 { color: #162e46; font-size: clamp(2rem, 6vw, 5rem); letter-spacing: .025em; line-height: 1.2; }
.scholar-footer { padding-block: 1.7rem; border-top: 1px solid #c7d6e1; background: #e9eff4; color: #233b50; }
.scholar-footer .container { display: flex; flex-wrap: wrap; gap: .7rem 2rem; align-items: center; justify-content: space-between; }
.scholar-footer a { display: inline-flex; min-height: 44px; align-items: center; }

@media (max-width: 660px) {
  .site-header .masthead > .publisher-brand-group { flex: 1 1 100%; }
  .publisher-brand-group .scholar-launch { max-width: 8.85rem; }
  .scholar-masthead { grid-template-columns: minmax(0, 1fr) auto; }
  .scholar-masthead .language-switcher { grid-column: 1 / -1; }
}
