
/* ================================================
   MATTVPN NEWS V2
   ================================================ */

.matt-news-page{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
    padding:80px 0 110px;

    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
}

.matt-news-header{
    max-width:760px;
    margin:0 auto 44px;
    text-align:center;
}

.matt-news-header > span{
    display:block;
    margin-bottom:10px;

    color:#39ff88;

    font-size:11px;
    font-weight:950;
    letter-spacing:.14em;
}

.matt-news-header h1{
    margin:0;

    color:#fff;

    font-size:clamp(38px,6vw,68px);
    line-height:.96;
    letter-spacing:-.055em;
}

.matt-news-header p{
    margin:14px auto 0;

    color:#829087;

    font-size:15px;
    line-height:1.6;
}


/* GRID */

.matt-news-grid{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(min(100%,460px),1fr)
        );

    gap:22px;
}


/* CARD */

.matt-news-card{
    min-width:0;
    overflow:hidden;

    border:
        1px solid
        rgba(57,255,136,.13);

    border-radius:26px;

    background:
        linear-gradient(
            145deg,
            rgba(13,23,18,.96),
            rgba(6,11,9,.98)
        );

    box-shadow:
        0 28px 80px
        rgba(0,0,0,.22);

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.matt-news-card:hover{
    transform:translateY(-3px);

    border-color:
        rgba(57,255,136,.30);
}


/* IMAGE */

.matt-news-cover{
    position:relative;

    width:100%;
    aspect-ratio:16/9;

    overflow:hidden;

    background:
        #07100b;
}

.matt-news-cover::after{
    content:"";

    position:absolute;
    left:0;
    right:0;
    bottom:0;

    height:35%;

    background:
        linear-gradient(
            transparent,
            rgba(5,10,7,.38)
        );

    pointer-events:none;
}

.matt-news-cover img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    border:0!important;
    border-radius:0!important;

    margin:0!important;
}


/* CONTENT */

.matt-news-content{
    padding:24px 26px 28px;
}

.matt-news-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;

    margin-bottom:14px;
}

.matt-news-meta span{
    color:#39ff88;

    font-size:10px;
    font-weight:950;

    letter-spacing:.08em;
    text-transform:uppercase;
}

.matt-news-meta time{
    color:#66736c;

    font-size:10px;
    font-weight:700;
}

.matt-news-card h2{
    margin:0 0 17px;

    color:#fff;

    font-size:clamp(23px,3vw,32px);
    line-height:1.08;

    letter-spacing:-.035em;
}

.matt-news-body{
    color:#a2aea7;

    font-size:14px;
    line-height:1.72;

    white-space:pre-line;
    overflow-wrap:anywhere;
}


/* EMPTY */

.matt-news-empty{
    grid-column:1/-1;

    display:grid;
    justify-items:center;

    gap:8px;

    padding:60px 20px;

    border:
        1px dashed
        rgba(255,255,255,.10);

    border-radius:24px;

    color:#78847d;
}

.matt-news-empty div{
    font-size:35px;
}

.matt-news-empty b{
    color:#fff;
}


/* MOBILE */

@media(max-width:650px){

    .matt-news-page{
        width:calc(100% - 24px);
        padding-top:45px;
    }

    .matt-news-content{
        padding:20px;
    }

    .matt-news-meta{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }

}

/* ================================================
   /MATTVPN NEWS V2
   ================================================ */

