/* Style de base pour la page */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #f4f7f6; */
	background-color: #f1fbff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    color: #004d40;
    margin-top: 40px;
}

p {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px;
    color: #555;
}

/* Styles pour la barre de navigation (inchangés) */
header {
    /* background-color: #004d40; */
	background-color: #ffffff;
    color: white;
    padding: 15px 0;
}

nav {
 	/*
	position: fixed;
	top: 20;
	*/
	display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
	background-color: #ffff;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
	font-weight: bold;
	text-decoration: none;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
	font-weight: bold;
	text-decoration: none;
}

nav ul li a:hover,
nav ul li a.active {
    /* background-color: #00332e; */
	 color: #2575fc;
}

/* Styles pour la grille d'articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Nouvelle taille pour accueillir images et textes */
    gap: 30px;
}

.article-card {
    background-color: #ffffff;
	border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex; /* Utilisation de Flexbox pour l'agencement image-texte */
    align-items: stretch;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.article-image-container {
    width: 40%; /* L'image prend 40% de la largeur du cadre */
    flex-shrink: 0; /* Empêche l'image de rétrécir */
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre l'espace sans se déformer */
}

.article-content {
    padding: 25px;
    flex-grow: 1; /* Le contenu textuel prend le reste de l'espace */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Permet au bouton de se positionner en bas */
}

.article-content h2 {
    color: #d32f2f;
    margin-top: 0;
    font-size: 1.4em;
    text-align: left;
}

.article-content p {
    text-align: left;
    margin: 10px 0 20px 0;
    color: #666;
}

.btn-read-more {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: auto; /* Pousse le bouton vers le bas */
}

.btn-read-more:hover {
    background-color: #b71c1c;
}

/* Styles pour les petits écrans */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column; /* Sur mobile, l'image passe au-dessus du texte */
    }
    .article-image-container {
        width: 100%;
        height: 200px;
    }
}

/* --- Bouton Quitter Vite --- */
.quick-exit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d32f2f;
    color: var(--color-white);
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.2s;
}
.quick-exit:hover {
    transform: scale(1.05);
}
table, td, th, tr {
  border: 1px solid black;
  text-align: left;
}