/* OTRADA v16: documents below the main footer, approved layout 1. */
.site-footer .footer-documents {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.site-footer .footer-documents a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 32px;
  padding: 4px 0;
  color: #50637b;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.site-footer .footer-documents a:hover,
.site-footer .footer-documents a:focus-visible {
  color: var(--brand-blue);
}

.site-footer .footer-documents a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-footer .footer-documents + .footer-bottom {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 700px) {
  .site-footer .footer-documents {
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
  }

  .site-footer .footer-documents a {
    width: fit-content;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 13px;
    line-height: 1.5;
  }

  .site-footer .footer-documents + .footer-bottom {
    margin-top: 12px;
  }
}

@media (pointer: coarse) {
  .site-footer .footer-documents a { min-height: 44px; }
}
