@font-face {
  font-family: "Carlito";
  src: url("fonts/Carlito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("fonts/Carlito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("fonts/Carlito-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("fonts/Carlito-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #111111;
  --link: #0645ad;
  --visited: #551a8b;
  --border: #cfcfcf;
}

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

body {
  margin: 0;
  padding: 20px;
  background: var(--bg);
  color: var(--text);
  font-family: "Carlito", Calibri, "Segoe UI", Arial, sans-serif;
  line-height: 1.4;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  margin: 0;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 6px #000;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.1;
}

h2 {
  text-shadow: none;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--visited);
}

a:focus-visible {
  outline: 2px dashed var(--text);
  outline-offset: 2px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.nav-list li:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #666;
}

.pub-years {
  margin-top: 0;
}

address {
  font-style: normal;
}

footer {
  text-align: center;
}

hr {
  border: 0;
  border-top: 1px dashed var(--border);
}

@media (max-width: 600px) {
  body {
    padding: 8px;
  }

  .page {
    padding: 10px;
  }

  h1 {
    top: 24px;
  }

  .nav-list {
    gap: 6px 8px;
  }
}
