/* 1. पोस्ट का मुख्य डब्बा */
.post-main-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* 2. इमेज स्टाइल - LCP Speed के लिए सुधार */
.post-img-wrap {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    /* CLS रोकने के लिए aspect-ratio जोड़ें */
    aspect-ratio: 1200 / 655; 
}

/* 3. इमेज रैपिंग (केवल डेस्कटॉप के लिए) */
.img-left {
    float: left;
    margin: 0 20px 15px 0 !important;
}

/* 4. पोस्ट का टेक्स्ट (मोबाइल फ्रेंडली सुधार) */
.post-body-text {
    font-size: 19px;
    line-height: 1.8;
    color: #222;
    text-align: left; /* justify हटा दिया, इससे स्पीड बढ़ेगी */
}

/* 5. पैराग्राफ गैप */
.post-body-text p {
    margin-bottom: 20px;
}

/* 6. TOC - क्लीन और फास्ट स्टाइल */
.toc-container {
    clear: both;
    display: block;
    margin: 30px 0;
    background-color: #f9f9f9;
    border-left: 5px solid #d90429;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.toc-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.toc-container ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toc-container li {
    padding: 8px 0 8px 25px !important;
    position: relative;
    font-size: 16px;
}

.toc-container li::before {
    content: "→"; 
    position: absolute;
    left: 0;
    color: #d90429;
    font-weight: bold;
}

.toc-container a {
    color: #1a73e8 !important;
    text-decoration: none;
    font-weight: 600;
}

.toc-container a:hover {
    color: #d90429 !important;
    text-decoration: underline;
}

/* 7. मोबाइल रिस्पॉन्सिव सुधार */
@media (max-width: 768px) {
    .post-img-wrap {
        float: none !important;
        max-width: 100%;
        margin: 0 auto 20px auto !important;
    }
    
    .post-body-text {
        font-size: 17px;
        line-height: 1.7;
    }

    .post-main-card {
        padding: 15px;
    }
    
    .toc-container {
        padding: 15px;
    }
}

/* 8. क्लियर फिक्स */
.post-body-text::after {
    content: "";
    clear: both;
    display: table;
}