:root {
  --on-accent: #FFFFFF;
  --fg: #1C2B33;
  --alt: #E9F3F8;
  --bg: #F7FBFD;
  --link: #24628A;
  --accent: #2B6F99;
  --mute: #516570;
  --head: #102029;
  --line: #D3E4EE;
}

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

body {
  color: var(--fg);
  background: var(--bg);
  font-size: 1rem;
  overflow-wrap: break-word;
  line-height: 1.65;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  margin: 0;
}

h1, h2, h3, h4 {
  color: var(--head);
  line-height: 1.25;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
}

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

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

pre, table {
  overflow-x: auto;
  max-width: 100%;
}

table {
  border-collapse: collapse;
  display: block;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 1.25rem;
  color: var(--mute);
  margin: 1.25rem 0;
}

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

.skip-link {
  left: -60rem;
  position: absolute;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  padding: 0.5rem;
  background: var(--bg);
  z-index: 50;
}

.pager {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  display: flex;
  margin-top: 2rem;
}

.archive li {
  padding: 0.35rem 0;
}

.archive__month {
  font-size: 1.2rem;
  margin-top: 1.75rem;
}

.top {
  background: var(--bg);
  padding-top: 1.6rem;
  padding-bottom: 0.8rem;
}

.top__logo {
  color: var(--head);
  font-size: 1.9rem;
  font-weight: 700;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  text-decoration: none;
}

.top__lede {
  color: var(--mute);
  margin: 0.25rem 0 0.9rem;
}

.top .top__nav {
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--head);
  border-radius: 0.75rem;
}

.nav__menu-list {
  padding: 0;
  justify-content: flex-start;
  gap: 0.25rem 1.1rem;
  flex-wrap: wrap;
  list-style: none;
  display: flex;
  margin: 0;
}

.nav__menu-list a {
  color: var(--fg);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav__menu-list a:hover {
  color: var(--link);
  text-decoration: underline;
}

.archive-title h1 {
  color: var(--head);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.inner {
  box-sizing: border-box;
  padding-right: 1rem;
  padding-left: 1rem;
  margin: 0 auto;
  max-width: 72rem;
}

.page-grid {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.stream {
  min-width: 0;
}

.right-col {
  min-width: 0;
  margin-top: 2rem;
}

.entry__item-title {
  font-size: 1.55rem;
  line-height: 1.25;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  margin: 0 0 0.4rem;
}

.entry__item-title a {
  color: var(--head);
  text-decoration: none;
}

.entry__item-title a:hover {
  color: var(--link);
  text-decoration: underline;
}

.entry__post-meta {
  color: var(--mute);
  font-size: 0.85rem;
  margin: 0 0 0.9rem;
}

.entry__post-meta a {
  color: var(--mute);
}

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

.entry__details h2:not(.entry__item-title), .entry__excerpt h2 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
}

.entry__details h3, .entry__excerpt h3 {
  font-size: 1.02rem;
}

.entry__post-thumb {
  margin: 0 0 1rem;
}

.entry__post-thumb img {
  height: auto;
  width: 100%;
  display: block;
  border-radius: 0.75rem;
}

.top-story .entry__item-title {
  font-size: 2.1rem;
  line-height: 1.15;
}

.top-story {
  border-bottom: 3px solid var(--head);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.small-post {
  gap: 2rem;
  grid-template-columns: minmax(0,1fr);
  margin-bottom: 2rem;
  display: grid;
}

.archive-list .entry__post-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  letter-spacing: 0.06em;
}

.archive-list hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 2.25rem 0;
}

.card-box {
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.card-box__block-title {
  border-bottom: 2px solid var(--accent);
  color: var(--head);
  font-size: 1rem;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  text-transform: none;
  margin: 0 0 0.6rem;
  padding-bottom: 0.35rem;
}

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

.card-box__side-list li, .card-box__side-list > div {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
}

.card-box a {
  color: var(--link);
  text-decoration: none;
}

.card-box a:hover {
  text-decoration: underline;
}

.article__single-title {
  color: var(--head);
  font-size: 2.1rem;
  line-height: 1.2;
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  margin: 0 0 0.5rem;
}

.article__single-meta {
  color: var(--mute);
  font-size: 0.88rem;
  margin: 0 0 1.5rem;
}

.article__single-meta a {
  color: var(--mute);
}

.article__entry-content img {
  height: auto;
  max-width: 100%;
}

.article__foot {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.on-this-page {
  padding: 1rem 1.25rem;
  background: var(--alt);
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
}

.on-this-page p {
  margin: 0 0 0.4rem;
}

.author-box {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.author-box p {
  margin: 0 0 0.4rem;
}

.related h2 {
  font-size: 1.15rem;
}

.pager {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  display: flex;
  margin-top: 1.5rem;
}

.breadcrumbs {
  color: var(--mute);
  font-size: 0.82rem;
  margin: 0 0 1rem;
}

.breadcrumbs a {
  color: var(--mute);
}

.site-footer {
  padding: 1.25rem 0;
  color: var(--mute);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.site-footer__legal {
  margin: 0;
}

.site-footer a {
  color: var(--mute);
  margin-left: 0.4rem;
}

@media (min-width: 760px) {
  .page-grid {
    gap: 2.25rem;
    display: flex;
    align-items: flex-start;
  }
  .stream {
    flex: 1 1 0;
    order: 2;
  }
  .right-col {
    flex: 0 0 18rem;
    order: 3;
    margin-top: 0;
  }
  .right-col {
    align-self: start;
    position: sticky;
    top: 1rem;
  }
}

@media (min-width: 1100px) {
  .small-post {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
