/*
 Description:  Mixins
 */
/*
 Description:  Variables
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');
#page_content {
  /* style des cards projets sur la page projet */
}
@media screen and (min-width: 1024px) {
  #page_content .widget_posts_elementor.js-hover-cards article .elementor-post__thumbnail__link::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  }
  #page_content .widget_posts_elementor.js-hover-cards article .elementor-post__card {
    cursor: pointer;
  }
  #page_content .widget_posts_elementor.js-hover-cards article .elementor-post__card.active {
    background: #374c0c;
  }
  #page_content .widget_posts_elementor.js-hover-cards article .elementor-post__card.active .elementor-post__title a {
    text-decoration: underline;
    text-decoration-thickness: from-font;
  }
  #page_content .widget_posts_elementor.js-hover-cards article .elementor-post__card.active .elementor-post__excerpt {
    color: #D7A12A;
    text-decoration: underline;
    text-decoration-thickness: from-font;
    font-weight: 100;
  }
}
@media screen and (min-width: 200px) and (max-width: 640px) {
  #page_content .widget_posts_elementor article .elementor-post__card {
    box-shadow: none;
  }
  #page_content .widget_posts_elementor article .elementor-post__card .elementor-post__thumbnail__link {
    min-height: 100%;
    height: 542px;
  }
  #page_content .widget_posts_elementor article .elementor-post__card .elementor-post__thumbnail__link .elementor-post__thumbnail {
    height: 100%;
  }
  #page_content .widget_posts_elementor article .elementor-post__card .elementor-post__thumbnail__link .elementor-post__thumbnail img {
    object-fit: cover;
    object-position: center;
    height: 100%;
  }
  #page_content .widget_posts_elementor article .elementor-post__card .elementor-post__text {
    margin-top: 0;
  }
}
@media screen and (min-width: 641px) {
  #page_content .widget_posts_elementor article {
    margin-bottom: 30px;
  }
  #page_content .widget_posts_elementor article:nth-child(2n) .elementor-post__card {
    flex-direction: row-reverse;
  }
  #page_content .widget_posts_elementor article:nth-child(2n) .elementor-post__card .elementor-post__text {
    left: 3%;
    right: inherit;
  }
  #page_content .widget_posts_elementor article .elementor-post__card {
    box-shadow: none;
    flex-direction: row;
  }
  #page_content .widget_posts_elementor article .elementor-post__card .elementor-post__thumbnail__link {
    overflow: hidden;
    max-height: 542px;
    max-width: 864px;
    margin-bottom: 0;
  }
  #page_content .widget_posts_elementor article .elementor-post__card .elementor-post__text {
    flex-basis: 32%;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin: auto 0;
    border: 1px solid;
    position: relative;
    right: 3%;
    background-color: white;
    padding: 0 0 0 50px;
    max-width: 387px;
    min-height: 280px;
  }
}
