/**
 * Lot 012 - gouttieres mobiles des actualites et premier media produit.
 */

@media only screen and (max-width: 690px) {
  /* ================================================================
     ACTUALITES : listing /actualites/ et fiches blog_post
     ================================================================ */

  body.page-id-2922,
  body.single-blog_post {
    --moliner-news-mobile-gutter: 5vw;
  }

  /* Centre la zone principale sur 90vw, independamment du vieux container. */
  body.page-id-2922
    #ajax-content-wrap
    .container.main-content
    > .row,
  body.single-blog_post
    #ajax-content-wrap
    .container.main-content
    > .row {
    width: 90vw !important;
    max-width: none !important;
    margin-right: calc(50% - 45vw) !important;
    margin-left: calc(50% - 45vw) !important;
  }

  body.page-id-2922
    #ajax-content-wrap
    .container.main-content
    > .row
    > .wpb_row,
  body.single-blog_post
    #ajax-content-wrap
    .post-content
    > .content-inner
    > .wpb_row {
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.page-id-2922
    #ajax-content-wrap
    .container.main-content
    > .row
    > .wpb_row
    > .row_col_wrap_12,
  body.single-blog_post
    #ajax-content-wrap
    .post-content
    > .content-inner
    > .wpb_row
    > .row_col_wrap_12 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.page-id-2922
    #ajax-content-wrap
    .container.main-content
    > .row
    > .wpb_row
    > .row_col_wrap_12
    > .wpb_column,
  body.single-blog_post
    #ajax-content-wrap
    .post-content
    > .content-inner
    > .wpb_row
    > .row_col_wrap_12
    > .wpb_column {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.page-id-2922
    #ajax-content-wrap
    .container.main-content
    > .row
    > .wpb_row
    > .row_col_wrap_12
    > .wpb_column
    > .vc_column-inner,
  body.single-blog_post
    #ajax-content-wrap
    .post-content
    > .content-inner
    > .wpb_row
    > .row_col_wrap_12
    > .wpb_column
    > .vc_column-inner {
    width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Le plugin d'actualites ne rajoute plus 15px de retrait de chaque cote. */
  body.page-id-2922 .blogfree-plugin,
  body.single-blog_post .blogfree-plugin {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.page-id-2922 .blogfree-plugin > .wpbaw-blog-class,
  body.single-blog_post .blogfree-plugin > .wpbaw-blog-class {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.page-id-2922 .blogfree-plugin .blog-inner-wrap-view,
  body.single-blog_post .blogfree-plugin .blog-inner-wrap-view {
    width: 100% !important;
  }

  /* ================================================================
     ANCIENNES FICHES PRODUIT : premier visuel dans la gouttiere 5vw
     ================================================================ */

  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type:has(.column-image-bg),
  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type:has(img) {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type
    > .row_col_wrap_12_inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type
    > .row_col_wrap_12_inner
    > .wpb_column:has(.column-image-bg),
  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type
    > .row_col_wrap_12_inner
    > .wpb_column:has(img) {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type
    .column-image-bg-wrap,
  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type
    .column-image-bg,
  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child
    .inner_row:first-of-type
    img {
    width: 100% !important;
    max-width: none !important;
  }
}

/* MOLINER PRODUCT HERO GAP - LOT 014 START */
/**
 * Les anciennes fiches produit commencent par un visuel dans leur premiere
 * rangee. Sur mobile, cette rangee etait collee au hero. La nouvelle fiche
 * Stores de terrasse 2026 possede son propre rythme et reste exclue.
 */
@media only screen and (max-width: 690px) {
  body.moliner-product-page:not(.postid-3828)
    article
    .content-inner
    > .wpb_row:first-child {
    padding-top: 5vw !important;
  }
}
/* MOLINER PRODUCT HERO GAP - LOT 014 END */
