/* Reset i style bazowe: odpowiednik resetu motywu Hello Elementor + globalnych ustawien kitu z PROD. */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-block: .5rem 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}
h1 { font-size: 2.5rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
h2 { font-family: var(--font); font-size: var(--fs-h2); font-weight: 500; text-transform: uppercase; }
h3 { font-family: var(--font); font-size: var(--fs-h3); font-weight: 500; text-transform: uppercase; }

p { margin-block: 0 .9rem; }

a { color: var(--color-link); text-decoration: none; background-color: transparent; transition: .2s ease-out; }
/* Jak w kicie PROD: hover wygrywa takze z kolorami ustawionymi na konkretnych linkach. */
a:hover { color: var(--color-accent) !important; }

b, strong { font-weight: bolder; }
small { font-size: 80%; }
img { max-width: 100%; height: auto; border-style: none; }
figure { margin: 0; }
ul, ol, li { margin-block: 0; }

button { font-family: inherit; font-size: 1rem; line-height: 1.5; margin: 0; }

/* Link "przejdz do tresci" - widoczny tylko przy nawigacji klawiatura. */
.skip-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
  top: 5px;
  left: 5px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  clip: auto;
  background: #eee;
  color: #333;
  font-size: 1rem;
}
