/* =========================
GLOBAL
========================= */

/*body{
    font-family: 'Inter', sans-serif;
    background: #F7F7F8;
    overflow-x: hidden;
}*/

a{
    text-decoration: none;
}

/* =========================
BLOG HERO
========================= */

.blog-details-hero{
    padding: 90px 0px 0px;
    background: linear-gradient(180deg, #1A0537 0%, #5C34B3 100%);
    position: relative;
}

/*.blog-details-head{
    max-width: 900px;
}*/

.blog-details-head h1 {
    color: #FFF;
    font-size: 50px;
    line-height: 68px;
    font-weight: 800;
    margin-bottom: 35px;
    margin-top: 50px;
}

.blog-author-wrap{
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.author-img img{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-content{
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.author-content span{
    color: #D1D5DB;
    font-size: 16px;
    font-weight: 500;
}

.author-content .dot{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #A78BFA;
}

/* =========================
BANNER
========================= */

.blog-main-banner{
    /*margin-top: 70px;*/
    transform: translateY(90px);
}

.banner-inner {
    /* background: linear-gradient(135deg, #6A3FFF 0%, #7D4DFF 100%); */
    /* border-radius: 40px; */
    /* min-height: 650px; */
    /* position: relative; */
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-banner-img {
    width: 100%;
    max-width: 70%;
    position: relative;
    z-index: 2;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-img img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.author-placeholder{

    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f2f3f7;
    color:#6f3ff5;
    font-size:28px;
    border:2px solid #e5e5e5;
    border-radius:50%;

}

/* FLOATING CARDS */

.floating-card{
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 22px;
    background: #4F2AB5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0px 20px 40px rgba(0,0,0,0.18);
}

.floating-card i{
    color: #FFF;
    font-size: 40px;
}

.floating-card-one{
    top: 90px;
    right: 180px;
}

.floating-card-two{
    left: 180px;
    top: 280px;
    animation-delay: 1s;
}

/* CONTACT TOOL */

.contact-tool-box{
    position: absolute;
    bottom: 80px;
    background: #EFEAFB;
    width: 340px;
    padding: 22px;
    border-radius: 18px;
    z-index: 10;
    text-align: center;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.15);
}

.tool-top{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 15px;
}

.tool-icon{
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #6B46D8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i{
    color: #FFF;
}

.tool-line{
    width: 70px;
    height: 2px;
    border-top: 2px dashed #7C3AED;
}

.tool-status{
    background: #6B46D8;
    color: #FFF;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 8px;
}

.contact-tool-box h5{
    margin: 0;
    font-size: 26px;
    font-weight: 600;
}

/* =========================
BLOG CONTENT
========================= */

.blog-details-content{
    padding: 150px 0px 100px;
}

.blog-sidebar {
    position: sticky;
    top: 60px;
    background: #fffafa;
    box-shadow: 2px 2px 2px 5px gray;
    padding: 10px;
    border-radius: 10px;
}

.content-box{
    margin-bottom: 45px;
}

.content-box h6, .share-box h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.content-box ul{
    padding: 0;
    margin: 0;
}

.content-box ul li{
    list-style: none;
    margin-bottom: 18px;
}

.content-box ul li a {
    color: #000000;
    font-size: 15px;
    transition: .3s;
    position: relative;
    padding-left: 16px;
}

.content-box ul li a::before{
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    position: absolute;
    left: 0;
    top: 8px;
}

.content-box ul li a.active,
.content-box ul li a:hover{
    color: #7C3AED;
}

.content-box ul li a.active::before,
.content-box ul li a:hover::before{
    background: #7C3AED;
}

.share-icons{
    display: flex;
    gap: 18px;
}

.share-icons a{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    transition: .3s;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.05);
}

.share-icons a:hover{
    background: #7C3AED;
    color: #FFF;
    transform: translateY(-4px);
}

/* =========================
CONTENT
========================= */

.blog-content-block{
    margin-bottom: 70px;
}

.blog-content-block h2 {
    font-size: 35px;
    font-weight: 800;
    color: #111827;
    /* margin-bottom: 28px; */
}

.blog-content-block p {
    color: #6B7280;
    font-size: 17px;
    line-height: 2;
    margin-bottom: 30px;
}

.blog-inner-image{
    margin: 50px 0px;
    border-radius: 20px;
    overflow: hidden;
}

.blog-inner-image img{
    width: 100%;
}

/* =========================
ANIMATION
========================= */

@keyframes float{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-15px);
    }
    100%{
        transform: translateY(0px);
    }
}

/* =========================
RESPONSIVE
========================= */

@media(max-width: 1199px){

    .blog-details-head h1{
        font-size: 54px;
    }

}

@media(max-width: 991px){

    .blog-sidebar{
        position: relative;
        top: 0;
        margin-bottom: 50px;
    }

    .blog-details-head h1{
        font-size: 46px;
    }

    .banner-inner{
        min-height: 500px;
    }

    .floating-card{
        width: 80px;
        height: 80px;
    }

    .floating-card i{
        font-size: 28px;
    }

    .floating-card-one{
        right: 80px;
    }

    .floating-card-two{
        left: 80px;
    }

    .contact-tool-box{
        width: 300px;
        bottom: 40px;
    }

}

@media(max-width: 767px){

    .blog-details-hero{
        padding-top: 60px;
    }

    .blog-details-head h1{
        font-size: 36px;
    }

    .author-content{
        gap: 10px;
    }

    .author-content span{
        font-size: 14px;
    }

    .banner-inner{
        min-height: 420px;
        border-radius: 24px;
    }

    .floating-card{
        display: none;
    }

    .contact-tool-box{
        width: 260px;
        padding: 18px;
    }

    .contact-tool-box h5{
        font-size: 18px;
    }

    .blog-details-content{
        padding-top: 150px;
    }

    .blog-content-block h2{
        font-size: 30px;
    }

    .blog-content-block p{
        font-size: 16px;
    }

}

.blog-content-wrap p, .blog-content-wrap p span {
    font-size: 16px !important;
    font-family: 'Inter' !important;
    line-height: 30px !important;
}

/*=====================================
COMMENT WIDGET
=====================================*/

.comment-widget,
.comment-form-box ,  .share-box{

    background:#fff;
    border-radius:18px;
    padding:22px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-bottom:25px;

}

.comment-widget h5,
.comment-form-box h5{

    font-size:18px;
    font-weight:700;
    margin-bottom:20px;
    color:#222;

}

.comment-widget h5 i,
.comment-form-box h5 i{

    color:#6f3ff5;
    margin-right:8px;

}

/*=====================================
COMMENTS
=====================================*/

.single-comment {
    display: flex;
    gap: 5px;
    /* margin-bottom: 18px; */
    padding-bottom: 10px;
    margin-top: 10px;
    border-bottom: 1px solid #ececec;
}

.single-comment:last-child{

    margin-bottom:0;
    border-bottom:none;
    padding-bottom:0;

}

.comment-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f2ebff;
    color: #6f3ff5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    display: none;
}

.comment-body h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 25px;
}

.comment-body p{

    margin:0;
    color:#666;
    font-size:14px;
    line-height:1.7;

}

/*=====================================
FORM
=====================================*/

.comment-form-box .form-control{

    border-radius:12px;
    border:1px solid #ddd;
    box-shadow:none;
    padding:12px 15px;
    font-size:14px;

}

.comment-form-box .form-control:focus{

    border-color:#6f3ff5;
    box-shadow:0 0 0 0.15rem rgba(111,63,245,.15);

}

.comment-form-box textarea{

    resize:none;

}

.btn-comment {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #6f3ff5;
    color: #fff;
    padding: 5px;
    font-weight: 600;
    transition: .3s;
    font-size: 15px;
}

.btn-comment:hover{

    background:#5529d8;

}

.blog-content-wrap {
    padding: 15px;
    background: #f3f3f3;
    border-radius: 10px;
}

/*=====================================
RECENT BLOGS
=====================================*/

.recent-blog-list{

    display:flex;
    flex-direction:column;

}

.recent-blog-item{

    display:flex;
    gap:14px;
    align-items:center;
    padding:14px 0;
    text-decoration:none;
    border-bottom:1px solid #ececec;
    transition:.3s;

}

.recent-blog-item:last-child{

    border-bottom:none;

}

.recent-blog-item:hover{

    transform:translateX(5px);

}

.recent-blog-img {
    width: 100px;
    /* height: 70px; */
    height: auto;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.recent-blog-img img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;

}

.recent-blog-item:hover .recent-blog-img img{

    transform:scale(1.08);

}

.recent-blog-content{

    flex:1;

}

.recent-blog-content h5{

    font-size:14px;
    line-height:1.6;
    color:#222;
    font-weight:600;
    margin:0;
    transition:.3s;

}

.recent-blog-item:hover .recent-blog-content h5{

    color:#6f3ff5;

}











/*=========================================
BLOG DETAILS LAYOUT
=========================================*/

.blog-content-wrap,
.blog-sidebar{

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    padding:35px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.05),
        0 2px 8px rgba(0,0,0,.03);

    transition:.35s ease;

}

/* Hover Effect */

.blog-content-wrap:hover,
.blog-sidebar:hover{

    transform:translateY(-4px);

    box-shadow:
        0 18px 45px rgba(0,0,0,.08),
        0 5px 15px rgba(0,0,0,.05);

}


/* Space between cards */

/*.blog-sidebar{

    margin-bottom:30px;

}*/


/* Blog Content */

.blog-content-wrap{

    min-height:100%;

    line-height:1.9;

}


/* Headings */

.blog-content-wrap h1,
.blog-content-wrap h2,
.blog-content-wrap h3,
.blog-content-wrap h4{

    margin-top:25px;

    margin-bottom:15px;

    font-weight:700;

}


/* Paragraph */

.blog-content-wrap p{

    color:#555;

    font-size:17px;

    margin-bottom:18px;

}


/* Images */

.blog-content-wrap img{

    width:100%;

    border-radius:12px;

    margin:20px 0;

}


/* Lists */

.blog-content-wrap ul,
.blog-content-wrap ol{

    padding-left:22px;

    margin-bottom:20px;

}

.blog-content-wrap li{

    margin-bottom:10px;

}


/* Mobile */

@media(max-width:991px){

    .blog-content-wrap,
    .blog-sidebar{

        padding:22px;

        margin-bottom:25px;

    }

}