/* =========================================================
   RUSSIAN — display type corrections
   Loaded only on /ru/ pages, last in the chain (functions.php
   enqueues {lang}.css after brand.css, and never for English).

   Why this file exists
   --------------------
   The layout is absolutely positioned on a 1980px grid, so a
   longer heading does not overflow the page — it slides under
   the block beside it. Cyrillic set in Playfair Display runs
   wider than the English original in Fraunces, and three
   headings crossed into their neighbours.

   Everything else was fixed by shortening the translation
   instead; these three could not be shortened without losing
   the sense, so the size gives way by a few percent.

   Measured line width vs. the distance to the neighbour:
     .mission__quote   1139 -> 1120 budget   (front page)
     .s-more__h2        623 ->  606 budget   (about)
     .s-more__h2        807 ->  699 budget   (festival)

   Two guards on every rule:
     html[lang^="ru"]   — self-limiting, inert if it ever loads
                          on the wrong page
     @media min-width   — this sheet loads AFTER responsive.css,
                          so without it these would override the
                          mobile layer, which is already correct
   ========================================================= */

@media (min-width: 1280px){

  /* front page — the quote sits at left:86rem in a 112rem box that
     already ends at the page edge, so it cannot be widened */
  /* 7.4rem still wrapped: the space lost at the break means the two
     wrapped halves measure less than the unbroken line. 7.3rem is the
     threshold, 7.2rem leaves room for font-metric drift. */
  html[lang^="ru"] .mission__quote{
    font-size: 7.2rem;
  }

  /* about — "чем фестиваль" reached x=995, the paragraph starts at 973 */
  html[lang^="ru"] .p34-page-about .s-more__h2{
    font-size: 8rem;
  }

  /* festival — "ежегодное событие" reached x=849, the column starts at 741.
     The largest correction on the site: 8.6rem -> 7.2rem, which puts the
     longest line at 676px against the 699px budget. */
  html[lang^="ru"] .p34-page-festival .s-more__h2{
    font-size: 7.2rem;
    line-height: 7rem;
  }
}
