:root {
  color-scheme: light;
  --paper: #e6ded2;
  --ink: #24180b;
  --muted: #61584c;
  --accent: #6b532e;
  --line: #ab9b84;
  --heading: 'Old Standard TT', Georgia, serif;
  --body: 'PT Serif', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--body);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading);
  line-height: 1.17;
  text-wrap: pretty;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: min(67rem, calc(100% - 3rem));
  margin-inline: auto;
}
.skip {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translateY(-150%);
  padding: 0.5rem;
  background: var(--paper);
  z-index: 1;
}
.skip:focus {
  transform: none;
}
.masthead {
  text-align: center;
  padding: 2.65rem 0 1.75rem;
}
.masthead a {
  display: inline-block;
  font: 700 clamp(1.8rem, 5.3vw, 3.3rem)/1.06 var(--heading);
  letter-spacing: -0.025em;
  text-decoration: none;
}
.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-block: 1px solid var(--line);
}
.menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.65rem, 2.4vw, 1.65rem);
  padding: 0;
  margin: 0;
}
.menu a {
  display: inline-block;
  padding: 0.6rem 0.12rem 0.49rem;
  border-bottom: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
}
.menu a[aria-current='page'],
.menu a:hover {
  border-bottom-color: var(--accent);
}
.search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}
.search label {
  font-size: 0.9rem;
  font-weight: 700;
}
.search input {
  min-width: 0;
  width: 12rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.23rem 0.45rem;
}
.search button {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.23rem 0.55rem;
  border-radius: 0;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.search button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

main {
  padding: 2rem 0 3rem;
  min-height: 44vh;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.25rem;
}
.sidebar {
  border-left: 1px solid var(--line);
  padding-left: 1.7rem;
}
.section-title {
  margin: 0 0 0.3rem;
  padding: 0 0 0.45rem;
  border-bottom: 2px solid var(--ink);
  font-size: 1.55rem;
}
.entries {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
}
.entry {
  padding: 0.8rem 0 0.75rem;
  border-bottom: 1px solid var(--line);
}
.entry h2,
.entry h3 {
  font-size: 1.16rem;
  margin: 0 0 0.25rem;
  overflow-wrap: anywhere;
}
.entry h2 a,
.entry h3 a {
  text-decoration: none;
}
.entry h2 a:hover,
.entry h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.65rem;
  row-gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.meta a {
  text-decoration: none;
}
.meta a:hover {
  text-decoration: underline;
}
.meta .category {
  color: var(--accent);
  font-style: italic;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  padding: 0;
  list-style: none;
  margin: 0.65rem 0 1.3rem;
}
.sidebar-list {
  margin-top: 1.5rem;
}
.sidebar-list .section-title {
  font-size: 1.3rem;
}
.simple {
  max-width: 49rem;
}
.breadcrumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.page-title {
  font-size: clamp(2rem, 5vw, 3.05rem);
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
.post-head {
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.95rem;
}
.post-content {
  max-width: 49rem;
  overflow-wrap: anywhere;
}
.post-content h2,
.post-content h3,
.post-content h4 {
  margin: 1.35em 0 0.5em;
}
.post-content h2 {
  font-size: 1.65rem;
}
.post-content h3 {
  font-size: 1.3rem;
}
.post-content li {
  margin-block: 0.25rem;
}
.post-content figure {
  margin: 1.4rem 0;
}
.post-content figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}
.post-content section,
.post-content div {
  max-width: 100%;
}
.post-content div > img {
  margin: 0.65rem 0;
}
.post-content blockquote {
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  margin: 1.25rem 0;
}
.post-content table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  margin: 1rem 0;
}
.post-content td,
.post-content th {
  border: 1px solid var(--line);
  padding: 0.3rem 0.5rem;
  text-align: left;
}
.wp-block-file {
  border: 1px solid var(--line);
  padding: 0.6rem 0.85rem;
  margin: 0.7rem 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.post-content .download {
  font-weight: bold;
}
.team-member + .team-member {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.team-member {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: 1.3rem;
}
.team-member h2 {
  font-size: 1.65rem;
  margin: 0 0 0.2rem;
}
.team-member .role {
  color: var(--accent);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.team-member p:last-child {
  margin-bottom: 0;
}
.team-photo {
  max-height: 12rem;
  object-fit: contain;
  object-position: left top;
}
.search-page .search {
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.search-page .search input {
  width: min(23rem, 62vw);
}
.search-status {
  margin: 0.8rem 0 0.25rem;
  color: var(--muted);
}
footer {
  padding: 1.35rem 0 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
footer p {
  max-width: 48rem;
}
footer h2 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.copyright {
  color: var(--muted);
  margin: 0.85rem 0 0;
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .masthead {
    padding: 1.85rem 0 1.35rem;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }
  .sidebar {
    padding-left: 0;
    border-left: 0;
  }
  .menu {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-bottom: 0.45rem;
  }
  main {
    padding-top: 1.45rem;
  }
}
@media (max-width: 470px) {
  .menu > .search {
    flex-basis: 100%;
    padding-bottom: 0.25rem;
  }
  .menu > .search input {
    flex: 1;
  }
  .team-member {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .team-photo {
    max-width: 8rem;
  }
}
