/* ==========================================================================
   NEWS PAGE — EDITORIAL REDESIGN
   ========================================================================== */

.news-page { background: #f8fafc; padding-bottom: 120px; min-height: 80vh; }

/* --- HERO --- */
.news-hero { padding: 180px 0 100px; background: white; border-bottom: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.news-pill { 
    display: inline-block; padding: 8px 20px; background: rgba(0,194,255,0.08); 
    color: #00c2ff; border-radius: 100px; font-size: 0.75rem; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 25px; 
}
.news-hero__title { 
    font-family: 'Outfit', sans-serif; font-size: clamp(3rem, 7vw, 4.5rem); 
    font-weight: 800; color: #050d0a; line-height: 1; letter-spacing: -0.04em; margin-bottom: 30px; 
}
.news-accent { color: #00c2ff; }
.news-hero__subtitle { font-size: 1.3rem; color: #64748b; max-width: 600px; line-height: 1.6; }

/* --- GRID --- */
.news-grid-section { padding: 100px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 40px; }

.news-card { 
    background: white; border-radius: 30px; overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.04); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); 
    display: flex; flex-direction: column; height: 100%;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); border-color: rgba(0,194,255,0.2); }

.news-card__image-wrap { position: relative; height: 260px; overflow: hidden; }
.news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card__img { transform: scale(1.05); }

.news-card__date-badge { 
    position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.9); 
    backdrop-filter: blur(10px); padding: 12px 18px; border-radius: 18px; 
    text-align: center; border: 1px solid white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 5; 
}
.news-card__date-badge .day { display: block; font-size: 1.4rem; font-weight: 800; color: #050d0a; line-height: 1; }
.news-card__date-badge .month { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }

.news-card__content { padding: 35px; flex-grow: 1; display: flex; flex-direction: column; }
.news-card__category { font-size: 0.7rem; font-weight: 800; color: #00c2ff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; display: block; }
.news-card__title { font-size: 1.6rem; font-weight: 800; color: #050d0a; line-height: 1.2; margin-bottom: 15px; }
.news-card__excerpt { font-size: 1rem; color: #64748b; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.news-card__link { 
    font-size: 0.9rem; font-weight: 800; color: #050d0a; text-decoration: none; 
    display: flex; align-items: center; gap: 8px; transition: gap 0.3s ease; margin-top: auto; 
}
.news-card__link:hover { gap: 12px; color: #00c2ff; }

/* --- PAGINATION --- */
.news-pagination { margin-top: 80px; display: flex; justify-content: center; }
.news-pagination .page-numbers { 
    display: inline-flex; align-items: center; justify-content: center; 
    width: 50px; height: 50px; border-radius: 15px; background: white; 
    margin: 0 5px; color: #050d0a; font-weight: 700; text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease;
}
.news-pagination .page-numbers.current { background: #00c2ff; color: white; border-color: #00c2ff; }
.news-pagination .page-numbers:hover:not(.current) { background: #f1f5f9; transform: translateY(-3px); }

/* --- CTA --- */
.news-cta { padding: 60px 0; }
.news-cta__card { 
    background: #050d0a; border-radius: 40px; padding: 60px 80px; 
    display: flex; align-items: center; justify-content: space-between; gap: 40px; 
    color: white; position: relative; overflow: hidden; 
}
.news-cta__card::before { 
    content: ''; position: absolute; top: -50%; right: -10%; 
    width: 300px; height: 300px; background: #00c2ff; filter: blur(120px); 
    opacity: 0.15; pointer-events: none; 
}
.news-cta__content h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.news-cta__content p { font-size: 1.15rem; color: rgba(255,255,255,0.6); }

.btn-news { 
    background: #00c2ff; color: #050d0a; padding: 20px 45px; 
    border-radius: 18px; font-weight: 800; border: none; cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1); 
}
.btn-news:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,194,255,0.4); }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .news-hero { padding: 120px 0 60px; }
    .news-hero__title { font-size: 3rem; }
    .news-grid { grid-template-columns: 1fr; }
    .news-cta__card { flex-direction: column; text-align: center; padding: 50px 30px; }
}
