.post-container {
    padding : 10px;
    margin-top : 10px;
}

.post-container .single-post {
    
    background : white;
    border-radius : 8px;
    
}

.single-post .post-header {
    padding : 20px;
}

.post-header .post-category {
    background : var(--secondry-color);
    padding : 5px;
    font-weight  : bold;
    border-radius : 5px;
}
.featured-image {
    overflow: hidden;
    height: 500px;
}

.single-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* image crop ho kar perfect fit hogi */
    object-position: center; /* center se crop hogi */
}

.news-card .category-badge {
    background : var(--secondry-color);
    padding : 5px;
    font-weight : bold;
    border-radius : 5px;
    
}

.single-post .post-content {
    padding : 20px;
    word-wrap: break-word;
}

/* Main Content Layout - UPDATED */
       .post-content {
            padding: 30px;
            overflow: visible; /* Ensure no hiding of overflow */
            max-width: 100%;
        }
        
        .post-content img,
        .post-content iframe,
        .post-content table,
        .post-content video {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 20px auto;
        }
        
        .post-content pre,
        .post-content code {
            white-space: pre-wrap; /* Allow code to wrap */
            word-wrap: break-word;
            overflow-x: auto; /* Add horizontal scroll if needed */
            max-width: 100%;
        }
        
        /* Mobile specific fixes */
        @media (max-width: 768px) {
            .post-content {
                width: 100%;
                padding: 20px 15px;
                box-sizing: border-box;
            }
            
            .post-content p,
            .post-content li,
            .post-content blockquote {
                word-break: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
            }
            
            .post-content img {
                max-width: 100% !important;
                height: auto !important;
            }
            
            .post-content iframe,
            .post-content video {
                width: 100% !important;
                height: auto !important;
                aspect-ratio: 16/9;
            }
        }

/*Social media share icons style*/
.social-share {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    padding-bottom : 20px;
}

.social-share .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border : 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    color : black;
    background-color : white;
    
    
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor : pointer;
}






.related-article .featured-title {
    border-left : 5px solid var(--main-color);
    padding-left : 20px;
}

.related-article .news-card {
    margin-top : 20px;
    background : #f1f2f1;
    box-shadow : 0px 0px  6px black;
    border-radius : 20px;
}

.news-grid .news-card img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 200px; /* fix height set krni ho to */
    object-fit: cover; /* image ko crop kr k fit karega */
}

.related-article .news-card .news-content {
    padding : 10px;
    border-radius: 0 0 10px 10px;

}


blockquote {
    border-left: 4px solid red;
    padding: 20px;
    background-color: #e0e0e0;
    margin: 30px 0;
    font-style: italic;
}