.manboo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.manboo-brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 5px;
}
:root { --site-inline-gutter: 32px; }
.site-header { align-items: center; padding-inline: var(--site-inline-gutter); }
.ending { padding-inline: var(--site-inline-gutter); }
.ending footer, .company-footer, .journal-footer { flex-wrap: wrap; }
.ending footer { justify-content: center; gap: 12px; }
.company-intro { flex: 0 0 100%; text-align: center; }
.company-intro h3 { margin: 0 0 6px; font-size: 13px; color: #fff; }
.company-intro p { margin: 0; line-height: 1.75; }
.site-footer-links, .site-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  line-height: 1.7;
}
.site-legal { flex: 0 0 100%; font-size: 12px; color: #d4d7d8; }
.site-legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  :root { --site-inline-gutter: 20px; }
  .manboo-brand { gap: 5px; }
  .manboo-brand-logo { width: 28px; height: 28px; }
  .site-header .site-header-links { gap: clamp(8px, 3vw, 16px) !important; }
  .site-legal { font-size: 12px; }
  .journal-footer > .site-legal { order: 4; }
}

/* Keep the company introduction and site information side by side. */
.ending footer {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  grid-template-areas: 'company links' 'company legal';
  align-items: start;
  gap: 10px clamp(20px, 5vw, 64px);
  text-align: left;
}
.ending .company-intro {
  grid-area: company;
  text-align: left;
}
.ending .site-footer-links {
  grid-area: links;
  justify-content: flex-end;
}
.ending .site-legal {
  grid-area: legal;
  justify-content: flex-end;
  text-align: right;
}
.ending .site-legal a { white-space: nowrap; }
@media (max-width: 700px) {
  .ending footer {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 8px 14px;
  }
  .ending .site-footer-links { gap: 4px 12px; }
  .ending .site-legal { font-size: 11px; }
}
