/* ==========================================================
   KNOWLEDGE CENTER
========================================================== */


/* ==========================================================
   Article Meta
========================================================== */

.post-info ul{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
    list-style:none;
    padding:0;
    margin:20px 0 30px;
}

.post-info ul li{
    display:flex;
    align-items:center;
    gap:8px;
    color:#6b7280;
    font-size:15px;
}

.post-info ul li i,
.post-info .fa-clock-o{
    color:#0d6efd;
}


/* ==========================================================
   Article Content
========================================================== */

.post-content{
    font-size:17px;
    line-height:1.9;
    color:#374151;
    overflow-wrap:break-word;
}

.post-content p{
    margin-bottom:22px;
}

.post-content h2{
    margin-top:50px;
    margin-bottom:20px;
    font-size:30px;
    font-weight:700;
    line-height:1.3;
    color:#111827;
}

.post-content h3{
    margin-top:35px;
    margin-bottom:15px;
    font-size:24px;
    font-weight:600;
    line-height:1.4;
    color:#111827;
}

.post-content img{
    display:block;
    max-width:100%;
    height:auto;
    margin:35px auto;
    border-radius:14px;
}

.post-content a{
    color:#0d6efd;
    text-decoration:none;
}

.post-content a:hover{
    text-decoration:underline;
}

.post-content ul,
.post-content ol{
    margin-bottom:25px;
    padding-left:25px;
}

.post-content li{
    margin-bottom:10px;
}

.post-content blockquote{
    border-left:4px solid #0d6efd;
    background:#f8fbff;
    padding:18px 22px;
    margin:30px 0;
    font-style:italic;
    color:#374151;
}

.post-content table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

.post-content table th,
.post-content table td{
    border:1px solid #e5e7eb;
    padding:12px;
}

.post-content table th{
    background:#f8fafc;
    font-weight:600;
}


/* ==========================================================
   Table of Contents
========================================================== */

.article-toc{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:24px;
    margin:30px 0;
    box-shadow:0 4px 16px rgba(0,0,0,.05);
    transition:.3s ease;
}

.article-toc:hover{
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.article-toc.sticky{
    position:sticky;
    top:100px;
}

.article-toc .toc-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    font-size:20px;
    font-weight:700;
    color:#111827;
}

.article-toc .toc-title i{
    color:#0d6efd;
}

.article-toc .toc-list{
    list-style:none;
    margin:0;
    padding:0;
}

.article-toc .toc-list li{
    margin:8px 0;
}

.article-toc .toc-list li.h3{
    padding-left:22px;
    font-size:14px;
}

.article-toc .toc-list a{
    display:block;
    color:#555;
    text-decoration:none;
    font-size:15px;
    line-height:1.6;
    word-break:break-word;
    transition:.25s;
}

.article-toc .toc-list a:hover{
    color:#0d6efd;
}

.article-toc .toc-list a.active{
    color:#0d6efd;
    font-weight:600;
    border-left:3px solid #0d6efd;
    padding-left:10px;
    background:#f8fbff;
}


/* ==========================================================
   Author Box
========================================================== */

.article-author{
    display:flex;
    align-items:center;
    gap:30px;
    margin:60px 0 35px;
    padding:32px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-left:5px solid #0d6efd;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    transition:.3s;
}

.article-author:hover{
    box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.author-avatar{
    flex-shrink:0;
}

.author-avatar img{
    width:110px;
    height:110px;
    object-fit:cover;
    border-radius:50%;
    border:4px solid #fff;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.author-content{
    flex:1;
}

.author-label{
    font-size:13px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#6b7280;
    margin-bottom:8px;
}

.author-name{
    margin:0;
    font-size:32px;
    font-weight:700;
    color:#111827;
}

.author-role{
    margin-top:8px;
    margin-bottom:18px;
    color:#0d6efd;
    font-weight:600;
    font-size:15px;
}

.author-bio{
    margin:0;
    color:#4b5563;
    line-height:1.9;
    font-size:16px;
}


/* ==========================================================
   Share Buttons
========================================================== */

.space-between{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:25px;
    margin-top:25px;
}

.share{
    display:flex;
    align-items:center;
    gap:18px;
}

.share-title{
    font-weight:600;
    color:#374151;
}

.share-icons{
    display:flex;
    gap:12px;
}

.share-icons a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.share-icons a:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,.18);
}

.facebook{
    background:#1877F2;
}

.twitter{
    background:#111827;
}

.linkedin{
    background:#0A66C2;
}

.whatsapp{
    background:#25D366;
}


/* ==========================================================
   Tags
========================================================== */

.tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}

.tag-item{
    display:inline-block;
    padding:8px 14px;
    background:#f3f4f6;
    border-radius:25px;
    color:#374151;
    font-size:14px;
    text-decoration:none;
    transition:.3s;
}

.tag-item:hover{
    background:#0d6efd;
    color:#fff;
}


/* ==========================================================
   Author CTA
========================================================== */

.author-cta{
    text-align:center;
    margin-bottom:60px;
}

.author-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 24px;
    background:#0d6efd;
    color:#fff;
    border-radius:10px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.author-btn:hover{
    background:#0b5ed7;
    color:#fff;
    text-decoration:none;
}


/* ==========================================================
   Smooth Scroll
========================================================== */

html{
    scroll-behavior:smooth;
}


/* ==========================================================
   Responsive
========================================================== */

@media (max-width:991px){

    .article-toc{
        padding:18px;
        margin:25px 0;
    }

    .article-toc.sticky{
        position:relative;
        top:auto;
    }

    .article-toc .toc-title{
        font-size:18px;
    }

    .article-toc .toc-list a{
        font-size:14px;
    }

}

@media (max-width:768px){

    .article-author{
        flex-direction:column;
        text-align:center;
        padding:25px;
    }

    .author-avatar img{
        width:90px;
        height:90px;
    }

    .author-name{
        font-size:24px;
    }

    .space-between{
        flex-direction:column;
        align-items:flex-start;
    }

    .share{
        flex-direction:column;
        align-items:flex-start;
    }

}

/* ==========================================================
   Related Articles
========================================================== */

.related-articles{
    margin:60px 0;
}

.related-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:30px;
    font-size:30px;
    font-weight:700;
    color:#111827;
}

.related-title i{
    color:#0d6efd;
}

.related-card{
    height:100%;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    overflow:hidden;
    transition:all .35s ease;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
}

.related-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.related-image{
    display:block;
    overflow:hidden;
}

.related-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:transform .5s ease;
}

.related-card:hover .related-image img{
    transform:scale(1.08);
}

.related-content{
    padding:22px;
}

.related-meta{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:12px;
    font-size:14px;
    color:#6b7280;
}

.related-meta i{
    color:#0d6efd;
}

.related-content h4{
    margin:0 0 18px;
    font-size:20px;
    line-height:1.5;
    min-height:72px;
}

.related-content h4 a{
    display:block;
    color:#111827;
    text-decoration:none;
    transition:.3s;
}

.related-content h4 a:hover{
    color:#0d6efd;
}

.related-read-more{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:600;
    color:#0d6efd;
    text-decoration:none;
    transition:.3s;
}

.related-read-more:hover{
    color:#084298;
    text-decoration:none;
    gap:10px;
}

/* ==========================================================
   Related Articles Responsive
========================================================== */

@media (max-width:991px){

    .related-title{
        font-size:26px;
    }

    .related-image img{
        height:200px;
    }

}

@media (max-width:768px){

    .related-articles{
        margin:45px 0;
    }

    .related-title{
        font-size:24px;
    }

    .related-content{
        padding:18px;
    }

    .related-content h4{
        font-size:18px;
        min-height:auto;
    }

    .related-image img{
        height:190px;
    }

}