/**
 * ==========================================================================
 * MultiPress Education Enterprise
 * ==========================================================================
 */

.mp-education{
    margin:70px 0;
}

/*====================================================
HEADER
====================================================*/

.mp-education__header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
    border-bottom:2px solid #ece8ff;
}

.mp-education__title{
    display:inline-flex;
    align-items:center;
    background:linear-gradient(135deg,#5B21B6,#7C3AED);
    color:#fff;
    padding:14px 38px;
    font-size:28px;
    font-weight:700;
    clip-path:polygon(0 0,92% 0,100% 100%,0 100%);
}

.mp-education__more{
    color:#5B21B6;
    font-weight:700;
    text-decoration:none;
}

.mp-education__more:hover{
    color:#7C3AED;
}

/*====================================================
TOP
====================================================*/

.mp-education__hero{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:28px;
    margin-bottom:30px;
}

/*====================================================
FEATURED
====================================================*/

.mp-education-featured{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(91,33,182,.08);
}

.mp-education-featured__image{
    display:block;
}

.mp-education-featured__image img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    transition:.35s;
}

.mp-education-featured:hover img{
    transform:scale(1.05);
}

.mp-education-featured__content{
    padding:28px;
}

.mp-education-featured__badge{
    display:inline-block;
    background:#5B21B6;
    color:#fff;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    padding:6px 14px;
    border-radius:40px;
    margin-bottom:16px;
}

.mp-education-featured h3{
    margin:0 0 18px;
    font-size:2rem;
    line-height:1.3;
}

.mp-education-featured h3 a{
    color:#111827;
    text-decoration:none;
}

.mp-education-featured h3 a:hover{
    color:#5B21B6;
}

.mp-education-featured p{
    color:#4B5563;
    line-height:1.8;
}

.mp-education-featured__meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:18px;
    color:#6B7280;
    font-size:.9rem;
}

/*====================================================
LATEST UPDATES
====================================================*/

.mp-education-updates{
    background:#fff;
    border-radius:14px;
    padding:24px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.mp-education-updates h3{
    margin:0 0 20px;
    color:#5B21B6;
    font-size:1.25rem;
}

.mp-education-update{
    display:flex;
    gap:14px;
    margin-bottom:18px;
    padding-bottom:18px;
    border-bottom:1px solid #eee;
}

.mp-education-update:last-child{
    border-bottom:none;
    margin-bottom:0;
}

.mp-education-update__thumb{
    width:110px;
    flex-shrink:0;
    border-radius:8px;
    overflow:hidden;
}

.mp-education-update__thumb img{
    width:100%;
    height:80px;
    object-fit:cover;
}

.mp-education-update h4{
    margin:0 0 8px;
    font-size:1rem;
    line-height:1.45;
}

.mp-education-update h4 a{
    color:#111827;
    text-decoration:none;
}

.mp-education-update h4 a:hover{
    color:#5B21B6;
}

.mp-education-update span{
    color:#6B7280;
    font-size:.82rem;
}

/*====================================================
QUICK LINKS
====================================================*/

.mp-education-quicklinks{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
    margin:35px 0;
}

.mp-education-quicklinks a{
    background:linear-gradient(135deg,#7C3AED,#5B21B6);
    color:#fff;
    text-align:center;
    text-decoration:none;
    border-radius:12px;
    padding:22px 12px;
    transition:.25s;
}

.mp-education-quicklinks a:hover{
    transform:translateY(-4px);
}

.mp-education-quicklinks i{
    display:block;
    font-size:24px;
    margin-bottom:12px;
}

.mp-education-quicklinks span{
    font-size:.92rem;
    font-weight:600;
}

/*====================================================
ADVERTISEMENT
====================================================*/

.mp-education-ad{
    margin:40px 0;
}

/*====================================================
GRID
====================================================*/

.mp-education-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.mp-education-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 16px rgba(0,0,0,.06);
    transition:.25s;
}

.mp-education-card:hover{
    transform:translateY(-5px);
}

.mp-education-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.mp-education-card__content{
    padding:18px;
}

.mp-education-card h4{
    margin:0 0 12px;
    font-size:1.05rem;
    line-height:1.45;
}

.mp-education-card h4 a{
    color:#111827;
    text-decoration:none;
}

.mp-education-card h4 a:hover{
    color:#5B21B6;
}

.mp-education-card__meta{
    display:flex;
    justify-content:space-between;
    color:#6B7280;
    font-size:.82rem;
}

/*====================================================
FOOTER
====================================================*/

.mp-education-footer{
    margin-top:42px;
    text-align:center;
}

/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:1200px){

    .mp-education__hero{
        grid-template-columns:1fr;
    }

    .mp-education-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .mp-education-quicklinks{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .mp-education-grid{
        grid-template-columns:1fr;
    }

    .mp-education-quicklinks{
        grid-template-columns:repeat(2,1fr);
    }

    .mp-education-featured h3{
        font-size:1.5rem;
    }

    .mp-education__title{
        font-size:22px;
        padding:12px 24px;
    }

}
