/* ==========================================
FEATURED ARTICLES SECTION
========================================== */

.rt-featured-articles{
    width:100%;
    padding:60px 0 80px;
    background:#fff;
}

/* ==========================================
GRID (DESKTOP DEFAULT)
========================================== */

.rt-featured-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
    max-width:1200px;
    margin:40px auto 0;
}

/* ==========================================
SECTION HEADING
========================================== */

.rt-section-heading{
    text-align:center;
    margin-bottom:40px;
}

.rt-section-tag{
    display:inline-block;
    padding:6px 16px;
    background:#e10600;
    color:#fff;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1.5px;
    border-radius:50px;
    margin-bottom:15px;
}

.rt-section-heading h2{
    max-width:900px;
    margin:0 auto 15px;
    font-size:34px;
    font-weight:700;
    color:#111;
    line-height:1.3;
}

.rt-section-heading p{
    max-width:600px;
    margin:0 auto;
    font-size:15px;
    color:#666;
    line-height:1.7;
}

/* ==========================================
CARD
========================================== */

.rt-featured-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,0.07);
    transition:0.3s ease;
    display:flex;
    flex-direction:column;
}

.rt-featured-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

/* ==========================================
IMAGE
========================================== */

.rt-featured-image{
    width:100%;
    height:200px;
    overflow:hidden;
}

.rt-featured-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

/* ==========================================
CONTENT
========================================== */

.rt-featured-content{
    padding:16px;
    display:flex;
    flex-direction:column;
    flex-grow:1;
}

.rt-featured-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.rt-featured-category{
    background:#e10600;
    color:#fff;
    padding:4px 10px;
    border-radius:30px;
    font-size:10px;
    font-weight:600;
    text-transform:uppercase;
}

.rt-featured-date{
    font-size:12px;
    color:#777;
}

.rt-featured-content h3{
    font-size:17px;
    font-weight:700;
    line-height:1.4;
    color:#111;
    margin-bottom:12px;
}

/* ==========================================
LINK
========================================== */

.rt-featured-link{
    margin-top:auto;
    color:#e10600;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.rt-featured-link:hover{
    letter-spacing:0.4px;
}

/* ==========================================
TABLET (2x2 + 4 POSTS)
========================================== */

@media (max-width:1024px){

    .rt-featured-articles .rt-featured-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .rt-featured-articles .rt-featured-card:nth-child(n+5){
        display:none;
    }
}

/* ==========================================
MOBILE (1 COLUMN + 4 POSTS)
========================================== */

@media (max-width:576px){

    .rt-featured-articles .rt-featured-grid{
        grid-template-columns:1fr;
        gap:20px;
        padding:0 15px;
    }

    .rt-featured-articles .rt-featured-card{
        width:100%;
    }

    .rt-featured-articles .rt-featured-card:nth-child(n+5){
        display:none;
    }

    .rt-featured-meta{
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
    }

    .rt-featured-image{
        height:190px;
    }

    .rt-section-heading h2{
        font-size:26px;
    }

    .rt-section-heading p{
        font-size:14px;
    }
}