/* ==========================================================
   01-base.css
   Base styles and element defaults
   No branding, no layout assumptions
   ========================================================== */

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

/* ------------------------------
   HTML & body
------------------------------ */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 140px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-body, 300);
  line-height: var(--line-height-base, 1.6);
  color: var(--color-text, #111);
  background-color: var(--color-bg, #fff);
}

/* ------------------------------
   Images & media
------------------------------ */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ------------------------------
   Typography
------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1, 100);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2, 100);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3, 100);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4, 300);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-h5, 300);
}

h6 {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-h6, 300);
}

p {
  margin: 0 0 1em;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 300);
}

strong {
  font-weight: var(--font-weight-medium, 500);
}

em {
  font-style: italic;
}

/* ------------------------------
   Links
------------------------------ */
a {
  color: inherit;
  text-decoration: none;
  font-weight: var(--font-weight-link, 400);
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* ------------------------------
   Lists
------------------------------ */
ul,
ol {
  margin: 0 0 1em 1.2em;
  padding: 0;
}

/* Footer lists don't need left margin */
footer ul,
footer ol {
  margin: 0;
}

li {
  margin-bottom: 0.4em;
}

/* ------------------------------
   Forms
------------------------------ */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ------------------------------
   Tables
------------------------------ */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.6em;
  text-align: left;
}

/* ------------------------------
   Utility helpers
------------------------------ */
.hidden {
  display: none !important;
}

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

/* ------------------------------
   WordPress core alignment
------------------------------ */
.alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------
   Clearfix
------------------------------ */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
/* ------------------------------
   WordPress admin bar offset
------------------------------ */
body.admin-bar {
  position: relative;
}

/* ------------------------------
   Input placeholders
------------------------------ */
::placeholder {
  color: #231f20;
  opacity: 1;
}
