/* Single Post Styles - Add these to your style.css */

/* Post Hero - Smaller version of main hero */
.post-hero {
    position: relative;
    height: 40vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center;
}

/* Back to Home Button */
.back-to-home {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 20;
}

.back-to-home:hover {
    background-color: rgba(233, 30, 99, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.back-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    transform: rotate(-45deg);
    margin-right: 8px;
}

.post-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 10%;
    color: #fff;
}

.post-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #e0e0e0;
    font-size: 1rem;
}

.post-date, .post-categories {
    display: flex;
    align-items: center;
}

.post-categories a {
    color: #ff69b4;
    text-decoration: none;
    transition: color 0.3s;
}

.post-categories a:hover {
    color: #e91e63;
    text-decoration: underline;
}

/* Post Container */
.single-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Post Content */
.post-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 50px;
}

.post-featured-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
}

.post-featured-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.post-featured-image img:hover {
    transform: scale(1.03);
}

.post-body {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2, 
.post-body h3, 
.post-body h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.post-body a {
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s;
}

.post-body a:hover {
    color: #ff69b4;
    text-decoration: underline;
}

.post-tags {
    padding: 0 40px 20px;
    color: #666;
}

.tags-title {
    font-weight: bold;
}

.post-tags a {
    display: inline-block;
    margin-right: 8px;
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s;
}

.post-tags a:hover {
    color: #ff69b4;
    text-decoration: underline;
}

/* CTA Button */
.post-cta {
    padding: 0 40px 40px;
    text-align: center;
}

.post-cta .btn {
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.related-post-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #e91e63;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: #ff69b4;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .post-hero h1 {
        font-size: 2.4rem;
    }
    
    .post-body {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .post-hero {
        height: 35vh;
    }
    
    .post-hero h1 {
        font-size: 2rem;
    }
    
    .post-body {
        padding: 25px;
        font-size: 1rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .post-hero {
        height: 30vh;
    }
    
    .post-hero h1 {
        font-size: 1.7rem;
    }
    
    .post-featured-image {
        height: 200px;
    }
    
    .post-body {
        padding: 20px;
    }
    
    .post-cta .btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}