:root {
    --primary-color: #000000;
    /* Black text */
    --accent-color: #8a0303;
    /* Blood Red for links/accents */
    --text-color: #000000;
    --bg-light: #f8f9fa;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: transparent;
    /* Transparent pour voir le canvas */
    line-height: 1.6;
    position: relative;
    /* Pour le z-index du canvas */
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.red-text {
    color: var(--accent-color);
}

/* Navbar */
.navbar-custom {
    background: #000000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: #ffffff !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: #ffffff !important;
    margin: 0 5px;
    padding: 8px 16px !important;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link::after {
    display: none;
    /* Remove underline effect */
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--accent-color);
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    background: transparent;
    padding: 5rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Bordure plus subtile */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Cards */
.article-card {
    border: 1px solid #eee;
    border-radius: 0;
    /* Plus carré pour un style plus "journal" */
    overflow: hidden;
    background: #fff;
    transition: var(--transition);
    height: 100%;
    position: relative;
    /* Indique que c'est cliquable */
}

.article-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(138, 3, 3, 0.15);
    /* Ombre plus visible */
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

.category-badge {
    background-color: #000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.article-title a {
    color: #000;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--accent-color);
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #600202;
    border-color: #600202;
}

.btn-outline-secondary {
    color: #000;
    border-color: #000;
}

.btn-outline-secondary:hover {
    background-color: #000;
    color: #fff;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: #600202;
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-link {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Filter Section */
.filter-section {
    background: #fff;
    padding: 30px;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    margin-top: 3rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Badges Acteurs / Types */
.badge-custom {
    font-size: 0.70rem;
    padding: 4px 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
    margin-bottom: 8px;
    display: inline-block;
}

.badge-acteur {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 4px;
}

.badge-type {
    background-color: #198754;
    color: #fff;
    border-radius: 4px;
}

.emoji-white {
    filter: grayscale(100%) brightness(1000%);
    margin-right: 4px;
}

/* Editorial Section */
.editorial-section {
    margin-top: 50px;
    background: transparent;
}

.editorial-title {
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #000;
}

.editorial-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 2rem;
}

.editorial-text strong {
    font-weight: 700;
    color: #000;
}

.quote-styled {
    font-size: 1.5rem;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    color: var(--accent-color);
    text-align: center;
    margin: 3rem 0;
    font-weight: 500;
}

.mission-statement {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem auto;
    color: #000;
    line-height: 1.6;
}

/* Mission Cards */
.mission-section {
    padding: 2rem 0 6rem 0;
    background: transparent;
}

.mission-card {
    border-radius: 20px;
    background-color: #fff;
    text-align: center;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #8a0303;
}

.mission-card:hover {
    border-color: #eee;
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    display: inline-block;
}

.mission-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hover-red:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #fff !important;
}