/* ====================== RESET.CSS — Современный сброс стилей ====================== */

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

html, body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var,
b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display definitions */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}

/* Базовые стили body */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Убираем кавычки у blockquote и q */
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

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

/* Формы */
input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

button[disabled], input[disabled] {
    cursor: default;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

/* Ссылки и выделение */
a:focus {
    outline: thin dotted;
}
a:active, a:hover {
    outline: 0;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

/* Изображения */
img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* Fieldset и legend */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

/* Доступность: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ====================== КОНЕЦ RESET.CSS ====================== */