@font-face {
  font-family: 'Skillbridge Footer Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
}

/* Match the alliance footer, including its Bootstrap spacing and breakpoints. */
.sb-footer {
  padding: 3rem 0;
  background: #102728;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Skillbridge Footer Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.sb-footer-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
}

.sb-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: -24px -12px 0;
}

.sb-footer-main,
.sb-footer-aside {
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  margin-top: 24px;
  padding: 0 12px;
}

.sb-footer img {
  vertical-align: middle;
}

.sb-footer-logo {
  width: min(245px, 46vw);
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1) saturate(0);
}

.sb-footer-note {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.sb-footer-eu-logo {
  flex-shrink: 0;
  width: auto;
  height: 5rem;
  padding: 0.35rem;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.sb-footer-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.85;
}

.sb-footer-links {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  justify-content: end;
}

.sb-footer-links a {
  color: #ffffff;
  font-weight: 700;
}

.sb-footer-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 2.5rem;
}

.sb-footer-credit {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
}

.sb-footer-credit:hover {
  color: #ffffff;
}

.sb-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (min-width: 992px) {
  .sb-footer-main { width: 66.66666667%; }
  .sb-footer-aside { width: 33.33333333%; }
}

@media (max-width: 1199.98px) {
  .sb-footer-links { justify-content: start; }
}

@media (max-width: 767.98px) {
  .sb-footer-note { flex-direction: column; }
}
