/* Logo-only institutional links are visible across site and teaching pages. */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.partner-logos img {
  display: block;
  object-fit: contain;
}
.partner-logo-zu {
  width: 52px;
  height: 52px;
}
.partner-logo-enoll {
  width: 78px;
  height: 52px;
}
.reloop-affiliations {
  display: flex;
  justify-content: flex-end;
  max-width: 1500px;
  margin-inline: auto;
  padding: 6px 32px;
}
.reloop-affiliations .partner-logo-zu {
  width: 40px;
  height: 40px;
}
.reloop-affiliations .partner-logo-enoll {
  width: 60px;
  height: 40px;
}
@media (max-width: 1280px) {
  .editorial-site .desktop-nav {
    display: none;
  }
  .editorial-site .menu-toggle {
    display: block;
  }
  .editorial-site .header-inner {
    gap: 16px;
  }
  .editorial-site .brand {
    margin-right: auto;
  }
}
@media (max-width: 760px) {
  .partner-logos {
    gap: 8px;
  }
  .partner-logo-zu {
    width: 38px;
    height: 38px;
  }
  .partner-logo-enoll {
    width: 57px;
    height: 38px;
  }
  .editorial-site .header-inner {
    gap: 8px;
  }
  .reloop-affiliations {
    padding-inline: 16px;
  }
}
@media (max-width: 380px) {
  .editorial-site .brand {
    font-size: 22px;
    gap: 7px;
  }
  .editorial-site .brand-symbol {
    width: 26px;
    height: 26px;
  }
  .editorial-site .brand-caption {
    font-size: 8px;
  }
  .partner-logo-zu {
    width: 32px;
    height: 32px;
  }
  .partner-logo-enoll {
    width: 48px;
    height: 32px;
  }
  .partner-logos {
    gap: 6px;
  }
}

/* Frame the mark within the original supplied image's empty margins. */
.alliance-mark {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 13 / 5;
  width: 124px;
  border-radius: 4px;
}
.alliance-mark img {
  position: absolute;
  width: 153.846154%;
  max-width: none;
  height: auto;
  left: -26.923077%;
  top: -100%;
}
.reloop-affiliations .alliance-mark {
  width: 104px;
}
@media (max-width: 600px) {
  .editorial-site .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 0;
    gap: 2px 16px;
    padding-block: 12px 8px;
  }
  .editorial-site .brand {
    grid-row: 1;
    grid-column: 1;
  }
  .editorial-site .menu-toggle {
    grid-row: 1;
    grid-column: 2;
  }
  .editorial-site .partner-logos {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .alliance-mark {
    width: 104px;
  }
  html {
    scroll-padding-top: 144px;
  }
}

/* Header badge uses only the supplied symbol; the page retains the wordmark. */
.partner-logos .alliance-symbol {
  width: 52px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3d4854;
}
.partner-logos .alliance-symbol img {
  width: 375%;
  left: -67.1875%;
  top: -90.625%;
  /* Exclude the wordmark without clipping the symbol's lower-right ribbon. */
  clip-path: polygon(0 0, 41.5% 0, 41.5% 54%, 44% 54%, 44% 100%, 0 100%);
}
@media (max-width: 760px) {
  .partner-logos .alliance-symbol {
    width: 38px;
  }
}
@media (max-width: 380px) {
  .partner-logos .alliance-symbol {
    width: 32px;
  }
}
.reloop-affiliations .alliance-symbol {
  width: 40px;
}
