/* Translated pages (infra/concepts/i18n): Spanish and German labels run longer
   than the English ones the layouts were drawn for. At phone width the header
   actions may shrink and wrap their label, and the sign-up field may shrink, so
   nothing pushes the menu button or the form past the screen edge. */
@media (max-width: 600px) {
  .masthead-in, .mainbar { min-width: 0; }
  .masthead-in > .wp-block-group, .mainbar > .wp-block-group { min-width: 0; flex-shrink: 1; flex-wrap: wrap; justify-content: flex-end; }
  .masthead-in > .wp-block-group *, .mainbar > .wp-block-group * { white-space: normal; }
  .masthead-in .wp-block-button__link, .mainbar .wp-block-button__link { padding-left: 10px; padding-right: 10px; }
  /* Long German compounds ("Masterstudiengänge") hyphenate instead of widening a grid column. */
  main :is(h1, h2, h3, p, li, a, span) { hyphens: auto; overflow-wrap: break-word; }
  ul.levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  form.lfw-civic-notices { flex-wrap: wrap; }
  form.lfw-civic-notices input { min-width: 0; flex: 1 1 180px; }
  form.lfw-civic-notices button { flex: 1 1 auto; min-height: 44px; }
}
