/* ==========================================================================
   blog.css - Clean Editorial Page Layout (No Box Style)
   ========================================================================== */

/* Base Page & Background Harmony */
body.blog-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #ffffff; /* शुद्ध सफेद या बहुत हल्का बैकग्राउंड पूरे पेज के लिए */
    color: #1d1d1f; /* एप्पल स्टाइल प्रीमियम डार्क ग्रे */
}

/* Fixed Header Fix */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Standardized Content Container */
.main-container {
    padding-top: 140px;
    max-width: 740px; /* पढ़ने में आसानी के लिए परफेक्ट रीडेबिलिटी विड्थ (Medium Style) */
    margin: 0 auto;
    width: 100%;
    padding-bottom: 5rem;
    box-sizing: border-box;
}

.section-padding-x {
    padding: 0 1.5rem;
}

.section-header-padding {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

/* Breadcrumbs / Back Link */
.back-hub-wrapper {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.back-hub-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0071e3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.back-hub-link:hover {
    text-decoration: underline;
}

/* Typography Typography Typography */
.blog-main-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

.blog-meta-text {
    color: #86868b;
    font-size: 0.9rem;
}

h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    color: #1d1d1f;
    letter-spacing: -0.3px;
}

p {
    font-size: 1.1rem; /* पढ़ने में आसान, थोड़ा बड़ा टेक्स्ट */
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: #333336;
}

/* Core Content Area (No Box/Card Anymore) */
.blog-content-stream {
    background: transparent;
    padding: 0;
}

/* Featured Cover Image */
.blog-cover-wrapper {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-cover-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1200 / 675;
    object-fit: cover;
}

/* Minimal Table of Contents */
.glass-toc {
    background: #f5f5f7; /* बहुत ही न्यूट्रल लाइट ग्रे */
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
}

.glass-toc h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
}

.glass-toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0;
    margin: 0;
}

.glass-toc a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.glass-toc a:hover {
    text-decoration: underline;
}

/* Subtle Case Study / Inset Box */
.info-inset-box {
    border-left: 4px solid #d9383a; /* सिर्फ लेफ्ट में एक सॉलिड लाइन */
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}

.info-inset-box h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #d9383a;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-inset-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: #515154;
}

/* Editorial Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 2.5rem 0;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    text-align: left;
}

th {
    border-bottom: 2px solid #1d1d1f; /* क्लीन अंडरलाइन स्टाइल */
    padding: 0.8rem 0.5rem;
    font-weight: 700;
    color: #1d1d1f;
}

td {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #e5e5ea;
    color: #333336;
}

.td-bold {
    font-weight: 600;
}

.td-highlight {
    color: #0071e3;
    font-weight: 600;
}

.content-link {
    color: #0071e3;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.content-link:hover {
    border-bottom: 1px solid #0071e3;
}

/* Clean FAQ Minimal Rows */
.faq-block, .faq-block-last {
    margin-top: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5ea;
}

.faq-block h4, .faq-block-last h4 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    color: #1d1d1f;
}

.faq-block p, .faq-block-last p {
    margin-top: 0;
    margin-bottom: 0;
    color: #515154;
}

.tech-reference-footer {
    font-size: 1rem;
    margin-top: 3rem;
    color: #86868b;
}

/* Call to Action Banner */
.cta-box {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    color: #1d1d1f;
}

.cta-box p {
    font-size: 1rem;
    color: #515154;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #0071e3;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 980px; /* पिल शेप बटन (Apple Style) */
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: #0077ed;
}

/* Author Section */
.author-box {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5ea;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 30px;
    height: 30px;
    fill: #86868b;
}

.author-details h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.05rem;
    color: #1d1d1f;
}

.author-details h4 a {
    color: #0071e3;
    text-decoration: none;
}

.author-details p {
    font-size: 0.95rem;
    color: #515154;
    line-height: 1.6;
}

/* Related Posts Section (Expanded Full Width Grid) */
.related-posts-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.related-card {
    display: flex;
    flex-direction: column;
}

.related-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-card h4 a {
    color: #1d1d1f;
    text-decoration: none;
}

.related-card h4 a:hover {
    color: #0071e3;
}

.related-card p {
    font-size: 0.95rem;
    color: #515154;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.related-card .read-more {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0071e3;
    text-decoration: none;
}

/* Global Site Footer */
.site-footer {
    background: #f5f5f7;
    margin-top: 5rem;
    padding: 4rem 2rem 2rem 2rem;
    border-top: 1px solid #e5e5ea;
}

.footer-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand-title {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-text {
    color: #515154;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-heading {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
}

.footer-links-list li a {
    color: #515154;
    text-decoration: none;
}

.footer-links-list li a:hover {
    color: #0071e3;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 980px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.88rem;
}

/* आइकॉन का साइज फिक्स करने के लिए यह कोड जोड़ें */
.whatsapp-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    flex-shrink: 0;
}


.social-links-container {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    display: inline-block;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid #e5e5ea;
    padding-top: 1.5rem;
    text-align: center;
    color: #86868b;
    font-size: 0.85rem;
}

/* Responsive Tweak */
@media (max-width: 768px) {
    .main-container { padding-top: 100px; }
    .blog-main-title { font-size: 2rem; }
}