.edu-brand-banner-shell {
  width: min(1560px, calc(100% - 56px));
  margin: 10px auto 0;
}

.edu-brand-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: clamp(84px, 7.6vw, 116px);
  padding: 9px clamp(18px, 10.4vw, 154px) 9px clamp(80px, 28.5%, 450px);
  color: #f6faff;
  background: radial-gradient(ellipse at 52% -25%, #1c79a9 0%, transparent 58%), linear-gradient(164deg, #256398, #0b3665 36%, #052449 72%, #0f4172);
  border: 1px solid #3172a6;
  border-radius: 16px;
  overflow: clip;
  box-shadow: inset 0 1px 1px #c9eeff45;
  box-sizing: border-box;
  line-height: 1.1;
}

.edu-brand-banner[hidden], .edu-brand-banner-country[hidden] { display: none; }

.edu-brand-banner-globe, .edu-brand-banner-wave {
  position: absolute;
  z-index: -1;
  inset-block: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}
.edu-brand-banner-globe {
  left: 0;
  width: 29%;
  background-image: url('globe.webp');
  background-size: 100% 100%;
  background-position: bottom left;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 87%, transparent);
}
.edu-brand-banner-wave {
  right: 0;
  width: 19%;
  background-image: url('wave.webp');
  background-size: 100% 100%;
  background-position: bottom right;
  mask-image: linear-gradient(90deg, transparent, #000 48%);
}

.edu-brand-banner-copy {
  min-width: 0;
  padding-inline: clamp(16px, 2.9vw, 42px);
  border-left: 1px solid #e2f5ffa8;
  text-align: start;
}
.edu-brand-banner-copy[dir="rtl"] { text-align: right; }
.edu-brand-banner-label {
  display: inline-block;
  font-size: clamp(9px, .9vw, 13px);
  font-weight: 800;
  letter-spacing: .18em;
}
.edu-brand-banner .edu-brand-banner-motto {
  margin: 1px 0 0;
  color: inherit;
  font-size: clamp(24px, 3.4vw, 50px);
  font-weight: 850;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 3px #00173860;
}
.edu-brand-banner-gold {
  display: block;
  width: clamp(70px, 13vw, 196px);
  height: 11px;
  margin: 5px 0 -3px auto;
  border-top: 3px solid #ffc920;
  border-radius: 65% 53% 0 0;
  transform: rotate(-3deg);
  mask-image: linear-gradient(90deg, #000 72%, transparent);
}
.edu-brand-banner-copy[dir="rtl"] .edu-brand-banner-gold { margin-inline: 0 auto; }
.edu-brand-banner:not(:has(.edu-brand-banner-country:not([hidden]))) .edu-brand-banner-copy { justify-self: stretch; }
.edu-brand-banner:not(:has(.edu-brand-banner-country:not([hidden]))) .edu-brand-banner-copy[dir="ltr"] .edu-brand-banner-gold { margin-inline: clamp(84px, 21vw, 300px) auto; }

.edu-brand-banner-country { border-left: 1px solid #e2f5ff99; padding-inline: clamp(12px, 2vw, 34px); }
.edu-brand-banner:has(.edu-brand-banner-country:not([hidden])) .edu-brand-banner-motto { font-size: clamp(23px, 2.95vw, 44px); }
.edu-brand-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid #4c9dce;
  border-radius: 999px;
  background: linear-gradient(165deg, #247bbb, #0e4b86 54%, #1c6099);
  box-shadow: inset 0 1px 8px #63c6ff40;
  font-size: clamp(11px, 1.4vw, 22px);
  font-weight: 800;
}
.edu-brand-banner-icon {
  position: relative;
  flex: none;
  width: 1.16em;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.edu-brand-banner-icon::before, .edu-brand-banner-icon::after { content: ''; position: absolute; }
.edu-brand-banner-icon::before { inset: -1px 26%; border: 1px solid currentColor; border-radius: 50%; }
.edu-brand-banner-icon::after { inset: 30% 0; border-block: 1px solid currentColor; }

@media (max-width: 1030px) {
  .edu-brand-banner { padding-right: 3%; }
  .edu-brand-banner-copy { padding-inline: clamp(13px, 2.4vw, 30px); }
}
@media (max-width: 760px) {
  .edu-brand-banner-shell { width: calc(100% - 32px); margin-top: 8px; }
  .edu-brand-banner { min-height: 77px; padding: 8px 12px 8px 29%; border-radius: 13px; row-gap: 5px; }
  .edu-brand-banner-globe { width: 34%; background-size: auto 100%; background-position: 56% bottom; opacity: .85; }
  .edu-brand-banner-wave { width: 22%; opacity: .67; }
  .edu-brand-banner-copy { padding-inline: 8px; }
  .edu-brand-banner .edu-brand-banner-motto { font-size: clamp(20px, 5.3vw, 34px); }
  .edu-brand-banner-country { border-left: 0; padding-inline: 8px; grid-column: 1 / -1; justify-self: start; }
  .edu-brand-banner-badge { padding: 5px 8px; }
  .edu-brand-banner-gold { margin-top: 4px; height: 7px; }
}

.edu-banner-preview-stack { display: grid; gap: 9px; max-width: 100%; }
.edu-banner-preview-stack .edu-brand-banner { --preview-size: 28px; min-height: 74px; padding-right: 3%; }
.edu-banner-preview-stack .edu-brand-banner-motto { font-size: clamp(19px, 3vw, var(--preview-size)); }
.edu-banner-preview-stack .edu-brand-banner-badge { font-size: clamp(11px, 1.55vw, 16px); }
.edu-country-credit { display: block; margin-top: .45rem; font-size: .72rem; }
