/* Mobile partner captions only; preserve logos, links and desktop layout. */
@media (max-width: 720px) {
  html[lang] body.a2-site[data-page="partners"] #content .site-partners figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    /* Use the link's existing horizontal padding for the caption, not the logo. */
    width: calc(100% + 40px) !important;
    max-width: none;
    min-width: 0;
    min-height: 90px;
    gap: 8px;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  html[lang] body.a2-site[data-page="partners"] #content .site-partners figcaption > span {
    flex-shrink: 0;
    margin-top: auto;
    white-space: nowrap;
  }
}
