.header-logo {
    margin-left: auto;
    margin-right: 0;
    display: block;
    height: 60px; /* Adjust as needed */
}

.blog-posts {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(39, 136, 204, 0.05);
    padding: 2rem 1.5rem;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.code {
    background: #fff0f0;
    color: #e03e2f;
    padding: 0.2em 0.4em;
    border-radius: 0.3em;
    font-size: 0.98em;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    word-break: break-word;
    white-space: normal;
    overflow-x: visible;
    box-shadow: 0 1px 3px rgba(224, 62, 47, 0.07);
    display: inline;
    vertical-align: baseline;
}

.codehilite .language-bash {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 0.5em;
    padding: 1em;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 1em;
    overflow-x: auto;
    box-shadow: 0 1px 6px rgba(39, 136, 204, 0.07);
    display: block;
    margin: 1.2em 0;
    text-align: left;
}

.codehilite .language-bash .c  { color: #6a9955; }   /* Comment */
.codehilite .language-bash .k  { color: #569cd6; }   /* Keyword */
.codehilite .language-bash .s  { color: #ce9178; }   /* String */
.codehilite .language-bash .nv { color: #9cdcfe; }   /* Variable */
.codehilite .language-bash .o  { color: #d4d4d4; }   /* Operator */
.codehilite .language-bash .nb { color: #b5cea8; }   /* Builtin */
.codehilite .language-bash .m  { color: #b5cea8; }   /* Number */

/* Notion/Blog Content Enhancements */
.blog-posts h1 {
    font-size: 2.2rem;
    margin-top: 2.2rem;
    margin-bottom: 1.2rem;
    color: #2788cc;
    font-weight: 700;
    text-align: left;
}
.blog-posts h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2788cc;
    font-weight: 600;
    text-align: left;
}
.blog-posts h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    color: #22455e;
    font-weight: 600;
    text-align: left;
}
.blog-posts p {
    font-size: 1.13rem;
    color: #0d1543;
    line-height: 1.8;
    margin-bottom: 1.1rem;
    text-align: left;
}
.blog-posts ul, .blog-posts ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
    text-align: left;
}
.blog-posts li {
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    line-height: 1.7;
}
.blog-posts aside {
    display: block;
    background: #f5faff;
    border-left: 5px solid #2788cc;
    border-radius: 0.5rem;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
    color: #22455e;
    font-size: 1.05rem;
    font-style: italic;
    box-shadow: 0 1px 6px rgba(39, 136, 204, 0.07);
}
.blog-posts code {
    background: #e0eaf6;
    color: #22455e;
    padding: 0.2em 0.4em;
    border-radius: 0.3em;
    font-size: 0.98em;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
}
.blog-posts pre {
    background: #f5faff;
    color: #22455e;
    border-radius: 0.5em;
    padding: 1em;
    margin: 1.2em 0;
    font-size: 0.98em;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    overflow-x: auto;
    box-shadow: 0 1px 6px rgba(39, 136, 204, 0.07);
    text-align: left;
}
.blog-posts strong {
    color: #2788cc;
    font-weight: 700;
}
.blog-posts em {
    color: #22455e;
    font-style: italic;
}
.blog-posts a {
    color: #2788cc;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.15s;
}
.blog-posts a:hover {
    color: #22455e;
    text-decoration: none;
}
.blog-posts hr {
    border: none;
    border-top: 1px solid #e0eaf6;
    margin: 2rem 0;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #faf9f6 0%, #2788cc 100%);
    color: #0d1543;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.blog-header {
    background: #0d1543;
    color: #faf9f6;
    box-shadow: 0 2px 8px rgba(13, 21, 67, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    height: 70px;
    display: flex;
    align-items: center;
}

.blog-header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
    justify-content: flex-start;
    height: 70px;
}

.back-btn {
    background: none;
    border: none;
    color: #faf9f6;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.18s;
    margin-right: 1.5rem;
}
.back-btn:hover, .back-btn:focus {
    background: rgba(39, 136, 204, 0.18);
    outline: none;
}

.blog-header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #faf9f6;
    margin-left: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
    display: block;
}

main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    margin-top: 70px; /* Height of header */
    margin-bottom: 70px; /* Height of footer */
    overflow-y: auto;
    width: 100%;
    height: auto;
}

.blog-posts {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(39, 136, 204, 0.05);
    padding: 2rem 1.5rem;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.blog-iframe {
    width: 100%;
    min-height: 200px;
    border: none;
    margin-top: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 6px rgba(39, 136, 204, 0.07);
}

.blog-posts h1, .blog-posts h2 {
    color: #2788cc;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-posts p {
    font-size: 1.15rem;
    color: #0d1543;
    line-height: 1.7;
}

/* Footer Styles */
.blog-footer {
    background: #0d1543;
    color: #faf9f6;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 8px rgba(13, 21, 67, 0.08);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 600px) {
    .blog-header-inner {
        padding: 0 0.7rem;
        height: 60px;
    }
    .blog-header-title {
        font-size: 1.1rem;
    }
    main {
        padding: 1.5rem 0.5rem;
        margin-top: 70px;
    }
    .blog-posts {
        padding: 1rem 0.5rem;
        max-width: 100vw;
        width: 98vw;
    }
    .blog-posts h1, .blog-posts h2 {
        font-size: 1.3rem;
    }
}
