/*==================================================
    Egypt Judo Federation
    News Page V1
==================================================*/

/*========== Variables ==========*/

:root{

    --ejf-primary:#6B0F1A;
    --ejf-primary-dark:#4A0812;
    --ejf-gold:#C8A646;

    --ejf-bg:#f7f8fa;
    --ejf-card:#ffffff;

    --ejf-text:#222;
    --ejf-muted:#777;

    --ejf-radius:22px;

    --ejf-shadow:0 12px 35px rgba(0,0,0,.08);

    --ejf-transition:.35s ease;

}


/*========== Page ==========*/

.ejf-news-page{

    background:var(--ejf-bg);

    padding:70px 0;

}


/*========== Header ==========*/

.ejf-header{

    text-align:center;

    margin-bottom:60px;

}

.ejf-header span{

    color:var(--ejf-gold);

    font-size:15px;

    letter-spacing:2px;

    font-weight:700;

}

.ejf-header h1{

    margin-top:15px;

    color:var(--ejf-primary);

    font-size:42px;

    font-weight:700;

}

.ejf-header p{

    color:var(--ejf-muted);

    margin-top:15px;

}

.ejf-line{

    width:90px;

    height:4px;

    background:var(--ejf-gold);

    margin:20px auto;

    border-radius:30px;

}


/*========== Featured ==========*/

.ejf-featured{

    background:#fff;

    border-radius:var(--ejf-radius);

    overflow:hidden;

    box-shadow:var(--ejf-shadow);

    margin-bottom:70px;

}

.ejf-featured-image{

    overflow:hidden;

}

.ejf-featured-image img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.6s;

}

.ejf-featured:hover img{

    transform:scale(1.05);

}

.ejf-featured-content{

    padding:45px;

}

.ejf-badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:var(--ejf-primary);

    color:#fff;

    font-size:14px;

}

.ejf-featured-title{

    color:var(--ejf-primary);

    font-size:30px;

    margin:20px 0;

    line-height:1.7;

}

.ejf-date{

    color:#999;

    margin-bottom:20px;

}

.ejf-featured-summary{

    line-height:2;

    color:#555;

}

.ejf-btn{

    display:inline-block;

    margin-top:30px;

    color:var(--ejf-primary);

    font-weight:bold;

    text-decoration:none;

    transition:.3s;

}

.ejf-btn:hover{

    color:var(--ejf-gold);

    text-decoration:none;

    letter-spacing:1px;

}


/*========== Section Title ==========*/

.ejf-section-title{

    text-align:center;

    margin-bottom:40px;

}

.ejf-section-title h2{

    color:var(--ejf-primary);

    font-size:34px;

    font-weight:bold;

}

.ejf-section-line{

    width:70px;

    height:4px;

    margin:15px auto;

    background:var(--ejf-gold);

}


/*========== Cards ==========*/

.ejf-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--ejf-shadow);

    transition:.35s;

    height:100%;

}

.ejf-card:hover{

    transform:translateY(-8px);

}

.ejf-card-image{

    overflow:hidden;

}

.ejf-card-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.5s;

}

.ejf-card:hover img{

    transform:scale(1.08);

}

.ejf-card-content{

    padding:25px;

}

.ejf-card-date{

    color:#999;

    font-size:14px;

}

.ejf-card-title{

    color:var(--ejf-primary);

    margin:15px 0;

    line-height:1.6;

    font-size:22px;

    font-weight:700;

}

.ejf-card-text{

    color:#666;

    line-height:1.9;

}

.ejf-card-link{

    display:inline-block;

    margin-top:20px;

    color:var(--ejf-primary);

    font-weight:bold;

    text-decoration:none;

    transition:.3s;

}

.ejf-card-link:hover{

    color:var(--ejf-gold);

    text-decoration:none;

}


/*========== Pagination ==========*/

.ejf-pagination{

    margin-top:60px;

    display:flex;

    justify-content:center;

}

.ejf-card-image{
    position: relative;
    overflow: hidden;
}

.ejf-card-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:transform .6s ease;

}

.ejf-card:hover .ejf-card-image img{

    transform:scale(1.08);

}
.ejf-card-image::after{

    content:"";

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:5px;

    background:var(--ejf-gold);

}
.ejf-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    border:none;

    transition:.35s;

    box-shadow:
    0 8px 25px rgba(0,0,0,.06);

}
.ejf-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 25px 45px rgba(0,0,0,.12);

}
.ejf-card-date{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-size:14px;

    color:#888;

    margin-bottom:12px;

}
.ejf-card-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--ejf-primary);

    font-weight:700;

    transition:.3s;

}
.ejf-card:hover .ejf-card-link{

    gap:15px;

    color:var(--ejf-gold);

}
/*========== Responsive ==========*/

@media(max-width:992px){

    .ejf-header h1{

        font-size:34px;

    }

    .ejf-featured-content{

        padding:30px;

    }

}

@media(max-width:768px){

    .ejf-featured-image img{

        height:280px;

    }

    .ejf-header h1{

        font-size:28px;

    }

}

