h1, h2, h3, h4, h5, h6 {
    font-family: Fira Sans, sans-serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    color: #333;
}

h2 {
    color: #8DCAEF;
    font-size: 1.75rem;
    text-decoration: none;
    border-bottom: 2px solid #8DCAEF;
    padding-bottom: 0.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    color: #444;
    margin-top: 2rem;
}

h4 {
    font-size: 1.25rem;
    color: #555;
}

p {
    font-family: Fira Sans, sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 1.25rem;
    color: #333;
}

pre, code {
    font-family: 'Fira Code', monospace;
    background: #1E1E1E;
    color: #C4E8EF;
    border-radius: 0.5rem;
    overflow-x: auto;
}

pre {
    padding: 1.5rem;
    margin: 1.5rem 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-left: 0.25rem solid var(--blue);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

code {
    background: rgba(0, 0, 0, 0.8);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    color: #C4E8EF;
    display: inline;
}

pre code {
    background: transparent;
    padding: 0;
    font-size: 0.95rem;
    display: block;
}

blockquote {
    border-left: 0.3rem solid #8DCAEF;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: #555;
    margin: 2rem 0;
    background-color: rgba(0,0,0,0.03);
    border-radius: 0 0.5rem 0.5rem 0;
}

ul, ol {
    padding-left: 1.5rem;
    margin: 1.25rem 0 1.5rem 0.5rem;
}

ul li, ol li {
    padding: 0.4rem 0;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
}

/* Spacing between adjacent lists */
ul + ul, ol + ol, ul + ol, ol + ul {
    margin-top: -0.5rem;
}

/* Add spacing for content following lists */
ul + p, ol + p, ul + h2, ol + h2, ul + h3, ol + h3 {
    margin-top: 1.5rem;
}


.post-content a { 
    color: #8DCAEF;
    text-decoration: none;
}

.post-content img {
    width: 50%;
    height: auto;
    transform: translateX(50%);
}

.post-content div[style*="text-align: center"] img {
    width: 100%;
    max-width: 100%;
    transform: none;
    display: block;
    margin: 0 auto;
}

.post-content div[style*="display: flex"][style*="align-items: center"] {
    gap: 10px !important;
}

.post-content div[style*="display: flex"] img {
    transform: none !important;
}


.post-content a:hover {
    text-decoration: underline;
}
