/* Prism light theme — tuned to site palette.
   Targets the @11ty/eleventy-plugin-syntaxhighlight output. */

code[class*="language-"],
pre[class*="language-"] {
  color: #1f3550;
  background: none;
  font-family: var(--font-mono, monospace);
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  font-size: 0.92rem;
  line-height: 1.55;
  tab-size: 2;
  hyphens: none;
}

pre[class*="language-"] {
  padding: 1rem;
  margin: 0;
  overflow: auto;
  border-radius: 10px;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  background: #f3f6fb;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6b7a92;
  font-style: italic;
}
.token.punctuation {
  color: #4a5b75;
}
.token.namespace {
  opacity: 0.75;
}
.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #b53939;
}
.token.boolean,
.token.number {
  color: #c47a00;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #1f8a4c;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #0a4d8c;
}
.token.atrule,
.token.attr-value,
.token.keyword {
  color: #0a4d8c;
  font-weight: 600;
}
.token.function,
.token.class-name {
  color: #4a35c5;
}
.token.regex,
.token.important,
.token.variable {
  color: #e07a00;
}
.token.important,
.token.bold {
  font-weight: 700;
}
.token.italic {
  font-style: italic;
}

/* line highlighter markup the 11ty plugin sometimes inserts */
.line-numbers .line-numbers-rows {
  border-right-color: #d6e1ee;
}
.line-numbers-rows > span::before {
  color: #b8c8dd;
}
