/* Marina: current public footer families only. Load after existing styles. */
footer.footer-layout {
  display: block;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.footer-layout .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
  align-items: start;
  gap: 24px;
}
.footer-layout .footer-top > *,
.footer-layout .footer-brand-block > * { min-width: 0; }
.footer-layout .footer-brand-block .brand {
  min-height: 44px;
  font-size: 1.75rem;
  line-height: 1;
}
.footer-layout .footer-brand-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
}
.footer-layout .footer-brand-meta > p,
.footer-layout .footer-brand-meta > span {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}
.footer-layout .footer-brand-meta > p:first-child { color: var(--ink); }
.footer-layout .footer-brand-block--plain .footer-brand-meta > p:first-child {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.footer-layout .footer-brand-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  margin-block: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-layout .footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.footer-layout .footer-navigation > a,
.footer-layout .footer-navigation nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  margin-block: 0;
  padding: 8px 0;
  color: var(--ink);
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.footer-layout .footer-navigation nav {
  display: flex;
  flex-wrap: wrap;
  flex-basis: auto;
  gap: 0 20px;
  margin: 0;
  margin-block: 0;
  padding: 0;
  align-items: center;
}
.footer-layout .social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-basis: auto;
  gap: 8px;
  margin: 0;
}
.footer-layout .social-links a {
  inline-size: 44px;
  block-size: 44px;
  border-color: var(--line);
  color: var(--ink);
}
.footer-layout .social-links a:hover { border-color: currentColor; }
.footer-layout .footer-disclaimers {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-layout .footer-disclaimers p {
  display: block;
  flex-basis: auto;
  max-width: none;
  margin: 0;
  margin-block: 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.footer-layout .footer-disclaimers .affiliation {
  width: auto;
  margin-inline: 0;
  margin-top: 8px;
  padding: 0;
  font-size: .8125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.footer-layout a:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
  border-radius: 3px;
}
@media (max-width: 1100px) and (min-width: 721px) {
  .footer-layout .footer-top { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; }
  .footer-layout .footer-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 24px;
  }
  .footer-layout .social-links { grid-column: 2; grid-row: 1; }
}
@media (max-width: 720px) {
  footer.footer-layout { padding-block: 24px; }
  .footer-layout .footer-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer-layout .footer-navigation nav { gap: 0 16px; }
  .footer-layout .footer-disclaimers { margin-top: 24px; padding-top: 20px; }
}
@media (forced-colors: active) {
  .footer-layout .social-links a { border-color: ButtonText; }
  .footer-layout a:focus-visible { outline-color: Highlight; }
}
