/* Shared by the homepage and concept note. */
:root {
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
  color: #242722;
  background: #faf9f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.personal-page {
  width: min(100% - 48px, 860px);
  margin: 64px auto 48px;
}

h1 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 18px;
}

p {
  margin: 0 0 16px;
}

a {
  color: #24594f;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover {
  color: #173b34;
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid #24594f;
  outline-offset: 5px;
}

.personal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 8px;
  background: #faf9f6;
}

.skip-link:focus {
  top: 8px;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
}

.document-meta {
  color: #555b52;
}

.document-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 16px;
}

.document-author {
  font-size: 21px;
}

.document-updated {
  font-size: 16px;
  color: #555b52;
}

.pdf-viewer {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 440px;
  margin-top: 24px;
  border: none;
  border-radius: 8px;
}

.pdf-direct-link {
  margin-top: 16px;
}

.preview-notice {
  padding: 16px;
  border: 1px solid #b6bcb2;
}

@media (max-width: 480px) {
  .personal-page {
    margin-top: 32px;
  }

  h1 {
    font-size: 1.9rem;
  }

  .pdf-viewer {
    height: 65vh;
    min-height: 360px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}