/* MACH-1 Site — Code Block Styles */

code,
kbd,
samp {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875em;
}

/* Inline code */
p code,
li code,
td code {
  background: #e8e2d4;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  color: #1a1a1a;
}

/* Block code */
pre {
  background: #f0ece0;
  border-left: 4px solid #8b2500;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
  line-height: 1.5;
}

pre code {
  background: transparent;
  padding: 0;
  font-size: 0.85rem;
  color: #1a1a1a;
}

/* Shell/bash blocks get subtle label */
pre.shell::before {
  content: "$ ";
  color: #8b2500;
  font-weight: bold;
  user-select: none;
}

/* Highlighted lines */
pre .hl {
  background: #d4c9b0;
  display: block;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
}

/* ASCII diagrams */
pre.ascii {
  border-left-color: #5a5a5a;
  background: #ede8de;
  font-size: 0.8rem;
}
