/* ===== News Tech ===== */

.news-card {
    background: rgba(111, 111, 111, 0.12);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.news-card .news-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #222; }
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-card .news-body { padding: 25px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card .news-title { color: #fff; font-weight: 600; font-size: 20px; line-height: 1.35; margin-bottom: 12px; display: block; }
.news-card .news-title:hover { color: var(--base-color); }
.news-card p { margin-bottom: 20px; flex: 1; }

.news-meta { font-size: 13px; color: rgba(255, 255, 255, .55); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.news-meta i { color: var(--base-color); margin-right: 5px; }

.news-badge {
    display: inline-block;
    background: var(--base-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.news-badge:hover { color: #fff; opacity: .85; }

/* Article à la une */
.news-featured { border-radius: 12px; overflow: hidden; background: rgba(111, 111, 111, 0.12); }
.news-featured .news-featured-img { min-height: 360px; background: #222 center/cover no-repeat; display: block; height: 100%; }
.news-featured .news-featured-body { padding: 45px; }
.news-featured h2 { color: #fff; font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; }
.news-featured h2 a { color: inherit; }
.news-featured h2 a:hover { color: var(--base-color); }

/* Filtres */
.news-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.news-filters a {
    color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 14px;
    transition: all .2s ease;
}
.news-filters a:hover, .news-filters a.active { background: var(--base-color); border-color: var(--base-color); color: #fff; }
.news-search { position: relative; }
.news-search input {
    width: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 30px;
    padding: 10px 50px 10px 22px;
    color: #fff;
}
.news-search input::placeholder { color: rgba(255, 255, 255, .45); }
.news-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; padding: 6px 12px; }

/* Pagination */
.news-pagination .pagination { justify-content: center; gap: 6px; }
.news-pagination .page-link { background: rgba(255, 255, 255, .06); border: 0; color: #fff; border-radius: 6px !important; min-width: 42px; text-align: center; }
.news-pagination .page-item.active .page-link { background: var(--base-color); }
.news-pagination .page-item.disabled .page-link { background: transparent; color: rgba(255, 255, 255, .3); }

/* Page article */
.article-hero { position: relative; padding: 200px 0 70px; background: #17161a center/cover no-repeat; }
.article-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, .55) 0%, rgba(23, 22, 26, .95) 85%); }
.article-hero .container { position: relative; z-index: 1; }
.article-hero h1 { color: #fff; font-size: 48px; line-height: 1.15; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 25px; }
.article-breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 20px; }
.article-breadcrumb a { color: rgba(255, 255, 255, .8); }
.article-breadcrumb a:hover { color: var(--base-color); }

.article-content { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.85; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { color: #fff; font-weight: 700; margin: 45px 0 18px; letter-spacing: -.5px; line-height: 1.3; }
.article-content h2 { font-size: 30px; }
.article-content h3 { font-size: 24px; }
.article-content h4 { font-size: 20px; }
.article-content p { margin-bottom: 24px; }
.article-content a { color: var(--base-color); text-decoration: underline; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }
.article-content ul, .article-content ol { padding-left: 25px; margin-bottom: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--base-color); background: rgba(255, 255, 255, .04); padding: 20px 28px; margin: 30px 0; font-style: italic; color: #fff; border-radius: 0 8px 8px 0; }
.article-content pre, .article-content code { background: #0e0e10; color: #f1f1f1; border-radius: 6px; font-size: 15px; }
.article-content pre { padding: 18px 22px; overflow-x: auto; }
.article-content code { padding: 2px 6px; }
.article-content table { width: 100%; margin-bottom: 24px; border-collapse: collapse; }
.article-content table td, .article-content table th { border: 1px solid rgba(255, 255, 255, .15); padding: 10px 14px; }
.article-content iframe { max-width: 100%; border-radius: 8px; }
.article-content .note-video-clip, .article-content iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }

.article-lead { font-size: 21px; line-height: 1.6; color: #fff; margin-bottom: 35px; font-weight: 500; }

.article-tags a { display: inline-block; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); padding: 5px 14px; border-radius: 20px; font-size: 13px; margin: 0 6px 8px 0; }
.article-tags a:hover { background: var(--base-color); color: #fff; }

.article-share a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: #fff; margin-right: 8px; transition: background .2s;
}
.article-share a:hover { background: var(--base-color); color: #fff; }

.news-sidebar-box { background: rgba(111, 111, 111, 0.12); border-radius: 10px; padding: 28px; margin-bottom: 30px; }
.news-sidebar-box h3 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.news-mini { display: flex; gap: 14px; margin-bottom: 18px; align-items: center; }
.news-mini:last-child { margin-bottom: 0; }
.news-mini img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-mini a { color: #fff; font-weight: 500; line-height: 1.35; font-size: 15px; }
.news-mini a:hover { color: var(--base-color); }
.news-mini small { color: rgba(255, 255, 255, .5); display: block; margin-top: 4px; }

.article-nav a { display: block; background: rgba(111, 111, 111, 0.12); padding: 20px 24px; border-radius: 10px; color: #fff; height: 100%; }
.article-nav a:hover { background: rgba(217, 10, 44, .2); }
.article-nav small { display: block; color: var(--base-color); text-transform: uppercase; font-weight: 600; letter-spacing: .5px; margin-bottom: 6px; }

.article-cta { background: linear-gradient(135deg, #d90a2c 0%, #8b0619 100%); border-radius: 12px; padding: 40px; }
.article-cta h3 { color: #fff; font-weight: 700; letter-spacing: -.5px; }
.article-cta p { color: rgba(255, 255, 255, .85); }

@media (max-width: 991px) {
    .news-featured .news-featured-body { padding: 30px; }
    .news-featured h2 { font-size: 26px; }
    .news-featured .news-featured-img { min-height: 240px; }
    .article-hero { padding: 140px 0 50px; }
    .article-hero h1 { font-size: 32px; letter-spacing: -.5px; }
    .article-content { font-size: 17px; }
}
