/*=====================================================
OVERVIEW
=====================================================*/

.tnp-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-bottom:45px;
}

.tnp-dashboard-section{
    margin-top:60px;
}

.tnp-dashboard-section h2{
    font-size:34px;
    margin-bottom:28px;
    color:#111827;
}

.tnp-dashboard-editions{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:28px;
}

.tnp-dashboard-edition{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
}

.tnp-dashboard-edition:hover{
    transform:translateY(-8px);
}

.tnp-dashboard-edition a{
    display:block;
    text-decoration:none;
    color:inherit;
}

.tnp-dashboard-edition img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
}

.tnp-dashboard-edition h4{
    margin:18px;
    font-size:20px;
}

.tnp-dashboard-edition span{
    display:block;
    margin:0 18px 18px;
    color:#6b7280;
}

/*=====================================================
RECENTLY READ
=====================================================*/

.tnp-continue-more,
.tnp-dashboard-section.recently-read{
    margin:60px 0;
}

.tnp-continue-list{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:24px;
}

.tnp-continue-item{
    display:block;
    text-decoration:none;
    color:inherit;
    transition:.3s;
}

.tnp-continue-item:hover{
    transform:translateY(-6px);
}

.tnp-continue-thumb{
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    aspect-ratio:3/4;
}

.tnp-continue-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.tnp-continue-title{
    margin-top:12px;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
}
/*=====================================================
CONTINUE READING
=====================================================*/

.tnp-continue-card{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:40px;
    background:#fff;
    border-radius:24px;
    padding:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    align-items:center;
}

.tnp-continue-cover{
    overflow:hidden;
    border-radius:18px;
}

.tnp-continue-cover img{
    width:100%;
    height:420px;
    object-fit:cover;
    display:block;
}

.tnp-continue-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.tnp-reading-label{
    display:inline-block;
    margin-bottom:12px;
    font-size:12px;
    font-weight:700;
    color:#6b7280;
    text-transform:uppercase;
}

.tnp-continue-content h3{
    font-size:34px;
    margin-bottom:18px;
}

.tnp-progress{
    width:100%;
    height:10px;
    background:#ececec;
    border-radius:999px;
    overflow:hidden;
    margin:18px 0;
}

.tnp-progress-fill{
    height:100%;
    background:#d60000;
}



/*=====================================================
TABLET
=====================================================*/

@media (max-width:992px){

    .tnp-dashboard-grid{

        grid-template-columns:1fr 1fr;

        gap:22px;

    }

    .tnp-dashboard-section{

        margin-top:45px;

    }

    .tnp-dashboard-section h2{

        font-size:30px;

    }

    .tnp-dashboard-editions{

        grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    }

    .tnp-continue-card{

        grid-template-columns:220px 1fr;

        gap:25px;

        padding:25px;

    }

    .tnp-continue-cover img{

        height:340px;

    }

}

/*=====================================================
MOBILE
=====================================================*/

@media (max-width:768px){

    .tnp-dashboard-grid{

        grid-template-columns:1fr;

    }

    .tnp-dashboard-section{

        margin-top:35px;

    }

    .tnp-dashboard-section h2{

        font-size:28px;

        margin-bottom:18px;

    }

    .tnp-dashboard-editions{

        grid-template-columns:1fr;

    }

    .tnp-dashboard-edition{

        width:100%;

    }

    .tnp-continue-list{

        grid-template-columns:1fr 1fr;

    }

    .tnp-continue-card{

        grid-template-columns:1fr;

        text-align:center;

    }

    .tnp-continue-cover{

        max-width:260px;

        margin:auto;

    }

    .tnp-continue-cover img{

        height:auto;

    }

    .tnp-continue-content{

        align-items:center;

    }

    .tnp-continue-content h3{

        font-size:28px;

    }

}

/*=====================================================
SMALL PHONES
=====================================================*/

@media (max-width:480px){

    .tnp-dashboard{

        width:95%;

    }

    .tnp-dashboard-grid{

        gap:18px;

    }

    .tnp-dashboard-editions{

        gap:20px;

    }

    .tnp-dashboard-edition h4{

        font-size:18px;

    }

    .tnp-dashboard-section h2{

        font-size:24px;

    }

    .tnp-continue-list{

        grid-template-columns:1fr;

    }

    .tnp-continue-card{

        padding:18px;

    }

}