/* ===================================================
   RAYCKINGTON FC
   NOTICIAS CSS
=================================================== */


/* ===================================================
   HERRAMIENTAS: BUSCADOR Y FILTROS
=================================================== */

.news-tools-section{
    padding:60px 0;
    background:#111;
}

.news-tools{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:24px;
}

.news-search{
    position:relative;
    width:min(100%,650px);
}

.news-search i{
    position:absolute;
    left:20px;
    top:50%;
    transform:translateY(-50%);
    color:#aaa;
    font-size:1.1rem;
    z-index:2;
}

.news-search input{
    width:100%;
    height:58px;
    padding:0 25px 0 52px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,.1);
    background:#1a1a1a;
    color:#fff;
    outline:none;
    transition:.3s ease;
}

.news-search input::placeholder{
    color:#8f8f8f;
}

.news-search input:focus{
    border-color:var(--yellow);
    box-shadow:0 0 0 4px rgba(255,209,0,.1);
}

.news-filters{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
}

.news-filter{
    border:none;
    padding:11px 20px;
    border-radius:50px;
    background:#1b1b1b;
    color:#ddd;
    font-family:'Poppins',sans-serif;
    font-size:.9rem;
    font-weight:600;
    transition:.3s ease;
    cursor:pointer;
}

.news-filter:hover,
.news-filter.active{
    background:var(--red);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(200,16,46,.25);
}


/* ===================================================
   NOTICIA DESTACADA
=================================================== */

.featured-news{
    background:#151515;
    border-radius:30px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 25px 60px rgba(0,0,0,.35);
}

.featured-news-image{
    position:relative;
    height:100%;
    min-height:520px;
    overflow:hidden;
}

.featured-news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s ease;
}

.featured-news:hover .featured-news-image img{
    transform:scale(1.04);
}

.featured-news-category{
    position:absolute;
    top:20px;
    left:20px;
    z-index:2;
    padding:8px 16px;
    border-radius:50px;
    background:var(--red);
    color:#fff;
    font-size:.78rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.featured-news-content{
    height:100%;
    padding:50px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.featured-news-content h2{
    font-size:2.4rem;
    line-height:1.18;
    margin:20px 0;
}

.featured-news-content p{
    font-size:1rem;
}

.featured-subtitle{
    color:#fff;
    font-weight:600;
}


/* ===================================================
   META INFORMACIÓN
=================================================== */

.news-meta{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    color:#aaa;
    font-size:.88rem;
}

.news-meta span{
    display:inline-flex;
    align-items:center;
}


/* ===================================================
   TARJETAS DE NOTICIAS
=================================================== */

.news-grid-card{
    height:100%;
    display:flex;
    flex-direction:column;
    background:#151515;
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    transition:.35s ease;
}

.news-grid-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 55px rgba(0,0,0,.45);
}

.news-grid-image{
    position:relative;
    height:260px;
    overflow:hidden;
    background:#202020;
}

.news-grid-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s ease;
}

.news-grid-card:hover .news-grid-image img{
    transform:scale(1.06);
}

.news-grid-category{
    position:absolute;
    top:18px;
    left:18px;
    z-index:2;
    padding:8px 15px;
    border-radius:50px;
    background:var(--red);
    color:#fff;
    font-size:.75rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.news-grid-content{
    padding:28px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.news-grid-content h3{
    font-size:1.35rem;
    line-height:1.3;
    margin:15px 0;
}

.news-grid-content p{
    flex:1;
    margin-bottom:24px;
}


/* ===================================================
   BOTÓN ROJO
=================================================== */

.news-card-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    align-self:flex-start;
    padding:12px 22px;
    border-radius:50px;
    background:var(--red);
    color:#fff;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    transition:.35s ease;
}

.news-card-button:hover{
    background:var(--yellow);
    color:#111;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(200,16,46,.3);
}


/* ===================================================
   DETALLE DE NOTICIA
=================================================== */

.article-detail{
    max-width:950px;
    margin:auto;
}

.article-detail-header{
    margin-bottom:28px;
}

.article-main-image{
    margin:0 0 40px;
    border-radius:28px;
    overflow:hidden;
    background:#1c1c1c;
}

.article-main-image img{
    width:100%;
    max-height:620px;
    object-fit:cover;
}

.article-body{
    max-width:820px;
    margin:auto;
}

.article-body p{
    font-size:1.08rem;
    line-height:1.9;
    margin-bottom:22px;
}

.article-lead{
    color:#fff;
    font-size:1.25rem!important;
    font-weight:600;
}

.article-footer{
    margin-top:45px;
    text-align:center;
}


/* ===================================================
   GALERÍA DE NOTICIA
=================================================== */

.article-gallery{
    margin-top:50px;
}

.article-gallery h3{
    margin-bottom:25px;
}

.article-gallery-item{
    display:block;
    height:250px;
    overflow:hidden;
    border-radius:20px;
}

.article-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.article-gallery-item:hover img{
    transform:scale(1.07);
}

.article-video,
.article-external-link{
    margin-top:35px;
}


/* ===================================================
   RESPONSIVE
=================================================== */

@media(max-width:991px){

    .featured-news-image{
        min-height:400px;
    }

    .featured-news-content{
        padding:35px;
    }

    .featured-news-content h2{
        font-size:2rem;
    }

}

@media(max-width:768px){

    .news-tools-section{
        padding:45px 0;
    }

    .news-grid-image{
        height:230px;
    }

    .featured-news-image{
        min-height:320px;
    }

    .featured-news-content{
        padding:28px;
    }

    .featured-news-content h2{
        font-size:1.7rem;
    }

    .news-card-button{
        width:100%;
    }

}

@media(max-width:480px){

    .news-filter{
        width:100%;
    }

    .news-grid-content{
        padding:22px;
    }

    .article-body p{
        font-size:1rem;
    }

}