/* 2026 shared footer styles */

/* Collaborator band displayed above the footer on every page. */
.footer-collaborators {
  padding: 30px 0;
  background: var(--nsai-cream);
}

.footer-collaborators__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
}

.footer-collaborators h2 {
  min-width: 210px;
  margin: 0;
  color: var(--nsai-blue);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

.footer-collaborators__logos {
  display: -ms-grid;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 38px;
}

.footer-collaborators__logos a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.footer-collaborators__logos img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 62px;
  -o-object-fit: contain;
     object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 900px) {
  .footer-collaborators__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 22px;
  }
}

@media (max-width: 576px) {
  .footer-collaborators__content {
    padding-inline: 15px;
    gap: 30px;
  }

  .footer-collaborators__logos {
    grid-template-columns: minmax(0, 129fr) minmax(0, 174fr);
    gap: 18px 12px;
    align-items: center;
  }

  .footer-collaborators__logos a {
    min-width: 0;
    justify-content: flex-start;
  }

  .footer-collaborators__logos a:nth-child(even) {
    justify-content: flex-end;
  }

  .footer-collaborators__logos img {
    height: auto;
    max-width: 100%;
    max-height: none;
  }

  .footer-collaborators__logos a:nth-child(1) img {
    width: 121px;
  }

  .footer-collaborators__logos a:nth-child(2) img {
    width: 165px;
  }

  .footer-collaborators__logos a:nth-child(3) img {
    width: 129px;
  }

  .footer-collaborators__logos a:nth-child(4) img {
    width: 174px;
  }
}

.footer .container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
}


.footer__info {
  padding: 80px 0;
  border-bottom: 0;
  background: var(--nsai-blue);
}

.footer__info img {
  width: 313px;
  height: 52px;
  height: auto;
  margin-bottom: 30px;
}

.footer__info p,
.footer__info p:nth-child(2),
.footer__info p:last-child {
  margin: 0 0 15px;
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.footer__info p:last-of-type {
  margin-bottom: 30px;
}

.footer__links-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 28px;
}

.footer__links-content a {
  color: #fff;
  text-decoration: underline;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 140% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.footer__links-content a + a:before {
  display: none;
}

.footer__links-content a:hover,
.footer__links-content a:focus {
  color: var(--nsai-coral);
}

@media (max-width: 576px) {
  .footer__info {
    padding-top: 45px;
  }

  .footer__info img {
    max-width: 230px;
  }

  .footer__links-content {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 12px 22px;
  }
}

@media (max-width: 576px) {
  .footer__info {
    padding: 60px 0 60px;
  }

  .footer__info .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer__info img,
  .footer__info a:first-child img {
    max-width: 313px;
    width: 100%;
    margin-bottom: 30px;
  }

  .footer__info p,
  .footer__info p:nth-child(2),
  .footer__info p:last-child {
    margin: 0 0 16px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }

  .footer__info p:last-of-type {
    margin-bottom: 30px;
  }

  .footer__links-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 0;
    margin: 0 auto;
    padding-top: 30px;
    gap: 15px 30px;
  }

  /* Force a line break after the first two links. */
  .footer__links-content::before {
    content: "";
    order: 1;
    flex-basis: 100%;
    height: 0;
    margin-block: -6px;
  }

  .footer__links-content a {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-decoration: underline;
    text-underline-position: from-font;
  }

  .footer__links-content a:nth-child(n + 3) {
    order: 2;
  }

  #ot-sdk-btn-floating.ot-floating-button {
    left: 10px;
  }
}

