body {
    font-family: Times, serif;
    font-size: 18px;
    line-height: 1.5;
    color: #222;
    background: #fff;
    max-width: 650px;
    margin: 40px auto;
    padding: 0 20px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
    position: relative;
}

h1 {
    font-size: 2.5em;
    margin: 0;
    font-weight: normal;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #222;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.subtitle {
    font-style: italic;
    font-size: 1.1em;
    color: #666;
    text-align: center;
    margin: 20px 0 0 0;
}

.about-section {
    margin: 40px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.sections {
    margin: 40px 0;
}

.sections p {
    font-weight: bold;
    margin-bottom: 15px;
}

.sections ul {
    list-style: none;
    padding: 0;
}

.sections li {
    margin: 10px 0;
    font-size: 1.1em;
}

.sections a {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
}

.sections a:hover {
    color: #004499;
}

.content {
    margin-top: 40px;
}

.section {
    margin: 30px 0;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.section p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.section ul {
    list-style: disc;
    margin-left: 10px;
}

.section li {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section a {
    color: #0066cc;
    text-decoration: underline;
}

.section a:hover {
    color: #004499;
}

.article-date {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ccc;
    text-align: center;
    color: #666;
}

/* Back navigation styles */
.back-nav {
    position: absolute;
    bottom: 5px;
    left: 0;
    font-size: 0.9em;
}

.back-nav a {
    color: #222;
    text-decoration: none;
    font-weight: normal;
}

.back-nav a:hover {
    text-decoration: underline;
}

/* Blog article styles */
.blog-article {
    max-width: 100%;
    margin: 0 auto;
}

.blog-article h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #222;
    font-weight: normal;
}

/* Article header class - for article titles */
.article-header {
    font-size: 1.4em;
    font-weight: normal;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: Times, serif;
}

.blog-article .article-date {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 30px;
    display: block;
}

.article-content {
    font-size: 1.1em;
    line-height: 1.6;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h4 {
    font-size: 1.2em;
    font-weight: bold;
    color: #222;
    margin: 25px 0 15px 0;
    font-family: Times, serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .back-nav {
        position: static;
        margin-bottom: 10px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .profile-pic {
        width: 100px;
        height: 100px;
    }
}

.article-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.article-image {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    object-fit: contain;
}

/* Code block styling */
.article-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 16px 0;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.4;
}

.article-content code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85em;
    color: #333;
}

.article-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
}