/* xeek.dev theme, code.css: inline code and Pygments code cards with language labels */

/* Inline code */
.post-content code {
  font: 400 0.86em var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--text);
}

/* Code cards (Pygments blocks) */
.post-content .highlight {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin: 1.2em 0;
}

.post-content .highlight[data-lang]::before {
  content: attr(data-lang);
  position: absolute;
  top: 8px;
  right: 14px;
  font: 400 11px var(--font-mono);
  color: #4a5866;
}

.post-content .highlight pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font: 400 13.5px/1.7 var(--font-mono);
}

.post-content .highlight code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}
