/* =========================================================
   Welina Theme: Base
========================================================= */

:root {
  --container-width: 1120px;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.8;

  --color-ink: #24201b;
  --color-sub: #6f665c;
  --color-paper: #fbfaf6;
  --color-bg: #ffffff;
  --color-line: #e5ded2;
  --color-accent: #7b2f25;

  --wp-adminbar-h: 0px;
}

body.admin-bar {
  --wp-adminbar-h: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --wp-adminbar-h: 46px;
  }
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-base);
  line-height: var(--line-height-base);
  text-size-adjust: 100%;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

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