/* =================================
   BLOG DETAILS
================================= */

.blog-detail-section{
    padding:0 0 100px;
    background:#fff;
}

.blog-container{
    max-width:1150px;
    margin:auto;
}

.blog-breadcrumb-wrap{
    width:100%;
    background:#EAF0FA;
    border-top:1px solid #E3E8F2;
    border-bottom:1px solid #E3E8F2;

    margin-bottom:28px;
}

.blog-breadcrumb-container{
    max-width:1280px;
    margin:0 auto;

    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 60px;

    font-size:14px;
    font-weight:500;
}

.blog-breadcrumb-container a{
    text-decoration:none;
    color:#535862;
}

.blog-breadcrumb-container span{
    color:#535862;
}

.blog-breadcrumb-container .current{
    color:#25324F;
}

.blog-breadcrumb a{
    text-decoration:none;
    color:#535862;
}

.blog-breadcrumb .current{
    color:#25324F;
}

.blog-featured-image{
    height:420px;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:50px;
}

.blog-featured-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.blog-layout{
    display:grid;
    grid-template-columns:400px 1fr;
    gap:50px;
}

/* ==========================
   BLOG SIDEBAR
========================== */

.blog-sidebar{
    position:sticky;
    top:100px;
    height:max-content;
}

.author-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.author-box{
    display:flex;
    align-items:center;
    gap:16px;
}

.author-box img{
    width:46px;
    height:46px;
    border-radius:50%;
    border: 2.6px solid #fff;
    object-fit:cover;
}

.author-info h4{
    margin:0;
    font-size:24px;
    font-weight:600;
    color:#181D27;
    line-height:1.1;
}

.author-meta{
    margin-top:4px;

    display:flex;
    align-items:center;
    gap:8px;

    font-size:14px;
    font-weight:500;
    color:#414651;
}

.follow-btn{
    width:134px;
    height:40px;

    border:1px solid #717680;
    border-radius:68px;

    background:#fff;
    color:#252B37;

    font-size:16px;
    font-weight:500;

    cursor:pointer;
    transition:.2s;
}

.follow-btn:hover{
    background:#F9FAFB;
}

.blog-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;

    margin-top:32px;
}

.blog-tags span{
    background:#F5F5F5;

    color:#3C4762;

    font-size:14px;
    font-weight:500;

    padding:8px 24px;

    border-radius:37px;
}

.blog-stats{
    margin-top:50px;
    padding-top:24px;

    border-top:1px solid #D5D7DA;

    display:flex;
    align-items:center;
    gap:52px;
}

.blog-stats div{
    display:flex;
    align-items:center;
    gap:8px;

    color:#535862;
    font-size:18px;
}

.blog-stats div span{
    font-size:14px;
    font-weight:500;
    color: #3C4762;
}

.blog-stats i{
    font-size:20px;
    color:#535862;
}

/* CONTENT */

.blog-content{
    max-width:720px;
}

.blog-content h1{
    font-size:40px;
    line-height:1.1;
    font-weight:600;
    color:#25324F;

    margin-bottom:28px;
}



.blog-content p{
    font-size:20px;
    line-height:1.9;
    color:#414651;
    font-weight: 500;

    margin-bottom:20px;
}

.content-image{
    margin:35px 0;
    max-width: 775px;
    height: 321px;
    border-radius:12px;
    overflow: hidden;
}

.content-image img{
    width:100%;
    height: 100%;
    display:block;
    object-fit: cover;
}




/* AUTHOR CARD */

.article-author-top{
    margin-top: 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.article-author-info{
    display:flex;
    align-items:center;
    gap:16px;
}

.article-author-info img{
    width:46px;
    height:46px;
    border: 2.65px solid #FFFFFF;
    border-radius:50%;
    object-fit:cover;
}

.article-author-info h3{
    margin:0;

    font-size:24px;
    font-weight:600;
    color:#181D27;
}

.article-author-info span{
    display:block;
    margin-top:4px;

    font-size:14px;
    color:#414651;
    font-weight: 500;
}

.author-followers {
    display: flex;

}
.dot_followers {
    margin: 0 10px;
}


.article-follow-btn{
    width:134px;
    height:40px;

    border:1px solid #717680;
    background:#fff;

    border-radius:68px;

    font-size:16px;
    font-weight:500;
    color: #252B37;

    cursor:pointer;
}

.article-follow-btn:hover{
    background:#F9FAFB;
}

.article-author-bio{
    margin-top:24px !important;

    font-size:18px !important;
    line-height:1.7 !important;

    color:#414651 !important;
    font-weight: 500 !important;
}




/* ==========================
   COMMENTS
========================== */

.comments-section{
    margin-top:80px;
}

.comments-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding-bottom:24px;
    border-bottom:1px solid #D5D7DA;
}

.comments-header h2{
    font-size:24px;
    font-weight:600;
    color:#181D27;
}

.comments-header a{
    text-decoration:none;
    color:#181D27;
    font-size:16px;
    font-weight:500;
}

.comments-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:20px;
}

.comment-card{
    padding-right:30px;
    border-right:2px solid #E9EAEB;
    margin-right: 50px;
}

.comment-card:last-child{
    border-right:none;
}

.comment-user{
    display:flex;
    align-items:center;
    gap:16px;
}

.comment-user img{
    width:46px;
    height:46px;
    border-radius:50%;
    object-fit:cover;
}

.comment-user h4{
    font-size:20px;
    font-weight: 600;
    color: #181D27;
    margin-bottom:4px;
}

.comment-user span{
    font-size:14px;
    font-weight: 500;
    color:#717680;
}

.comment-card p{
    margin:18px 0;
    font-size:20px;
    font-weight: 500;
    color:#252B37;
}

.comment-actions{
    display:flex;
    align-items:center;
    gap:25px;
}

.comment-actions div{
    display:flex;
    gap:8px;
    color:#3C4762;
    font-size:14px;
}

.comment-actions a{
    color:#3C4762;
    font-size:14px;
    font-weight: 500;
}

/* ==========================
   RELATED POSTS
========================== */

.related-posts{
    margin-top:80px;
}

.related-posts h2{
    font-size:24px;
    font-weight:600;
    color: #181D27;
    margin-bottom:30px;
}






/* ===================================
   COURSE DETAIL HERO
=================================== */

.course-detail-section{
    background:#EAF0FA80;
    padding:80px 60px;
}

.course-detail-container{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:520px 1fr;
    align-items:center;
    gap:72px;
}

.course-info h1{
    font-size:40px;
    font-weight:600;
    line-height:1.1;

    color:#0D1F3C;

    margin-bottom:30px;
}

.course-info p{
    font-size:20px;
    font-weight: 500;
    line-height:1.5;
    color:#414651;

    margin-bottom:35px;
}

.course-meta{
    display:flex;
    gap:12px;

    margin-bottom:35px;
}

.meta-item{
    display:flex;
    align-items:center;
    gap:10px;

    background:#DFE2E6;

    height:44px;
    padding: 12px;

    border-radius:8px;

    font-size:16px;
    font-weight:500;

    color:#25324F;
}

.meta-item i{
    font-size:18px;
}

.meta-item span {
    background-color: transparent;
}

.enroll-btn{
    display:flex;
    justify-content:center;
    align-items:center;

    width:100%;
    max-width:460px;
    height:44px;
    padding: 12px 16px;

    background:#0D1F3C;
    color:#fff;

    text-decoration:none;

    border-radius:8px;

    font-size:16px;
    font-weight:500;
}

button.enroll-btn {
    border: none;
    cursor: pointer;
}

button.enroll-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.course-preview img{
    width:100%;
    height:358px;

    object-fit:cover;

    border-radius:12px;
    border: 2px solid #B5BCCC;
    display:block;
}


/* ===================================
   COURSE INFORMATION SECTION
=================================== */

.course-info-section{
    background:#fff;
    padding:40px 70px 90px;
}

.course-info-container{
    max-width:1200px;
    margin:auto;
}

.course-info-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;


    padding:35px 0;

    border-bottom:1px solid #D5D7DA;
}

.course-info-block h3{
    font-size:24px;
    font-weight:600;
    color:#0D1F3C;

    margin-bottom:24px;
}

.course-info-block p{
    font-size:16px;
    font-weight: 500;
    line-height:1.8;
    color:#414651;
}

.course-info-block ul{
    margin:0;
    padding-left:22px;
}

.course-info-block li{
    font-size:16px;
    font-weight: 500;
    line-height:2;
    color:#414651;
}



/* ==========================
   OTHER COURSES
========================== */

.other-courses{
    padding-top:70px 10px 40px;
    background-color: #fff;
}
.other-courses-container{
    max-width:1100px;
    margin:auto;
}

.other-courses-container h2{
    font-size:32px;
    font-weight:600;
    color:#000000;
    margin-bottom:32px;
}


@media(max-width:991px){

    .blog-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-layout{
        grid-template-columns:1fr;
    }

    .blog-sidebar{
        position:relative;
        top:auto;
    }

    .blog-content{
        max-width:100%;

    }

    .blog-content h1{
        font-size:38px;
    }

    .blog-featured-image{
        height:280px;
    }
}

@media(max-width:768px){

        .blog-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-content h1{
        font-size:32px;
    }

    .blog-content p{
        font-size:16px;
    }

    .author-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .follow-btn{
        width:100%;
    }

    .author-info h4{
        font-size:20px;
    }
}



@media(max-width:768px){

        .article-author {
        padding-left: 16px;
        padding-right: 16px;
    }

    .article-author-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .article-follow-btn{
        width:100%;
    }


}



@media(max-width:991px){
    .comments-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .comments-grid{
        grid-template-columns:1fr 1fr;
        gap:20px;
    }

    .related-posts {
        padding-left: 16px;
        padding-right: 16px;
    }

    .related-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

      .comments-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .comments-grid{
        grid-template-columns:1fr;
    }

    .comment-card{
        border-right:none;
        border-bottom:1px solid #EAECF0;
        padding-bottom:20px;
    }


        .related-posts {
        padding-left: 16px;
        padding-right: 16px;
    }
}





@media(max-width:991px){

    .course-detail-container{
        grid-template-columns:1fr;
    }

    .course-info{
        order:2;
    }

    .course-preview{
        order:1;
    }

    .course-info h1{
        font-size:48px;
    }

    .course-info p{
        font-size:18px;
    }
}

@media(max-width:768px){

    .course-detail-section{
        padding:60px 20px;
    }

    .course-info h1{
        font-size:38px;
    }

    .course-meta{
        flex-wrap:wrap;
    }

    .enroll-btn{
        max-width:100%;
        font-size:20px;
    }

    .course-preview img{
        height:280px;
    }
}


@media(max-width:991px){

    .course-info-row{
        grid-template-columns:1fr;
        gap:40px;
    }
}

@media(max-width:768px){

    .course-info-section{
        padding:50px 20px;
    }

    .course-info-block h3{
        font-size:22px;
    }

    .course-info-block p,
    .course-info-block li{
        font-size:16px;
    }
}


@media(max-width:768px){

    .other-courses-container{
        padding: 10px 16px;
    }

    .other-courses-container h2{
        font-size:28px;
    }
}
/* Blog comments */
.blog-like-form {
    margin: 0;
}

.blog-like-btn,
.blog-stat-link,
.blog-share-btn,
.blog-comment-toggle {
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #535862;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.blog-like-btn.liked,
.blog-like-btn.liked i {
    color: #ef4444;
}

/* Comment form */
/* ==========================
   BLOG COMMENT FORM
========================== */

.comment-form {
    background: #fff;
    border: 1px solid #E9EAEB;
    border-radius: 12px;
    padding: 12px;
    margin-top: 18px;
    margin-bottom: 22px;
}

.comment-form textarea {
    width: 100%;
    min-height: 76px;
    border: 0;
    outline: none;
    resize: vertical;
    padding: 6px;
    margin-bottom: 10px;

    font-size: 14px;
    line-height: 1.6;
    color: #252B37;
    background: transparent;
}

.comment-form textarea::placeholder {
    color: #9CA3AF;
}

.comment-form button {
    height: 34px;
    padding: 0 16px;

    border: 0;
    border-radius: 7px;

    background: #25324F;
    color: #fff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.2s ease;
}

.comment-form button:hover {
    background: #0D1F3C;
}


/* ==========================
   COMMENT ALERTS
========================== */

.comment-login-box {
    background: #F8FAFC;
    border: 1px solid #E9EAEB;
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
}

.comment-login-box p {
    margin-bottom: 8px;
    color: #475569;
    font-size: 14px;
}

.comment-login-box a {
    color: #25324F;
    font-weight: 600;
    text-decoration: none;
}

.comment-success-message {
    background: #ECFDF3;
    color: #16A34A;
    padding: 11px 14px;
    border-radius: 10px;
    margin-top: 18px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}


/* ==========================
   COMMENT LIKE / ACTIONS
========================== */

.comment-like-form {
    margin: 0;
}

.comment-like-btn,
.comment-replies-toggle {
    border: 0;
    background: transparent;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #3C4762;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
}

.comment-like-btn.liked,
.comment-like-btn.liked i {
    color: #EF4444;
}

.comment-actions a {
    text-decoration: none;
    cursor: pointer;
}


/* ==========================
   REPLY BOX
========================== */

.reply-box {
    margin-top: 14px;
}

.reply-form {
    padding: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.reply-form textarea {
    min-height: 64px;
}


/* ==========================
   COMMENT REPLIES
========================== */

.comment-replies {
    margin-top: 18px;
    padding-left: 16px;

    border-left: 2px solid #E9EAEB;

    display: grid;
    gap: 16px;
}

.comment-reply-item {
    padding-top: 4px;
}

.comment-reply-item .comment-user img {
    width: 38px;
    height: 38px;
}

.comment-reply-item .comment-user h4 {
    font-size: 16px;
}

.comment-reply-item .comment-user span {
    font-size: 13px;
}

.comment-reply-item p {
    font-size: 16px;
    line-height: 1.6;
    margin: 14px 0;
}
.blog-author-avatar-img,
.blog-author-avatar-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    border-radius: 50%;
}

.blog-author-avatar-img {
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-author-avatar-icon {
    background: #F3F4F6;
    color: #667085;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.blog-author-avatar-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}
