/**
 * ============================================================
 * RESET — Modelul Unitar de Design (MUD)
 * ASP Moldova — aspgovmd theme
 * ============================================================
 */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--text-desktop-body-md-size);
  font-weight: var(--text-desktop-body-md-weight);
  line-height: var(--text-desktop-body-md-height);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* — Списки — */
ul, ol { list-style: none; }

/* — Медиа — */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}
img { height: auto; }

/* — Формы — */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

/* — Таблицы — */
table { border-collapse: collapse; border-spacing: 0; }

/* — Skip link (доступность) —
 * Единственное описание живёт в css/layout/page.css.
 * Раньше блок дублировался здесь, но группа `base` грузится раньше группы
 * `layout`, поэтому копия из page.css полностью перекрывала эту — правила
 * были мёртвыми. Дубль убран, чтобы стиль правился в одном месте.
 */
