/* =========================================================
   Institutional footer
   ========================================================= */

.inst-footer {
  background: #192531;
  color: #fff;
}

.inst-footer__inner {
  margin: 0;
  padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 36px);
}

.inst-footer__grid {
  max-width: var(--max, 1200px);
  margin: 0 auto;
  padding-left: var(--pad, clamp(24px, 4vw, 64px));
  padding-right: var(--pad, clamp(24px, 4vw, 64px));
  display: grid;
  grid-template-columns: 160px 1.2fr 0.8fr;
  gap: clamp(8px, 1vw, 16px);
  align-items: start;
}

.inst-footer__name {
  font-family: var(--serif, ui-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: .02em;
  line-height: 1.2;
}

.inst-footer__affil {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.inst-footer__tagline {
  margin-top: 12px;
  max-width: 56ch;
  line-height: 1.55;
}

.inst-footer__jurisdiction {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  max-width: 60ch;
}

.inst-footer__label {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.inst-footer__links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.inst-footer__sep {
  opacity: .7;
}

.inst-footer__link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}

.inst-footer__link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.inst-footer__custody {
  line-height: 1.6;
  max-width: 60ch;
}

.inst-footer__custody p {
  margin: 10px 0 0;
}

/* Motto band */
.inst-footer__motto {
  border-top: 1px solid rgba(255,255,255,.18);
}

.inst-footer__mottoInner {
  max-width: var(--max, 1200px);
  margin: 0 auto;
  padding: 18px var(--pad, clamp(24px, 4vw, 64px)) 34px;
  text-align: center;
  font-style: italic;
  letter-spacing: .01em;
}

.inst-footer__crest {
  width: 150px;
  opacity: .9;
  align-self: start;
}

.inst-footer__crest img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Footer responsive
   ========================================================= */

@media (max-width: 900px) {
  .inst-footer__grid {
    grid-template-columns: 1fr;
  }

  .inst-footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .inst-footer__sep {
    display: none;
  }

  .inst-footer__custody {
    max-width: 56ch;
  }
}

@media (max-width: 560px) {
  .inst-footer__inner {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .inst-footer__grid {
    padding-left: 24px;
    padding-right: 24px;
    gap: 28px;
  }

  .inst-footer__affil {
    font-size: 11px;
    letter-spacing: .07em;
  }

  .inst-footer__tagline,
  .inst-footer__custody {
    font-size: 15px;
  }

  .inst-footer__mottoInner {
    padding: 16px 24px 28px;
  }
}