/* Шрифты. Заголовки: системный Impact, запасной — Oswald. Текст: Nunito Sans. */
@font-face {
  font-family: "Head";
  font-weight: 400;
  src: local("Impact"), url("../fonts/oswald-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Head";
  font-weight: 400;
  src: local("Impact"), url("../fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Nunito Sans";
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/nunito-sans-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Nunito Sans";
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --font-head: "Head", Impact, "Arial Narrow", sans-serif;
  --font-text: "Nunito Sans", Arial, sans-serif;
  --font-plain: Arial, Helvetica, sans-serif;

  --color-text: #414141;
  --color-muted: #999;
  --color-blue: #0963b0;
  --color-red: #e21c21;
  --color-navy: #0b2452;
  --color-navy-dark: #091d42;
  --color-header: #071836;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 17px/1.4 var(--font-text);
  color: var(--color-text);
  background: #fff;
  letter-spacing: -0.015em; /* Nunito Sans шире Proxima Nova примерно на 3% */
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  letter-spacing: 0;
}

h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(980px, 100%);
  margin-inline: auto;
}

/* Текст из админки: переводы строк сохраняются */
.prose {
  white-space: pre-line;
}

/* Серая приписка внутри текста, например ссылка на статью закона */
.muted {
  color: var(--color-muted);
}

@media (max-width: 979px) {
  .br-desktop {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(#bf181c, #e8484c);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  color: #fff;
  font: 15px/21px var(--font-text);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
}

/* Ссылка «к содержимому»: видна только при фокусе с клавиатуры */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  font: 15px/20px var(--font-text);
}

.skip-link:focus {
  top: 8px;
}

main:focus {
  outline: 0;
}

:focus-visible {
  outline: 2px solid #3d9be8;
  outline-offset: 2px;
}
