* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    color: #fafafa;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
}

.left-side {
    background-color: #1a1a1a;
    padding: 30px 20px;
    min-height: 250px;
}

.right-side {
    background-color: #fafafa;
    color: #1a1a1a;
    flex: 1;
    padding: 20px;
}

.left-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.right-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.nav-link {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fafafa;
}

.separator {
    color: #555;
}

.current {
    color: #fafafa;
}

/* Post Header */
.post-header {
    max-width: 800px;
}

.post-meta-top {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-category {
    font-size: 0.7rem;
    letter-spacing: 0.15rem;
    color: #888;
    text-transform: uppercase;
    background-color: rgba(250, 250, 250, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.post-meta-bottom {
    display: flex;
    align-items: center;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

/* Post Content */
.post-content {
    margin-bottom: 3rem;
}

.featured-image {
    margin-bottom: 2rem;
}

.featured-image img {
    width: 100%;
    border-radius: 8px;
    max-height: 500px;
    object-fit: cover;
}

.image-caption {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Content Body Styling */
.content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.content-body h2 {
    font-size: 1.8rem;
}

.content-body h3 {
    font-size: 1.4rem;
}

.content-body p {
    margin-bottom: 1.5rem;
}

.content-body ul,
.content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.content-body blockquote {
    border-left: 4px solid #1a1a1a;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.content-body pre {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.content-body code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.content-body pre code {
    background-color: transparent;
    padding: 0;
}

.content-body a {
    color: #1a1a1a;
    text-decoration: underline;
}

.content-body a:hover {
    color: #000;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Tags */
.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.tags-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    color: #666;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background-color: #1a1a1a;
    color: #fafafa;
}

/* Author Bio */
.author-bio {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.bio-avatar,
.bio-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.bio-avatar-placeholder {
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fafafa;
    font-size: 1.5rem;
}

.bio-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bio-title {
    color: #666;
    font-size: 0.9rem;
}

.bio-text {
    color: #555;
    line-height: 1.6;
}

/* Share Section */
.share-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.share-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.share-btn:hover {
    background-color: #1a1a1a;
    color: #fafafa;
    border-color: #1a1a1a;
}

/* Comments Section */
.comments-section {
    margin-bottom: 3rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-count {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Comment Form */
.comment-form {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #1a1a1a;
    color: #fafafa;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.submit-btn:hover {
    background-color: #2a2a2a;
    transform: translateY(-2px);
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.comment-header {
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
}

.comment-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.comment-date {
    font-size: 0.85rem;
    color: #999;
}

.comment-body {
    color: #555;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e5e5;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 1.25rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: #333;
}

.related-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.related-date {
    font-size: 0.8rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .left-side {
        padding: 20px 15px;
        min-height: auto;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .right-content {
        padding: 1.5rem;
    }

    .content-body {
        font-size: 1rem;
    }

    .author-bio {
        padding: 1.5rem;
    }

    .bio-header {
        flex-direction: column;
        text-align: center;
    }

    .share-buttons {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .comment-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.5rem;
    }

    .breadcrumb-nav {
        font-size: 0.8rem;
    }

    .post-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .share-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .comment {
        padding: 1rem;
    }

    .related-content {
        padding: 1rem;
    }
}
/* Add to your detail.css */
.content-body {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.content-body h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.content-body h3 {
    font-size: 1.25rem;
}

.content-body code {
    background-color: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #e53e3e;
}

.content-body pre {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.content-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.content-body ul,
.content-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-body li {
    margin: 0.5rem 0;
}

.content-body blockquote {
    border-left: 4px solid #3182ce;
    background-color: #f7fafc;
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
}

.content-body strong {
    font-weight: 600;
    color: #2d3748;
}

.content-body p {
    margin: 1rem 0;
}