html {
  scroll-behavior: smooth;
}

body {
  --hl-color: #CC4B00;
  /* used in comments nav */
  --gray-color: #999;
}


.author {
  color: var(--hl-color);
  font-weight: bold;
}

.comments-wrapper {
  position: relative;
}

.comments-wrapper::before {
  content: '';
  position: absolute;
  left: .25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gray-color);
  z-index: 1;
}

article h1 a {
  color: var(--hl-color);
}

.comment code,
.comment pre code {
  font-family: monospace !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-size: inherit !important;
  display: inline !important;
  white-space: normal !important;
  line-height: inherit !important;
}

time {
  color: #999999;
  font-size: 14px;
  padding-left: .5rem;
  line-height: 16px;
  vertical-align: middle;
}

.comment {
  margin: 1rem;
  margin-left: 1.5rem;
  margin-right: 1rem;
  position: relative;

  p {
    margin: .5rem 0;
    line-height: 1.3rem;
  }
}

.comment a {
  color: #0274be;
  text-decoration: none;
}

.comment a:hover {
  text-decoration: underline;
}

.comment .next-comment-btn {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--gray-color);
  background: white;
  color: var(--gray-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;

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

  svg {
    width: 16px;
    height: 16px;
  }

  &:hover {
    background: var(--gray-color);
    color: white;
  }
}

footer svg {
  height: 13px;
}

.reply-to {
  color: #999;
  font-style: italic;
  font-size: 14px;
  margin: .25rem 0;
  padding-left: .5rem;
  border-left: 1px solid #ccc;

  svg {
    height: 13px;
  }

  a {
    &:hover {
      color: black;
    }
  }
}

footer {
  color: #999;
  display: flex;
  gap: 1rem;
}

footer .reply a {
  color: #999;
}


.comment.level-2 {
  padding-left: 2rem;
}

.comment.level-3 {
  padding-left: 4rem;
}

.comment.level-4 {
  padding-left: 6rem;
}

.instructions {
  margin: 1.5rem 0;
}

.instructions a {
  color: #6364ff;
  font-weight: bold;
  text-decoration: underline;
}

.set-server {
  margin-bottom: 1.5rem;
}
