/* Techblare Single Blog Template */
.tb-sbt-wrap{max-width:1440px;margin:0 auto;padding:28px 28px 80px;color:#20242b;font-family:inherit}
.tb-sbt-breadcrumb{font-size:13px;color:#68707c;margin:0 0 28px;line-height:1.6;overflow-wrap:anywhere}
.tb-sbt-breadcrumb a{color:inherit;text-decoration:none}.tb-sbt-breadcrumb a:hover{color:#f36b21}
.tb-sbt-grid{display:grid;grid-template-columns:minmax(150px, .72fr) minmax(0, 2.2fr) minmax(240px, .95fr);gap:34px;align-items:start}
.tb-sbt-sticky{position:sticky;top:110px}.tb-sbt-side-label{font-size:11px;font-weight:700;letter-spacing:1.3px;color:#737b86;margin:0 0 14px}
.tb-sbt-toc{border-left:2px solid #e8e9ec;padding-left:14px;font-size:13px;line-height:1.5}
.tb-sbt-toc a{display:block;color:#525b67;text-decoration:none;padding:7px 0}.tb-sbt-toc a:hover,.tb-sbt-toc a.is-active{color:#f36b21}
.tb-sbt-category-block{margin-top:28px}.tb-sbt-category{display:block;font-size:13px;color:#515b67;text-decoration:none;padding:6px 0}.tb-sbt-category:hover{color:#f36b21}
.tb-sbt-categories{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.tb-sbt-categories a{background:#fff1e8;color:#e85e13;border-radius:20px;padding:6px 11px;font-size:12px;text-decoration:none}
.tb-sbt-title{font-size:clamp(30px,3.2vw,46px);line-height:1.16;letter-spacing:-.7px;margin:0 0 18px;font-weight:700;color:#16191e}
.tb-sbt-meta{display:flex;gap:16px;flex-wrap:wrap;color:#6b7280;font-size:13px;margin-bottom:24px}
.tb-sbt-featured{margin:0 0 28px;border-radius:12px;overflow:hidden}.tb-sbt-featured img{display:block;width:100%;height:auto;aspect-ratio:1.55;object-fit:cover}
.tb-sbt-content{font-size:16px;line-height:1.8;color:#343a43;overflow-wrap:anywhere}.tb-sbt-content h2,.tb-sbt-content h3,.tb-sbt-content h4{color:#191d23;line-height:1.3;margin:1.7em 0 .6em;scroll-margin-top:110px}.tb-sbt-content h2{font-size:30px}.tb-sbt-content h3{font-size:23px}.tb-sbt-content p{margin:0 0 1.25em}.tb-sbt-content img{max-width:100%;height:auto;border-radius:8px}.tb-sbt-content a{color:#e96519}.tb-sbt-content blockquote{border-left:4px solid #f36b21;padding:8px 18px;margin:24px 0;background:#fff8f3}
.tb-sbt-share{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #eceef0;border-bottom:1px solid #eceef0;padding:18px 0;margin-top:32px;font-size:13px}.tb-sbt-share a{color:#e96519;text-decoration:none}
.tb-sbt-right{min-width:0}.tb-sbt-consult{background:#fff;border:1px solid #eceef0;border-radius:14px;padding:22px;box-shadow:0 8px 30px rgba(18,27,38,.05)}.tb-sbt-eyebrow{color:#ed681c;font-size:11px;font-weight:700;letter-spacing:1.3px;margin:0 0 10px}.tb-sbt-consult h2{font-size:23px;line-height:1.25;margin:0 0 10px;color:#1d2229}.tb-sbt-form-desc{font-size:13px;line-height:1.65;color:#6c737d;margin:0 0 18px}
.tb-sbt-form label{display:block;font-size:12px;font-weight:600;color:#333a44;margin:0 0 13px}.tb-sbt-form label span{color:#e85f15}.tb-sbt-form input,.tb-sbt-form textarea{box-sizing:border-box;width:100%;display:block;margin-top:6px;border:1px solid #dfe2e6;border-radius:7px;background:#fff;padding:11px 12px;font:inherit;font-size:13px;color:#222;outline:none}.tb-sbt-form input:focus,.tb-sbt-form textarea:focus{border-color:#f36b21;box-shadow:0 0 0 2px rgba(243,107,33,.1)}.tb-sbt-form textarea{resize:vertical}.tb-sbt-form button{width:100%;border:0;border-radius:7px;background:linear-gradient(100deg,#ff9858,#ff6200);color:#fff;font-weight:700;font-size:14px;padding:13px 16px;cursor:pointer}.tb-sbt-form button:hover{filter:brightness(.96)}.tb-sbt-notice{background:#eef9f0;color:#236d35;border-radius:7px;padding:10px;font-size:13px}
.tb-sbt-social{margin-top:24px;padding:18px;border:1px solid #eceef0;border-radius:12px}.tb-sbt-social a{display:inline-block;margin:0 12px 6px 0;color:#505965;text-decoration:none;font-size:13px}.tb-sbt-social a:hover{color:#f36b21}
.tb-sbt-related{margin-top:42px}.tb-sbt-related h2{font-size:25px}.tb-sbt-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tb-sbt-related-card{display:flex;flex-direction:column;gap:8px;color:#20242b;text-decoration:none;border:1px solid #eceef0;border-radius:10px;overflow:hidden;padding-bottom:12px}.tb-sbt-related-card img{width:100%;height:120px;object-fit:cover}.tb-sbt-related-card span,.tb-sbt-related-card small{padding:0 12px}.tb-sbt-related-card span{font-weight:600;line-height:1.4}.tb-sbt-related-card small{color:#7b828c}



.tb-sbt-social .tb-sbt-share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tb-sbt-social .tb-sbt-share-icons a {
    width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.tb-sbt-social .tb-sbt-share-icons svg {
    width: 19px;
    height: 19px;
}





/* Desktop: Keep sidebars in place and scroll only the article */


/* ==========================================
   RELATED ARTICLES - FULL WIDTH BOTTOM
========================================== */

.tb-sbt-related-bottom {
    width: 100%;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.tb-sbt-related-bottom h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #20242b;
    margin: 0 0 30px;
}

.tb-sbt-related-bottom .tb-sbt-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.tb-sbt-related-bottom .tb-sbt-related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
}

.tb-sbt-related-bottom .tb-sbt-related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.tb-sbt-related-bottom .tb-sbt-related-card span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #20242b;
}

.tb-sbt-related-bottom .tb-sbt-related-card small {
    font-size: 13px;
    color: #777;
}

/* Tablet */
@media (max-width: 1024px) {

    .tb-sbt-related-bottom .tb-sbt-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Mobile */
@media (max-width: 767px) {

    .tb-sbt-related-bottom {
        margin-top: 40px;
        padding-top: 25px;
    }

    .tb-sbt-related-bottom h2 {
        font-size: 24px;
    }

    .tb-sbt-related-bottom .tb-sbt-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tb-sbt-related-bottom .tb-sbt-related-card img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

}




@media(max-width:1100px){.tb-sbt-grid{grid-template-columns:minmax(140px,.7fr) minmax(0,2fr)}.tb-sbt-right{grid-column:2}.tb-sbt-right{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tb-sbt-social{margin-top:0}}
@media(max-width:767px){.tb-sbt-wrap{padding:20px 16px 50px}.tb-sbt-grid{display:flex;flex-direction:column;gap:24px}.tb-sbt-left{order:2;width:100%}.tb-sbt-article{order:1;width:100%}.tb-sbt-right{order:3;width:100%;display:block}.tb-sbt-sticky{position:static}.tb-sbt-title{font-size:31px}.tb-sbt-featured img{aspect-ratio:1.25}.tb-sbt-content{font-size:15px}.tb-sbt-content h2{font-size:25px}.tb-sbt-toc{columns:2}.tb-sbt-consult{padding:18px}.tb-sbt-social{margin-top:18px}.tb-sbt-related-grid{grid-template-columns:1fr}.tb-sbt-related-card img{height:180px}}

.tb-sbt-top-title{max-width:1050px;margin-bottom:26px}.tb-sbt-article .tb-sbt-breadcrumb{margin:0 0 18px}

/* Right sidebar: dynamic category list beneath the consultation form */
.tb-sbt-all-categories{margin-top:20px;padding:22px;background:#fff;border:1px solid #eceef0;border-radius:14px}
.tb-sbt-all-categories h2{font-size:20px;line-height:1.35;margin:0 0 14px;color:#1d2229}
.tb-sbt-all-categories ul{list-style:none;padding:0;margin:0}
.tb-sbt-all-categories li{margin:0;border-bottom:1px solid #f0f1f3}
.tb-sbt-all-categories li:last-child{border-bottom:0}
.tb-sbt-all-categories a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;color:#434b56;text-decoration:none;font-size:14px}
.tb-sbt-all-categories a:hover{color:#f36b21}
.tb-sbt-category-count{flex-shrink:0;font-size:12px;color:#838b95;background:#f5f6f8;border-radius:12px;padding:2px 8px}
@media(min-width:768px) and (max-width:1100px){.tb-sbt-all-categories{margin-top:0}.tb-sbt-social{grid-column:1/-1}}

/* Social share icon buttons below the right-sidebar category list */
.tb-sbt-sidebar-share{margin-top:20px;padding:22px;background:#fff;border:1px solid #eceef0;border-radius:14px}
.tb-sbt-sidebar-share h2{font-size:20px;line-height:1.35;margin:0 0 15px;color:#1d2229}
.tb-sbt-share-icons{display:flex;gap:9px;flex-wrap:wrap}
.tb-sbt-share-icons a{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff3eb;border:1px solid #ffe2d0;color:#ed681c;text-decoration:none;font-size:18px;font-weight:700;line-height:1;transition:background .2s,color .2s}
.tb-sbt-share-icons a:hover{background:#f36b21;color:#fff}
.tb-sbt-share-icons svg{width:19px;height:19px}
@media(min-width:768px) and (max-width:1100px){.tb-sbt-sidebar-share{margin-top:0}}



/* TECHBLARE - REFERENCE STYLE SCROLLING */

@media (min-width: 1101px) {

    .tb-sbt-wrap .tb-sbt-grid {
        display: grid;
        grid-template-columns: 210px minmax(0, 1fr) 290px;
        gap: 32px;
        align-items: start;
        overflow: visible;
    }

    /* Left TOC */
    .tb-sbt-wrap .tb-sbt-left {
        position: sticky;
        top: 110px;
        align-self: start;
        height: auto;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .tb-sbt-wrap .tb-sbt-left .tb-sbt-sticky {
        position: static;
    }

    /* Center article - normal page scrolling */
    .tb-sbt-wrap .tb-sbt-article {
        position: static;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0;
    }

    /* Right sidebar */
    .tb-sbt-wrap .tb-sbt-right {
        position: sticky;
        top: 110px;
        align-self: start;
        height: auto;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* TOC styling */
.tb-sbt-wrap .tb-sbt-toc {
    border-left: 1px solid #e5e7eb;
}

.tb-sbt-wrap .tb-sbt-toc a {
    display: block;
    padding: 9px 12px;
    color: #555b65;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.tb-sbt-wrap .tb-sbt-toc a:hover,
.tb-sbt-wrap .tb-sbt-toc a.tb-toc-active {
    color: #ff6200;
    border-left-color: #ff6200;
    background: #fff7f1;
    font-weight: 600;
}

.tb-sbt-wrap .tb-sbt-content h2,
.tb-sbt-wrap .tb-sbt-content h3,
.tb-sbt-wrap .tb-sbt-content h4 {
    scroll-margin-top: 120px;
}

/* Tablet and mobile */
@media (max-width: 1100px) {

    .tb-sbt-wrap .tb-sbt-left,
    .tb-sbt-wrap .tb-sbt-right,
    .tb-sbt-wrap .tb-sbt-article {
        position: static;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .tb-sbt-wrap .tb-sbt-left .tb-sbt-sticky {
        position: static;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
