/*
 * 08 · Platform. Not the designer's: linked AFTER his seven so a rule here wins over his at equal
 * specificity. Every selector is under `.se-ir`, as his are; the face below is the only global
 * at-rule, and it names a family no other base uses.
 *
 * Fallback face. The page paints in the stack's fallback until Montserrat arrives (his faces are
 * `font-display: swap`), and Arial is drawn wider-spaced and shorter than Montserrat: the text
 * would visibly jump when the real face lands. This face is Arial rescaled to Montserrat's metrics
 * (Next's `next/font` method: size-adjust from the average advance of an English sample, measured
 * in Chromium from the served file against Liberation Sans: 4589 / 4085.45 at 100px; ascent 968,
 * descent 251, line gap 0 per 1000 divided by it), placed straight after the web font in each
 * Latin stack, so the swap moves nothing. His Arabic stack (`[dir='rtl']`, more specific, so
 * untouched here) leads with Cairo, which is preloaded instead (`Chrome.tsx`).
 */
@font-face {
  font-family: 'Elsewedy Sans Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  size-adjust: 112.33%;
  ascent-override: 86.18%;
  descent-override: 22.34%;
  line-gap-override: 0%;
}
.se-ir {
  --se-font: 'Montserrat', 'Elsewedy Sans Fallback', 'Helvetica Neue', Arial, sans-serif;
  --se-font-latin: 'Montserrat', 'Elsewedy Sans Fallback', 'Helvetica Neue', Arial, sans-serif;
}

/*
 * The page wrapper. His regions sit directly under `<main>` after the page hero and the section
 * navigation, and two of his rules space the first band by that adjacency
 * (`03-chrome.css`: `.se-secnav + .se-sec`, `.se-phero + .se-sec`). On the platform the page's
 * bands sit inside the route's page wrapper (`[data-page]`), the hero and navigation before it;
 * the same two rules, for that one extra level.
 */
.se-ir .se-secnav + [data-page] > .se-sec:first-child,
.se-ir .se-secnav + [data-page] > .se-results:first-child { padding-top: 64px; }
.se-ir .se-phero + [data-page] > .se-sec:first-child { padding-top: 56px; }
