/* Rouge syntax highlighting - GitHub style */
.highlight {
  background: #f6f8fa;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  margin: 1em 0;
}

.highlight pre {
  margin: 0;
  padding: 0;
  background: transparent;
}

.highlight code {
  background: transparent;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 14px;
  line-height: 1.5;
}

/* Syntax highlighting colors */
.highlight .c { color: #6a737d; font-style: italic; } /* Comment */
.highlight .c1 { color: #6a737d; font-style: italic; } /* Comment.Single */
.highlight .cm { color: #6a737d; font-style: italic; } /* Comment.Multiline */
.highlight .cp { color: #6a737d; font-weight: bold; } /* Comment.Preproc */
.highlight .cs { color: #6a737d; font-weight: bold; font-style: italic; } /* Comment.Special */

.highlight .k { color: #d73a49; } /* Keyword */
.highlight .kc { color: #d73a49; } /* Keyword.Constant */
.highlight .kd { color: #d73a49; } /* Keyword.Declaration */
.highlight .kn { color: #d73a49; } /* Keyword.Namespace */
.highlight .kp { color: #d73a49; } /* Keyword.Pseudo */
.highlight .kr { color: #d73a49; } /* Keyword.Reserved */
.highlight .kt { color: #d73a49; } /* Keyword.Type */

.highlight .s { color: #032f62; } /* String */
.highlight .s1 { color: #032f62; } /* String.Single */
.highlight .s2 { color: #032f62; } /* String.Double */
.highlight .sa { color: #032f62; } /* String.Affix */
.highlight .sb { color: #032f62; } /* String.Backtick */
.highlight .sc { color: #032f62; } /* String.Char */
.highlight .sd { color: #032f62; } /* String.Doc */
.highlight .se { color: #032f62; } /* String.Escape */
.highlight .sh { color: #032f62; } /* String.Heredoc */
.highlight .si { color: #032f62; } /* String.Interpol */
.highlight .sr { color: #032f62; } /* String.Regex */
.highlight .ss { color: #032f62; } /* String.Symbol */
.highlight .sx { color: #032f62; } /* String.Other */

.highlight .n { color: #24292e; } /* Name */
.highlight .na { color: #6f42c1; } /* Name.Attribute */
.highlight .nb { color: #005cc5; } /* Name.Builtin */
.highlight .nc { color: #6f42c1; } /* Name.Class */
.highlight .nd { color: #6f42c1; } /* Name.Decorator */
.highlight .nf { color: #6f42c1; } /* Name.Function */
.highlight .ni { color: #24292e; } /* Name.Entity */
.highlight .nl { color: #6f42c1; } /* Name.Label */
.highlight .nn { color: #24292e; } /* Name.Namespace */
.highlight .no { color: #005cc5; } /* Name.Constant */
.highlight .nt { color: #22863a; } /* Name.Tag */
.highlight .nv { color: #e36209; } /* Name.Variable */
.highlight .bp { color: #005cc5; } /* Name.Builtin.Pseudo */
.highlight .vc { color: #e36209; } /* Name.Variable.Class */
.highlight .vg { color: #e36209; } /* Name.Variable.Global */
.highlight .vi { color: #e36209; } /* Name.Variable.Instance */
.highlight .vm { color: #e36209; } /* Name.Variable.Magic */

.highlight .o { color: #d73a49; } /* Operator */
.highlight .ow { color: #d73a49; font-weight: bold; } /* Operator.Word */

.highlight .m { color: #005cc5; } /* Number */
.highlight .mi { color: #005cc5; } /* Number.Integer */
.highlight .mf { color: #005cc5; } /* Number.Float */
.highlight .mh { color: #005cc5; } /* Number.Hex */
.highlight .mo { color: #005cc5; } /* Number.Oct */
.highlight .mb { color: #005cc5; } /* Number.Bin */
.highlight .il { color: #005cc5; } /* Number.Integer.Long */

.highlight .p { color: #24292e; } /* Punctuation */
.highlight .w { color: #24292e; } /* Whitespace */

.highlight .err { color: #cb2431; background-color: #ffeef0; } /* Error */
.highlight .g { color: #24292e; } /* Generic */
.highlight .gd { color: #cb2431; background-color: #ffeef0; } /* Generic.Deleted */
.highlight .ge { font-style: italic; } /* Generic.Emph */
.highlight .gi { color: #22863a; background-color: #f0fff4; } /* Generic.Inserted */
.highlight .gs { font-weight: bold; } /* Generic.Strong */
.highlight .gu { color: #6a737d; font-weight: bold; } /* Generic.Subheading */
.highlight .go { color: #24292e; } /* Generic.Output */
.highlight .gp { color: #005cc5; } /* Generic.Prompt */
.highlight .gt { color: #cb2431; } /* Generic.Traceback */

/* Language-specific code block styling */
.language-python .highlight,
.language-java .highlight,
.language-javascript .highlight,
.language-cpp .highlight,
.language-c .highlight {
  background: #f6f8fa;
}
