@import url("./base.css");


/* about */

.about {
  display: flex;
  background-image: url("../images/Asset Maisoft/BLOG.jpg");

  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 80px 120px;
  align-items: center;
  justify-content: space-between;


  position: relative;
  height: 50vh;

}

.about-content h3 {
  font-size: 45px;

  font-weight: 500;
  font-family: var(--ff-secondary);
  margin-bottom: 50px;
}

.back {
  display: flex;
  gap: 20px;
  align-items: center;
  color: white;

}

.back a {
  color: white;
}

.icons {
  display: flex;
}

@media (max-width: 1024px) {
  .about {
    flex-direction: column;
    padding: 40px 20px;
    height: auto;
    text-align: center;
  }

  .about-content h3 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .back {
    flex-direction: column;
    gap: 10px;
  }

  .icons img {
    width: 20px;
  }
}

@media (max-width: 768px) {
  .about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .icons img {
    width: 18px;
  }
}

@media (max-width: 480px) {
  .about-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .icons {
    gap: 5px;
  }

  .icons img {
    width: 16px;
  }

  .back span {
    font-size: 14px;
  }

  .back a {
    font-size: 14px;
  }
}


/* BLOG-DETAILS */

.blog-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}
.image-wrapper{
  width: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 600px;
  border-radius: 8px;
  object-fit: cover;
}

.content {
  width: 100%;
}

.content h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 30px 0;
  text-transform: uppercase;
  font-family: var(--ff-secondary);
}

.text-columns {
  column-count: 1;
}

@media all and (min-width: 768px) {
  .text-columns {
    column-count: 2;
  }
}

.text-columns p {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  text-align: justify;
  font-family: var(--ff-primary);
  margin-bottom: 20px;
}

.button-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.blog-button {
  background: linear-gradient(90deg, #F88E20 0%, #E37707 100%);

  color: white;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.blog-button:hover {
  background-color: #d9750f;
}

/********************* NOS ARTICLES *****************************/


.nos-articles {
  padding: 60px 20px;
  text-align: center;
  font-family: var(--ff-secondary);
  background-color: #fff;
}

.articles-title {
  font-size: 40px;
  font-family: var(--ff-secondary);
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}



.articles-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;

  font-size: 18px;
  font-weight: 500;
  color: var(--clr-grey);
  line-height: 1.6;
  font-family: var(--ff-primary);
}


.blog-grid-section {
  padding: 40px 20px;
  max-width: 1300px;
  margin: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.anim {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.3s ease;
}

.blog-card {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #00000040;
  height: 596px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  padding: 15px 10px;
  gap: 30px;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.card-image {
  position: relative;
  height: 283px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.card-date {
  width: 100%;

  display: flex;
  justify-content: end;
  gap: 10px;
  align-content: center;
  color: var(--clr-orange);
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--ff-secondary);
}

.card-date img {
  width: 20px;

}

.card-content {
  padding: 20px 0 0 0;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: var(--ff-secondary);
  text-align: left;
}

.card-content p {
  font-size: 12px;
  font-weight: 400;
  font-family: var(--ff-primary);
  text-align: justify;
  margin-bottom: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 7;            /* <<< Ici tu précises le nombre de lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

.card-footer {
  display: flex;
  justify-content: flex-start;

}



.card-footer a:hover {
  background-color: #063ab3;
}

/* Responsive design */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-title {
    font-size: 32px;
    text-align: center;
  }

  .articles-subtitle {
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    height: auto;
  }

  .card-content p {
    padding-bottom: 20px;
  }

  .articles-title {
    font-size: 28px;
  }

  .articles-subtitle {
    font-size: 16px;
  }
}

.pagin {
  text-align: center;
  padding-top: 20px;

}

/*==============================
Pagination Area 
=================================*/

.pagin {
  text-align: center;
  padding-top: 20px;

}

.pagination-area {
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-family: var(--ff-primary);

}

.pagination-area .page-numbers {
  width: 60px;
  height: 60px;
  line-height: 40px;
  color: var(--clr-blue-2);
  background-color: transparent;
  border: 1px solid var(--clr-blue-2);
  text-align: center;
  display: inline-flex;
  position: relative;
  padding: 10px;
  padding-right: 10px;
  font-size: 16px;
  border-radius: 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
}

.pagination-area .page-numbers:hover {
  background-color: var(--clr-blue-2);
  color: #ffffff;
}

.pagination-area .page-numbers {
  position: relative;
  font-size: 18px;

  /* top: 5px; */
}


.pagination-area .page-numbers.current {
  background: linear-gradient(90deg, #0647C5 0%, #0954E6 100%);

  color: #ffffff;

}

.pagination-area .page-numbers {
  margin-left: 10px;
  margin-right: 10px;
}

/*==============================
Pagination Area End





/*==============================
Pagination Area End