body {
    width: 60vw;
    max-width: 1500px;
    margin: auto;
    background-color: #ffffff;
    color: #222222;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

a {
    color: #0076ff;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.list {
  margin: 1rem 0;
}

.list ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.list li {
  margin: 0 0 0.25rem 0 !important;
  padding: 0 !important;
  line-height: 1.4;
  list-style-image: none !important;
}

.list a {
  text-decoration: underline;
}

.list a:hover {
  opacity: 0.7;
}
div.highlighter-rouge, 
pre.highlight, 
pre {
  background-color: #1e1e1e !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 1rem !important;
  margin: 1rem 0 !important;
  overflow-x: auto !important;
  box-shadow: none !important;
}

div.highlighter-rouge code, 
pre code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  color: #d4d4d4 !important;
  background: none !important;
  padding: 0 !important;
}

div.highlighter-rouge::-webkit-scrollbar,
pre::-webkit-scrollbar {
  height: 6px;
}

div.highlighter-rouge::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
  background: #1e1e1e;
}

div.highlighter-rouge::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Jekyll Rouge Syntax Highlighting --- */
.highlight pre { background: #f6f8fa; padding: 16px; border-radius: 6px; overflow: auto; }
.highlight .c { color: #6a737d; font-style: italic; } /* Comment */
.highlight .k { color: #d73a49; font-weight: bold; } /* Keyword */
.highlight .s { color: #032f62; } /* String */
.highlight .nt { color: #22863a; } /* Name.Tag */
.highlight .nv { color: #e36209; } /* Name.Variable */
.highlight .o { color: #d73a49; } /* Operator */
.highlight .m { color: #005cc5; } /* Number */
.highlight .na { color: #6f42c1; } /* Name.Attribute */
.highlight .nb { color: #e36209; } /* Name.Builtin */

