/* CSS Demystified Reset | v0.2 */

/* prevent layout shifts on short pages
   and long-term improvement for 100vw */
html {
  scrollbar-gutter: stable;
}

/* Make the line-height more reader friendly */
body {
  margin: 0;
  line-height: 1.6;
}

body p.wp-block-paragraph {
  margin: 0;
}

/* Set tighter line heights on headings & interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Make it so replaced elements are responsive */
img,
video,
iframe {
  display: block;
  block-size: auto;
  max-inline-size: 100%;
}

/* Inherit fonts for inputs and buttons */
/* also prevents zoom on iOS if font sizes are small */
button,
select,
textarea,
input {
  font: inherit;
  font-size: max(16px, 1em);
}

/* reset gutemberg */
.wp-block-group {
  margin: 0;
}

:root :where(.is-layout-constrained) > :last-child {
  margin-block: revert;
}

:root :where(.is-layout-flex) {
  /* gap: revert; */
}
:root :where(.is-layout-flow) > * {
  margin-top: 0;
}

.wp-block-cover.wp-block-cover-image {
  min-height: initial !important;
}
