/* Maître Pipier - Conseils et entretiens, Elementor Free.
   Design calqué sur les archives de catégories et les mêmes widgets WooCommerce. */
body.page-id-9631{--mp-advice-wine:#401421;--mp-advice-line:#CBBAC0}
body.page-id-9631 .mp-advice-hero{position:relative;z-index:2;overflow:visible}
body.page-id-9631 .mp-advice-hero>.elementor-container{max-width:1320px!important;display:flex;align-items:center;min-height:230px}
body.page-id-9631 .mp-advice-hero .elementor-column{min-width:0}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text>.elementor-widget-wrap{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:28px 18px 35px 0}
body.page-id-9631 .mp-advice-hero h1{font:400 clamp(34px,3.3vw,44px)/1.15 Poppins,sans-serif;color:#fff;margin:0 0 9px;padding:0}
body.page-id-9631 .mp-advice-hero .elementor-widget-text-editor{color:#fff;font:400 14px/1.65 Poppins,sans-serif;max-width:580px}
body.page-id-9631 .mp-advice-hero .elementor-widget-text-editor p{margin:0;color:#fff}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image>.elementor-widget-wrap{display:flex;align-items:center;justify-content:flex-end;padding:0;overflow:visible}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image img{display:block;max-width:480px;width:100%;height:auto;max-height:285px;object-fit:contain;object-position:right center;filter:drop-shadow(0 9px 9px rgba(0,0,0,.22));transform:translateY(13px);position:relative;z-index:3}
body.page-id-9631 .mp-advice-columns{position:relative;z-index:3;margin-top:-23px}
body.page-id-9631 .mp-advice-columns>.elementor-container{display:flex;align-items:flex-start;gap:40px;max-width:1320px!important;background:#fff;padding:37px 32px 54px;border-radius:6px 6px 0 0;box-shadow:0 -5px 17px rgba(43,34,38,.045)}
body.page-id-9631 .mp-advice-columns>.elementor-container>.mp-advice-main{width:calc(100% - 260px);min-width:0;flex:1 1 auto}
body.page-id-9631 .mp-advice-columns>.elementor-container>.mp-advice-sidebar{width:220px;min-width:0;flex:0 0 220px}
body.page-id-9631 .mp-advice-main>.elementor-widget-wrap,
body.page-id-9631 .mp-advice-sidebar>.elementor-widget-wrap{padding:0}
body.page-id-9631 .mp-advice-main .elementor-widget{margin-bottom:0}

/* Articles alimentés par la vraie catégorie Actualités, rendus côté serveur. */
body.page-id-9631 .mp-articles-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 26px}
body.page-id-9631 .mp-article-card{min-width:0;font:400 14px/1.65 Poppins,sans-serif;color:#2B2226}
body.page-id-9631 .mp-article-featured{grid-column:1/-1;padding-bottom:8px;text-align:center}
body.page-id-9631 .mp-article-media{display:block;overflow:hidden;background:#f1eff0;text-decoration:none;aspect-ratio:1.55;position:relative}
body.page-id-9631 .mp-article-featured .mp-article-media{aspect-ratio:2.1}
body.page-id-9631 .mp-article-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .22s ease}
@media(hover:hover){body.page-id-9631 .mp-article-media:hover img{transform:scale(1.018)}}
body.page-id-9631 .mp-article-no-media{display:flex;align-items:center;justify-content:center;background:#401421;text-align:center}
body.page-id-9631 .mp-article-no-media span{font:400 42px/1.08 Waterfall,cursive;color:#fff}
body.page-id-9631 .mp-article-content{padding:16px 0 0}
body.page-id-9631 .mp-article-featured .mp-article-content{padding:18px 16px 0;max-width:740px;margin:0 auto}
body.page-id-9631 .mp-article-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 8px;color:#62565B;font:400 11px/1.4 Poppins,sans-serif}
body.page-id-9631 .mp-article-featured .mp-article-meta{justify-content:center}
body.page-id-9631 .mp-article-title{font:400 18px/1.35 Poppins,sans-serif;color:#401421;margin:0 0 9px}
body.page-id-9631 .mp-article-featured .mp-article-title{font-size:24px;line-height:1.27}
body.page-id-9631 .mp-article-title a{color:#401421!important;text-decoration:none}
body.page-id-9631 .mp-article-title a:hover{text-decoration:underline;text-underline-offset:3px}
body.page-id-9631 .mp-article-excerpt{font:400 13px/1.7 Poppins,sans-serif;color:#62565B;margin:0 0 11px}
body.page-id-9631 .mp-article-read{font:400 12px/1.5 Poppins,sans-serif;color:#401421!important;text-decoration:underline;text-underline-offset:3px}
body.page-id-9631 .mp-article-read span{font-size:18px;vertical-align:-1px}
body.page-id-9631 .mp-article-card:nth-child(2):last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);align-items:center;gap:26px}
body.page-id-9631 .mp-article-card:nth-child(2):last-child .mp-article-media{aspect-ratio:1.38}
body.page-id-9631 .mp-article-card:nth-child(2):last-child .mp-article-content{padding:0}

/* Colonne droite : présentation identique aux catégories WooCommerce. */
body.page-id-9631 .mp-advice-sidebar h5,
body.page-id-9631 .mp-advice-sidebar .widgettitle{display:flex;align-items:center;justify-content:center;min-height:52px;box-sizing:border-box;font:400 40px/1.1 Waterfall,cursive;color:#fff;background:#401421;border-radius:6px;box-shadow:0 3px 10px rgba(64,20,33,.12);margin:0 0 10px;padding:3px 8px 5px;border:0;text-align:center;white-space:nowrap}
body.page-id-9631 .mp-advice-sidebar ul.product-categories,
body.page-id-9631 .mp-advice-sidebar ul.children{list-style:none;margin:0;padding:0}
body.page-id-9631 .mp-advice-sidebar ul.product-categories{padding:0 18px;display:flex;flex-direction:column}
body.page-id-9631 .mp-advice-sidebar ul.product-categories li{font:400 13px/1.5 Poppins,sans-serif;margin:0}
body.page-id-9631 .mp-advice-sidebar ul.product-categories a{display:block;color:#401421;padding:6px 4px;text-decoration:none}
body.page-id-9631 .mp-advice-sidebar ul.product-categories .children{padding:0}
body.page-id-9631 .mp-advice-sidebar ul.product-categories .children>li>a{padding:6px 12px;border-bottom:1px solid #CBBAC0}
body.page-id-9631 .mp-advice-sidebar ul.product-categories>.cat-parent>a{border-bottom:1px solid #CBBAC0}
body.page-id-9631 .mp-advice-sidebar ul.product-categories .current-cat>a{background:rgba(64,20,33,.12);color:#401421;font-weight:500}
body.page-id-9631 .mp-advice-sidebar ul.product-categories a:hover{text-decoration:underline}
body.page-id-9631 .mp-advice-sidebar ul.product-categories>li.cat-item{order:3}
body.page-id-9631 .mp-advice-sidebar ul.product-categories>li.cat-item-27{order:0}
body.page-id-9631 .mp-advice-sidebar ul.product-categories>li.cat-item-28{order:1}
body.page-id-9631 .mp-advice-sidebar ul.product-categories>li.cat-item-50{order:2}
body.page-id-9631 .mp-advice-sidebar .elementor-widget{margin-bottom:0}
body.page-id-9631 .mp-advice-sidebar a:focus-visible,
body.page-id-9631 .mp-advice-sidebar button:focus-visible,
body.page-id-9631 .mp-advice-sidebar input:focus-visible,
body.page-id-9631 .mp-article-media:focus-visible,
body.page-id-9631 .mp-article-title a:focus-visible{outline:2px solid #401421;outline-offset:3px}

/* Panneau catégories et prix, identique au modèle mobile du catalogue. */
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item{border:0}
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item>.e-con{padding:0;border:0}
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item-title{font:400 14px Poppins,sans-serif;background:#fff;color:#401421;padding:14px 0}
@media(min-width:768px){
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item-title{display:none}
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item::details-content{content-visibility:visible;block-size:auto;height:auto}
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item>.e-con{display:flex!important}
}
body.page-id-9631 .mp-advice-price{margin-top:6px}
body.page-id-9631 .mp-advice-price-range{position:relative;height:34px;margin:12px 7px 8px}
body.page-id-9631 .mp-advice-price-range:before{content:"";position:absolute;top:15px;left:0;right:0;height:4px;border-radius:2px;background:#CBBAC0}
body.page-id-9631 .mp-advice-price-fill{position:absolute;top:15px;height:4px;background:#401421;left:0;right:0;pointer-events:none}
body.page-id-9631 .mp-advice-price-range input[type=range]{position:absolute;top:0;left:0;width:100%;height:34px;margin:0;padding:0;border:0;appearance:none;-webkit-appearance:none;background:transparent;pointer-events:none;outline-offset:4px}
body.page-id-9631 .mp-advice-price-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;border-radius:50%;background:#401421;border:0;cursor:pointer;pointer-events:auto}
body.page-id-9631 .mp-advice-price-range input[type=range]::-moz-range-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#401421;border:0;cursor:pointer;pointer-events:auto}
body.page-id-9631 .mp-advice-price-range input[type=range]::-moz-range-track{background:transparent}
body.page-id-9631 .mp-advice-price button{display:block;margin:13px 0 9px;border:0;border-radius:3px;background:#401421;color:#fff;font:400 12px Poppins,sans-serif;padding:9px 12px;cursor:pointer}
body.page-id-9631 .mp-advice-price button:hover{background:#5A2030}
body.page-id-9631 .mp-advice-price-label{color:#62565B;font:400 12px/1.7 Poppins,sans-serif;margin:0}
body.page-id-9631 .mp-advice-sidebar .elementor-element-a110006{aspect-ratio:2/3;display:flex;align-items:center;justify-content:center;width:100%}
body.page-id-9631 .mp-advice-sidebar .elementor-element-a110006 .elementor-widget-container{width:100%}
body.page-id-9631 .mp-advice-sidebar .elementor-icon-list-item{padding:12px 0!important;border-bottom:1px solid #CBBAC0}
body.page-id-9631 .mp-advice-sidebar .elementor-icon-list-item a{font:400 13px/1.5 Poppins,sans-serif;color:#401421}
body.page-id-9631 .mp-advice-sidebar .elementor-icon-list-icon:empty{display:none}
@media(min-width:768px) and (max-width:1024px){
body.page-id-9631 .mp-advice-columns>.elementor-container{gap:24px;padding:30px 22px 45px}
body.page-id-9631 .mp-advice-columns>.elementor-container>.mp-advice-sidebar{width:200px;flex-basis:200px}
body.page-id-9631 .mp-advice-sidebar h5,body.page-id-9631 .mp-advice-sidebar .widgettitle{font-size:33px}
body.page-id-9631 .mp-advice-sidebar ul.product-categories{padding:0 12px}
}
@media(max-width:767px){
body.page-id-9631 .mp-advice-hero>.elementor-container{flex-direction:column;min-height:0;padding:0 20px}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text,
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image{width:100%!important}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text>.elementor-widget-wrap{padding:26px 0 0;align-items:center;text-align:center}
body.page-id-9631 .mp-advice-hero h1{font-size:32px;line-height:1.15}
body.page-id-9631 .mp-advice-hero h1:after{content:"";display:block;width:54px;height:2px;background:#fff;margin:14px auto 0}
body.page-id-9631 .mp-advice-hero .elementor-widget-text-editor{font-size:13px;text-align:center}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image>.elementor-widget-wrap{justify-content:center}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image img{max-width:300px;max-height:165px;transform:translateY(14px)}
body.page-id-9631 .mp-advice-columns{margin-top:0}
body.page-id-9631 .mp-advice-columns>.elementor-container{flex-direction:column;gap:24px;width:calc(100% - 20px);padding:28px 14px 35px}
body.page-id-9631 .mp-advice-columns>.elementor-container>.mp-advice-main,
body.page-id-9631 .mp-advice-columns>.elementor-container>.mp-advice-sidebar{width:100%!important;flex:0 0 auto}
body.page-id-9631 .mp-advice-main{order:1}
body.page-id-9631 .mp-advice-sidebar{order:2}
body.page-id-9631 .mp-articles-list{grid-template-columns:1fr;gap:28px}
body.page-id-9631 .mp-article-card,body.page-id-9631 .mp-article-featured,
body.page-id-9631 .mp-article-card:nth-child(2):last-child{grid-column:1;display:block;text-align:left}
body.page-id-9631 .mp-article-featured .mp-article-media{aspect-ratio:1.5}
body.page-id-9631 .mp-article-featured .mp-article-content{padding:16px 0 0}
body.page-id-9631 .mp-article-featured .mp-article-meta{justify-content:flex-start}
body.page-id-9631 .mp-article-featured .mp-article-title{font-size:21px}
body.page-id-9631 .mp-article-card:nth-child(2):last-child .mp-article-media{aspect-ratio:1.5}
body.page-id-9631 .mp-article-card:nth-child(2):last-child .mp-article-content{padding:16px 0 0}
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item-title{padding:14px 16px;border:1px solid #CBBAC0;border-radius:3px}
body.page-id-9631 .mp-advice-sidebar .e-n-accordion-item>.e-con{padding:18px 2px 0}
body.page-id-9631 .mp-advice-sidebar .elementor-element-a110006,
body.page-id-9631 .mp-advice-sidebar .elementor-element-a110007{display:none}
}


/* Révision du bandeau et du premier article (10 novembre 2026).
   La section blanche remonte sur le bandeau, tandis que la pipe reste
   au premier plan, sans masquer son contenu. */
body.page-id-9631 .mp-advice-hero{
  position:relative;
  z-index:auto!important;
  overflow:visible!important;
}
body.page-id-9631 .mp-advice-hero>.elementor-container{
  overflow:visible!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text>.elementor-widget-wrap{
  align-items:flex-start!important;
  justify-content:center!important;
  padding:25px 18px 30px 0!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-heading,
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-text-editor{
  align-self:flex-start!important;
  width:100%!important;
  max-width:650px;
  margin:0!important;
  text-align:left!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-text-editor .elementor-widget-container{
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-text-editor{
  max-width:600px;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-text h1{
  margin-bottom:12px!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image{
  position:relative!important;
  z-index:5!important;
  overflow:visible!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image>.elementor-widget-wrap,
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image .elementor-widget-image{
  position:relative;
  overflow:visible!important;
}
body.page-id-9631 .mp-advice-hero .mp-advice-hero-image img{
  z-index:6!important;
  transform:translateY(18px);
  filter:drop-shadow(0 9px 9px rgba(0,0,0,.2));
}
body.page-id-9631 .mp-advice-columns{
  position:relative;
  z-index:1!important;
}
body.page-id-9631 .mp-article-featured .mp-article-content{
  padding:0 16px 23px!important;
  max-width:760px;
  margin:0 auto;
  text-align:center;
}
body.page-id-9631 .mp-article-featured .mp-article-read{
  display:inline-block;
  margin:0 0 2px;
}
body.page-id-9631 .mp-article-featured .mp-article-media{
  margin:0;
}
@media(max-width:767px){
  body.page-id-9631 .mp-advice-hero .mp-advice-hero-text>.elementor-widget-wrap{
    align-items:center!important;
    padding:26px 0 36px!important;
    text-align:center!important;
  }
  body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-heading,
  body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-text-editor{
    align-self:center!important;
    max-width:100%;
    text-align:center!important;
  }
  body.page-id-9631 .mp-advice-hero .mp-advice-hero-text .elementor-widget-text-editor .elementor-widget-container{
    text-align:center!important;
  }
  body.page-id-9631 .mp-advice-hero .mp-advice-hero-image img{
    transform:translateY(20px);
  }
  body.page-id-9631 .mp-article-featured .mp-article-content{
    padding:0 0 18px!important;
    text-align:left;
  }
}
