/* Keep footer text comfortably below the top of its green background. */
.site-footer,
.feature-page .site-footer {
  padding-top: 32px;
}

/* The homepage container offset must not pull footer text above the green edge. */
.site-footer > .footer-grid {
  margin-top: 0;
}

/* Keep the existing footer columns, with compact, aligned brand details. */
.site-footer .footer-grid > .logo-text {
  display: block;
  min-width: 0;
}

.site-footer .footer-brand {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 10px;
}

.site-footer .footer-logo-wrap {
  position: relative;
  min-width: 0;
}

.site-footer .footer-logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

.site-footer .registration-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-content: start;
  gap: 6px 10px;
  min-width: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.site-footer .registration-details dt {
  margin: 0;
  color: var(--white, #fff);
  font-weight: 600;
  white-space: nowrap;
}

.site-footer .registration-details dd {
  min-width: 0;
  max-width: 30ch;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 400;
}

.site-footer .footer-copy {
  min-width: 0;
}

@media (max-width: 340px) {
  .site-footer .footer-brand {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .site-footer .footer-logo-wrap {
    width: 104px;
    height: 67px;
  }
}
