/*=========================================
Previous Papers Section
GovtJobPreparation Theme
Version 1.0
=========================================*/

.gjp-previous-papers{
    width:100%;
}

.gjp-paper-card{
    background:#ffffff;
    border:1px solid #e8edf5;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
    overflow:hidden;
}

/*------------------------------------
Header
------------------------------------*/

.gjp-paper-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 24px;
    border-bottom:1px solid #edf2f7;
}

.gjp-paper-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#1e293b;
    line-height:1.3;
}

.gjp-paper-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    background:#eff6ff;
    color:#2563eb;
    border-radius:12px;
    font-size:20px;
}

.gjp-paper-view-all{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:15px;
    font-weight:600;
    color:#2563eb;
    text-decoration:none;
    transition:.3s ease;
}

.gjp-paper-view-all:hover{
    color:#1d4ed8;
}

/*------------------------------------
Paper List
------------------------------------*/

.gjp-paper-list{
    display:flex;
    flex-direction:column;
}
/*------------------------------------
Paper Items
------------------------------------*/

.gjp-paper-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:22px 24px;
    border-bottom:1px solid #edf2f7;
    transition:all .3s ease;
}

.gjp-paper-content{
    flex:1;
}

.gjp-paper-category{
    display:inline-block;
    margin-bottom:8px;
    padding:4px 10px;
    background:#eff6ff;
    color:#2563eb;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.gjp-paper-heading{
    margin:0 0 10px;
    font-size:18px;
    font-weight:700;
    line-height:1.5;
}

.gjp-paper-heading a{
    color:#1e293b;
    text-decoration:none;
    transition:.3s ease;
}

.gjp-paper-heading a:hover{
    color:#2563eb;
}

.gjp-paper-meta{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    font-size:14px;
    color:#64748b;
}

/*------------------------------------
Download Button
------------------------------------*/

.gjp-download-paper{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
    height:44px;
    padding:0 22px;
    background:#2563eb;
    color:#ffffff;
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
    transition:all .3s ease;
}

.gjp-download-paper:hover{
    background:#1d4ed8;
}
/*------------------------------------
Final Polish
------------------------------------*/

.gjp-paper-item:last-child{
    border-bottom:none;
}

.gjp-paper-item:hover{
    background:#f8fbff;
}

.gjp-paper-item:hover .gjp-paper-heading a{
    color:#2563eb;
}

/*------------------------------------
Download Button Hover
------------------------------------*/

.gjp-download-paper:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(37,99,235,.25);
}

.gjp-download-paper:active{
    transform:translateY(0);
}

/*------------------------------------
Responsive
------------------------------------*/

@media (max-width:768px){

    .gjp-paper-header{
        padding:18px;
    }

    .gjp-paper-item{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
        padding:18px;
    }

    .gjp-paper-content{
        width:100%;
    }

    .gjp-download-paper{
        width:100%;
        justify-content:center;
    }

    .gjp-paper-title{
        font-size:20px;
    }

}

@media (max-width:480px){

    .gjp-paper-header{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .gjp-paper-title{
        font-size:18px;
    }

    .gjp-paper-icon{
        width:38px;
        height:38px;
        font-size:18px;
    }

    .gjp-paper-view-all{
        font-size:14px;
    }

    .gjp-paper-heading{
        font-size:16px;
    }

    .gjp-paper-meta{
        font-size:13px;
        gap:8px;
    }

}