﻿.post-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

.post-content {
    flex: 0 0 65%;
}

.post-feature-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.post-title {
    margin: 0 0 12px 0;
    color: #111;
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Dharma Gothic', sans-serif;
    line-height: 1;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.post-author {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.post-date {
    font-size: 0.875rem;
    color: #999;
}

.post-meta::before {
    display: none;
}

.post-body {
    font-size: 1.125rem;
    color: #333;
    line-height: 1.7;
}

    .post-body p:first-of-type {
        margin-top: 0;
        font-size: 1.25rem;
        color: #444;
    }

    .post-body p {
        margin-bottom: 1.5em;
    }

    .post-body h2 {
        font-family: 'Dharma Gothic', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        margin: 2em 0 0.75em 0;
        color: #111;
        letter-spacing: 0.01em;
    }

    .post-body h3 {
        font-family: 'Dharma Gothic', sans-serif;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 1.75em 0 0.5em 0;
        color: #111;
    }

    .post-body img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 2em 0;
        border-radius: 4px;
        object-fit: contain;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .post-body video {
        width: 100%;
        height: auto;
        max-width: 800px;
        display: block;
        margin: 2em auto;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border-radius: 4px;
    }

    .post-body blockquote {
        margin: 2em 0;
        padding: 1.25em 1.5em;
        border-left: 4px solid #680024;
        background: #f9f9f9;
        font-style: italic;
        color: #555;
    }

    .post-body a {
        color: #680024;
        text-decoration: none;
        border-bottom: 1px solid #680024;
        transition: opacity 0.2s;
    }

        .post-body a:hover {
            opacity: 0.7;
        }

/* Sidebar */
.post-sidebar {
    flex: 0 0 30%;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.sidebar-section {
    margin-bottom: 40px;
}

.post-sidebar h3 {
    color: #111;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Dharma Gothic', sans-serif;
    line-height: 1;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #680024;
}

/* Related posts */
.related-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .related-posts li {
        margin: 0;
    }

        .related-posts li a {
            text-decoration: none;
            color: inherit;
            display: block;
            transition: transform 0.2s;
            border-radius: 4px;
            overflow: hidden;
        }

            .related-posts li a:hover {
                transform: translateX(4px);
            }

                .related-posts li a:hover .related-post-title {
                    color: #680024;
                }

        .related-posts li img {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 8px;
        }

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    transition: color 0.2s;
}

.related-post-excerpt {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .post-container {
        flex-direction: column;
        padding: 30px 20px;
    }

    .post-content {
        flex: 1;
    }

    .post-sidebar {
        position: static;
        margin-top: 60px;
        padding-top: 40px;
        border-top: 1px solid #e5e5e5;
    }

    .post-title {
        font-size: 2.5rem;
    }

    .post-feature-image {
        height: 300px;
    }
}
