/* =====================================================
   TIMESNEWSPLUS FEATURED PAGE
   PART 1 - PAGE + HERO
===================================================== */

/* RESET */

.tnp-featured-page *,
.tnp-featured-page *::before,
.tnp-featured-page *::after{

    box-sizing:border-box;

}

.tnp-featured-page{

    background:#f5f6fa;

    min-height:100vh;

    padding-bottom:100px;

}

.tnp-container{

    width:100%;

    max-width:1280px;

    margin:auto;

    padding:0 24px;

}

/* =====================================================
   PAGE HERO
===================================================== */

.tnp-featured-hero{

    background:
    linear-gradient(
        135deg,
        #0b0b0b,
        #232323
    );

    color:#fff;

    text-align:center;

    padding:110px 20px 90px;

    margin-bottom:70px;

}

.tnp-featured-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    background:#d60000;

    border-radius:40px;

    color:#fff;

    font-size:12px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:24px;

}

.tnp-featured-hero h1{

    font-size:64px;

    font-weight:800;

    margin:0 0 18px;

    line-height:1.1;

}

.tnp-featured-hero p{

    max-width:760px;

    margin:auto;

    font-size:22px;

    line-height:1.8;

    color:#ddd;

}

/* =====================================================
   SECTION
===================================================== */

.tnp-feature-section{

    margin-bottom:90px;

}

.tnp-section-heading{

    text-align:center;

    margin-bottom:50px;

}

.tnp-section-heading h2{

    font-size:44px;

    color:#111;

    margin-bottom:12px;

    font-weight:800;

}

.tnp-section-heading p{

    color:#777;

    font-size:18px;

    max-width:720px;

    margin:auto;

    line-height:1.8;

}

/* =====================================================
   FEATURED TODAY
===================================================== */

.tnp-feature-hero{

    margin-top:30px;

}

.tnp-feature-backdrop{

    position:relative;

    border-radius:30px;

    overflow:hidden;

    min-height:720px;

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:flex-end;

}

.tnp-feature-gradient{

    width:100%;

    min-height:720px;

    display:flex;

    align-items:flex-end;

    background:

    linear-gradient(

        180deg,

        rgba(0,0,0,.10) 0%,

        rgba(0,0,0,.55) 45%,

        rgba(0,0,0,.88) 100%

    );

}

.tnp-feature-overlay{

    width:100%;

    padding:70px;

}

.tnp-feature-info{

    max-width:720px;

    color:#fff;

}

.tnp-feature-badge{

    display:inline-block;

    padding:10px 24px;

    border-radius:40px;

    background:#d60000;

    color:#fff;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:22px;

}

.tnp-feature-info h1{

    font-size:64px;

    line-height:1.05;

    margin:22px 0;

    font-weight:800;

}

.tnp-feature-date{

    color:#ddd;

    font-size:18px;

    margin-bottom:18px;

}

.tnp-feature-excerpt{

    font-size:20px;

    color:#eee;

    line-height:1.9;

    margin-bottom:35px;

}

/* =====================================================
   PUBLICATION
===================================================== */

.tnp-publication{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:28px;

}

.tnp-publication-badge{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    flex-shrink:0;

}

.tnp-publication-title{

    color:#fff;

    margin:0;

    font-size:24px;

    font-weight:700;

}

.tnp-publication-slogan{

    margin-top:5px;

    color:#ddd;

}

/* =====================================================
   META
===================================================== */

.tnp-feature-meta{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    margin:32px 0;

}

.tnp-feature-meta span{

    padding:10px 18px;

    border-radius:40px;

    background:rgba(255,255,255,.15);

    color:#fff;

    backdrop-filter:blur(12px);

    font-size:14px;

    font-weight:600;

}

/* =====================================================
   BUTTONS
===================================================== */

.tnp-feature-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    margin-top:40px;

}

.tnp-feature-buttons .tnp-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:190px;

    padding:16px 34px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

    background:#d60000;

    color:#fff;

}

.tnp-feature-buttons .tnp-btn:hover{

    transform:translateY(-4px);

}

.tnp-feature-buttons .tnp-btn-secondary{

    background:#fff;

    color:#111;

}


/* =====================================================
   PART 2 - TRENDING EDITIONS
===================================================== */

.tnp-trending-row{

    display:flex;

    gap:30px;

    overflow-x:auto;

    scroll-snap-type:x mandatory;

    padding:10px 5px 25px;

    scrollbar-width:none;

}

.tnp-trending-row::-webkit-scrollbar{

    display:none;

}

.tnp-trending-card{

    flex:0 0 300px;

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s ease;

    scroll-snap-align:start;

}

.tnp-trending-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 55px rgba(0,0,0,.18);

}

.tnp-trending-card a{

    display:block;

    color:inherit;

    text-decoration:none;

}

.tnp-trending-cover{

    position:relative;

    overflow:hidden;

}

.tnp-trending-cover img{

    width:100%;

    height:420px;

    object-fit:cover;

    display:block;

}

.tnp-trending-reads{

    position:absolute;

    top:18px;

    right:18px;

    background:#d60000;

    color:#fff;

    padding:9px 16px;

    border-radius:50px;

    font-size:13px;

    font-weight:700;

}

.tnp-trending-body{

    padding:22px;

}

.tnp-trending-body h3{

    font-size:22px;

    line-height:1.4;

    margin-bottom:12px;

    color:#111;

}

.tnp-trending-body p{

    color:#777;

    margin-bottom:22px;

}

.tnp-read-link{

    display:inline-block;

    padding:10px 20px;

    border-radius:40px;

    background:#111;

    color:#fff;

    font-size:14px;

    font-weight:700;

    transition:.3s;

}

.tnp-trending-card:hover .tnp-read-link{

    background:#d60000;

}

/* =====================================================
   RECENTLY ADDED
===================================================== */

.tnp-edition-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));

    gap:35px;

}

.tnp-edition-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s ease;

}

.tnp-edition-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 55px rgba(0,0,0,.18);

}

.tnp-edition-card a{

    display:block;

    text-decoration:none;

    color:inherit;

}

.tnp-edition-card img{

    width:100%;

    height:360px;

    object-fit:cover;

    transition:.4s;

}

.tnp-edition-content{

    padding:22px;

}

.tnp-edition-content h3{

    font-size:22px;

    color:#111;

    margin-bottom:10px;

    line-height:1.4;

}

.tnp-edition-content p{

    color:#777;

    font-size:15px;

}

/* =====================================================
   PREMIUM SECTION
===================================================== */

.tnp-premium{

    margin-top:90px;

    padding:90px 60px;

    border-radius:30px;

    text-align:center;

    background:linear-gradient(135deg,#111,#252525);

    color:#fff;

}

.tnp-premium h2{

    font-size:48px;

    margin-bottom:20px;

    font-weight:800;

}

.tnp-premium p{

    max-width:760px;

    margin:0 auto 40px;

    font-size:20px;

    color:#ddd;

    line-height:1.8;

}

.tnp-premium .tnp-btn{

    display:inline-block;

    padding:18px 42px;

    border-radius:50px;

    background:#d60000;

    color:#fff;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.tnp-premium .tnp-btn:hover{

    background:#fff;

    color:#111;

}

/* =====================================================
   PART 3 - RESPONSIVE & POLISH
===================================================== */

/* Smooth scrolling */

html{

    scroll-behavior:smooth;

}

/* Card image zoom */

.tnp-trending-cover,
.tnp-edition-card{

    overflow:hidden;

}

.tnp-trending-cover img,
.tnp-edition-card img{

    transition:transform .45s ease;

}

.tnp-trending-card:hover .tnp-trending-cover img,
.tnp-edition-card:hover img{

    transform:scale(1.06);

}

/* Buttons */

.tnp-btn{

    cursor:pointer;

}

.tnp-btn:hover{

    text-decoration:none;

}

/* Nice selection */

::selection{

    background:#d60000;

    color:#fff;

}

/* =====================================================
   TABLET
===================================================== */

@media (max-width:1024px){

    .tnp-featured-hero{

        padding:80px 20px 70px;

    }

    .tnp-featured-hero h1{

        font-size:48px;

    }

    .tnp-feature-backdrop{

        min-height:600px;

    }

    .tnp-feature-gradient{

        min-height:600px;

    }

    .tnp-feature-overlay{

        padding:50px;

    }

    .tnp-feature-info h1{

        font-size:48px;

    }

    .tnp-premium{

        padding:70px 40px;

    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:768px){

    .tnp-container{

        padding:0 18px;

    }

    .tnp-featured-hero{

        padding:70px 20px 60px;

    }

    .tnp-featured-hero h1{

        font-size:38px;

    }

    .tnp-featured-hero p{

        font-size:18px;

    }

    .tnp-feature-backdrop{

        min-height:520px;

        border-radius:22px;

    }

    .tnp-feature-gradient{

        min-height:520px;

    }

    .tnp-feature-overlay{

        padding:30px;

    }

    .tnp-feature-info h1{

        font-size:34px;

    }

    .tnp-feature-excerpt{

        font-size:16px;

        line-height:1.7;

    }

    .tnp-publication{

        gap:12px;

    }

    .tnp-publication-badge{

        width:48px;

        height:48px;

        font-size:22px;

    }

    .tnp-publication-title{

        font-size:18px;

    }

    .tnp-feature-meta{

        gap:10px;

    }

    .tnp-feature-meta span{

        font-size:12px;

        padding:8px 12px;

    }

    .tnp-feature-buttons{

        flex-direction:column;

    }

    .tnp-feature-buttons .tnp-btn{

        width:100%;

    }

    .tnp-section-heading h2{

        font-size:30px;

    }

    .tnp-section-heading p{

        font-size:16px;

    }

    .tnp-trending-card{

        flex:0 0 260px;

    }

    .tnp-trending-cover img{

        height:340px;

    }

    .tnp-edition-grid{

        grid-template-columns:1fr;

    }

    .tnp-edition-card img{

        height:320px;

    }

    .tnp-premium{

        padding:55px 25px;

        border-radius:22px;

    }

    .tnp-premium h2{

        font-size:34px;

    }

    .tnp-premium p{

        font-size:17px;

    }

}

/* =====================================================
   LARGE DESKTOP
===================================================== */

@media (min-width:1400px){

    .tnp-container{

        max-width:1360px;

    }

    .tnp-feature-info{

        max-width:760px;

    }

}

/* =====================================================
   TRENDING NAVIGATION
===================================================== */

.tnp-trending-wrapper{

    position:relative;

}

.tnp-trending-nav{

    position:absolute;

    top:45%;

    transform:translateY(-50%);

    width:54px;

    height:54px;

    border:none;

    border-radius:50%;

    background:#d60000;

    color:#fff;

    font-size:24px;

    cursor:pointer;

    z-index:20;

    transition:.3s;

    box-shadow:0 8px 20px rgba(0,0,0,.2);

}

.tnp-trending-nav:hover{

    background:#111;

}

.tnp-trending-nav.prev{

    left:-25px;

}

.tnp-trending-nav.next{

    right:-25px;

}

/* =====================================================
   FEATURED SLIDER
===================================================== */

.tnp-feature-slider{

    position:relative;

}
.tnp-feature-backdrop{

    position:absolute;

    inset:0;

    display:flex;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

}

.tnp-feature-backdrop.active{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

    animation:fadeSlide .6s ease;

}


.tnp-feature-dots{

    display:flex;

    justify-content:center;

    gap:12px;

    margin-top:30px;

}

.tnp-feature-dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#ccc;

    cursor:pointer;

    transition:.3s;

}

.tnp-feature-dot.active{

    background:#d60000;

}

@keyframes fadeSlide{

    from{

        opacity:0;
        transform:scale(.98);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}