/* CSS Reset and Typography */

html {
    scroll-behavior: smooth
}

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

body {
    line-height: 1
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

nav ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: 0 0
}

ins {
    background-color: var(--color-highlight);
    color: var(--color-black);
    text-decoration: none
}

mark {
    background-color: var(--color-highlight);
    color: var(--color-black);
    font-style: italic;
    font-weight: 700
}

del {
    text-decoration: line-through
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--color-grey);
    margin: 1rem 0;
    padding: 0
}

input,
select {
    vertical-align: middle
}

html {
    box-sizing: border-box
}

*,
:after,
:before {
    box-sizing: inherit
}

a {
    text-decoration: underline
}

a:hover {
    text-decoration: none
}

address,
blockquote,
dl,
ol,
p,
table,
ul {
    margin: var(--space-base) 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: var(--space-2) 0 var(--space-base) 0
}

::-webkit-input-placeholder {
    color: var(--color-secondary-400)
}

:-moz-placeholder {
    color: var(--color-secondary-400)
}

::-moz-placeholder {
    color: var(--color-secondary-400);
    opacity: 1
}

:-ms-input-placeholder {
    color: var(--color-secondary-400)
}

img {
    max-width: 100%;
    height: auto
}

img[class*=align],
img[class*=attachment-],
img[class*=wp-image-] {
    height: auto
}

embed,
iframe,
object,
video {
    margin: var(--space-base) 0;
    max-width: 100%
}

p>embed,
p>iframe,
p>object,
span>embed,
span>iframe,
span>object {
    margin-bottom: 0
}

button,
input[type=submit],
select {
    -webkit-appearance: none
}

address {
    font-style: normal
}

article,
aside,
footer,
header,
main,
nav,
section {
    display: block
}

.grecaptcha-badge {
    visibility: hidden
}

/* Typography */

html {
    font-size: 16px;
    font-size: 16px;
    background: var(--color-base-background)
}

body {
    font: var(--text-base);
    color: var(--color-base-text)
}

ol,
ul {
    margin-left: var(--space-base)
}

a {
    color: var(--color-base-text);
    text-decoration: underline;
    transition: all .3s
}

a:hover {
    text-decoration: none;
    opacity: .75
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-base-text)
}

h1 {
    font: var(--text-5xl)
}

h2 {
    font: var(--text-4xl)
}

h3 {
    font: var(--text-3xl)
}

h4 {
    font: var(--text-2xl)
}

h5 {
    font: var(--text-xl)
}

h6 {
    font: var(--text-base)
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    text-decoration: none;
    color: var(--color-base-text)
}

blockquote {
    font-style: normal
}

blockquote cite {
    font-style: normal
}

.overflow-y-scroll {overflow-y: scroll;}

/* --font-size-3 definiuje tylko editor-style-block.css, ktorego motyw nie
   wczytuje na froncie, wiec regula nie dzialala. Teraz bierze token skali. */
.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
    font: var(--text-3xl)
}

.text-center {
    text-align: center
}

.text-left {
    text-align: left
}

.text-right {
    text-align: right
}
