body :is(h1,h2,h3,h4,h5,h6){
  letter-spacing: 0;
}


body header.main-header.is-not-stuck {
  position: absolute;
  width: 100%;
}
body header.lqd-active-row-light.is-stuck .navbar-brand img,
.lqd-mobile-sec-inner .navbar-brand img {
  filter: invert(1);
  -webkit-filter: invert(1);
}

body header.main-header .main-nav .nav-item-children{
  padding: 0;

  @media (width <= 1024px) {
    padding: 0 28px;
  }
  width: fit-content;

  .menu-item a{
    padding: 14px;
  }
  .menu-item:not(:first-child) a{
    padding-top: 0;
  }
}

body
  header.header.is-stuck
  .csjn-on-sticky
  .elementor-widget-ld_header_search
  .elementor-widget-container {
  border-color: var(--e-global-color-primary);
}

footer {
  position: relative;
  z-index: 10;
}

@media (width <= 1024px) {
  body header .csjn-header-desk {
    display: none;
  }
  body header.lqd-active-row-dark.is-stuck .navbar-brand img {
    filter: invert(1);
    -webkit-filter: invert(1);
  }
}

.red-text {
  color: var(--e-global-color-secondary);
}

h2 span:is(.red-text) {
  font-size: 58px;
}

@media (width <= 1200px) {
  h2 span:is(.red-text) {
    font-size: 52px;
  }
}
@media (width <= 880px) {
  h2 span:is(.red-text) {
    font-size: 42px;
  }
}

.have-red-text h2 {
  line-height: 1.1 !important;
}

.twb {
  text-wrap: balance;
}

/* Contact */
body #wrap .elementor-element .lqd-contact-form form.wpcf7-form input.wpcf7-form-control[type=submit]{
  background-color: var(--e-global-color-secondary);
  border-radius: 99px !important;
  -webkit-border-radius: 99px !important;
  -moz-border-radius: 99px !important;
  -ms-border-radius: 99px !important;
  -o-border-radius: 99px !important;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height);
  padding: 10px 24px;
  width: fit-content;
}

form.wpcf7-form .wpcf7-not-valid-tip{
  color: #f26066;
  font-size: 18px;
}

body .lqd-contact-form form .wpcf7-response-output{
  margin-top: 20px;
}

/* Home */

body .hero-title {
  height: 100%;
  justify-content: center;
  pointer-events: none;
}

body .csjn-video-text :is(h1, h2) {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  position: relative;

  text-align: left;
  font-size: 8vw;
  font-weight: 700;
  line-height: 1;
  color: white;
}

body .csjn-video-text h1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 8vw;
}
body .csjn-video-text h2 div {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 4vw;
}
body .csjn-video-text.animate :is(h1, h2) .split-unit {
  display: inline-block;
  overflow: hidden;
}
.lqd-custom-menu .submenu-expander {
  top: 50% !important;
}

@media (width <= 830px) {
  body .csjn-video-text h1 {
    font-size: 14vw;
  }
  body .csjn-video-text h2 div {
    font-size: 9vw;
  }
}

body .image-peche .lqd-imggrp-img-container {
  flex-direction: column;
}

body .image-peche .lqd-imggrp-img-container .lqd-imggrp-content {
  writing-mode: unset;
  -webkit-writing-mode: unset;
  -ms-writing-mode: unset;
  width: 100%;
  margin-top: 0 !important;
}

body
  .image-peche
  .lqd-imggrp-img-container
  .lqd-imggrp-content
  .lqd-imggrp-content-inner {
  margin-top: 8px;
  transform: initial;
  -webkit-transform: initial;
  -moz-transform: initial;
  -ms-transform: initial;
  -o-transform: initial;
  font-size: 14px;
  color: #aaa;
  text-align: left;
}

body .csjn-video-text.animate :is(h1, h2) .split-unit .split-inner,
.label-rouge-logo img {
  line-height: 0.9;
  transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -moz-transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -ms-transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Carousel Home */
body .csjn-carousel-home {
  max-height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

body .swiper-wrapper {
  max-height: 100vh;
  min-height: 100vh;
}

@media (width <= 768px) {
  body .csjn-carousel-home,
  body .swiper-wrapper {
    min-height: 80vh;
  }
  body .label-rouge::before {
    right: 0px;
  }
}

body .elementor-element .swiper .elementor-swiper-button {
  top: inherit;
  bottom: 5%;
}

body .elementor-element .swiper .elementor-swiper-button-prev {
  left: inherit;
  right: 70px;
}

body .swiper-slide {
  height: auto;
}

body .swiper-slide-inner {
  height: 100%;
}

body .csjn-carousel-home img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* RECETTE */

.cards-container .elementor-shortcode {
  display: flex;
  flex-direction: column;
  gap: 150px;
}

.sticky-element-csjn .recipes--container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--e-global-color-fc989be);
  gap: 36px;
  padding: 30px;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;

  @media (width <= 1200px) {
    padding: 24px;
  }
  /* margin-bottom: 150px; */

  .image {
    flex: 1 1 25%;
    border-radius: 999px;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    -ms-border-radius: 999px;
    -o-border-radius: 999px;
    overflow: hidden;

    @media (width <= 1200px) {
      flex: 1 1 25%;
    }

    img {
      width: 100%;
      height: auto;
      aspect-ratio: 1/1;
      object-fit: cover;
    }

    @media (width <= 568px) {
      position: absolute;
      max-width: 100px;
      left: 50%;
      transform: translate(-50%, -50%);
      top: 0;
      border: 10px solid var(--e-global-color-accent);
    }
  }

  .content {
    flex: 1 1 75%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    @media (width <= 1200px) {
      flex: 1 1 75%;
    }

    @media (width <= 768px) {
      padding-top: 30px;
    }

    .infos {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding-bottom: 10px;
      border-bottom: 1px solid #bfbfbf;

      .time {
        span {
          display: flex;
          align-items: center;
          gap: 8px;
          font-size: 18px;
          font-weight: 900;
          color: #f26066;

          @media (width <= 1200px) {
            font-size: 16px;
          }

          &::before {
            content: "";
            background-image: url(../images/time.svg);
            width: 24px;
            height: 24px;
            background-size: contain;
            background-repeat: no-repeat;
            position: relative;
            left: 0;
            display: block;
          }
        }
      }

      .number {
        span {
          display: flex;
          align-items: center;
          gap: 8px;
          font-size: 18px;
          font-weight: 900;
          color: var(--e-global-color-accent);

          @media (width <= 1200px) {
            font-size: 16px;
          }

          &::before {
            content: "";
            background-image: url(../images/people.svg);
            width: 24px;
            height: 24px;
            background-size: contain;
            background-repeat: no-repeat;
            position: relative;
            left: 0;
            display: block;
          }
        }
      }
    }
    .title {
      margin-top: 12px;
      margin-bottom: 8px;
      font-size: 26px;
      @media (width <= 1200px) {
        font-size: 22px;
      }
    }
    .summary {
      margin-bottom: 20px;
      font-size: 20px;
      line-height: 1.1;
      @media (width <= 1200px) {
        font-size: 18px;
      }
    }

    .btn {
      font-size: 18px;
      background-color: transparent;
      color: var(--e-global-color-secondary);
      padding: 10px 24px;
      border: 1px solid var(--e-global-color-secondary);
      border-radius: 99px;
      -webkit-border-radius: 99px;
      -moz-border-radius: 99px;
      -ms-border-radius: 99px;
      -o-border-radius: 99px;
      transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;

      &:hover {
        background-color: var(--e-global-color-secondary);
        color: white;
      }
    }
  }
}

/* Facet Home */
body .select-facet-csjn {
  flex: 1 1 40%;
}
body .select-facet-csjn * {
  height: 100% !important;
}
body .select-facet-csjn .facetwp-type-dropdown {
  margin-bottom: 0;
}
body .select-facet-csjn .facetwp-type-dropdown .facetwp-dropdown {
  width: 100%;
  appearance: none;
  border: none;
  padding: 12px 24px;
  font-size: 20px;
  color: black;
  height: 100%;
  background-color: white;
  border-radius: 99px;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -ms-border-radius: 99px;
  -o-border-radius: 99px;
  background-image: url(https://atlantic-inox.beekom.fr/wp-content/uploads/2024/04/Vector-12.svg);
  background-repeat: no-repeat;
  background-position: 90%;
  background-size: 20px;
}
body .btn-facet-csjn {
  flex: 0 0 auto;
}
body .btn-facet-csjn,
body .btn-facet-csjn a.elementor-button {
  padding: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (width <= 768px) {
  body .btn-facet-csjn, body .btn-facet-csjn .elementor-widget-container, body .btn-facet-csjn a.elementor-button {
    width: 100%;
  }
}
body .btn-facet-csjn .elementor-button-icon {
  margin: 0;
}

@media (width <= 1024px) {
  body .select-facet-csjn .facetwp-type-dropdown .facetwp-dropdown {
    font-size: 16px;
  }
}
@media (width <= 768px) {
  body .select-facet-csjn {
    flex: 1 1 100%;
    height: 54px;
  }
  /* .select-facet-csjn:nth-child(3) {
    flex: auto;
    order: 1;
  } */
  body .select-facet-csjn .facetwp-type-dropdown .facetwp-dropdown {
    padding: 6px 18px;
  }
}

/* ACTU */

body .csjn-actu article.lqd-lp-style-13 {
  figure {
    position: relative;
    margin-bottom: 20px !important;
    overflow: hidden;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;

    img{
      min-height: 350px;
      max-height: 350px;
      object-fit: cover;
    }

    &::before {
      content: "";
      background-image: url(../images/circle-arrow.svg);
      width: 52px;
      height: 52px;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      position: absolute;
      display: block;
      bottom: 16px;
      right: 16px;
      transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
    }
  }

  .d-flex {
    justify-content: space-between;
  }
  .date {
    time {
      font-size: 18px;
      font-weight: 400;
      color: black;
    }
  }
  .place {
    p {
      margin-bottom: 12px;
      font-size: 18px;
      font-weight: 400;
    }
  }

  .entry-title {
    font-weight: 500;
  }
}

body .csjn-actu article.lqd-lp-style-13:hover {
  figure {
    &::before {
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
    }
  }
}

/* Nos Recettes */

.facetwp-template[data-name="csjn_home"] {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  @media (width <= 768px) {
    justify-content: center;
  }

  .recette-item {
    position: relative;
    flex: 0 1 calc(25% - 30px);

    @media (width <= 992px) {
      flex: 0 1 calc((100%/3) - 30px); 
    }
    @media (width <= 768px) {
      flex: 0 1 calc((100%/2) - 30px); 
    }
    @media (width <= 568px) {
      flex: 0 1 calc(100% - 30px); 
      margin-bottom: 50px;
    }
  }

  .sticky-element-csjn .recipes--container {
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    box-shadow: 10px 10px 10px #eee;
    padding: 20px;

    .image {
      flex: inherit;
    }

    .content {
      flex: inherit;

      .infos {
        .time,
        .number {
          span {
            font-size: 14px;
          }
        }
      }
      .title {
        font-size: 20px;
        margin-bottom: 18px;
      }
      .summary,
      p {
        font-size: 16px;
        line-height: 1.2;
      }
    }
  }
}

body:not(.home) .csjn-header-desk {
  .csjn-on-sticky {
    background-color: var(--e-global-color-fc989be);
    padding: 10px 10px 10px 10px;
    box-shadow: 10px 10px 10px #eee;

    .main-nav {

      li.menu-item {
        a {
          color: black;
        }
      }
    }
    .elementor-widget-ld_header_search {
      .elementor-widget-container {
        border-color: black;
        .ld-module-trigger {
          color: black;
        }
      }
    }

  }

  .navbar-brand img {
    filter: invert(1);
    -webkit-filter: invert(1);
  }

 
}

/* Nos recettes single */

.single-recettes * {
  font-family: var(--e-global-typography-primary-font-family);
  letter-spacing: 0;
}

.single-recettes .lqd-single-post-content :is(ol, ul) li {
  padding-bottom: 10px;
}

.single-recettes .lqd-single-post-content ol {
  list-style: none;
  counter-reset: csjn-counter;
  padding-left: 54px;
  position: relative;


  &::before{
    content: "";
    height: calc(100% - 10px);
    width: 3px;
    background-color: var(--e-global-color-secondary);
    position: absolute;
    left: 28px;
    display: block;
    z-index: -1;
  }
}
.single-recettes .lqd-single-post-content ol li {
  counter-increment: csjn-counter;
  margin-bottom: 1rem;
  text-indent: -40px;
}
.single-recettes .lqd-single-post-content ol li::before {
  content: counter(csjn-counter);
  background: var(--e-global-color-secondary);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-block;
  line-height: 2rem;
  color: white;
  text-align: center;
  margin-right: 0.5rem;
  text-indent: 0;

}

.single-recettes .chef{
  font-size: 18px;
  color: #aaa;
}

.single-recettes .infos {
  box-shadow: 10px 10px 10px #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 60%;
  margin: 50px auto;
  padding: 20px 44px;
  background: white;
  border-radius: 99px;

  @media (width <= 768px) {
    max-width: 85%;
  }

  @media (width <= 568px) {
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }

  .number,
  .time,
  .difficulty {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .number::before {
    content: "";
    background-image: url(../images/people.svg);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    left: 0;
    display: block;
  }
  .time::before {
    content: "";
    background-image: url(../images/time.svg);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    left: 0;
    display: block;
  }
  .difficulty::before {
    content: "";
    background-image: url(../images/chart.svg);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    left: 0;
    display: block;
  }
}

.single-recettes #lqd-contents-wrap {
  padding-top: 130px;
  @media (width <= 992px) {
    padding-top: 0px;
  }
}

.single-recettes .lqd-post-cover img {
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}
.single-recettes .lqd-post-header .entry-title {
  margin-top: 20px;
}
.single-recettes .lqd-post-header .entry-title {
  font-size: clamp(28px, 8vw, 54px);
}


.single-recettes .entry-content .container{
  padding: 0;
}

.single-recettes .entry-content h2:not(:first-of-type){
  margin-top: 50px;
}

.single-recettes .entry-content h2{
  font-size: clamp(24px, 6.5vw, 36px);
}

.single-recettes .entry-content h3{
  font-size: clamp(22px, 5.5vw, 28px);
}

.single-recettes footer.blog-post-footer {
  margin-bottom: 0;
}

/* single post  */

.single-post .lqd-post-cover{
  padding-top: 100px !important;

  .lqd-post-media{
    padding: 0;
    margin-bottom: 20px;
    img{
      position: relative;
      max-height: 500px ;
      object-fit: cover;
      border-radius: 20px;
      -webkit-border-radius: 20px;
      -moz-border-radius: 20px;
      -ms-border-radius: 20px;
      -o-border-radius: 20px;
}
  }
}

.single-post .lqd-post-content .container {
  max-width: 1140px;
}
.single-post .related-posts, .single-post .related-posts .lqd-lp{

  margin-bottom: 0;
  padding-bottom: 30px;
}

/* BLOG */
body.blog .titlebar{
  .titlebar-inner{
    padding-top: 150px;
    padding-bottom: 0;
  }
  h1{
    text-align: center;
  }
}

body.blog {
  article{
    .wp-post-image {
      min-height: 300px;
      max-height: 300px;
      object-fit: cover;
      border-radius: 20px;
      -webkit-border-radius: 20px;
      -moz-border-radius: 20px;
      -ms-border-radius: 20px;
      -o-border-radius: 20px;
  }
  }
}

.grid-participant-challenge{
  img{
    aspect-ratio: 1/1;
    object-fit: cover;
  }
}