/*==========================================================
  Latest Articles
==========================================================*/

.gjp-latest-articles{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    box-shadow:0 4px 18px rgba(15,23,42,.06);
    overflow:hidden;
}

.gjp-latest-wrapper{
    padding:18px;
}

/*==================================
  Header
==================================*/

.gjp-card-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
}

.gjp-card-title{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#111827;
    line-height:1.2;
}

.gjp-view-all{
    color:#2563eb;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.25s;
}

.gjp-view-all:hover{
    color:#1d4ed8;
}

/*==================================
  Article List
==================================*/

.gjp-latest-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

/*==================================
  Card
==================================*/

.gjp-article-card{
    display:flex;
    align-items:center;
    gap:15px;
    padding:10px;
    background:#fff;
    border:1px solid #edf0f4;
    border-radius:14px;
    text-decoration:none;
    transition:all .3s ease;
}

.gjp-article-card:hover{
    border-color:#dbeafe;
    box-shadow:0 10px 24px rgba(37,99,235,.08);
    transform:translateY(-2px);
}

/*==================================
  Thumbnail
==================================*/

.gjp-article-image{
    width:125px;
    height:72px;
    flex-shrink:0;
    border-radius:11px;
    overflow:hidden;
}

.gjp-article-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
}

.gjp-article-card:hover img{
    transform:scale(1.05);
}

/*==================================
  Content
==================================*/

.gjp-article-content{
    flex:1;
    min-width:0;
}

/*==================================
  Category Badge
==================================*/

.gjp-article-category{
    display:inline-block;
    padding:4px 10px;
    margin-bottom:6px;
    background:#eff6ff;
    color:#2563eb;
    border-radius:999px;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.25px;
}

/*==================================
  Title
==================================*/

.gjp-article-title{
    margin:0 0 6px;
    color:#111827;
    font-size:15.5px;
    font-weight:700;
    line-height:1.3;

    display:-webkit-box;
    display:box;
    line-clamp:2;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/*==================================
  Date
==================================*/

.gjp-article-date{
    font-size:11px;
    color:#6b7280;
    font-weight:500;
}

/*==================================
  Tablet
==================================*/

@media (max-width:768px){

    .gjp-latest-wrapper{
        padding:18px;
    }

    .gjp-card-title{
        font-size:20px;
    }

    .gjp-article-image{
        width:120px;
        height:75px;
    }

    .gjp-article-title{
        font-size:15px;
    }

}

/*==================================
  Mobile
==================================*/

@media (max-width:576px){

    .gjp-card-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .gjp-article-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .gjp-article-image{
        width:100%;
        height:190px;
    }

}

/*==========================================================
  GovtJobPreparation.com
  Latest Articles - FINAL OVERRIDE
  Balanced Desktop + Responsive
==========================================================*/


/*==========================================================
  Article Card
==========================================================*/

.gjp-latest-articles .gjp-article-card{

    display:flex;

    align-items:center;

    gap:16px;

    padding:11px;

    min-height:0;

}


/*==========================================================
  Article Thumbnail
==========================================================*/

.gjp-latest-articles .gjp-article-image{

    width:125px;

    height:74px;

    flex:0 0 125px;

    border-radius:11px;

    overflow:hidden;

}


.gjp-latest-articles .gjp-article-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}


/*==========================================================
  Article Content
==========================================================*/

.gjp-latest-articles .gjp-article-content{

    flex:1;

    min-width:0;

}


/*==========================================================
  Category
==========================================================*/

.gjp-latest-articles .gjp-article-category{

    display:inline-block;

    padding:4px 9px;

    margin:0 0 5px;

    border-radius:999px;

    font-size:10px !important;

    line-height:1.25 !important;

    font-weight:700 !important;

    letter-spacing:.2px;

}


/*==========================================================
  Article Title
==========================================================*/

.gjp-latest-articles .gjp-article-title,
.gjp-latest-articles h2.gjp-article-title,
.gjp-latest-articles h3.gjp-article-title{

    margin:0 0 5px !important;

    padding:0 !important;

    color:#111827 !important;

    font-size:16px !important;

    line-height:1.3 !important;

    font-weight:700 !important;

    letter-spacing:0 !important;

    display:-webkit-box !important;

    display:box !important;

    -webkit-line-clamp:2 !important;

    line-clamp:2 !important;

    -webkit-box-orient:vertical !important;

    overflow:hidden !important;

}


/*==========================================================
  Date
==========================================================*/

.gjp-latest-articles .gjp-article-date{

    margin:0 !important;

    padding:0 !important;

    color:#6b7280;

    font-size:11px !important;

    line-height:1.3 !important;

    font-weight:500 !important;

}


/*==========================================================
  Article List Spacing
==========================================================*/

.gjp-latest-articles .gjp-latest-list{

    gap:12px;

}


/*==========================================================
  Tablet
==========================================================*/

@media (max-width:768px){

    .gjp-latest-articles .gjp-article-card{

        gap:14px;

        padding:10px;

    }


    .gjp-latest-articles .gjp-article-image{

        width:115px;

        height:70px;

        flex-basis:115px;

    }


    .gjp-latest-articles .gjp-article-title,
    .gjp-latest-articles h2.gjp-article-title,
    .gjp-latest-articles h3.gjp-article-title{

        font-size:15px !important;

        line-height:1.3 !important;

    }


    .gjp-latest-articles .gjp-article-date{

        font-size:10px !important;

    }

}


/*==========================================================
  Mobile
==========================================================*/

@media (max-width:576px){

    .gjp-latest-articles .gjp-article-card{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

        padding:10px;

    }


    .gjp-latest-articles .gjp-article-image{

        width:100%;

        height:150px;

        flex:0 0 auto;

        border-radius:11px;

    }


    .gjp-latest-articles .gjp-article-title,
    .gjp-latest-articles h2.gjp-article-title,
    .gjp-latest-articles h3.gjp-article-title{

        font-size:15px !important;

        line-height:1.3 !important;

    }


    .gjp-latest-articles .gjp-article-category{

        font-size:9px !important;

    }


    .gjp-latest-articles .gjp-article-date{

        font-size:10px !important;

    }

}


/*==========================================================
  Small Mobile
==========================================================*/

@media (max-width:400px){

    .gjp-latest-articles .gjp-article-image{

        height:135px;

    }


    .gjp-latest-articles .gjp-article-title,
    .gjp-latest-articles h2.gjp-article-title,
    .gjp-latest-articles h3.gjp-article-title{

        font-size:14px !important;

        line-height:1.3 !important;

    }

}