/* Nine-language navigation must fit narrow screens in both text directions. */
@media (max-width: 720px) {
  .masthead { height:auto; min-height:75px; display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px 12px; padding-block:12px; }
  .masthead .brand { grid-column:1; grid-row:1; min-width:0; }
  .header-actions { display:contents; }
  .header-actions .search-toggle { grid-column:2; grid-row:1; }
  .header-actions .menu-toggle { grid-column:3; grid-row:1; }
  .header-actions .lang { grid-column:1 / -1; grid-row:2; min-width:0; max-width:100%; flex-wrap:wrap; justify-content:center; }
  .primary-navigation { width:100%; max-width:100%; min-width:0; }
  .reading-progress { top:0; }
  html { scroll-padding-top:180px; }
}
