/**
 * SovrNovosti Editorial Base
 * Author: Illia Abel
 */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sn-bg);
    color: var(--sn-text);
    font-family: var(--sn-font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

iframe {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--sn-accent);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.08;
}

::selection {
    background: var(--sn-accent);
    color: #ffffff;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sn-skip-link {
    position: fixed;
    z-index: 99999;
    left: 1rem;
    top: -100px;
    padding: 0.7rem 1rem;
    background: var(--sn-dark);
    color: #ffffff;
}

.sn-skip-link:focus {
    top: 1rem;
}
