/**
 * ==========================================================================
 * MultiPress Enterprise Security & Defence
 * Military Operations Centre Design
 * ==========================================================================
 */

.mp-defence{
    margin:80px 0;
    background:#0f172a;
    color:#e2e8f0;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #1e293b;
    font-family:"Poppins",sans-serif;
}

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

.mp-defence__header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 30px;
    background:linear-gradient(135deg,#111827,#1f2937);
    border-bottom:1px solid #334155;
}

.mp-defence__title{
    margin:0;
    font-size:2rem;
    font-weight:700;
    color:#f8fafc;
}

.mp-defence__more{
    color:#38bdf8;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.mp-defence__more:hover{
    color:#fbbf24;
}

/* ==========================================================================
   DASHBOARD
========================================================================== */

.mp-defence-dashboard{
    display:grid;
    grid-template-columns:2fr 360px;
    gap:30px;
    padding:30px;
}

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

.mp-defence-featured{
    background:#111827;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #334155;
    transition:.35s;
}

.mp-defence-featured:hover{
    transform:translateY(-6px);
}

.mp-defence-featured__image{
    display:block;
    position:relative;
    overflow:hidden;
}

.mp-defence-featured__image img{
    width:100%;
    height:480px;
    object-fit:cover;
    transition:.5s;
}

.mp-defence-featured:hover img{
    transform:scale(1.08);
}

.mp-defence-featured__badge{
    position:absolute;
    top:18px;
    left:18px;
    background:#dc2626;
    color:#fff;
    padding:8px 15px;
    border-radius:30px;
    font-size:.72rem;
    font-weight:700;
    text-transform:uppercase;
}

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

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

.mp-defence-featured h3 a{
    color:#fff;
    text-decoration:none;
}

.mp-defence-featured h3 a:hover{
    color:#38bdf8;
}

.mp-defence-featured p{
    color:#cbd5e1;
    line-height:1.8;
}

.mp-defence-featured__meta{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:20px;
    color:#94a3b8;
    font-size:.84rem;
}

/* ==========================================================================
   ALERTS
========================================================================== */

.mp-defence-sidebar{
    background:#111827;
    border-radius:16px;
    padding:22px;
    border:1px solid #334155;
}

.mp-defence-sidebar h3{
    margin:0 0 20px;
    color:#fff;
    font-size:1.2rem;
    border-bottom:1px solid #334155;
    padding-bottom:12px;
}

.mp-defence-alert{
    padding:15px 0;
    border-bottom:1px solid #243244;
}

.mp-defence-alert:last-child{
    border-bottom:none;
}

.mp-defence-alert__status{
    display:inline-block;
    margin-bottom:10px;
    padding:5px 10px;
    border-radius:20px;
    font-size:.68rem;
    font-weight:700;
    color:#fff;
}

.mp-defence-alert:nth-child(2) .mp-defence-alert__status{
    background:#16a34a;
}

.mp-defence-alert:nth-child(3) .mp-defence-alert__status{
    background:#eab308;
    color:#111;
}

.mp-defence-alert:nth-child(4) .mp-defence-alert__status{
    background:#ea580c;
}

.mp-defence-alert:nth-child(5) .mp-defence-alert__status{
    background:#dc2626;
}

.mp-defence-alert h4{
    margin:0;
    font-size:1rem;
    line-height:1.5;
}

.mp-defence-alert h4 a{
    color:#fff;
    text-decoration:none;
}

.mp-defence-alert h4 a:hover{
    color:#38bdf8;
}

.mp-defence-alert__meta{
    margin-top:8px;
    font-size:.8rem;
    color:#94a3b8;
}

/* ==========================================================================
   ALERT STRIP
========================================================================== */

.mp-defence-strip{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin:0 30px 30px;
}

.mp-defence-strip div{
    background:#111827;
    border:1px solid #334155;
    padding:18px;
    border-radius:12px;
    text-align:center;
}

.mp-defence-strip strong{
    display:block;
    color:#fbbf24;
    margin-bottom:5px;
}

.mp-defence-strip span{
    color:#94a3b8;
    font-size:.82rem;
}

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

.mp-defence-ad{
    margin:0 30px 30px;
}

.mp-ad-placeholder{
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px dashed #475569;
    color:#94a3b8;
    background:#111827;
}

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

.mp-defence-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    padding:0 30px 35px;
}

.mp-defence-card{
    background:#111827;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #334155;
    transition:.35s;
}

.mp-defence-card:hover{
    transform:translateY(-6px);
}

.mp-defence-card img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    transition:.5s;
}

.mp-defence-card:hover img{
    transform:scale(1.08);
}

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

.mp-defence-card__label{
    display:inline-block;
    background:#dc2626;
    color:#fff;
    padding:5px 10px;
    border-radius:30px;
    font-size:.68rem;
    margin-bottom:12px;
    text-transform:uppercase;
    font-weight:700;
}

.mp-defence-card h4{
    margin:0;
    font-size:1rem;
    line-height:1.5;
}

.mp-defence-card h4 a{
    color:#fff;
    text-decoration:none;
}

.mp-defence-card h4 a:hover{
    color:#38bdf8;
}

.mp-defence-card__meta{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
    font-size:.82rem;
    color:#94a3b8;
}

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

.mp-defence-footer{
    text-align:center;
    padding:0 0 35px;
}

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

@media(max-width:1200px){

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

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

}

@media(max-width:768px){

    .mp-defence{
        margin:50px 0;
    }

    .mp-defence__header{
        padding:18px;
    }

    .mp-defence__title{
        font-size:1.45rem;
    }

    .mp-defence-dashboard{
        padding:20px;
    }

    .mp-defence-featured__image img{
        height:300px;
    }

    .mp-defence-featured h3{
        font-size:1.45rem;
    }

    .mp-defence-strip{
        grid-template-columns:repeat(2,1fr);
        margin:0 20px 25px;
    }

    .mp-defence-grid{
        grid-template-columns:1fr;
        padding:0 20px 25px;
    }

    .mp-defence-ad{
        margin:0 20px 25px;
    }

}
