/* Header of the «Приклади робіт» pages looks the same on every computer:
   the site name in a heavy face (as Segoe UI Black on Windows) and the
   navigation/buttons in Arimo (same metrics as Liberation Sans/Arial).
   Fonts are self-hosted (SIL Open Font License): Noto Sans Black, Arimo. */
@font-face {
  font-family: "RC Logo";
  src: url("/assets/fonts/noto-sans-black-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "RC Logo";
  src: url("/assets/fonts/noto-sans-black-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "RC UI";
  src: url("/assets/fonts/arimo-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "RC UI";
  src: url("/assets/fonts/arimo-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
body.public-history .control-bar .control-bar__logo-text,
body.public-history .control-bar .control-bar__logo-text b {
  font-family: "RC Logo", "Segoe UI", "Noto Sans", sans-serif;
  font-weight: 900;
}
body.public-history .control-bar :is(.header-actions a, .telegram-link) {
  font-family: "RC UI", Arimo, "Liberation Sans", Arial, sans-serif;
  font-weight: 700;
}

/* Site name on the home page and in the account: the same heavy face. */
.site-header .brand,
.site-header .brand b,
.topbar .brand__copy strong,
.topbar .brand__copy strong span {
  font-family: "RC Logo", "Segoe UI", "Noto Sans", sans-serif;
  font-weight: 900;
}

/* Big monitors (1500px+): larger navigation and Telegram button.
   Laptops keep the sizes they had. */
@media (min-width: 1500px) {
  body .control-bar .header-actions,
  body .site-header .site-nav { gap: 6px; padding: 6px; border-radius: 18px; }
  body .control-bar .header-actions a,
  body .site-header .site-nav a { min-height: 48px; gap: 10px; padding: 12px 20px; border-radius: 13px; font-size: 15px; }
  body .control-bar .header-actions a :is(svg, .history-icon, .header-link__icon) { width: 19px; height: 19px; flex-basis: 19px; }
  body .control-bar :is(.telegram-link, .history-telegram),
  body .site-header .telegram-link { min-height: 50px; gap: 9px; padding: 12px 20px; border-radius: 15px; font-size: 15px; }
  body :is(.control-bar, .site-header) :is(.telegram-link, .history-telegram) :is(svg, .icon, .history-icon) { width: 20px; height: 20px; }
}

/* Account headings: as heavy on a laptop as on Windows (Segoe UI). */
.welcome h1,
.create-card h2 {
  font-family: "RC Logo", "Segoe UI", "Noto Sans", sans-serif;
  font-weight: 900;
}
.welcome { margin-bottom: 18px; }
.welcome h1 { margin-top: 0; }

/* Home and account headings: the heavy face everywhere, like Segoe UI on Windows. */
.page :is(h1, h2, h3),
.page .hero-title > span,
.page .example-copy h3,
.create-showcase__title,
#mainContent :is(h1, h2) {
  font-family: "RC Logo", "Segoe UI", "Noto Sans", sans-serif;
}
.page :is(h1, h2):not(.sr-only),
.page .hero-title > span {
  font-weight: 900;
  letter-spacing: -.028em;
}
.page h3 {
  font-weight: 900;
}

/* Account: all bold text in the same rich face as on Windows; big headings at full weight. */
#mainContent :is(h3, strong, b) {
  font-family: "RC Logo", "Segoe UI", "Noto Sans", sans-serif;
}
#mainContent :is(h1, h2):not(.sr-only) {
  font-weight: 900;
}
