/* =========================================================
   TechESteel Single Blog Post
========================================================= */

.techesteel-single-main{
    background:#fff;
}

.techesteel-single-hero{
    padding:88px 0 64px;
    background:#f4f9fe;
    border-bottom:1px solid var(--border);
}

.techesteel-single-breadcrumb{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-bottom:30px;
    color:var(--muted);
    font-size:14px;
}

.techesteel-single-breadcrumb a{
    color:var(--blue2);
    font-weight:600;
}

.techesteel-single-heading{
    max-width:920px;
}

.techesteel-single-category{
    display:inline-block;
    color:var(--blue2);
    font:700 12px var(--mono);
    text-transform:uppercase;
    letter-spacing:.12em;
}

.techesteel-single-heading h1{
    margin:18px 0 0;
    font-size:clamp(42px,5vw,70px);
    line-height:1.08;
    letter-spacing:-.045em;
}

.techesteel-single-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
    color:var(--muted);
    font-size:15px;
}

.techesteel-single-featured-wrap{
    margin-top:48px;
}

.techesteel-single-featured{
    overflow:hidden;
    border-radius:22px;
    box-shadow:0 22px 55px rgba(25,88,145,.14);
}

.techesteel-single-featured img{
    display:block;
    width:100%;
    height:auto;
    max-height:620px;
    object-fit:cover;
}

.techesteel-single-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:60px;
    align-items:start;
    padding-top:70px;
    padding-bottom:110px;
}

.techesteel-single-content{
    min-width:0;
    font-size:18px;
    line-height:1.85;
    color:#33485d;
}

.techesteel-single-content > *:first-child{
    margin-top:0;
}

.techesteel-single-content h2{
    margin:48px 0 18px;
    font-size:38px;
    line-height:1.2;
    color:var(--text);
}

.techesteel-single-content h3{
    margin:38px 0 16px;
    font-size:29px;
    line-height:1.3;
    color:var(--text);
}

.techesteel-single-content h4{
    margin:30px 0 14px;
    font-size:23px;
    color:var(--text);
}

.techesteel-single-content p{
    margin:0 0 24px;
}

.techesteel-single-content ul,
.techesteel-single-content ol{
    margin:0 0 28px;
    padding-left:24px;
}

.techesteel-single-content li{
    margin-bottom:10px;
}

.techesteel-single-content blockquote{
    margin:38px 0;
    padding:26px 30px;
    border-left:4px solid var(--blue);
    border-radius:0 14px 14px 0;
    background:#edf7ff;
    color:#1f4567;
    font-size:21px;
    line-height:1.7;
}

.techesteel-single-content img{
    max-width:100%;
    height:auto;
    border-radius:14px;
}

.techesteel-single-content table{
    width:100%;
    margin:32px 0;
    border-collapse:collapse;
}

.techesteel-single-content th,
.techesteel-single-content td{
    padding:14px 16px;
    border:1px solid var(--border);
    text-align:left;
}

.techesteel-single-content th{
    background:#edf6fe;
    color:var(--text);
}

.techesteel-single-share{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    margin-top:55px;
    padding:24px 0;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.techesteel-single-share > span{
    font-weight:700;
    color:var(--text);
}

.techesteel-share-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.techesteel-share-links a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 14px;
    border:1px solid var(--border);
    border-radius:999px;
    background:#fff;
    color:var(--blue2);
    font-size:14px;
    font-weight:700;
}

.techesteel-share-links a:hover{
    border-color:var(--blue);
    background:var(--blue);
    color:#fff;
}

.techesteel-post-navigation{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:42px;
}

.techesteel-post-nav-item{
    min-height:120px;
    padding:22px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#f9fcff;
}

.techesteel-post-nav-item span{
    display:block;
    margin-bottom:9px;
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.techesteel-post-nav-item a{
    color:var(--text);
    font-size:18px;
    font-weight:700;
    line-height:1.4;
}

.techesteel-post-nav-item a:hover{
    color:var(--blue2);
}

.next-post{
    text-align:right;
}

.techesteel-single-sidebar{
    display:grid;
    gap:24px;
    position:sticky;
    top:118px;
}

.techesteel-single-sidebar-card{
    padding:26px;
    border:1px solid var(--border);
    border-radius:16px;
    background:#fff;
    box-shadow:0 12px 30px rgba(25,88,145,.07);
}

.techesteel-single-sidebar-card h3{
    margin:0 0 20px;
    font-size:22px;
}

.techesteel-single-recent-list{
    display:grid;
    gap:18px;
}

.techesteel-single-recent-item{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:14px;
    align-items:center;
}

.techesteel-single-recent-image{
    width:76px;
    height:68px;
    overflow:hidden;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#eaf5ff;
    color:var(--blue2);
    font-weight:800;
}

.techesteel-single-recent-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.techesteel-single-recent-item h4{
    margin:0;
    font-size:15px;
    line-height:1.4;
}

.techesteel-single-recent-item h4 a{
    color:var(--text);
}

.techesteel-single-recent-item h4 a:hover{
    color:var(--blue2);
}

.techesteel-single-recent-item time{
    display:block;
    margin-top:5px;
    color:var(--muted);
    font-size:12px;
}

@media(max-width:1050px){
    .techesteel-single-layout{
        grid-template-columns:1fr;
    }

    .techesteel-single-sidebar{
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .techesteel-single-hero{
        padding:70px 0 50px;
    }

    .techesteel-single-heading h1{
        font-size:46px;
    }

    .techesteel-single-featured-wrap{
        margin-top:32px;
    }

    .techesteel-single-layout{
        gap:45px;
        padding-top:50px;
        padding-bottom:80px;
    }

    .techesteel-single-content{
        font-size:17px;
    }

    .techesteel-single-content h2{
        font-size:32px;
    }

    .techesteel-single-share{
        align-items:flex-start;
        flex-direction:column;
    }

    .techesteel-post-navigation,
    .techesteel-single-sidebar{
        grid-template-columns:1fr;
    }

    .next-post{
        text-align:left;
    }
}
