/* Man page aesthetic for blog section */
.manpage {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.manpage-header,
.manpage-footer {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.manpage-footer {
  border-bottom: none;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.man-section {
  margin: 1.5rem 0;
}

.man-section h2 {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.man-section p,
.man-content p {
  margin-left: 2rem;
  margin-bottom: 0.75rem;
}

.man-content h3 {
  margin-left: 2rem;
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.man-content ul,
.man-content ol {
  margin-left: 4rem;
  margin-bottom: 0.75rem;
}

.man-content pre {
  margin-left: 2rem;
  padding: 0.75rem;
  background: var(--border);
  overflow-x: auto;
  margin-bottom: 0.75rem;
}

.man-content code {
  background: var(--border);
  padding: 0.1rem 0.3rem;
}

.man-content blockquote {
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  color: var(--muted);
}

.man-content img {
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0 0.5rem 2rem;
}

.man-table {
  margin-left: 2rem;
  border-collapse: collapse;
  width: calc(100% - 2rem);
}

.man-table td {
  padding: 0.3rem 0.75rem 0.3rem 0;
  vertical-align: top;
}

.man-table .man-date {
  white-space: nowrap;
  color: var(--muted);
  width: 7rem;
}

.man-table a {
  color: var(--text);
  text-decoration: none;
}

.man-table a:hover {
  text-decoration: underline;
}
