/* Semantic defaults; page and prose styles refine their own reading rhythm. */
:root {
  --font-grotesk: var(--vw-font, "Inter", "Inter Fallback", Arial, sans-serif);
  --type-small: 0.75rem;
  --type-body: 1rem;
  --type-subheading: 1.333333rem;
  --type-heading: 1.777778rem;
  --type-title: clamp(2rem, 4vw, 3.5rem);
}

body { font-family: var(--font-grotesk); }

body,
body.mce-content-body {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  opacity: 1;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: var(--type-title);
  font-weight: 700;
  line-height: 1.15;
}

h2 { font-size: var(--type-heading); }
h3 { font-size: var(--type-subheading); }
h4 { font-size: 1.125rem; }
h5 { font-size: var(--type-body); }
h6 { font-size: .875rem; }

:where(h1, h2, h3, h4, h5, h6) {
  margin-block: 1.75em .65em;
}

p,
li {
  line-height: inherit;
}

article a,
.home-page article a {
  font-size: inherit;
  line-height: inherit;
}

.keywords,
.donation-container h3,
.donation-container span,
.footer-legal-links,
.toast-message,
.toast-accept,
.toast-decline,
.search,
nav a,
nav a.active,
.article-like .like-button {
  font-size: var(--type-body);
  line-height: 1.6;
}

nav a.active {
  font-weight: 700;
  opacity: 1;
}

.article-meta,
.views,
figcaption,
.image-caption {
  font-size: var(--type-small);
  line-height: 1.333333;
}

figcaption,
.image-caption {
  font-style: italic;
  letter-spacing: 0;
}

.donation-container button {
  font-size: var(--type-subheading);
  font-weight: 700;
  line-height: 1.25;
}

.donation-container h2 {
  font-size: 1.65rem;
}

em {
  line-height: inherit;
}

.mce-content-body p {
  margin-block: 0 1.5rem;
}
