body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.navbar-custom {
  min-height: 36px;
}

.navbar-custom .navbar-brand {
  height: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 20px;
}

.navbar-custom .navbar-nav > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar-custom .navbar-toggle {
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 7px 8px;
}

@media (min-width: 768px) {
  .navbar-custom {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.intro-header.big-img {
  height: min(21.28vw, 200px);
  min-height: 0;
  padding: 0;
  margin-top: 36px;
  background-color: #20458f;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  background-size: contain;
  -o-background-size: contain;
}

.intro-header.big-img .page-heading {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.giscus-comments {
  margin-top: 2rem;
}

.archived-comments {
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.archived-comments summary {
  cursor: pointer;
  font-weight: 700;
}

.archived-comments-note {
  margin: 0.75rem 0;
  color: #667085;
  font-size: 0.9em;
}

.archived-comments-list {
  padding-left: 1.5rem;
}

.archived-comment {
  margin: 1rem 0;
}

.archived-comment article {
  padding: 1rem;
  border-radius: 4px;
  background-color: #f2f2f2;
  color: #333;
}

.archived-comment header {
  margin-bottom: 0.4rem;
  color: #667085;
  font-size: 0.9em;
}

.archived-comment header strong {
  color: #404040;
}

.archived-comment-content {
  overflow-wrap: anywhere;
}

.archived-comment-content p:last-child {
  margin-bottom: 0;
}

.archived-comment-replies {
  margin-top: 0.65rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
  list-style: none;
}

.blog-post img,
.post-entry img,
.blog-post video,
.post-entry video,
.blog-post iframe,
.post-entry iframe {
  max-width: 100%;
}

.blog-post img,
.post-entry img {
  height: auto;
}

.about-photo {
  float: left;
  width: min(300px, 45%);
  margin: 0 1.75em 1.5em 0;
  border-radius: 4px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.5em 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-caption {
  width: max-content;
  max-width: 100%;
}

.wp-caption.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.wp-caption.alignright {
  float: right;
  margin-left: 1.5rem;
}

.wp-caption img {
  display: block;
}

.wp-caption-text {
  color: #667085;
  font-size: 0.9em;
  line-height: 1.5;
  margin-top: 0.4em;
}

.blog-post pre,
.post-entry pre {
  overflow-x: auto;
}

.blog-post .gist .blob-code-inner {
  font-size: 14px;
}

.blog-post .gist .blob-code,
.blog-post .gist .blob-num {
  line-height: 1.5;
}

.blog-post .gist .gist-data {
  overflow-x: auto;
}

@media (max-width: 600px) {
  .about-photo {
    float: none;
    display: block;
    width: min(100%, 240px);
    margin: 0 auto 1.5em;
  }

  .blog-post .gist .blob-code-inner {
    font-size: 13px;
  }
}
