/* ======================================================
   SMART READING BOX
====================================================== */

.ks-reading-box{
    margin:20px 0;
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.ks-reading-title{
    display:flex;
    align-items:center;
    gap:10px;
    padding:18px 24px;
    background:linear-gradient(90deg,#009688,#609691);
    color:#fff;
    font-size:20px;
    font-weight:700;
}

.ks-reading-title{

    border-bottom:1px solid rgba(255,255,255,.15);

}
.ks-reading-items{
    padding:20px;
}

.ks-card{
    display:flex;
    gap:18px;
    align-items:flex-start;
    text-decoration:none;
    padding:18px 0;
    border-bottom:1px solid #ececec;
    transition:.35s;
}

.ks-card{

    padding:18px;

    border-radius:14px;

}

.ks-card:hover{

    background:#fafafa;

}

.ks-thumb{

    position:relative;

    display:block;

    width:180px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:12px;

}

.ks-thumb img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
    transition:.45s;
}

.ks-card:hover img{
    transform:scale(1.08);
}

.ks-content h4{

    font-size:20px;
    font-weight:600;
    line-height:1.4;
}

.ks-category{

    position:absolute;

    left:12px;

    bottom:12px;

    display:inline-flex;

    align-items:center;

    padding:6px 12px;

    background:#dd9933;

    color:#fff;

    font-size:11px;

    font-weight:700;

    border-radius:30px;

    letter-spacing:.5px;

    text-transform:uppercase;

    box-shadow:0 6px 18px rgba(0,0,0,.25);

    z-index:2;

}

.ks-content h4{
    margin:0;
    font-size:22px;
    line-height:1.45;
    font-weight:700;
}

.ks-content h4 a{
    color:#222;
    text-decoration:none;
    transition:.25s;
}

.ks-content h4 a:hover{
    color:#009688;
}

.ks-meta{
    margin-top:12px;
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
    color:#666;
    font-size:13px;
}

.ks-meta span{
    display:flex;
    align-items:center;
}

/* ===========================================
TABLET
=========================================== */

@media(max-width:991px){

.ks-thumb{
    width:150px;
}

.ks-content h4{
    font-size:19px;
}

}

/* ===========================================
MOBILE
=========================================== */

@media(max-width:768px){

.ks-reading-box{
    border-radius:14px;
}

.ks-reading-title{
    padding:16px;
    font-size:18px;
}

.ks-reading-items{
    padding:15px;
}

.ks-card{
    display:block;
    padding:0 0 20px;
    margin-bottom:20px;
}

.ks-thumb{
    width:100%;
    margin-bottom:15px;
}

.ks-content h4{
    font-size:17px;
}

.ks-meta{
    font-size:13px;
    gap:8px;
}

    .ks-category{

        left:10px;

        bottom:10px;

        font-size:10px;

        padding:5px 10px;

    }

}

/* ===========================================
HOVER EFFECT
=========================================== */

.ks-card{
    position:relative;
}

.ks-card:before{
    content:"";
    position:absolute;
    left:-20px;
    top:0;
    width:5px;
    height:100%;
    background:#009688;
    transform:scaleY(0);
    transition:.35s;
    border-radius:50px;
}

.ks-card:hover:before{
    transform:scaleY(1);
}

/* ===========================================
DARK SHADOW
=========================================== */

.ks-card:hover{
    background:#fafafa;
}

/* ===========================================
TITLE LIMIT
=========================================== */

.ks-content h4{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ===========================================
IMAGE RADIUS
=========================================== */

.ks-thumb img{
    border-radius:12px;
}

/* ===========================================
SMOOTH
=========================================== */

.ks-card,
.ks-thumb img,
.ks-content a{
    transition:all .35s ease;
}