.blog-detail-page{padding:38px 0 95px}
.blog-detail-page .blog-breadcrumb{margin-bottom:55px}
.blog-article{max-width:1140px;margin:auto}
.blog-article-header{max-width:850px;margin:0 auto 45px;text-align:center}
.blog-article-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.blog-article-categories a{background:#eff6ff;border-color:#dbeafe;color:#2563eb}
.blog-article-header h1{margin:0 0 22px;font-size:clamp(35px,5vw,62px);line-height:1.17;letter-spacing:-1.4px}
.blog-article-lead{margin:0 0 30px;color:#64748b;font-size:19px;line-height:1.8}
.blog-byline{display:flex;justify-content:center;align-items:center;gap:13px;text-align:left}
.blog-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-weight:900}
.blog-byline strong,.blog-byline time{display:block}
.blog-byline time{margin-top:4px;color:#64748b;font-size:13px}
.blog-featured-image{margin:0 0 55px}
.blog-featured-image img{display:block;width:100%;max-height:580px;object-fit:cover;border-radius:20px}
.blog-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:60px}
.blog-article-body{min-width:0;color:#334155;font-size:17px;line-height:1.95;overflow-wrap:anywhere}
.blog-article-body h2,.blog-article-body h3{margin:35px 0 15px;color:#0f172a;line-height:1.35}
.blog-article-body h2{font-size:29px}
.blog-article-body h3{font-size:23px}
.blog-article-body p,.blog-article-body ul,.blog-article-body ol{margin:0 0 23px}
.blog-article-body img{max-width:100%;height:auto;border-radius:12px}
.blog-article-body a{color:#2563eb}
.blog-article-body blockquote{margin:25px 0;padding:15px 25px;border-left:4px solid #2563eb;background:#eff6ff}
.blog-sidebar-box{position:sticky;top:25px;padding:26px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}
.blog-sidebar-box h2{margin:0 0 12px;font-size:21px}
.blog-sidebar-box p{color:#64748b;line-height:1.7}
.blog-sidebar-box a{color:#2563eb;text-decoration:none;font-weight:700}
.blog-related{margin-top:85px;padding-top:55px;border-top:1px solid #e2e8f0}
@media(max-width:950px){.blog-article-layout{grid-template-columns:1fr}}
@media(max-width:950px){.blog-sidebar{display:none}}
@media(max-width:640px){.blog-detail-page{padding:25px 0 65px}}
@media(max-width:640px){.blog-detail-page .blog-breadcrumb{margin-bottom:35px}}
@media(max-width:640px){.blog-article-lead{font-size:16px}}
@media(max-width:640px){.blog-article-body{font-size:16px}}
@media(max-width:640px){.blog-featured-image{margin-bottom:35px}}


/* Blog author profile */
.blog-author-photo{object-fit:cover;flex-shrink:0}
.blog-author-designation{display:block;margin-top:3px;color:#64748b;font-size:12px}
.blog-author-profile{margin-top:36px;padding:24px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.blog-author-profile h2{margin:0 0 18px;font-size:21px;line-height:1.3}
.blog-author-profile-header{display:flex;align-items:center;gap:14px}
.blog-author-profile-header strong{display:block;font-size:17px}
.blog-author-profile-header p{margin:4px 0 0;color:#64748b;font-size:13px}
.blog-author-profile-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;flex-shrink:0}
.blog-author-biography{margin:18px 0 0;line-height:1.75;overflow-wrap:anywhere}
.blog-author-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.blog-author-links a{display:inline-flex;padding:8px 12px;border:1px solid #cbd5e1;border-radius:7px;font-size:13px;text-decoration:none;overflow-wrap:anywhere}
.blog-author-links a:hover{background:#e2e8f0}


/* BLOG ARTICLE DESIGN V2 */
.blog-article-layout{
    grid-template-columns:minmax(0,1fr) 300px;
    gap:clamp(28px,4vw,58px);
    align-items:start
}
.blog-article-body{
    font-size:17px;
    line-height:1.85;
    letter-spacing:.003em
}
.blog-article-body :is(h2,h3,h4,h5,h6){
    text-align:left;
    scroll-margin-top:100px;
    overflow-wrap:break-word
}
.blog-article-body h2{
    margin:46px 0 19px;
    font-size:clamp(25px,2.4vw,32px);
    line-height:1.3
}
.blog-article-body h3{
    margin:32px 0 15px;
    font-size:clamp(20px,2vw,25px)
}
.blog-article-body :is(h4,h5,h6){
    margin:26px 0 12px;
    color:#172b4d;
    line-height:1.4
}
.blog-article-body p{margin:0 0 21px}
.blog-article-body p[style*="text-align: justify"],
.blog-article-body div[style*="text-align: justify"]{
    text-align:justify;
    text-justify:inter-word
}
.blog-article-body :is(ul,ol){
    padding-left:1.75em;
    margin:14px 0 25px;
    list-style-position:outside
}
.blog-article-body ul{list-style-type:disc}
.blog-article-body ul ul{list-style-type:circle}
.blog-article-body ul ul ul{list-style-type:square}
.blog-article-body ol{list-style-type:decimal}
.blog-article-body ol[type="a"]{list-style-type:lower-alpha}
.blog-article-body ol[type="A"]{list-style-type:upper-alpha}
.blog-article-body ol[type="i"]{list-style-type:lower-roman}
.blog-article-body ol[type="I"]{list-style-type:upper-roman}
.blog-article-body li{padding-left:5px;margin:0 0 9px}
.blog-article-body li::marker{color:#2563eb;font-weight:700}
.blog-article-body li :is(ul,ol){margin:10px 0 12px}
.blog-article-body a{
    color:#1d4ed8;
    text-decoration:underline;
    text-decoration-color:#bfdbfe;
    text-underline-offset:3px
}
.blog-article-body a:hover{color:#1e40af;text-decoration-color:currentColor}
.blog-article-body blockquote{
    margin:30px 0;
    padding:20px 25px;
    border-left:4px solid #2563eb;
    border-radius:0 12px 12px 0;
    background:#eff6ff;
    color:#1e3a5f
}
.blog-article-body :is(mark,[style*="background-color"]){
    border-radius:3px;
    box-decoration-break:clone;
    -webkit-box-decoration-break:clone
}
.blog-article-body :is(table,.blog-responsive-table table){
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    font-size:15px;
    line-height:1.6
}
.blog-responsive-table{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    margin:26px 0;
    border:1px solid #dbe4f0;
    border-radius:12px;
    background:#fff;
    -webkit-overflow-scrolling:touch
}
.blog-article-body th,
.blog-article-body td{
    padding:13px 16px;
    border-bottom:1px solid #e2e8f0;
    text-align:left;
    vertical-align:top;
    min-width:110px
}
.blog-article-body th{
    background:#eff6ff;
    color:#173b6d;
    font-weight:750
}
.blog-article-body tr:nth-child(even) td{background:#f8fafc}
.blog-article-body tr:last-child td{border-bottom:0}
.blog-article-body tr:hover td{background:#eff6ff}
.blog-sidebar{
    min-width:0;
    position:sticky;
    top:24px;
    display:flex;
    flex-direction:column;
    gap:18px
}
.blog-toc-panel{
    border:1px solid #dbe4f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 28px rgba(15,23,42,.045);
    overflow:hidden
}
.blog-toc-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:20px 20px 16px;
    color:#0f172a;
    font-size:17px;
    font-weight:800;
    cursor:pointer;
    list-style:none
}
.blog-toc-heading::-webkit-details-marker{display:none}
.blog-toc-toggle{
    width:9px;
    height:9px;
    border-right:2px solid #64748b;
    border-bottom:2px solid #64748b;
    transform:rotate(45deg);
    transition:transform .2s
}
.blog-toc-disclosure:not([open]) .blog-toc-toggle{
    transform:rotate(-45deg)
}
.blog-toc-progress{height:3px;background:#e2e8f0}
.blog-toc-progress span{
    display:block;
    width:0;
    height:100%;
    background:#2563eb;
    transition:width .15s linear
}
.blog-toc-navigation{
    max-height:min(62vh,570px);
    overflow:auto;
    padding:13px 12px 17px
}
.blog-toc-list{
    margin:0;
    padding:0;
    list-style:none
}
.blog-toc-list li{margin:2px 0;list-style:none}
.blog-toc-list a{
    display:block;
    padding:9px 11px;
    border-left:3px solid transparent;
    border-radius:0 8px 8px 0;
    color:#475569;
    font-size:13px;
    line-height:1.45;
    text-decoration:none;
    transition:background .15s,color .15s
}
.blog-toc-list li.is-subheading a{padding-left:22px;font-size:12px}
.blog-toc-list a:hover{background:#f1f5f9;color:#1d4ed8}
.blog-toc-list a.is-active{
    background:#eff6ff;
    border-left-color:#2563eb;
    color:#1d4ed8;
    font-weight:750
}
.blog-sidebar-box{position:static}
.blog-faq-group{
    margin:26px 0 35px;
    border:1px solid #dbe4f0;
    border-radius:14px;
    overflow:hidden;
    background:#fff
}
.blog-faq-item+.blog-faq-item{border-top:1px solid #e2e8f0}
.blog-faq-item summary{
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:center;
    padding:18px 20px;
    color:#172b4d;
    font-weight:750;
    line-height:1.5;
    cursor:pointer;
    list-style:none
}
.blog-faq-item summary::-webkit-details-marker{display:none}
.blog-faq-item summary::after{
    content:"+";
    flex-shrink:0;
    color:#2563eb;
    font-size:23px;
    font-weight:500;
    line-height:1
}
.blog-faq-item[open] summary{
    background:#eff6ff;
    color:#1d4ed8
}
.blog-faq-item[open] summary::after{content:"−"}
.blog-faq-answer{padding:17px 20px 20px}
.blog-faq-answer>*:last-child{margin-bottom:0}
.blog-author-profile{
    margin-top:45px;
    padding:28px;
    border:1px solid #dbe4f0;
    border-radius:16px;
    background:linear-gradient(135deg,#f8fbff,#fff)
}
.blog-author-profile-header{align-items:center}
.blog-author-profile-header strong{font-size:18px}
@media(max-width:950px){
    .blog-article-layout{grid-template-columns:minmax(0,1fr)}
    .blog-sidebar{
        display:block;
        position:static;
        grid-row:1;
        margin-bottom:8px
    }
    .blog-toc-navigation{max-height:320px}
    .blog-sidebar-box{display:none}
}
@media(max-width:640px){
    .blog-article-body{font-size:16px;line-height:1.8}
    .blog-article-body h2{margin-top:36px}
    .blog-toc-heading{padding:16px}
    .blog-faq-item summary{padding:15px 16px}
    .blog-faq-answer{padding:15px 16px}
    .blog-author-profile{padding:20px}
    .blog-article-body th,.blog-article-body td{padding:11px 13px}
}
@media(prefers-reduced-motion:reduce){
    .blog-toc-progress span,.blog-toc-list a,.blog-toc-toggle{
        transition:none
    }
}


/* BLOG FAQ TOC COMPATIBILITY V3 */
.blog-article-body .blog-faq-item summary h3,
.blog-article-body .blog-faq-item summary h4 {
    margin:0;
    padding:0;
    font-size:inherit;
    font-weight:inherit;
    line-height:inherit;
    color:inherit;
    scroll-margin-top:100px;
}
.blog-article-body .blog-faq-item summary h3 {
    font-size:17px;
}
.blog-article-body .blog-faq-item summary h4 {
    font-size:16px;
}
.blog-faq-item summary:focus-visible {
    outline:3px solid #93c5fd;
    outline-offset:-3px;
}
@media(max-width:640px) {
    .blog-article-body .blog-faq-item summary h3,
    .blog-article-body .blog-faq-item summary h4 {
        font-size:16px;
    }
}


/* BLOG HEADER AND PUBLICATION V4 */
.blog-detail-page .blog-breadcrumb {
    margin-bottom:30px;
}
.blog-article-header {
    max-width:980px;
    margin:0 auto 30px;
    text-align:center;
}
.blog-article-categories {
    margin-bottom:16px;
}
.blog-article-header h1 {
    max-width:950px;
    margin:0 auto;
    font-size:clamp(30px,3.6vw,46px);
    line-height:1.2;
    letter-spacing:-.8px;
    overflow-wrap:break-word;
}
.blog-featured-image {
    margin-bottom:38px;
}
.blog-author-publication {
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #e2e8f0;
}
.blog-author-publication .blog-byline {
    justify-content:flex-start;
}
@media(max-width:640px) {
    .blog-article-header h1 {
        font-size:clamp(28px,7vw,36px);
        letter-spacing:-.5px;
    }
    .blog-article-header {
        margin-bottom:24px;
    }
    .blog-detail-page .blog-breadcrumb {
        margin-bottom:25px;
    }
}


/* BLOG TOC SCROLL FIX V5 */
@media(min-width:951px) {
    .blog-sidebar {
        position:sticky;
        top:20px;
        align-self:start;
        min-height:0;
        max-height:calc(100vh - 40px);
    }
    .blog-toc-panel {
        display:flex;
        flex-direction:column;
        min-height:0;
        max-height:calc(100vh - 40px);
    }
    .blog-toc-disclosure[open] {
        display:flex;
        flex-direction:column;
        min-height:0;
        max-height:calc(100vh - 40px);
    }
    .blog-toc-heading {
        flex-shrink:0;
    }
    .blog-toc-progress {
        flex-shrink:0;
    }
    .blog-toc-navigation {
        min-height:0;
        max-height:calc(100vh - 115px);
        overflow-y:auto;
        overflow-x:hidden;
        overscroll-behavior:contain;
        scrollbar-width:thin;
        scrollbar-color:#94a3b8 #f1f5f9;
        -webkit-overflow-scrolling:touch;
    }
    .blog-toc-navigation::-webkit-scrollbar {
        width:7px;
    }
    .blog-toc-navigation::-webkit-scrollbar-thumb {
        background:#94a3b8;
        border-radius:10px;
    }
    .blog-toc-navigation::-webkit-scrollbar-track {
        background:#f1f5f9;
    }
}
@media(max-width:950px) {
    .blog-sidebar {
        position:static;
        max-height:none;
    }
    .blog-toc-navigation {
        max-height:320px;
        overflow-y:auto;
        overscroll-behavior:contain;
    }
}


/* BLOG TOC SCROLL STABILITY V6 */
@media(min-width:951px) {
    .blog-sidebar {
        max-height:none;
        overflow:visible;
    }
    .blog-toc-panel {
        display:block;
        max-height:none;
        overflow:hidden;
    }
    .blog-toc-disclosure[open] {
        display:block;
        max-height:none;
    }
    .blog-toc-navigation {
        display:block;
        height:auto;
        max-height:min(65vh,600px);
        overflow-y:auto;
        overflow-x:hidden;
        overscroll-behavior-y:contain;
        scrollbar-gutter:stable;
    }
}


/* BLOG COMMENTS */
.blog-comments-section{max-width:1140px;margin:75px auto 0;padding-top:48px;border-top:1px solid #e2e8f0}
.blog-comments-heading{margin-bottom:28px}
.blog-comments-heading h2{margin:8px 0 10px;color:#0f172a;font-size:clamp(27px,3vw,38px)}
.blog-comments-heading p,.blog-comment-form-card>p{color:#64748b;line-height:1.7}
.blog-comments-list{display:grid;gap:18px;margin-bottom:35px}
.blog-comment{display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}
.blog-comment-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:19px;font-weight:800}
.blog-comment-main{min-width:0;flex:1}
.blog-comment-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-bottom:9px}
.blog-comment-meta strong{color:#0f172a}
.blog-comment-meta time{color:#64748b;font-size:13px}
.blog-comment-main p{margin:0;color:#334155;line-height:1.75;overflow-wrap:anywhere}
.blog-comments-empty{padding:20px;border-radius:12px;background:#f8fafc;color:#64748b}
.blog-comment-form-card{max-width:820px;padding:30px;border:1px solid #dbe4ef;border-radius:18px;background:#f8fafc}
.blog-comment-form-card h3{margin:0 0 8px;color:#0f172a;font-size:25px}
.blog-comment-form-card form{display:grid;gap:14px;margin-top:22px}
.blog-comment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.blog-comment-fields>div{display:grid;gap:8px}
.blog-comment-form-card label{display:block;color:#334155;font-size:14px;font-weight:700}
.blog-comment-form-card input,.blog-comment-form-card textarea{width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font:inherit}
.blog-comment-form-card input:focus,.blog-comment-form-card textarea:focus{outline:2px solid #93c5fd;outline-offset:1px}
.blog-comment-submit{justify-self:start;padding:13px 25px;border:0;border-radius:10px;background:#2563eb;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.blog-comment-submit:hover{background:#1d4ed8}
.blog-comment-notice{padding:14px 18px;border-radius:10px;background:#dcfce7;color:#166534}
.blog-comment-errors{padding:14px 18px;border-radius:10px;background:#fee2e2;color:#991b1b}
.blog-comment-errors p{margin:4px 0}
.blog-comment-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:640px){.blog-comment-fields{grid-template-columns:1fr}.blog-comment-form-card{padding:20px}.blog-comment{padding:16px}.blog-comments-section{margin-top:45px}}


/* Threaded blog comment replies */
.blog-comment-thread{min-width:0}
.blog-comment-replies{
    margin:12px 0 0 28px;
    padding-left:20px;
    border-left:3px solid #dbeafe;
    display:grid;
    gap:12px;
}
.blog-comment-replies .blog-comment{
    background:#f8fafc;
}
@media(max-width:640px){
    .blog-comment-replies{
        margin-left:12px;
        padding-left:12px;
    }
}
