:root {
    --primary-red: #e62117;
    --dark-red: #80110c;
    --neon-green: #00ff88;
    --dark-bg: #050505;
    --card-bg: rgba(20, 20, 20, 0.92);
    --text-light: #f5f5f5;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
    background: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    padding: 20px 5% 40px;
}
.container { max-width: 950px; margin:0 auto; }
.header {
    padding: 20px 0 15px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}
.logo-img { height: 48px; border-radius: 12px; border:2px solid var(--primary-red); background:#111; }
.logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #fff, #ffaaaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.btn-site {
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    border:1px solid transparent;
    transition:0.3s;
    display:inline-flex;
    align-items:center;
    gap:6px;
}
.btn-site:hover { background:transparent; border-color:var(--primary-red); }
.btn-help {
    background: var(--neon-green);
    color: #000;
}
.btn-help:hover { background:transparent; border-color:var(--neon-green); color:var(--neon-green); }

.page-title { text-align:center; margin-bottom:40px; }
.page-title h1 {
    font-size:2.8rem;
    font-weight:900;
    text-transform:uppercase;
    background: linear-gradient(to right, #fff, #ffaaaa, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-title p { color:var(--neon-green); font-size:1.1rem; letter-spacing:2px; margin-top:5px; }

/* CARTE ARTICLE SUR LE HUB */
.article-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(230,33,23,0.2);
    transition: 0.3s;
}
.article-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}
.article-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: white;
}
.article-card .meta {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.article-card .excerpt {
    color: #ccc;
    margin-bottom: 15px;
}
.article-card .btn-lire {
    color: var(--neon-green);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-card .btn-lire:hover { text-decoration: underline; }

/* ===== IMAGES DANS LES CARTES (hub) ===== */
.article-card .article-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 15px 0;
    background: #1a1a2a;
    display: block;
}

/* ===== IMAGES DANS LES ARTICLES INDIVIDUELS ===== */
.article-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin: 20px 0;
    background: #1a1a2a;
    display: block;
}

/* PAGES ARTICLES INDIVIDUELLES */
.article-full {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(230,33,23,0.3);
}
.article-full h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}
.article-full .meta {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.article-full .content p {
    color: #ddd;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--neon-green);
    text-decoration: none;
    font-weight: bold;
}
.back-link:hover { text-decoration: underline; }

.footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}
.footer a { color: var(--primary-red); text-decoration: none; margin:0 8px; }
.footer a:hover { text-decoration:underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .header { flex-direction: column; align-items: center; text-align: center; }
    .page-title h1 { font-size: 2rem; }
    .article-card h2 { font-size: 1.4rem; }
    .article-full h1 { font-size: 1.8rem; }
    .article-full { padding: 20px; }
    .article-full .content p { font-size: 0.95rem; }

    /* Images réduites sur mobile */
    .article-card .article-img {
        height: 160px;
    }
    .article-img {
        max-height: 250px;
        margin: 15px 0;
    }
}

@media (min-width: 1200px) {
    .article-img {
        max-width: 850px;
        margin: 25px auto;
    }
}