/*==================================================
  TODAY'S CURRENT AFFAIRS (V2.0)
==================================================*/

.gjp-current-affairs{

    width:100%;

    display:flex;

    height:100%;

}

.gjp-ca-card{

    display:flex;

    flex-direction:column;

    flex:1;

    height:100%;

    background:#ffffff;

    border:1px solid #e9eef5;

    border-radius:18px;

    padding:20px;

    box-shadow:0 8px 25px rgba(15,23,42,.05);

}

/*==================================================
  HEADER
==================================================*/

.gjp-ca-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:18px;

    padding-bottom:16px;

    border-bottom:1px solid #eef2f7;

}

.gjp-ca-title{

    display:flex;

    align-items:center;

    gap:10px;

    margin:0;

    font-size:17px;

    font-weight:700;

    color:#0f172a;

}

.gjp-ca-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:34px;

    height:34px;

    border-radius:10px;

    background:#eef4ff;

    color:#2563eb;

    font-size:18px;

}

.gjp-ca-view-all{

    font-size:14px;

    font-weight:600;

    color:#2563eb;

    text-decoration:none;

    transition:.3s;

}

.gjp-ca-view-all:hover{

    color:#1d4ed8;

}

/*==================================================
  GRID
==================================================*/

.gjp-ca-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:16px;

}

/*==================================================
  CARD
==================================================*/

.gjp-ca-item{

    background:#fff;

    border:1px solid #edf2f7;

    border-radius:14px;

    overflow:hidden;

    transition:.30s ease;

}

.gjp-ca-item:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 24px rgba(0,0,0,.08);

}
/*==================================================
  IMAGE
==================================================*/

.gjp-ca-image{

    position:relative;

    display:block;

    overflow:hidden;

}

.gjp-ca-image img{

    display:block;

    width:100%;

    height:120px;

    object-fit:cover;

    transition:transform .35s ease;

}

.gjp-ca-item:hover .gjp-ca-image img{

    transform:scale(1.05);

}

/*==================================================
  CONTENT
==================================================*/

.gjp-ca-content{

    padding:12px;

}

/*==================================================
  BADGE
==================================================*/

.gjp-ca-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:4px 8px;

    margin-bottom:10px;

    border-radius:20px;

    font-size:10px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

    line-height:1;

}

/* Badge Colors */

.gjp-ca-badge.national{

    background:#e8f1ff;

    color:#2563eb;

}

.gjp-ca-badge.economy{

    background:#e8f9ef;

    color:#16a34a;

}

.gjp-ca-badge.international{

    background:#fff3e6;

    color:#ea580c;

}

.gjp-ca-badge.science{

    background:#f4ebff;

    color:#7c3aed;

}

/*==================================================
  TITLE
==================================================*/

.gjp-ca-heading{

    margin:0;

    font-size:15px;

    font-weight:700;

    line-height:1.45;

    color:#1f2937;

    transition:color .3s ease;

}

.gjp-ca-heading:hover{

    color:#2563eb;

}

.gjp-ca-heading a{
    color:inherit;
    text-decoration:none;
    display:block;
    transition:.3s;
}

.gjp-ca-heading a:hover{
    color:#2563eb;
}
/*==================================================
  META INFORMATION
==================================================*/

.gjp-ca-meta{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-top:12px;

    padding-top:10px;

    border-top:1px solid #f1f5f9;

    font-size:12px;

    color:#64748b;

}

.gjp-ca-date{

    display:flex;

    align-items:center;

    gap:5px;

    font-weight:500;

}

.gjp-ca-views{

    display:flex;

    align-items:center;

    gap:5px;

    font-weight:600;

}

/*==================================================
  LINK RESET
==================================================*/

.gjp-ca-item a{

    text-decoration:none;

    color:inherit;

}

/*==================================================
  TRANSITIONS
==================================================*/

.gjp-ca-item,
.gjp-ca-image img,
.gjp-ca-heading,
.gjp-ca-view-all{

    transition:all .30s ease;

}

/*==================================================
  TABLET
==================================================*/

@media (max-width:1200px){

    .gjp-ca-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:768px){

    .gjp-ca-card{

        padding:16px;

    }

    .gjp-ca-header{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

    .gjp-ca-grid{

        grid-template-columns:repeat(2,1fr);

        gap:14px;

    }

    .gjp-ca-image img{

        height:110px;

    }

    .gjp-ca-heading{

        font-size:14px;

    }

}

/*==================================================
  MOBILE
==================================================*/

@media (max-width:576px){

    .gjp-ca-card{

        padding:14px;

    }

    .gjp-ca-grid{

        grid-template-columns:1fr;

    }

    .gjp-ca-image img{

        height:180px;

    }

    .gjp-ca-title{

        font-size:16px;

    }

    .gjp-ca-meta{

        font-size:11px;

    }

}

/*==================================================
  END
==================================================*/