/* Syntax Highlighting - Everforest-inspired */
.hljs {
    /* Background/Padding handled by pre in layout.css to prevent inline rendering artifacts */
    background: transparent;
    color: var(--text-color, #d3c6aa);
    padding: 0;
}

.hljs-comment,
.hljs-quote {
    color: #859289;
    font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in {
    color: #e67e80;
}

.hljs-string,
.hljs-attr {
    color: #a7c080;
}

.hljs-number,
.hljs-literal {
    color: #d699b6;
}

.hljs-function,
.hljs-title {
    color: #7fbbb3;
}

.hljs-variable,
.hljs-template-variable {
    color: #e69875;
}

.hljs-type,
.hljs-class .hljs-title {
    color: #dbbc7f;
}

.hljs-meta {
    color: #83c092;
}

.hljs-symbol,
.hljs-bullet {
    color: #e69875;
}

.hljs-addition {
    color: #a7c080;
    background-color: rgba(167, 192, 128, 0.1);
}

.hljs-deletion {
    color: #e67e80;
    background-color: rgba(230, 126, 128, 0.1);
}

/* Remove any strikethrough from code */
pre code * {
    text-decoration: none !important;
}

/* Anchor links */
.content h1 a,
.content h2 a,
.content h3 a,
.content h4 a,
.content h5 a,
.content h6 a {
    color: inherit;
    text-decoration: none;
}

.content h1 a:hover,
.content h2 a:hover,
.content h3 a:hover,
.content h4 a:hover,
.content h5 a:hover,
.content h6 a:hover {
    text-decoration: underline;
}