/*
=====================================================
TIMESNEWSPLUS HOMEPAGE CARDS
=====================================================
*/

.tnp-home-card {

    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;

    display: flex;
    flex-direction: column;

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    border: 1px solid rgba(0,0,0,.06);

    box-shadow:
        0 12px 35px rgba(0,0,0,.08);

    transition:
        transform .35s,
        box-shadow .35s;

    box-sizing: border-box;
}


/*
=====================================================
HOVER
=====================================================
*/

.tnp-home-card:hover {

    transform:
        translateY(-10px)
        scale(1.02);

    box-shadow:
        0 30px 60px rgba(0,0,0,.18);
}


/*
=====================================================
CARD LINK
=====================================================
*/

.tnp-home-card a {

    display: flex;
    flex-direction: column;

    height: 100%;

    text-decoration: none;

    color: inherit;
}


/*
=====================================================
CARD IMAGE
=====================================================
*/

.tnp-home-card-image {

    position: relative;

    aspect-ratio: 0.72;

    overflow: hidden;

    background: #f5f5f5;
}


.tnp-home-card-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: .35s;
}


.tnp-home-card:hover img {

    transform: scale(1.08);
}


/*
=====================================================
BADGE
=====================================================
*/

.tnp-home-badge {

    position: absolute;

    top: 14px;
    left: 14px;

    background: #d60000;

    color: #fff;

    padding: 7px 14px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .8px;

    text-transform: uppercase;
}


/*
=====================================================
CARD BODY
=====================================================
*/

.tnp-home-card-body {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 20px;

    box-sizing: border-box;
}


/*
=====================================================
DATE
=====================================================
*/

.tnp-home-date {

    color: #888;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .4px;

    text-transform: uppercase;

    margin-bottom: 10px;
}


/*
=====================================================
TITLE
=====================================================
*/

.tnp-home-card h3 {

    margin: 0;

    font-size: 19px;

    line-height: 1.45;

    color: #1b1b1b;

    font-weight: 700;

    min-height: 58px;
}


/*
=====================================================
READ BUTTON
=====================================================
*/

.tnp-home-read {

    margin-top: auto;

    height: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #d60000;

    color: #fff;

    border-radius: 12px;

    font-weight: 700;

    letter-spacing: .3px;

    transition: .3s;
}


.tnp-home-card:hover .tnp-home-read {

    background: #0d47a1;
}


/*
=====================================================
TABLET
=====================================================
*/

@media (max-width: 991px) {

    .tnp-home-card {

        flex: 0 0 300px !important;

        width: 300px !important;

        min-width: 300px !important;

        max-width: 300px !important;
    }

}


/*
=====================================================
MOBILE
=====================================================
*/

@media (max-width: 768px) {

    .tnp-home-card {

        flex: 0 0 190px !important;

        width: 190px !important;

        min-width: 190px !important;

        max-width: 190px !important;
    }

    .tnp-home-card h3 {

        font-size: 17px;
    }

    .tnp-home-card-body {

        padding: 14px;
    }

    .tnp-home-read {

        height: 42px;

        border-radius: 10px;

        font-size: 11px;
    }

}


/*
=====================================================
SMALL PHONES
=====================================================
*/

@media (max-width: 480px) {

    .tnp-home-card {

        flex: 0 0 180px !important;

        width: 180px !important;

        min-width: 180px !important;

        max-width: 180px !important;
    }

    .tnp-home-card-body {

        padding: 12px;
    }

    .tnp-home-card h3 {

        font-size: 16px;

        min-height: 48px;
    }

}


/*
=====================================================
VERY SMALL PHONES
=====================================================
*/

@media (max-width: 360px) {

    .tnp-home-card {

        flex: 0 0 170px !important;

        width: 170px !important;

        min-width: 170px !important;

        max-width: 170px !important;
    }

}