/**
 * Lot 011 - actualites de l'accueil : gouttieres et carrousel mobile.
 */

.moliner-home-news-nav {
  display: none;
}

@media only screen and (max-width: 690px) {
  /* La section complete suit la gouttiere mobile globale de 5vw. */
  body.home
    #ajax-content-wrap
    .container.main-content
    > .row
    > .wpb_row:has(.blogfree-plugin) {
    width: 90vw !important;
    max-width: none !important;
    margin-right: calc(50% - 45vw) !important;
    margin-left: calc(50% - 45vw) !important;
  }

  body.home
    .wpb_row:has(.blogfree-plugin)
    > .row_col_wrap_12
    > .wpb_column,
  body.home
    .wpb_row:has(.blogfree-plugin)
    > .row_col_wrap_12
    > .wpb_column
    > .vc_column-inner {
    width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.home .wpb_row:has(.blogfree-plugin) .wpb_raw_code {
    width: 100% !important;
  }

  /* Le conteneur du plugin devient la piste tactile. */
  body.home .moliner-home-news-track {
    display: flex !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    gap: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  body.home .moliner-home-news-track::-webkit-scrollbar {
    display: none;
  }

  body.home .moliner-home-news-track::before,
  body.home .moliner-home-news-track::after {
    display: none !important;
    content: none !important;
  }

  body.home .moliner-home-news-track > .wpbaw-blog-class {
    display: block !important;
    flex: 0 0 100% !important;
    float: none !important;
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box !important;
  }

  body.home
    .moliner-home-news-track
    > .wpbaw-blog-class
    > .blog-inner-wrap-view {
    width: 100% !important;
    margin: 0 !important;
  }

  body.home .moliner-home-news-slider {
    width: 100%;
  }

  body.home .moliner-home-news-nav {
    display: flex;
    width: 100%;
    margin-top: 14px;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  body.home .moliner-home-news-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #00b956;
    box-shadow: none;
    font-size: 25px;
    line-height: 1;
  }

  body.home .moliner-home-news-button:disabled {
    opacity: 0.35;
  }

  body.home .moliner-home-news-status {
    min-width: 52px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }
}
