body {
  font-family: 'JetBrains Mono', 'Roboto Mono', 'SFMono-Regular', Consolas,
    'Liberation Mono', Menlo, monospace;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 20px;
  line-height: 1.8;
  font-size: 16px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 2rem 0 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}
h1 {
  font-size: 2.5em;
  margin: 1rem 0 2rem;
  border-bottom: 2px solid #eaecef;
  padding-bottom: 10px;
}
h2 {
  font-size: 2em;
  margin: 2.5rem 0 1.5rem;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 8px;
}
h3 {
  font-size: 1.25em;
  margin: 2rem 0 1rem;
}
h4 {
  font-size: 1em;
  margin: 1.5rem 0 0.8rem;
}
p {
  margin: 0 0 1.5rem;
  max-width: 85ch;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
li {
  margin: 1rem 0;
  padding-left: 1em;
  position: relative;
  line-height: 1.6;
}
li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0366d6;
}
a {
  color: {
    {
      config.project.website.themeColor
    }
  }
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: border-color 0.2s ease;
}
a:hover {
  border-bottom-color: {
    {
      config.project.website.themeColor
    }
  }
  text-decoration: none;
}
.note {
  background-color: #e7f3fe;
  border-left: 4px solid #007acc;
  padding: 15px;
  margin: 2.5rem 0;
  border-radius: 4px;
  font-size: 0.95em;
}
.license {
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #eee;
}
.stars {
  color: #4d88ff;
  font-weight: bold;
  display: inline-block;
  margin-right: 5px;
  font-size: 0.9em;
}
.language {
  color: #6a737d;
  font-size: 0.9em;
  display: inline-block;
  margin-right: 8px;
  margin-left: 3px;
  background-color: #f1f1f1;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}
header,
nav,
main,
footer {
  margin-bottom: 3rem;
  padding: 0 15px;
}
section {
  padding-bottom: 1rem;
}
section + section {
  border-top: 1px dashed #eee;
  padding-top: 1.5rem;
}
/* More compact TOC */
nav ul li {
  margin: 0.3rem 0;
  font-size: 0.95em;
  line-height: 1.4;
}
/* Nested TOC elements */
nav ul ul {
  margin: 0.3rem 0 0.3rem 0.8rem;
}
/* Style for item count in TOC */
nav ul li span {
  color: #666;
  font-size: 0.85em;
}
main ul li:hover {
  border-left-color: #007acc;
  background: #f5f9ff;
}
/* Styles for static menu */
.main-menu {
  margin-bottom: 1rem;
}
.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.main-menu li {
  margin: 0;
}
.main-menu a {
  color: #0366d6;
  text-decoration: none;
  font-weight: 500;
}
.main-menu a:hover {
  text-decoration: underline;
}
/* Styles for back to TOC link */
.back-to-toc {
  text-align: right;
  font-size: 0.85em;
  margin-top: 1rem;
}
.back-to-toc a {
  color: #0366d6;
  text-decoration: none;
}
.back-to-toc a:hover {
  text-decoration: underline;
}
/* Visually hidden (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Pages the archive adds: releases, categories and projects. */
.crumbs {
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
  color: #666;
}
.crumbs a {
  color: #666;
}
.meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0.25rem 0 1.5rem;
}
.meta span + span::before {
  content: " · ";
}
.entry {
  margin: 0 0 1.75rem;
}
.entry h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.entry p {
  margin: 0;
}
.tags {
  margin: 1.5rem 0;
  font-size: 0.85rem;
  color: #666;
}
.tags code {
  background: #eee;
  padding: 0.1em 0.4em;
  border-radius: 3px;
  margin-right: 0.3em;
}
.issues {
  list-style: none;
  padding: 0;
}
.issues li {
  margin: 0 0 0.6rem;
}
.issues .count {
  color: #666;
  font-size: 0.85rem;
}
.neighbours {
  border-top: 1px solid #e1e4e8;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

/* A phone has no room for the desktop margins or the large headings. */
@media (max-width: 600px) {
  body {
    padding: 0;
  }
  .container {
    padding: 24px 16px;
    border-radius: 0;
    box-shadow: none;
  }
  h1 {
    font-size: 1.8em;
    word-break: break-word;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.1em;
  }
}
