.hero-latest-news .elementor-post__read-more-wrapper a:hover {
  color: #262626 !important;
}

.hero-latest-news article .elementor-post__excerpt p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 100px;
}

.category-btn a {
  padding: 10px 32px;
  border: 1px solid #014289;
  border-radius: 10px;
  color: #014289;
  font-weight: 400;
  line-height: 22px;
}

.category-btn a:hover,
.category-btn a.active {
  background-color: #014289;
  color: #fff;
}

.category-btn a:first-child {
  font-weight: 700;
}

.show-news .news-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.show-news {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 70px 45px;
  margin-bottom: 88px;
}

.news-img img {
  width: 100%;
  height: 237px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.news-content {
  background-color: #f3f3f3;
  border-radius: 0 0 10px 10px;
  padding: 28px 38px 34px 24px;
  transition: all 0.3s;
  height: 100%;
}

.news-content .category-name {
  width: fit-content;
  padding: 4px 11px;
  background-color: #fff;
  border-radius: 50px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #014289;
  display: block;
}

.news-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 27px;
}

.news-content p.news-date {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #262626;
  margin-bottom: 17px;
}

.news-content h4 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #262626;
  margin-bottom: 10px;
}

.news-card:hover .news-content h4 {
  color: #014289;
}

.news-content p.news-description {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: #7a7a7a;
  margin: 0;

  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-news .news-card:hover .news-content {
  background-color: rgb(229, 228, 226);
}

.see-more-news {
  display: grid;
  place-content: center;
}

.see-more-news a {
  padding: 10px 23px;
  background-color: #014289;
  color: #fff;
  border-radius: 10px;
  border: 1px solid #014289;
}

.see-more-news a:hover {
  background-color: #fff;
  color: #014289;
  border: 1px solid #014289;
}

.loading-posts {
  text-align : center;
  position: absolute;
  left: 45%;
  margin-top: 20px;
}

/* actualités detail css */
.custom-post-details .ast-container {
  max-width: 100%;
  padding: 0;
}
.article_main .article_main_title {
  color: #000000;
  font-family: "Montserrat", Sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  padding-bottom: 65px;
  text-align: center;
}
.article_main {
  background: #F3F3F3;
  padding: 70px 30px 60px 30px;
}
.article_inner {
  max-width: 1200px;
  margin: 0 auto;
}
.article_wrapper .article-img-wrap img {
  border-radius: 10px 10px 0 0;
  max-height: 240px;
  width: 100%;
  height: 213px;
  object-fit: cover;

}
.article_item {
  background: #FFF;
  /* max-width: 354px; */
  border-radius: 10px;
  transition: all 0.3s;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.article_wrapper .article-img-wrap {
  line-height: 0;
}
.article_wrapper .article-content-block {
  padding: 28px 38px 35px 24px;
}
.article_wrapper {
  margin: 0 30px !important;
  padding-bottom: 67px;
  display: flex;
  overflow-x: clip;
}
.article_wrapper .article-content-block .cat-name {
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 17px;
  color: #014289;
  display: block;
  background: #F3F3F3;
  border-radius: 20px;
  padding: 4px 10px;
  max-width: max-content;
}
.article-cat {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 27px;
}
.article_wrapper .article-content-block .date {
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #262626;
  display: block;
  padding-bottom: 17px;
}
.article_wrapper .article-content-block .article_title {
  font-family: "Montserrat", Sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  color: #262626;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article_wrapper .article-content-block p {
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #7A7A7A;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article_wrapper .slick-center .article-content-block p {
  -webkit-line-clamp: 3;
}
.article_wrapper .article_item.slick-slide.slick-current.slick-active.slick-center {
  transform: scale(1.09);
  -webkit-transform: scale(1.09);
  -moz-transform: scale(1.09);
  -ms-transform: scale(1.09);
  -o-transform: scale(1.09);
}
.article_wrapper .slick-dots li button {
  border: 1px solid #004289;
  border-radius: 100%;
  width: 18px;
  height: 18px;
  background: #FFF;
}
.article_wrapper li.slick-active button {
  border: 1px solid transparent;
  background: #004289;
}
.article_wrapper .slick-dots li button:before{
  display: none;
}
.article_wrapper  .slick-dots {
  margin: 0;
  bottom: 0;
}
.article_wrapper .slick-list {
  margin: 0 -43px;
}
.article_wrapper .slick-slide {
  margin: 0 43px;
  height: inherit;
}
.article_wrapper .slick-list .slick-track {
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.article_wrapper:after {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: linear-gradient(90deg, rgba(243,243,243,0) 0%, rgba(243,243,243,1) 100%);
}
.article_wrapper:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 350px;
  height: 100%;
  background: linear-gradient(90deg, rgba(243,243,243,1) 0%, rgba(243,243,243,0) 100%);
  z-index: 1;
}

.date_time .elementor-repeater-item-0a27c48 .elementor-icon-list-icon svg {
    --e-icon-list-icon-size: 6px !important;
}
.date_time 
 span.elementor-icon-list-text.elementor-post-info__item.elementor-post-info__item--type-date {
    padding-left: 12px;
    font-weight: 500;
    text-transform: capitalize;
}
.date_time li:first-of-type .elementor-icon-list-icon {
  margin-top: -2px;
}
.blog_content_inner a{
  text-decoration: underline;
}
.blog_content_inner ul {
  margin: 0 0 0 35px;
}

.date_time .elementor-post-info__item--type-terms{
  background: #FFF;
  border-radius: 20px;
  color: #014289 !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 29px;
  padding: 0 8px;
}

.date_time li:first-of-type {
  margin-right: 25px !important;
}


@media only screen and (max-width: 1280px) {
  .article_wrapper:before, 
  .article_wrapper::after {
   width: 280px;
  }
  .show-news {
    margin-bottom: 60px;
}
}
@media only screen and (max-width: 1024px) {
  .article_wrapper .article-content-block {
    padding: 30px 25px 30px 25px;
}
  .article_wrapper .slick-list {
    margin: 0 -25px;
  }
  .article_wrapper .slick-slide {
    margin: 0 25px;
  }
  
  .article_wrapper:before, .article_wrapper::after {
    width: 130px;
  }
  .category-btn {
    margin-bottom: 60px;
    padding-left: 30px;
    flex-wrap: wrap;
    /* justify-content: start;
    overflow-x: scroll; */
  }

  .category-btn::-webkit-scrollbar {
    display: none;
  }

  .category-btn a {
    padding: 10px 20px;
    min-width: fit-content;
  }

  .news-wrap,
  .category-btn {
    padding: 0 30px;
  }

  .show-news {
    gap: 22px;
    margin-bottom: 50px;
  }

  .news-content {
    padding: 25px 15px;
  }

  .news-content .category-name {
    font-size: 14px;
    line-height: 20px;
}

.news-content p.news-date {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 10 px;
}

.news-categories {
  margin-bottom: 20px;
}
}
@media (max-width:991px) {
  .article_wrapper .slick-list .slick-track {
    align-items: unset;
}
}
@media only screen and (max-width: 768px) {
  .article_wrapper:before, 
  .article_wrapper::after {
    display: none;
  }
  .article_wrapper {
    margin: 0 !important;
}
  .article_main .article_main_title {
    padding-bottom: 35px;
}
  .article_wrapper .slick-list {
    margin: 0 -15px;
  }
  .article_wrapper .slick-slide {
    margin: 0 15px;
  }
  .article_wrapper {
    padding-bottom: 47px;
}
  .show-news {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    margin-bottom: 40px;
  }

  .news-content h4 {
    font-size: 16px;
    line-height: 20px;
  }

  .news-content .category-name {
    width: fit-content;
    padding: 4px 14px;
  }

  .news-content {
    padding: 15px 10px;
  }

  .category-btn {
    margin-bottom: 59px;
    gap: 18px;
  }

  .category-btn a {
    /* min-width: fit-content; */
  }
}
@media (max-width:600px) {
  .article_wrapper .article_item.slick-slide.slick-current.slick-active.slick-center {
    transform: none;
}
}
@media only screen and (max-width: 544px) {

  .single-post .ast-container {
    padding: 0 !important;
  }
}
@media only screen and (max-width: 430px) {
  .date_time span.elementor-icon-list-text.elementor-post-info__item {
    line-height: 32px;
}
  .article_wrapper {
    padding-bottom: 27px;
}
  .article_wrapper .slick-dots li {
    width: 12px;
    height: 12px;
}
  .article_wrapper .slick-dots li button {
    width: 12px;
    height: 12px;
}
  .article_main {
    padding: 50px 16px;
  }
  .article_main .article_main_title {
    padding-bottom: 20px;
}
  .category-btn a {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
  }

  .news-wrap,
  .category-btn {
    padding: 0 16px;
  }

  .news-content .category-name {
    font-size: 10px;
    line-height: 14px;
  }

  .news-content p.news-date {
    font-size: 10px;
    line-height: 12px;
    margin-bottom: 8px;
  }

  .news-content p.news-description {
    font-size: 12px;
    line-height: 20px;
  }
  
  .news-img img {
    height: 133px;
  }
}
@media only screen and (max-width: 375px) {

  .show-news {
    grid-template-columns: 1fr;
}

.news-img img {
  height: 170px;
}
}