/*==================================================
                Articles Section
==================================================*/

.articles-section{

    padding:90px 0;

    background:#ffffff;

}

/*=========================
        Article Card
=========================*/

.article-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    border:1px solid #edf1f7;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;

    display:flex;

    flex-direction:column;

}

.article-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

/*=========================
        Image
=========================*/

.article-image{

    position:relative;

    overflow:hidden;

}

.article-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.5s;

}

.article-card:hover img{

    transform:scale(1.08);

}

/*=========================
        Category
=========================*/

.article-category{

    position:absolute;

    top:15px;

    right:15px;

    background:#0d6efd;

    color:#fff;

    padding:7px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.article-category.math{

    background:#00b894;

}

.article-category.web{

    background:#ff9800;

}

.article-category.python{

    background:#3776ab;

}

/*=========================
        Body
=========================*/

.article-body{

    padding:25px;

    display:flex;

    flex-direction:column;

    flex-grow:1;

}

/*=========================
        Meta
=========================*/

.article-meta{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:10px;

    font-size:13px;

    color:#777;

    margin-bottom:18px;

}

.article-meta span{

    display:flex;

    align-items:center;

    gap:6px;

}

.article-meta i{

    color:#0d6efd;

}

/*=========================
        Title
=========================*/

.article-body h3{

    font-size:22px;

    font-weight:700;

    color:#222;

    line-height:1.8;

    margin-bottom:15px;

    transition:.3s;

}

.article-card:hover h3{

    color:#0d6efd;

}

/*=========================
        Description
=========================*/

.article-body p{

    color:#666;

    font-size:15px;

    line-height:2;

    margin-bottom:20px;

    flex-grow:1;

}

/*=========================
        Tags
=========================*/

.article-tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:22px;

}

.article-tags span{

    background:#f3f7ff;

    color:#0d6efd;

    padding:6px 14px;

    border-radius:25px;

    font-size:13px;

    transition:.3s;

}

.article-tags span:hover{

    background:#0d6efd;

    color:#fff;

}

/*=========================
        Button
=========================*/

.btn-article{

    display:flex;

    justify-content:space-between;

    align-items:center;

    text-decoration:none;

    color:#0d6efd;

    font-weight:700;

    transition:.3s;

}

.btn-article:hover{

    color:#0b5ed7;

}

.btn-article i{

    transition:.3s;

}

.btn-article:hover i{

    transform:translateX(-6px);

}

/*=========================
    All Articles Button
=========================*/

.btn-all-articles{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:14px 32px;

    background:#0d6efd;

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.btn-all-articles:hover{

    background:#0b5ed7;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(13,110,253,.3);

}

/*=========================
      Responsive
=========================*/

@media(max-width:992px){

    .article-image img{

        height:220px;

    }

}

@media(max-width:768px){

    .article-body{

        padding:20px;

    }

    .article-body h3{

        font-size:19px;

    }

    .article-body p{

        font-size:14px;

    }

    .article-meta{

        font-size:12px;

    }

}

@media(max-width:576px){

    .article-image img{

        height:200px;

    }

    .article-body h3{

        font-size:18px;

    }

    .btn-all-articles{

        width:100%;

        justify-content:center;

    }

}