/* Compact archive presentation inspired by the Minimal Mistakes home layout. */
html {
  font-size: 16px !important;
}

.masthead__inner-wrap {
  padding-top: 0.8em;
  padding-bottom: 0.8em;
}

.site-title {
  display: inline-flex;
  align-items: center;
  font-family: "Gloria Hallelujah", "Segoe Print", cursive;
  font-size: 1.05em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.page__footer {
  margin-top: 2em;
  border-top: 1px solid #e5e5e5;
  background: #f9f9f9;
  color: #6f777d !important;
}

.page__footer footer,
.page__footer a,
.page__footer .page__footer-follow,
.page__footer .page__footer-copyright {
  color: inherit !important;
}

.page__footer footer {
  margin-top: 1.15em;
  padding-bottom: 1.25em;
}

.page__footer a:hover {
  color: #3d4144;
}

.page__footer-follow .social-icons {
  margin-bottom: 0.35em;
}

.page__footer-follow li {
  font-size: 0.8125em;
}

.page__footer-copyright {
  font-size: 0.75em;
}

.page__footer-follow .fa-rss-square {
  color: #91b9d7 !important;
}

.site-subtitle,
.site-logo,
.layout--archive.home-archive .pilot-intro,
.layout--archive.home-archive .pilot-visits,
.layout--archive.home-archive .home-view-tabs {
  display: none;
}

.layout--archive.home-archive .archive {
  padding-top: 0;
}

.layout--archive.home-archive .home-archive-section {
  scroll-margin-top: 4.5rem;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 2.6em;
  padding: 0;
}

.home-section-head .archive__subtitle {
  width: 100%;
  margin: 0;
  padding: 0 0 0.6em;
  border-bottom: 1px solid #e5e5e5;
  color: #3d4144;
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
}

.home-section-head small {
  flex: 0 0 auto;
  margin-left: -6rem;
  padding-right: 0.15rem;
  color: #6f777d;
  font-size: 0.68em;
}

.author__avatar {
  display: none;
}

.sidebar .author__name {
  margin-top: 0;
  font-size: 1.08em;
}

.author__bio {
  font-size: 0.84em;
}

.author__urls {
  font-size: 1em;
}

.author__urls > li {
  font-size: 0.76rem;
}

.author__urls a {
  color: #3d4144;
}

.author__urls li.sidebar-archive-block {
  display: block;
  margin-top: 1.15em;
  padding-top: 0.8em;
  border-top: 1px solid #e5e5e5;
}

.author__urls li.sidebar-visit-card {
  display: block;
  margin-top: 1.1rem;
  padding: 0.75rem 0 0.85rem;
  border-top: 1px solid #e5e5e5;
}

.sidebar-visit-head {
  margin-bottom: 0.55rem;
  color: #3d4144;
  font-weight: 650;
}

.sidebar-visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.sidebar-visit-grid span {
  min-width: 0;
}

.sidebar-visit-grid small,
.sidebar-visit-grid strong {
  display: block;
}

.sidebar-visit-grid small {
  margin-bottom: 0.18rem;
  color: #6f777d;
  font-size: 0.68rem;
}

.sidebar-visit-grid strong {
  color: #3d4144;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.sidebar-visit-grid span:first-child strong {
  font-size: 1.05rem;
}

.sidebar-visit-grid span:last-child {
  opacity: 0.68;
}

@media (min-width: 80em) {
  .layout--archive.home-archive .sidebar {
    width: 260px;
  }
}

.sidebar-archive-nav {
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.sidebar-archive-nav > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.48em 0;
  border-bottom: 1px solid #f3f3f3;
  border-radius: 3px;
  color: #3d4144;
  font-weight: 650;
  transition: background-color 140ms ease, color 140ms ease, font-weight 140ms ease;
}

.sidebar-archive-nav > a:hover,
.sidebar-archive-nav > a.is-active {
  color: #313538;
}

.sidebar-archive-nav > a:focus,
.sidebar-archive-nav > a:active,
.sidebar-archive-nav > a:focus-visible {
  outline: 0;
  box-shadow: none;
}

.sidebar-archive-nav > a:focus-visible {
  color: #315f87;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-archive-nav > a.is-active,
.sidebar-archive-nav > a.is-active:focus,
.sidebar-archive-nav > a.is-active:focus-visible {
  background: rgba(61, 65, 68, 0.045);
  color: #292e31;
  font-weight: 680;
}

.sidebar-archive-count {
  color: #6f777d;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

@media (max-width: 760px) {
  .sidebar {
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e5e5e5;
  }

  .author__content,
  .author__urls-wrapper {
    display: block;
    width: 100%;
  }

  .author__urls-wrapper .btn {
    display: none;
  }

  .author__urls {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.18rem 0.55rem;
    width: 100%;
    margin: 0.7rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .author__urls > li {
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .author__urls > li > a {
    display: block;
    padding: 0.32rem 0;
  }

  .author__urls li.sidebar-archive-block {
    grid-column: 1 / -1;
    margin-top: 0.65rem;
    padding-top: 0.6rem;
  }

  .author__urls li.sidebar-visit-card {
    grid-column: 1 / -1;
  }

  .sidebar-archive-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.8rem;
  }

  .sidebar-archive-nav > a {
    min-width: 0;
  }
}

.paper-frame,
#workGrid[data-work-list] {
  display: block;
  min-height: 0;
}

.home-archive .archive__item {
  margin: 0 0 2.8em;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-archive .archive__item-title {
  margin: 0 0 0.28em;
  color: #3d4144;
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.28;
}

.home-archive .archive__item-title a {
  color: #5b7fa3;
  text-decoration: none;
}

.home-archive .archive__item-title a:hover {
  color: #3f6489;
  text-decoration: underline;
}

.home-archive .page__meta {
  margin: 0.45em 0 0;
  color: #6f777d;
  font-size: 0.75em;
  font-weight: 400;
}

.home-archive .archive__item-excerpt {
  margin: 0.55em 0 0;
  color: #3d4144;
  font-size: 0.8em;
  line-height: 1.55;
}

.archive__item-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38em;
  margin: 0.65em 0 0;
  color: #6f777d;
  font-size: 0.72em;
}

.archive__tags-label {
  margin-right: 0.1em;
}

.archive__tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.9em;
  padding: 0.18em 0.72em;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  background: #fff;
  color: #6f777d;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.archive__tag:hover,
.archive__tag:focus-visible {
  border-color: #a8b8c7;
  color: #3f6489;
}

.archive__tag.is-active {
  border-color: #8ea8bf;
  background: #eef4f8;
  color: #345d83;
}

.active-tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  margin: -1.65em 0 2em;
  padding: 0;
  color: #5b7fa3;
  font-size: 0.72em;
}

.active-tag-filter__label {
  margin-right: 0.15em;
  color: #6f777d;
  font-weight: 600;
}

.active-tag-filter__chip,
.active-tag-filter__clear-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2em;
  padding: 0.2em 0.7em;
  border: 1px solid #d8e0e7;
  border-radius: 3px;
  background: #fff;
  color: #4b6f90;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.active-tag-filter__chip:hover,
.active-tag-filter__chip:focus-visible {
  border-color: #9eb1c2;
  background: #f5f8fa;
}

.active-tag-filter__clear-all {
  border-color: transparent;
  color: #6f777d;
}

.active-tag-filter__clear-all:hover,
.active-tag-filter__clear-all:focus-visible {
  color: #3d4144;
}

.archive-filter-empty {
  margin: 0;
  padding: 1.2em 0 2em;
  color: #6f777d;
  font-size: 0.82em;
}

.pager {
  gap: 0.2em;
  margin: 1.6em 0 0;
  padding-top: 0.8em;
  border-top: 1px solid #e5e5e5;
}

.pager-btn,
.pager-page-btn {
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  font-size: 0.78em;
}

.pager-btn:hover:not(:disabled),
.pager-btn.is-active,
.pager-page-btn:hover:not(:disabled),
.pager-page-btn.is-active {
  background: #3d4144;
  color: #fff;
}

@media (max-width: 600px) {
  .home-section-head {
    margin-bottom: 2em;
  }

  .home-archive .archive__item {
    margin-bottom: 2.3em;
  }

  .home-archive .archive__item-title {
    font-size: 1.2em;
  }

  .archive__item-tags {
    gap: 0.3em;
  }
}

/* About */
.about-page .page__title,
.about-page .page__title a {
  color: #3f6f9c;
}

.about-page .page__title a:hover {
  color: #315f89;
}

.layout--single .about-profile-overview {
  display: grid;
  width: min(calc(100% + 9rem), 61rem);
  grid-template-columns: 20.5rem minmax(0, 1fr);
  align-items: start;
  gap: 2.4rem;
  margin: 1rem 0 3rem;
}

.layout--single .about-profile-photo {
  width: 100%;
  margin: 0;
}

.layout--single .about-profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 2px;
}

.layout--single .about-profile-side {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  justify-content: space-between;
}

.layout--single .about-profile-section + .about-profile-section {
  margin-top: 2.3rem;
}

.layout--single .about-profile-section h2 {
  margin: 0 0 0.85rem;
  padding-bottom: 0;
  border-bottom: 0;
  color: #3f6f9c;
  font-size: 1rem;
  font-weight: 700;
}

.layout--single .about-profile-section .about-compact-list li,
.layout--single .about-profile-section .about-timeline > div {
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.72rem 0;
}

.layout--single .about-profile-section .about-timeline dt {
  margin-bottom: 0.1rem;
}

.layout--single .about-profile-section .about-timeline strong {
  font-size: 0.84rem;
}

.layout--single .about-profile-section .about-timeline span,
.layout--single .about-profile-section .about-compact-list span {
  font-size: 0.76rem;
  line-height: 1.55;
}

.layout--single .about-inline-link {
  color: #6f94b8;
  text-decoration: none;
}

.layout--single .about-inline-link:hover {
  color: #466f95;
  text-decoration: underline;
}

.layout--single .about-copy {
  width: min(calc(100% + 9rem), 61rem);
  margin: 0;
  color: #3d4144;
  font-size: 0.9rem;
  line-height: 1.8;
}

.layout--single .about-nowrap {
  white-space: nowrap;
}

.layout--single .about-copy > p {
  margin: 0 0 1.15rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.layout--single .about-copy .about-lead {
  color: #313538;
  font-size: 1.02rem;
  line-height: 1.85;
  text-align: left;
  hyphens: none;
}

.layout--single .about-section {
  margin-top: 3.4rem;
}

.layout--single .about-section h2 {
  margin: 0 0 1.25rem;
  padding-bottom: 0;
  border-bottom: 0;
  color: #3f6f9c;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-plain-list,
.about-compact-list,
.about-timeline {
  margin: 0;
  padding: 0;
}

.about-plain-list,
.about-compact-list {
  list-style: none;
}

.about-plain-list li,
.about-compact-list li,
.about-timeline > div {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0.8rem 0;
  border-top: 1px solid #eceeef;
}

.about-plain-list li:first-child,
.about-compact-list li:first-child,
.about-timeline > div:first-child {
  border-top: 0;
}

.about-plain-list strong,
.about-compact-list strong,
.about-timeline strong {
  color: #34383b;
  font-weight: 650;
}

.about-plain-list span,
.about-compact-list span,
.about-timeline span {
  display: block;
  color: #656c72;
}

.about-plain-list span,
.about-work-copy > span {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-work-list {
  border-top: 0;
}

.about-work-list a {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid #eceeef;
  color: inherit;
  text-decoration: none;
}

.about-work-thumb {
  display: flex;
  width: 19rem;
  height: 16.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #eceeef;
  background: #f8f9fa;
}

.about-work-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.about-work-copy {
  display: block;
  min-width: 0;
}

.about-work-list a:hover strong {
  color: #3f6489;
}

.about-work-list strong {
  display: block;
  margin-bottom: 0.32rem;
  color: #4d7397;
  font-size: 1.08rem;
  font-weight: 700;
}

.about-work-copy > span {
  display: block;
  color: #656c72;
}

.about-timeline dt,
.about-timeline dd {
  margin: 0;
}

.about-timeline dt {
  color: #7a8187;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .layout--single .about-profile-overview {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-top: 0.9rem;
    margin-bottom: 2.5rem;
  }

  .layout--single .about-profile-photo {
    width: min(100%, 20.5rem);
    margin: 0 auto;
  }

  .layout--single .about-profile-side {
    display: block;
  }

  .layout--single .about-copy {
    width: 100%;
    font-size: 0.86rem;
  }

  .layout--single .about-copy .about-lead {
    font-size: 0.95rem;
  }

  .layout--single .about-section {
    margin-top: 2.7rem;
  }

  .about-plain-list li,
  .about-compact-list li,
  .about-timeline > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .about-work-list a {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-work-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1.15 / 1;
  }
}
