/* ================================================
   Dracula Theme — Syntax Highlighting for Hugo
   Based on the Dracula color palette
   https://draculatheme.com/
   ================================================ */

/* Background and default text */
.highlight,
.highlight pre,
.highlight pre code {
  background-color: #282a36;
  color: #f8f8f2;
}

/* Line numbers */
.highlight .ln,
.highlight .lnt {
  color: #6272a4;
  padding-right: 0.75em;
  user-select: none;
}

/* Line highlight */
.highlight .hl {
  background-color: #44475a;
  display: block;
}

/* ---- Token Colors ---- */

/* Comments */
.highlight .c,    /* Comment */
.highlight .ch,   /* Comment.Hashbang */
.highlight .cm,   /* Comment.Multiline */
.highlight .c1,   /* Comment.Single */
.highlight .cs,   /* Comment.Special */
.highlight .cp {   /* Comment.Preproc */
  color: #6272a4;
  font-style: italic;
}

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

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

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

/* Names / Identifiers */
.highlight .n {    /* Name */
  color: #f8f8f2;
}

.highlight .na {   /* Name.Attribute */
  color: #50fa7b;
}

.highlight .nb {   /* Name.Builtin */
  color: #8be9fd;
  font-style: italic;
}

.highlight .nc {   /* Name.Class */
  color: #8be9fd;
}

.highlight .nd {   /* Name.Decorator */
  color: #50fa7b;
}

.highlight .ne {   /* Name.Exception */
  color: #8be9fd;
}

.highlight .nf,   /* Name.Function */
.highlight .fm {   /* Name.Function.Magic */
  color: #50fa7b;
}

.highlight .ni {   /* Name.Entity */
  color: #f8f8f2;
}

.highlight .nl {   /* Name.Label */
  color: #8be9fd;
  font-style: italic;
}

.highlight .nn {   /* Name.Namespace */
  color: #f8f8f2;
}

.highlight .nx {   /* Name.Other */
  color: #50fa7b;
}

.highlight .nt {   /* Name.Tag */
  color: #ff79c6;
}

.highlight .nv,   /* Name.Variable */
.highlight .vc,   /* Name.Variable.Class */
.highlight .vg,   /* Name.Variable.Global */
.highlight .vi,   /* Name.Variable.Instance */
.highlight .vm {   /* Name.Variable.Magic */
  color: #8be9fd;
}

.highlight .bp {   /* Name.Builtin.Pseudo */
  color: #8be9fd;
  font-style: italic;
}

/* Operators */
.highlight .o,    /* Operator */
.highlight .ow {   /* Operator.Word */
  color: #ff79c6;
}

/* Punctuation */
.highlight .p {    /* Punctuation */
  color: #f8f8f2;
}

/* Generic tokens */
.highlight .gd {   /* Generic.Deleted */
  color: #ff5555;
}

.highlight .ge {   /* Generic.Emph */
  font-style: italic;
}

.highlight .gi {   /* Generic.Inserted */
  color: #50fa7b;
}

.highlight .gs {   /* Generic.Strong */
  font-weight: bold;
}

.highlight .gu {   /* Generic.Subheading */
  color: #6272a4;
  font-weight: bold;
}

.highlight .go {   /* Generic.Output */
  color: #44475a;
}

.highlight .gp {   /* Generic.Prompt */
  color: #6272a4;
}

.highlight .gt {   /* Generic.Traceback */
  color: #ff5555;
}

.highlight .gh {   /* Generic.Heading */
  color: #bd93f9;
  font-weight: bold;
}

/* Errors */
.highlight .err { /* Error */
  color: #ff5555;
}

/* Whitespace */
.highlight .w {    /* Whitespace */
  color: #f8f8f2;
}
