/* AT keeps the accepted English desktop rhythm; only the locale shell is slightly wider. */
@media (min-width: 1281px) {
  #swsModernNav .sws-nav-shell {
    grid-template-columns: 195px minmax(0, 1fr);
    width: min(1540px, calc(100% - 54px));
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .sws-about-feature-head > *,
  .sws-about-governance-copy,
  .sws-governance-primary,
  .sws-governance-secondary,
  .sws-governance-group,
  .sws-governance-note {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .sws-about-governance-copy {
    overflow-wrap: anywhere;
  }
}
/* Austrian-German SAS labels are longer than the English originals. Give the
   tablet layout intrinsic columns so labels never collide. Mobile keeps the
   established horizontal-scroll behaviour from section-switch.local.css. */
@media (min-width: 721px) {
  html[lang="de-AT"] .sws-section-switch.sws-sas-switch {
    width: min(94vw, 1080px);
    max-width: none;
  }
  html[lang="de-AT"] .sws-section-switch.sws-sas-switch > a {
    padding-inline: 0.8rem;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}
@media (min-width: 721px) and (max-width: 1100px) {
  html[lang="de-AT"] .sws-section-switch.sws-sas-switch {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: visible;
  }
  html[lang="de-AT"] .sws-section-switch.sws-sas-switch > a { grid-column: span 2; }
  html[lang="de-AT"] .sws-section-switch.sws-sas-switch > a:nth-last-child(-n + 2) { grid-column: span 3; }
}
