/* Only English mobile project filters and license cards. No content clipping. */
@media (max-width: 720px) {
  html[lang="en"] body.a2-site[data-page="projects"] #content .legacy-project-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr;
    gap: 8px !important;
    width: 100%;
    min-width: 0;
  }
  html[lang="en"] body.a2-site[data-page="projects"] #content .legacy-project-filters > button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 8px 6px;
    font-size: 13px !important;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  html[lang="en"] body.a2-site[data-page="licenses"] #content .site-certificates {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    min-width: 0;
  }
  html[lang="en"] body.a2-site[data-page="licenses"] #content .site-certificate {
    box-sizing: border-box;
    min-width: 0;
    padding: 10px;
  }
  html[lang="en"] body.a2-site[data-page="licenses"] #content .site-certificate h3 {
    font-size: 16px !important;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  html[lang="en"] body.a2-site[data-page="licenses"] #content .site-certificate p {
    font-size: 12px !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  html[lang="en"] body.a2-site[data-page="licenses"] #content .site-certificate figure,
  html[lang="en"] body.a2-site[data-page="licenses"] #content .site-certificate img {
    min-width: 0;
    max-width: 100%;
  }
}
