/* ==========================================
   LATEST ARTICLES
========================================== */

.rt-latest-news{

    padding:90px 0;

    background:#ffffff;

}

.rt-container{

    width:min(1400px,92%);

    margin:0 auto;

}
/* ===========================
   Section Header
=========================== */

.rt-section-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:40px;

    margin-bottom:35px;

}

.rt-section-title{

    max-width:760px;

}

.rt-section-tag{

    display:inline-block;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:3px;

    color:var(--rt-primary);

    margin-bottom:14px;

}

.rt-section-title h2{

    font-size:34px;

    font-weight:800;

    line-height:1.2;

    color:var(--rt-dark);

    margin:0 0 16px;

}

.rt-section-title p{

   font-size:16px;

    line-height:1.7;

    color:#666;

    margin:0;

}

.rt-view-all{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:var(--rt-primary);

    text-decoration:none;

    font-weight:700;

    font-size:16px;

    transition:.3s;

}

.rt-view-all:hover{

   transform:translateX(6px);
}

/* ===========================
   News Grid
=========================== */

.rt-news-row{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:24px;

}
.rt-news-card{

    background:#fff;

    border:1px solid #eeeeee;

    border-radius:18px;

    overflow:hidden;

    transition:all .35s ease;

}

.rt-news-image{

     aspect-ratio:16/10;

    overflow:hidden;

}

.rt-news-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;
    transition:.35s ease;

}

.rt-news-image{
    position:relative;
}

.rt-news-category{

    position:absolute;

    top:12px;

    left:12px;

    background:#e30613;

    color:#fff;

    font-size:11px;

    font-weight:700;

    padding:5px 10px;

    border-radius:20px;

    text-transform:uppercase;

    letter-spacing:.5px;
    
    max-width:90%;
    overflow:hidden;
    text-overflow:ellipsis;

}

.rt-news-card:hover{

     transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(0,0,0,.10);

}

.rt-news-card:hover .rt-news-image img{

    transform:scale(1.05);

}

.rt-news-card a{

    display:block;

    text-decoration:none;

    color:inherit;

}
/* ===========================
   News Content
=========================== */

.rt-news-content{
    padding:14px;
}

.rt-news-content h3{
     font-size:16px;

    font-weight:700;

    line-height:1.45;

    margin:0 0 8px;

    color:#111;
}

.rt-news-content h3:hover{
    color:#e30613;
}

.rt-news-date{
    font-size:13px;
    color:#777;
}
/* ==========================================
   RESPONSIVE - LATEST ARTICLES
========================================== */

/* Laptop */
@media (max-width:1200px){

    .rt-news-row{
        grid-template-columns:repeat(4,1fr);
    }

}

/* Tablet */
@media (max-width:992px){

    .rt-news-row{
        grid-template-columns:repeat(2,1fr);
    }

    .rt-section-header{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

}

/* Mobile */
@media (max-width:576px){

    .rt-news-row{
        grid-template-columns:1fr;
    }

    .rt-section-title h2{
        font-size:26px;
    }

    .rt-section-title p{
        font-size:14px;
    }

 .rt-section-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .rt-view-all{
        margin-top:10px;
        font-size:14px;
    }
    .rt-news-content h3{
    min-height:48px;

}
}
