@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* tilføj kursiv, fed osv. på samme måde */

html[data-theme="light"] {
  --pst-color-background: #faf6ee;
  --pst-color-text-base: #1d1a16;
  --pst-color-link: #7a2e2e;
  --pst-color-primary: #7a2e2e;
  --pst-color-target: #e9dcc0;      /* markering af mål for anker */
}
html[data-theme="dark"] {
  --pst-color-background: #1b1916;
  --pst-color-text-base: #e6dfd2;
  --pst-color-link: #d19a8a;
  --pst-color-primary: #d19a8a;
}
html {
  --pst-font-family-base: "EB Garamond", Georgia, serif;
  --pst-font-family-heading: "EB Garamond", Georgia, serif;
}

.bd-article {
  font-size: 1.2rem;
  line-height: 1.55;
  font-variant-numeric: oldstyle-nums;
  hyphens: auto;
  text-wrap: pretty;
  max-width: 38em;              /* ca. 65 tegn pr. linje */
}
.bd-article p { margin: 0; text-align: justify; }
.bd-article p + p { text-indent: 1.4em; }
.bd-article h1 { font-variant: small-caps; letter-spacing: .06em; font-weight: 500; }
.bd-article h2, .bd-article h3 { font-style: italic; font-weight: 500; }
.bd-article blockquote { border: 0; font-style: italic; margin: 1.5em 2.5em; }
::selection { background: #e9dcc0; color: inherit; }

html[data-theme] .bd-article blockquote,
html[data-theme] .bd-article blockquote p {
  background: transparent;
  background-color: transparent;
}
