/* 1. Main Container - Full Width & Clean Layout */
/* Sirf andar se space dene ke liye */
.blog-detail {
    width: 100% !important; /* Box poori width lega */
    padding-left: 60px !important;  /* Left se gap */
    padding-right: 60px !important; /* Right se gap */
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box; /* Padding se box bahar na nikle */
}

/* Mobile par space thoda kam kar dein taaki content chota na dikhe */
@media (max-width: 768px) {
    .blog-detail {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* 2. Metadata & Title Styling */
.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    display: block;
}

.blog-detail h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #044180;
    line-height: 1.3;
    margin-bottom: 55px;
	text-align: center;
}

.blog-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 35px;
    height: auto;
}

/* 3. Editor Content Global Styling */
.blog-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word;
	text-align: justify;
}

/* 4. Headings inside Content (H2 to H6) */
.blog-content h2, .blog-content h3, .blog-content h4 {
    color: #1a1a1a;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    font-weight: 700;
    line-height: 1.2;
    display: block !important;
}

.blog-content h2 { border-left: 6px solid #ff7b00; padding-left: 15px; font-size: 1.8rem; }
.blog-content h3 { font-size: 1.5rem; }

/* 5. UL / LI Tags - Premium Checkmark Styling */
.blog-content ul {
    list-style: none !important;
    padding-left: 5px !important;
    margin: 25px 0 !important;
}

.blog-content ul li {
    position: relative !important;
    padding-left: 35px !important;
    margin-bottom: 15px !important;
    display: block !important;
}

/* SVG Bullet (Isme FontAwesome ki zaroorat nahi hai, auto work karega) */
.blog-content ul li::before {
    content: ""; 
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ff7b00' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* LI ke andar ke headers ko line mein lane ke liye */
.blog-content ul li h1, .blog-content ul li h2, .blog-content ul li h3, .blog-content ul li p {
    display: inline !important;
    font-size: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 6. Ordered List (OL / LI) */
.blog-content ol {
    counter-reset: custom-counter;
    padding-left: 5px !important;
}

.blog-content ol li {
    list-style: none !important;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    counter-increment: custom-counter;
}

.blog-content ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 2px;
    background: #0056b3;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 7. Table Styling - Fully Responsive */
.blog-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 25px 0 !important;
    border: 1px solid #ddd !important;
}

.blog-content table td, .blog-content table th {
    padding: 12px 15px !important;
    border: 1px solid #eee !important;
}

.blog-content table th { background: #f8f9fa; }

/* 8. Blockquotes */
.blog-content blockquote {
    padding: 25px 35px !important;
    margin: 35px 0 !important;
    background: #f9f9f9 !important;
    border-left: 8px solid #ff7b00 !important;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
}

/* 9. Images & Videos from Editor */
.blog-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}

.blog-content iframe {
    width: 100% !important;
    height: 450px !important;
    border-radius: 12px;
    margin: 20px 0;
}

/* 10. Mobile Compatibility */
@media (max-width: 768px) {
    .blog-detail h1 { font-size: 1.8rem; }
    .blog-content { font-size: 1.05rem; }
    .blog-content iframe { height: 250px !important; }
}