  *, *::before, *::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  html { 
    min-height: 100%;
    background-color: #7F1525;
  }

  body {
    height: 100%;
  }


/* ---------------------------------------------- */
/* --- Mise en forme de la page d'actualités --- */
/* -------------------------------------------- */

.section-news {
	width: 100%;
    margin: 0 auto;
}

.section-news h1 {
	position: relative;
	padding-top: 100px;
	font-family: "Audiowide", serif;
	font-size: 2rem;
    text-align: center;
	color: #F5DDD2;
	text-transform: uppercase;
    margin-bottom: 40px;
}

.article-news {
    display: flex;
	align-content: center;
    margin-bottom: 20px;
    background-color: #000;
    color: #F5DDD2;
    overflow: hidden;
}

.article-news img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

/* Conteneur pour l'image et les crédits */
.contenant-image-news {
    position: relative; /* Permet à #credits de se positionner par rapport à ce conteneur */
    width: 50%; /* Taille normale en écran large */
}

/* Image */
.contenant-image-news img {
    width: 100%; /* L'image prend toute la largeur du conteneur */
    display: block;
}

/* Crédits positionnés au-dessus de l'image */
#credits {
	font-family: "Audiowide", sans-serif;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #F5DDD2;
    padding: 5px 10px;
    border-radius: 5px;
}

#credits-border {
	font-family: "Audiowide", sans-serif;
    position: absolute;
    bottom: 10px;
    left: 10px;	
    color: #F5DDD2;
	-webkit-text-stroke: 1px #7F1525;
	padding: 5px 10px;
    border-radius: 5px;
}

/* Responsive : mettre l'image au-dessus du texte */
@media (max-width: 49em) {
    .article-news {
        flex-direction: column; /* Image passe au-dessus du texte */
    }

    .contenant-image-news {
        width: 100%; /* L'image prend toute la largeur de l'article */
    }
}


.contenu-news {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement le contenu */
}

.contenu-news h2 {
	font-family: Audiowide, sans-serif;
 	text-align: center;
    margin-top: 0;
}

.contenu-news p {
	font-family: Verdana, sans-serif;
}
.news-date {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

.resume-news {
    margin: 20px;
}

.lire-suite {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px auto 0;
    background-color: #7F1525;
    color: #F5DDD2;
	font-family: Audiowide, sans-serif;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start; /* Ajouté pour éviter l'étirement en flexbox */
}


.lire-suite:hover {
    background-color: #5a0f1b;
    transform: scale(1.05);
    text-decoration: none;
}