/* Individual Blog Post Styles - Clean Version */

/* Blog Header - Improved */
.blog-header {
    margin: 30px 0 40px; /* Reduced margins */
    text-align: center;
    padding: 0 20px;
}

.blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.blog-title {
    font-size: 2.5rem; /* Reduced from 2.8rem */
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 800;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 1rem;
}

.blog-author {
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
}

.featured-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Reduced from 900px */
    margin: 0 auto 30px; /* Reduced bottom margin */
    max-height: 400px; /* Added max height */
}

.featured-image img {
    width: 100%;
    height: 350px; /* Reduced from 500px */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* Blog Content - Enhanced */
.blog-content {
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    padding: 0 20px;
}

.blog-content h2 {
    font-size: 1.9rem;
    margin: 50px 0 25px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.blog-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--text-color);
}

.blog-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 35px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin: 40px 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.blog-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.2;
}

.blog-content ul, .blog-content ol {
    margin: 25px 0;
    padding-left: 35px;
}

.blog-content li {
    margin-bottom: 12px;
    position: relative;
}

.blog-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
    padding: 0 20px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Social Share - Improved */
.social-share {
    text-align: center;
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.social-share p {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0.9;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-size: 1rem;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Blog Navigation */
.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 70px 0;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.nav-btn {
    padding: 14px 28px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    flex: 1;
    min-width: 160px;
    font-size: 1rem;
}

.nav-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-btn.back {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.nav-btn.back:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Related Blogs */
.related-blogs {
    margin-top: 80px;
    padding: 0 20px;
}

.related-blogs h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--text-color);
    position: relative;
}

.related-blogs h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* ... existing blog-single styles ... */

/* Media Queries for Blog Single Page */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .blog-header {
        margin: 20px 0 30px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.6rem;
    }
    
    .featured-image img {
        height: 200px;
    }
}