.post-container {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.blog-post {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
}

.post-header {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.post-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.post-meta {
    font-family: 'Lora', serif;
    font-size: 16px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date, .post-author {
    display: inline-block;
}

.post-content {
    padding: 60px;
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
}

/* List styles */
.post-content ul,
.post-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content li:last-child {
    margin-bottom: 0;
}

/* For nested lists */
.post-content ul ul {
    margin: 0.5em 0;
}

/* Error state */
.error {
    padding: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .post-header {
        height: 300px;
    }

    .post-title {
        font-size: 32px;
    }

    .post-content {
        padding: 30px;
        font-size: 16px;
    }
}