.listArticles{ 
  gap: 1em;
}

.cardArticle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1.5em;
  box-shadow: 0px 0px 5px #cccccc9c;
  background: var(--color-3);
}

.cardArticle-img {
  width: 100%;
  max-height: 25vh; 
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 1em;
}

.cardArticle-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cardArticle-content {
  flex-grow: 1;
}

.cardArticle h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.cardArticle p {
  margin-top: 1em;
}

.cardArticle .date{
  font-size: 0.8em;
  font-style: italic;
  color: var(--color-5);
  align-self: center;
  margin-top: 0;
}

.cardArticle-button {
  display: inline-block;
  background-color: var(--color-2);
  color: #fff;
  padding: 0.8em 1.5em;
  border-radius: 5px;
  text-decoration: none;
}

.cardArticle-button:hover{
  background-color: var(--color-4);
}

.bgWave{
  background-image: url("../IMG/pattern-waves.png");
  position: absolute;
  /* height: 150vh; */
  min-height: 100%;
  width: 50%;
  top: 8em;
  bottom: 0;
  right: 0;
  z-index: -1;
}

/** Detail Article**/
.enteteArticle{
  justify-content: space-between;
}

.dateArticle{
  font-style: italic;
  font-size: 0.8em;
}

.content-detailArticle{
  padding: 1em;
}

.content-detailArticle img{
  max-width: 50%;
}

.content-detailArticle li{
  margin: 1em 0 1em 2em;
}

.content-detailArticle ul li{
  list-style-type: disc;
}

.content-detailArticle ol li{
  list-style-type: decimal;
}

.imgArticle{
  float: left;
  margin: 0 2em 2em 0;
}