.blog-post-container {
    max-width: 800px;
    margin: 6rem auto 4rem;
    padding: 0 2rem;
}

.blog-post {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Post Header */
.post-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.post-title {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.post-meta {
    color: #666;
    font-size: 0.95rem;
}

.post-tags {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background: rgba(110, 86, 207, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.tag:hover {
    background: rgba(110, 86, 207, 0.15);
}

/* Post Content */
.post-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.post-content p {
    margin: 1.5rem 0;
}

.post-content h2 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.3px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--primary-color);
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

/* Quotes */
.question-quote {
    background-color: #f0f7ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}

.question-quote:before {
    content: """;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.question-quote-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin: 0;
}

/* Highlight box */
.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Note box */
.note-box {
    background-color: #fff8e6;
    border: 1px solid #ffd166;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.note-box:before {
    content: "Note";
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #fff;
    padding: 0 10px;
    color: #ff9f1c;
    font-weight: bold;
}

/* Lists */
.fancy-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.fancy-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.fancy-list li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* Math highlighting */
.math-highlight {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

/* Images */
.post-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Post Footer */
.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: rgba(110, 86, 207, 0.05);
}

.nav-link:hover {
    background-color: rgba(110, 86, 207, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    margin: 0 0.5rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 0 1.5rem;
        margin-top: 5rem;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content h2 {
        font-size: 1.6rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .blog-post-container {
        margin-top: 4rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-link {
        justify-content: center;
    }
} 