:root {
  color-scheme: light dark;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 0.85rem + 0.55vw, 2.45rem);
  font-style: italic;
  font-weight: 900;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  background: light-dark(#fff, #111);
  filter: url("#contrast");
}

body {
  color: light-dark(#000, #fff);
}

h1 {
    font-size: 2em!important;
    text-align: center;
}

#container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  filter: url("#noise") blur(0px);
}

.editorial-content {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 5%;
  line-height: 1.2rem;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.editorial-content :is(h1, h2, h3, h4, h5, h6, p, ul, ol, figure) {
  margin-block: 0;
}

.editorial-content p {
  margin-block-end: 0.7em;
}

.editorial-content strong {
  font-weight: 900;
  font-synthesis: weight;
}

.editorial-content :is(ul, ol) {
  padding-inline-start: 2.2rem;
}

.editorial-content :is(h1, h2, h3, h4, h5, h6) {
  font: inherit;
}

.editorial-content a {
  color: light-dark(#0000ee, #6ea8fe);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
}

.editorial-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.editorial-content figure {
  max-width: 100%;
}

.loading-message,
.error-message {
  min-height: 100vh;
}

.filters {
  position: fixed;
  width: 0;
  height: 0;
  pointer-events: none;
}
