/**
 * ==========================================================================
 * MultiPress Enterprise Infotech
 * TechCrunch • The Verge • Wired Inspired
 * ==========================================================================
 */

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

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

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

.mp-infotech__title{
    margin:0;
    font-size:2rem;
    font-weight:700;
    color:#38bdf8;
    letter-spacing:.4px;
}

.mp-infotech__more{
    color:#e2e8f0;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.mp-infotech__more:hover{
    color:#38bdf8;
}

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

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

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

.mp-infotech-featured{
    background:#111827;
    border:1px solid #1f2937;
    border-radius:16px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
}

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

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

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

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

.mp-infotech-featured__badge{
    position:absolute;
    top:20px;
    left:20px;
    padding:8px 16px;
    border-radius:30px;
    background:#06b6d4;
    color:#fff;
    font-size:.72rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

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

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

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

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

.mp-infotech-featured p{
    margin:0;
    color:#cbd5e1;
    line-height:1.85;
}

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

.mp-infotech-featured__meta i{
    color:#38bdf8;
}

/* ==========================================================================
   TECHNOLOGY CHANNELS
========================================================================== */

.mp-infotech-sidebar{
    background:#111827;
    border:1px solid #1f2937;
    border-radius:16px;
    padding:22px;
    box-shadow:0 12px 30px rgba(0,0,0,.30);
}

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

.mp-infotech-channel{
    padding:16px 0;
    border-bottom:1px solid #1e293b;
}

.mp-infotech-channel:last-child{
    border-bottom:none;
}

.mp-infotech-channel__label{
    display:inline-block;
    padding:6px 12px;
    border-radius:20px;
    background:#1e293b;
    color:#67e8f9;
    font-size:.70rem;
    font-weight:700;
    margin-bottom:10px;
    border:1px solid #0891b2;
}

.mp-infotech-channel:nth-child(2) .mp-infotech-channel__label{
    background:#082f49;
    color:#7dd3fc;
}

.mp-infotech-channel:nth-child(3) .mp-infotech-channel__label{
    background:#312e81;
    color:#c4b5fd;
}

.mp-infotech-channel:nth-child(4) .mp-infotech-channel__label{
    background:#164e63;
    color:#67e8f9;
}

.mp-infotech-channel:nth-child(5) .mp-infotech-channel__label{
    background:#14532d;
    color:#86efac;
}

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

.mp-infotech-channel h4 a{
    color:#f8fafc;
    text-decoration:none;
    transition:.3s;
}

.mp-infotech-channel h4 a:hover{
    color:#38bdf8;
}

.mp-infotech-channel__meta{
    margin-top:8px;
    color:#94a3b8;
    font-size:.82rem;
}

/* ==========================================================================
   TECHNOLOGY TRENDS
========================================================================== */

.mp-infotech-trends{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin:0 30px 30px;
}

.mp-infotech-trends__item{
    background:#111827;
    border:1px solid #1f2937;
    border-radius:14px;
    padding:22px;
    text-align:center;
    transition:.35s;
}

.mp-infotech-trends__item:hover{
    transform:translateY(-5px);
    border-color:#06b6d4;
    box-shadow:0 10px 24px rgba(6,182,212,.15);
}

.mp-infotech-trends__item strong{
    display:block;
    margin-bottom:8px;
    color:#38bdf8;
    font-size:.95rem;
}

.mp-infotech-trends__item span{
    color:#94a3b8;
    font-size:.82rem;
    line-height:1.5;
}


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

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

.mp-infotech-ad .widget{
    margin:0;
}

.mp-ad-placeholder{
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#111827,#1e293b);
    border:2px dashed #334155;
    border-radius:14px;
    color:#94a3b8;
    font-weight:600;
    letter-spacing:.04em;
}

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

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

/* ==========================================================================
   CARD
========================================================================== */

.mp-infotech-card{
    background:#111827;
    border:1px solid #1f2937;
    border-radius:16px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 10px 24px rgba(0,0,0,.25);
}

.mp-infotech-card:hover{
    transform:translateY(-6px);
    border-color:#06b6d4;
    box-shadow:0 16px 34px rgba(6,182,212,.18);
}

.mp-infotech-card__image{
    display:block;
    overflow:hidden;
}

.mp-infotech-card__image img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    transition:.45s;
}

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

.mp-infotech-card__content{
    padding:20px;
}

.mp-infotech-card__label{
    display:inline-block;
    padding:5px 11px;
    margin-bottom:12px;
    border-radius:20px;
    background:#06b6d4;
    color:#fff;
    font-size:.68rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.05em;
}

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

.mp-infotech-card h4 a{
    color:#f8fafc;
    text-decoration:none;
    transition:.3s;
}

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

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

.mp-infotech-card__meta i{
    color:#38bdf8;
}

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

.mp-infotech-footer{
    text-align:center;
    padding:0 0 40px;
}

.mp-infotech-footer .mp-category-grid__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:14px 28px;
    background:#06b6d4;
    color:#fff;
    text-decoration:none;
    border-radius:999px;
    font-weight:700;
    transition:.3s;
}

.mp-infotech-footer .mp-category-grid__button:hover{
    background:#0891b2;
    transform:translateY(-2px);
}


/* ==========================================================================
   GLOBAL LINKS
========================================================================== */

.mp-infotech a{
    transition:.25s ease;
}

.mp-infotech a:focus-visible{
    outline:2px solid #38bdf8;
    outline-offset:3px;
    border-radius:6px;
}

/* ==========================================================================
   IMAGE EFFECTS
========================================================================== */

.mp-infotech img{
    display:block;
    max-width:100%;
    height:auto;
}

.mp-infotech-card__image,
.mp-infotech-featured__image{
    background:#0f172a;
}

.mp-infotech-featured__image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(11,17,32,.65),
        rgba(11,17,32,0)
    );
    pointer-events:none;
}

/* ==========================================================================
   CUSTOM SCROLLBAR
========================================================================== */

.mp-infotech-sidebar{
    scrollbar-width:thin;
    scrollbar-color:#06b6d4 #111827;
}

.mp-infotech-sidebar::-webkit-scrollbar{
    width:8px;
}

.mp-infotech-sidebar::-webkit-scrollbar-track{
    background:#111827;
}

.mp-infotech-sidebar::-webkit-scrollbar-thumb{
    background:#06b6d4;
    border-radius:20px;
}

/* ==========================================================================
   SMALL ANIMATIONS
========================================================================== */

.mp-infotech-card,
.mp-infotech-featured,
.mp-infotech-channel,
.mp-infotech-trends__item{
    will-change:transform;
}

.mp-infotech-card:hover,
.mp-infotech-channel:hover,
.mp-infotech-trends__item:hover{
    cursor:pointer;
}

/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width:1200px){

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

    .mp-infotech-sidebar{
        order:2;
    }

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

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

}

/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width:768px){

    .mp-infotech{
        margin:50px 0;
        border-radius:12px;
    }

    .mp-infotech__header{
        padding:18px;
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

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

    .mp-infotech-dashboard{
        padding:20px;
        gap:20px;
    }

    .mp-infotech-featured__image img{
        height:280px;
    }

    .mp-infotech-featured__content{
        padding:20px;
    }

    .mp-infotech-featured h3{
        font-size:1.35rem;
    }

    .mp-infotech-featured__meta{
        flex-direction:column;
        gap:8px;
    }

    .mp-infotech-trends{
        grid-template-columns:1fr;
        margin:0 20px 25px;
    }

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

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

}

/* ==========================================================================
   SMALL MOBILE
========================================================================== */

@media (max-width:480px){

    .mp-infotech-featured__image img{
        height:220px;
    }

    .mp-infotech__title{
        font-size:1.25rem;
    }

    .mp-infotech-card__content,
    .mp-infotech-featured__content{
        padding:16px;
    }

}

/* ==========================================================================
   PRINT
========================================================================== */

@media print{

    .mp-infotech-ad,
    .mp-ad-placeholder{
        display:none !important;
    }

    .mp-infotech{
        background:#fff;
        color:#000;
        border:none;
        box-shadow:none;
    }

}

/* ==========================================================================
   END
========================================================================== */

