/* Single Post Styles */

/* Post Header */
.post-header {
    min-height: 50vh;
    padding: 150px 0 60px;
    background-color: #2B2B2B;
    color: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.post-header .container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.post-header .featured-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}


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

.post-header .featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(43,43,43,0.4), rgba(43,43,43,0.8));
}

.post-header .post-meta {
    margin-bottom: 20px;
}

.post-header .categories {
    margin-bottom: 10px;
}

.post-header .category {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    border-radius: 20px;
    font-size: 0.875rem;
    background-color: #65A143;
    color: #fff;
    text-decoration: none;
}

.post-header .published {
    font-size: 0.875rem;
    opacity: 0.8;
}

.post-header h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 0;
    max-width: 800px;
}

/* Post Content */
.post-content {
    padding: 60px 0;
}

.post-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-content .content {
    font-size: 1.125rem;
    line-height: 1.7;
}

.post-content .content > *:first-child {
    margin-top: 0;
}

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

.post-content h2 {
    font-size: 2rem;
    margin: 2em 0 1em;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 1.5em 0 1em;
}

.post-content p {
    margin-bottom: 1.5em;
}

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

.post-content blockquote {
    margin: 2em 0;
    padding: 1em 2em;
    border-left: 4px solid #65A143;
    background-color: #F4F3E8;
    font-style: italic;
}

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

.post-content .container {
    max-width: 1024px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .post-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .post-header {
        min-height: 40vh;
        padding: 120px 0 40px;
    }

    .post-header h1 {
        font-size: 2.5rem;
    }

    .post-content {
        padding: 40px 0;
    }

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

    .post-content h2 {
        font-size: 1.75rem;
    }

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

@media (max-width: 480px) {
    .post-header {
        padding: 100px 0 30px;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-header .category {
        padding: 4px 12px;
        font-size: 0.8125rem;
    }

    .post-content blockquote {
        padding: 1em;
    }
} 