/* SECTION */

.blog-section{
    padding:80px 0;
    background:#f7f7f7;
    overflow:hidden;
}

.blog-container{
    width:1200px;
    margin:auto;
}


/* MAIN LAYOUT */

.blog-main{
    display:flex;
    gap:30px;
    align-items:flex-start;
}


/* LEFT SIDE */

.blog-left{
    width:70%;
}


/* BLOG CARD */

.blog-card{
    background:#fff;
    border-radius:22px;
    padding:18px;
    display:flex;
    gap:28px;
    margin-bottom:35px;
    position:relative;
    overflow:hidden;
    transition:0.45s ease;
    cursor:pointer;
    border:1px solid #000;
}

.blog-card-link{
    color:inherit;
    text-decoration:none;
}

.blog-card-link:hover{
    color:inherit;
}

.blog-card-link:focus-visible{
    outline:3px solid #ff9800;
    outline-offset:3px;
}


/* HOVER EFFECT */

.blog-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:0%;
    height:100%;
    background:#000;
    opacity:0.03;
    transition:0.5s ease;
}

.blog-card:hover::before{
    width:100%;
}

.blog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,0.08);
}


/* IMAGE */

.blog-image{
    width:48%;
    overflow:hidden;
    border-radius:20px;
}

.blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:20px;
    transition:0.6s ease;
}

.blog-card:hover .blog-image img{
    transform:scale(1.08);
}

.blog-content{
    width:52%;
    position:relative;
    z-index:2;
}

.blog-date{
    font-size:14px;
    font-weight:500;
    color:#666;
    margin-bottom:12px;
    letter-spacing:0.5px;
}

.blog-title{
    font-size:24px;
    font-weight:500;
    line-height:30px;
    color:#111;
    margin-bottom:20px;
    transition:0.4s ease;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
}

.blog-card:hover .blog-title{
    color:#ff9800;
}


/* META */

.blog-meta{
    margin-bottom:18px;
}

.blog-meta p{
    font-size:16px;
    color:#444;
    margin-bottom:10px;
    transition:0.3s;
    
}

.blog-card:hover .blog-meta p{
    padding-left:5px;
}


/* TEXT */

.blog-text{
    font-size:16px;
    line-height:28px;
    color:#666;


    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
}


/* RIGHT SIDE */

.blog-right{
    width:30%;
    position:sticky;
    top:30px;
}


/* CATEGORY BOX */

.category-box{
    background:#fff;
    border-radius:22px;
    padding:38px;
    border:1px solid #ececec;
    transition:0.4s ease;
    margin-top:-27px;
}

.category-box:hover{
    box-shadow:0 15px 40px rgba(0,0,0,0.06);
}


/* HEADING */

.category-box h2{
    font-size:38px;
    font-weight:600;
    color:#111;
    margin-bottom:28px;
}


/* CATEGORY ITEM */

.category-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 0;
    border-top:1px solid #ececec;
    font-size:18px;
    font-weight:500;
    color:#333;
    cursor:pointer;
    transition:0.4s ease;
}

.category-item:last-child{
    border-bottom:1px solid #ececec;
}


/* HOVER */

.category-item:hover{
    padding-left:10px;
    color:#ff9800;
}

.category-item span:last-child{
    transition:0.4s ease;
    font-size:24px;
}

.category-item:hover span:last-child{
    transform:translateX(8px);
}

.category-item i{
    transition:0.4s ease;
    font-size:18px;
}

.category-item:hover i{
    transform:translateX(8px);
}


/* BLOG DETAILS */

.blog-details-section{
    padding:80px 0 95px;
    background:#fff;
}

.blog-details-grid{
    display:grid;
    grid-template-columns:minmax(0, 2.15fr) minmax(270px, 1fr);
    gap:70px;
    align-items:start;
}

.blog-details-featured{
    display:block;
    width:100%;
    height:480px;
    border-radius:20px;
    object-fit:cover;
}

.blog-details-meta{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:42px;
    margin-top:28px;
    padding-bottom:22px;
    border-bottom:1px solid #e5e5e5;
    color:#373737;
    font-size:16px;
    text-transform:uppercase;
}

.blog-details-meta span{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.blog-details-meta i{
    color:#f99b1c;
}

.blog-details-content{
    padding-top:11px;
    color:#444;
}

.blog-details-content p{
    margin-bottom:12px;
    font-size:17px;
    line-height:1.75;
    color:#444;
}

.blog-detail-block{
    margin-top:32px;
}

.blog-detail-block h2,
.blog-comparison h2{
    margin-bottom:6px;
    color:#101c2b;
    font-size:24px;
    line-height:1.2;
    font-weight:700;
}

.blog-comparison{
    margin-top:38px;
}

.blog-table-wrap{
    margin-top:4px;
    overflow-x:auto;
}

.blog-comparison table{
    width:100%;
    border-collapse:collapse;
    min-width:580px;
    font-size:16px;
    color:#343434;
}

.blog-comparison th{
    background:#ffc107;
    color:#111827;
    font-weight:700;
    text-align:left;
}

.blog-comparison th,
.blog-comparison td{
    padding:9px 12px;
    border:1px solid #222;
}

.blog-conclusion{
    border-bottom:1px solid #e5e5e5;
    padding-bottom:42px;
    margin-top:42px;
}

.blog-details-sidebar{
    position:sticky;
    top:115px;
}

.blog-details-sidebar .category-box{
    margin-top:0;
    padding:34px 38px 45px;
    box-shadow:0 18px 42px rgba(12, 32, 55, 0.06);
}

.blog-details-sidebar .category-box h2{
    font-size:31px;
    margin-bottom:20px;
}

.blog-details-sidebar .category-item{
    text-decoration:none;
    color:#333;
}

.blog-details-sidebar .category-item:hover{
    color:#ff9800;
}


/* RESPONSIVE */

@media(max-width:991px){

    .blog-container{
        width:95%;
    }

    .blog-main{
        flex-direction:column;
    }

    .blog-left,
    .blog-right{
        width:100%;
    }

    .blog-card{
        flex-direction:column;
    }

    .blog-image,
    .blog-content{
        width:100%;
    }

    .blog-title{
        font-size:25px;
        line-height:38px;
    }

    .blog-details-section{
        padding:55px 0 65px;
    }

    .blog-details-grid{
        grid-template-columns:1fr;
        gap:38px;
    }

    .blog-details-sidebar{
        position:static;
    }

    .blog-details-featured{
        height:auto;
        max-height:460px;
    }

    .blog-detail-block h2,
    .blog-comparison h2{
        font-size:24px;
    }

}

@media(max-width:575px){

    .blog-section,
    .blog-details-section{
        padding:42px 0 50px;
    }

    .blog-card{
        padding:12px;
        gap:20px;
    }

    .blog-details-featured{
        border-radius:14px;
    }

    .blog-details-meta{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
        margin-top:22px;
    }

    .blog-details-content p{
        font-size:15px;
    }

    .blog-detail-block{
        margin-top:26px;
    }

    .blog-detail-block h2,
    .blog-comparison h2{
        font-size:20px;
    }

    .blog-details-sidebar .category-box{
        padding:26px 24px 32px;
    }

}


.blog-details-article {
    max-height: 100%;
    overflow: hidden;
}





































