/* Partner logos in the footer — version 1.7.22.
   Logos are up to 2.5x taller than in 1.7.21, with much tighter spacing.
   This changes only the optional footer-logo strip. */
footer .ddd-footer-partners {
  margin: 28px auto 0;
  padding: 18px 0 6px;
  border-top: 1px solid #e3ebef;
}
footer .ddd-footer-partners-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}
footer .ddd-footer-partner-item {
  flex: 0 1 340px;
  width: 100%;
  max-width: 340px;
  min-width: 0;
  min-height: 238px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: rgba(255,255,255,.82);
  border: 1px solid #e6eff2;
  border-radius: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
footer .ddd-footer-partner-item a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .ddd-footer-partner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(25,71,88,.08);
  border-color: #cce6ee;
}
footer .ddd-footer-partner-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 205px; /* previously 82px: 2.5x image height */
  object-fit: contain;
  filter: none;
}
footer .ddd-footer-partner-item a:focus-visible {
  outline: 3px solid #0c97ba;
  outline-offset: 4px;
  border-radius: 6px;
}
/* Preserve large logos on narrow screens via scrolling just the logo row,
   never the whole page. */
@media (max-width: 760px) {
  footer .ddd-footer-partners { margin-top: 24px; padding-top: 18px; }
  footer .ddd-footer-partners-grid {
    justify-content: flex-start;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding: 3px 0 12px;
  }
  footer .ddd-footer-partner-item {
    flex: 0 0 min(82vw, 290px);
    max-width: none;
    min-height: 208px;
    padding: 10px;
    scroll-snap-align: center;
  }
  footer .ddd-footer-partner-image { max-height: 185px; }
}
@media (prefers-reduced-motion: reduce) {
  footer .ddd-footer-partner-item { transition: none; }
  footer .ddd-footer-partner-item:hover { transform: none; }
  footer .ddd-footer-partners-grid { scroll-behavior: auto; }
}
