:root {
  --brand: #ffdb99;
  --brand-border: #e8a33a;
  --ink: #181716;
  --muted: #66625d;
  --line: #dedbd5;
  --soft: #f6f5f2;
  --link: #5b1690;
  --color-18: #b3ff99;
  --color-18-line: #4f875c;
  --color-19: #ffeb99;
  --color-19-line: #9e7600;
  --color-20: #ffad99;
  --color-20-line: #c65f65;
  --measure: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

a {
  color: blue;
  text-decoration: none;
}

a:visited {
  color: purple;
}

a:hover,
a:focus {
  color: red;
}

a:active {
  color: orange;
}

main a:hover,
main a:focus,
.footer a:hover,
.footer a:focus {
  background-color: #f2f2f2;
  border-radius: 2px;
}

.wrap {
  margin: 0 auto;
  max-width: var(--measure);
  padding-left: 24px;
  padding-right: 24px;
}

.site-nav {
  background: var(--brand);
  border: 1px solid var(--brand-border);
  border-radius: 4px;
  margin-top: 20px;
}

.site-nav__inner {
  align-items: center;
  display: flex;
  gap: 14px;
  min-height: 52px;
  padding: 6px 15px;
}

.site-nav__brand {
  align-items: center;
  display: flex;
  flex: 0 0 46px;
  height: 38px;
  justify-content: center;
}

.site-nav__brand img {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 42px;
}

.site-search {
  display: flex;
  flex: 0 1 500px;
  margin-left: auto;
  min-width: 180px;
}

.site-search input {
  background: #fff;
  border: 1px solid #76654a;
  border-radius: 4px 0 0 4px;
  font: inherit;
  height: 36px;
  min-width: 0;
  padding: 7px 10px;
  width: 100%;
}

.site-search button {
  align-items: center;
  background: #f2f2f2;
  border: 1px solid #76654a;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  color: #201b46;
  cursor: pointer;
  display: flex;
  flex: 0 0 46px;
  height: 36px;
  justify-content: center;
  padding: 0;
}

.site-search button:hover,
.site-search button:focus {
  background: #e6e6e6;
}

.site-search svg {
  height: 19px;
  width: 19px;
}

.site-nav__authors {
  align-items: center;
  align-self: stretch;
  border-left: 1px solid rgba(118, 101, 74, 0.45);
  color: #221a10;
  display: flex;
  flex: 0 0 auto;
  padding: 0 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-nav__brand:visited,
.site-nav__authors:visited {
  color: #221a10;
}

.site-nav__authors:hover,
.site-nav__authors:focus {
  background: rgba(255, 255, 255, 0.28);
  color: #000;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 42px;
  padding-top: 70px;
}

.hero h1,
.page-head h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

.hero p {
  color: #373431;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  margin: 20px 0 0;
  max-width: 780px;
}

.page-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
  padding-top: 58px;
}

.page-head h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.page-head p {
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 750px;
}

.section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
  padding-top: 48px;
}

.section-head {
  align-items: baseline;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section h2,
.article-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.centuries {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.century h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0;
}

.century {
  border-top: 3px solid var(--color-18-line);
  padding-top: 13px;
}

.century__head {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.century:nth-child(2) {
  border-color: var(--color-19-line);
}

.century:nth-child(3) {
  border-color: var(--color-20-line);
}

.link-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.link-list li + li {
  margin-top: 6px;
}

.link-list a {
  color: blue;
  font-size: 1.1rem;
  line-height: 1.5;
}

.link-list a:visited {
  color: purple;
}

.link-list a:hover,
.link-list a:focus {
  color: red;
}

.link-list__separator {
  border-top: 1px solid var(--line);
  margin-top: 14px !important;
  padding-top: 13px;
}

.resource-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  font-size: 1.05rem;
  min-height: 76px;
  padding: 16px 18px;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.resource-card:hover,
.resource-card:focus {
  background: #f2f2f2;
  border-color: #aaa59d;
  color: red;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  display: grid;
  gap: 26px;
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 19px 0;
}

.news-list li + li {
  border-top: 1px solid var(--line);
}

.news-list time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.news-list p {
  margin: 0;
}

.news-entries {
  border-top: 1px solid var(--line);
}

.news-entry {
  display: grid;
  gap: 28px;
  grid-template-columns: 126px minmax(0, 1fr);
  padding: 24px 0;
}

.news-entry + .news-entry {
  border-top: 1px solid var(--line);
}

.news-entry time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.news-entry__body > :first-child {
  margin-top: 0;
}

.news-entry__body > :last-child {
  margin-bottom: 0;
}

.news-entry__body img {
  height: auto;
  max-width: 100%;
}

.news-entry__body blockquote {
  border-left: 3px solid var(--line);
  margin-left: 0;
  padding-left: 18px;
}

.text-link {
  font-weight: 600;
}

.article-body {
  max-width: 790px;
  padding-bottom: 64px;
  padding-top: 44px;
}

.news-archive {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 10px !important;
}

.year-pager {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
}

.year-pager > :nth-child(2) {
  text-align: center;
}

.year-pager > :last-child {
  text-align: right;
}

.year-pager--bottom {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
  margin-top: 34px;
  padding-top: 22px;
}

.article-body h2 {
  margin-top: 42px;
}

.article-body > h2:first-child {
  margin-top: 0;
}

.article-body ul {
  padding-left: 22px;
}

.year-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 24px;
}

.year-grid a {
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  padding: 9px 6px;
  text-align: center;
  text-decoration: none;
}

.year-grid a:hover,
.year-grid a:focus,
.year-grid a[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand-border);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 28px;
  padding-bottom: 42px;
  padding-top: 28px;
}

.footer__inner {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

@media (max-width: 840px) {
  .centuries {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .year-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }

  .site-nav {
    margin-top: 10px;
  }

  .site-nav__inner {
    display: grid;
    gap: 7px 10px;
    grid-template-columns: 46px 1fr;
    padding: 6px 10px 9px;
  }

  .site-nav__brand {
    grid-column: 1;
  }

  .site-nav__authors {
    border-left: 0;
    grid-column: 2;
    justify-self: end;
    min-height: 38px;
    padding: 0 8px;
  }

  .site-search {
    grid-column: 1 / -1;
    margin: 0;
    width: 100%;
  }

  .hero {
    padding-bottom: 34px;
    padding-top: 48px;
  }

  .section,
  .article-body {
    padding-bottom: 38px;
    padding-top: 36px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .news-list li {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .news-entry {
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }
}
