/* Page footers only: certificate and report document footers retain their layout. */
@media (min-width: 981px) {
  body > footer, body .site-footer {
    min-height: 0 !important;
    height: auto !important;
    padding: 12px max(24px, 4%) !important;
    padding-inline-end: max(100px, 6%) !important;
    margin-block: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 20px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  body > footer > *, body .site-footer > * {
    margin-block: 0 !important;
    font-size: inherit;
    line-height: inherit;
  }
}
