/* Element defaults. Components live in components.css. */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--text);
  line-height: var(--leading);
  font-variant-numeric: oldstyle-nums;
  font-kerning: normal;
  overflow-x: hidden;
}

main, .site-header, .site-footer {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 {
  color: var(--rubric);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: var(--h1); margin: var(--space-3) 0 var(--space-2); }
h2 { font-size: var(--h2); margin: var(--space-2) 0 var(--space-3); letter-spacing: .1em; }
h3 { font-size: 1.15em; margin: var(--space-3) 0 var(--space-2); letter-spacing: .12em; }

p { margin: 0 0 var(--space-2); hyphens: auto; text-wrap: pretty; }

a { color: var(--rubric); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { text-decoration-thickness: .12em; }

:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }

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

[lang="grc"] { font-family: var(--greek); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -10rem;
  background: var(--paper); padding: var(--space-1) var(--space-2); z-index: 10;
}
.skip-link:focus { top: var(--space-1); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
