.hljs {
    background: #282c34;
    color: #abb2bf;
    padding: 1em;
    border-radius: 0.3em;
    font-family: 'Fira Code', 'JetBrains Mono', Consolas, Menlo, monospace;
    font-size: 0.95em;
}

/* Core Rust Keywords */
.hljs-keyword {
    color: #c678dd;
}

/* Built-in types like i32, u64, etc. */
.hljs-built_in {
    color: #e5c07b;
}

.hljs-type {
    color: #e5c07b;
}

/* Strings */
.hljs-string {
    color: #98c379;
}

/* Numbers */
.hljs-number {
    color: #d19a66;
}

/* Literals like None, Some, true, false */
.hljs-literal {
    color: #56b6c2;
    font-style: italic;
}

/* Function titles */
.hljs-title,
.hljs-turbofish,
.hljs-function {
    color: #8aadf4;
}



/* Structs (CapitalCase names tagged by JS) */
.hljs-struct {
    color: #e5c07b;
    font-style: italic;
}

/* Traits (typically CapitalCase too) */
.hljs-trait {
    color: #e5c07b;
    font-style: italic;
    text-decoration: underline dotted;
}

/* Variables (let bindings, parameters) */
.hljs-variable {
    color: #e06c75;
}

/* Comments */
.hljs-comment {
    color: #5c6370;
    font-style: italic;
}

/* Punctuation */
.hljs-punctuation {
    color: #abb2bf;
}

.hljs-meta,
.hljs-global,
.hljs-macro {
    color: #d19a66;
}

pre[class^="language-"],
code[class^="language-"] {
    display: block;
    overflow-x: auto;
    white-space: pre;
    /* your custom styling */
}