
.blog-post {
}

/* General post content styles */
.blog-post__content {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  font-size: 18px;
  color: #333;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-post__content svg {
  display: block;
  margin: 5% auto;
}

/* Headings */
.blog-post__content h1,
.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4 {
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.2;
  color: #222;
}

/* Paragraphs */
.blog-post__content p {
  margin-bottom: 1em;
}

/* Links */
.blog-post__content a {
  color: #0366d6;
  text-decoration: none;
}

.blog-post__content a:hover {
  text-decoration: underline;
}

/* Blockquotes */
.blog-post__content blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 4px solid #ccc;
  color: #666;
  font-style: italic;
  background: #f9f9f9;
}

/* Lists */
.blog-post__content ul,
.blog-post__content ol {
  padding-left: 2em;
  margin-bottom: 1em;
}

/* Code styles */
.blog-post__content code {
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 90%;
}

/* Code blocks */
.blog-post__content pre {
  color: #ccc;
  padding: 1em;
  overflow-x: auto;
  border-radius: 6px;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.9rem;
  margin-bottom: 1.5em;
  line-height: 1.4;
}

/* Highlight.js overrides for github-dark theme */
.hljs {
  background: transparent;
  color: inherit;
}

/* Tables */
.blog-post__content table {
  border-collapse: collapse;
  margin-bottom: 1em;
  width: 100%;
}

.blog-post__content th,
.blog-post__content td {
  border: 1px solid #ddd;
  padding: 0.5em 1em;
  text-align: left;
}

.blog-post__content th {
  background: #f0f0f0;
}

/* Horizontal rules */
.blog-post__content hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}

/* Images */
.blog-post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}


.post-container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; /* some side padding */
}


pre code.hljs.language-sh,
pre code.hljs.lang-sh {
    background-color: #2f2f2f; /* a bit lighter than github-dark */
    color: #f8f8f2; /* adjust text color if needed */
    padding: 0.5em 1em;
    border-radius: 0.4em;
    display: block;
}

.blog-motivation {
    background: #f8f9fa; 
    border-left: 3px solid #6c757d;
}
