/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500&display=swap');

/* Profile image - Option 1: CSS Background approach */
.profile-image-bg {
    width: 180px;
    height: 240px; /* Adjust based on your image aspect ratio */
    background-image: url('bit_output_4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Alternative: If you want to keep the img tag but centralize the path */
.profile-image img {
    content: url('bit_output_4.png');
}

/* Base styles */
body {
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;
    display: flex;
}

/* Sidebar styles */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    margin-bottom: 1rem;
    text-align: center;
}

.profile-image img {
    max-width: 180px;
    border-radius: 0px;
}

/* Main content styles */
.main-content {
    margin-left: 290px; /* sidebar width + padding */
    padding: 2rem;
    max-width: 700px;
}

/* Blog Details Layout - No Sidebar */
.blog-details {
    display: block;
}

.blog-details .main-content {
    margin-left: 0;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Blog Details Header */
.blog-details-header {
    margin-bottom: 1rem;
    text-align: left;
    padding-bottom: 2rem;
}

.blog-details-title {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-details-meta {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.blog-details-tags {
    margin-top: 1rem;
}

.blog-details-tags .blog-tag {
    display: inline-block;
    background-color: #222222;
    color: #b8d4d4;
    padding: 0.3rem 0.6rem;
    margin-right: 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    text-decoration: none;
}

/* Blog Details Content */
.blog-details-content {
    line-height: 1.7;
    font-size: 1rem;
}

.blog-details-content h1 {
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 3rem;
    font-size: 1.5rem;
}

.blog-details-content h2 {
    font-weight: 500;
    margin-bottom: 0.8rem;
    margin-top: 2.5rem;
    font-size: 1.3rem;
}

.blog-details-content h3 {
    font-weight: 400;
    margin-bottom: 0.6rem;
    margin-top: 2rem;
    color: #b8d4d4;
    font-size: 1.1rem;
}

.blog-details-content h4 {
    font-weight: 400;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: #cccccc;
    font-size: 1rem;
}

.blog-details-content p {
    margin-bottom: 1.5rem;
}

.blog-details-content ul,
.blog-details-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-details-content li {
    margin-bottom: 0.7rem;
}

.blog-details-content blockquote {
    border-left: 3px solid #b8d4d4;
    margin: 2rem 0;
    padding-left: 1.5rem;
    font-style: italic;
    color: #cccccc;
}

.blog-details-content code {
    background-color: #222222;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
    color: #b8d4d4;
}

.blog-details-content pre {
    background-color: #111111;
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 2rem 0;
    border-left: 3px solid #444444;
}

.blog-details-content pre code {
    background-color: transparent;
    padding: 0;
    color: #FFFFFF;
}

/* Navigation for blog details */
.blog-details-nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.blog-details-nav a {
    color: #b8d4d4;
    text-decoration: none;
    font-size: 0.9rem;
}

.blog-details-nav a:hover {
    text-decoration: underline;
}

/* Typography */
h1 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h2 {
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-weight: 400;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: #b8d4d4;
}

/* Layout sections */
.section {
    margin-bottom: 2rem;
}

/* Lists */
ul {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Links */
a {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.nav-links {
    margin-top: 0rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: -1rem;
}

.nav-links a {
    display: block;
    margin: 0;
}

/* Publication-specific styles */
.publication-item {
    margin-bottom: 1.2rem;
    border-left: 2px solid #444444;
    padding-left: 1rem;
}

.publication-title {
    font-weight: 500;
}

.publication-authors {
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.author-highlight {
    font-weight: 500;
    color: #b8d4d4;
}

.publication-venue {
    font-size: 0.9rem;
    font-style: italic;
    color: #cccccc;
}

.publication-links {
    margin-top: 0.3rem;
    font-size: 0.85rem;
}

.publication-links a {
    margin-right: 1rem;
    color: #b8d4d4;
}

/* Blog-specific styles */
.blog-post {
    margin-bottom: 2.5rem;
    border-left: 2px solid #444444;
    padding-left: 1rem;
}

.blog-title {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.blog-title a:hover {
    color: #b8d4d4;
    text-decoration: underline;
}

.blog-meta {
    font-size: 0.85rem;
    color: #cccccc;
    margin-bottom: 0.8rem;
}

.blog-excerpt {
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.blog-tags {
    margin-top: 0.5rem;
}

.blog-tag {
    display: inline-block;
    background-color: #222222;
    color: #b8d4d4;
    padding: 0.2rem 0.5rem;
    margin-right: 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    text-decoration: none;
}

/*
.blog-tag:hover {
    background-color: #333333;
}
*/

.read-more {
    color: #b8d4d4;
    font-size: 0.9rem;
    text-decoration: none;
}

/*
.read-more:hover {
    text-decoration: underline;
}
*/

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 1rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
    }
    
    .sidebar-top {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .profile-image {
        margin-bottom: -1rem;
    }
    
    .profile-image img {
        max-width: 150px; /* Slightly smaller for mobile */
    }
    
    h1 {
        margin-bottom: 0rem;
    }
    
    .nav-links {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        gap: -1rem;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0 1.5rem 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Blog details mobile responsiveness */
    .blog-details .main-content {
        padding: 1rem;
        margin: 0;
    }
    
    .blog-details-title {
        font-size: 1.5rem;
    }
    
    .blog-details-content h1 {
        font-size: 1.3rem;
    }
    
    .blog-details-content h2 {
        font-size: 1.2rem;
    }
    
    .blog-details-content h3 {
        font-size: 1.1rem;
    }
}