/* Compléments de fiche et publicité — 11 novembre 2026. */
@media screen {
body.wp-theme-recipe.single-recipe>.single-blog{display:grid!important;grid-template-columns:minmax(16px,1fr) minmax(0,769px) minmax(280px,375px) minmax(16px,1fr);column-gap:30px;row-gap:22px;align-items:start;padding-bottom:36px}
body.wp-theme-recipe.single-recipe .single-blog>.container:first-child{grid-column:2/4;grid-row:1;width:100%;padding:0;margin:0}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child,body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row{display:contents!important}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child:before,body.wp-theme-recipe.single-recipe .single-blog>.container:last-child:after,body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row:before,body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row:after{display:none!important}
body.wp-theme-recipe.single-recipe .single-item>.blog-media{grid-column:2!important;grid-row:2!important}
body.wp-theme-recipe.single-recipe .single-item>.content-inner>.post-title{grid-column:2!important;grid-row:3!important}
body.wp-theme-recipe.single-recipe .single-item>.content-inner>.post-content{grid-column:2!important;grid-row:4!important}
body.wp-theme-recipe.single-recipe .cm-recipe-summary{grid-column:2;grid-row:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:linear-gradient(110deg,#fdebf2,#fae4ed);border-radius:18px;padding:16px 8px;color:#6a2c42}
body.wp-theme-recipe.single-recipe .cm-summary-item{display:flex;align-items:center;flex-direction:column;text-align:center;min-width:0;padding:0 8px;font-size:14px;line-height:1.35}
body.wp-theme-recipe.single-recipe .cm-summary-item+.cm-summary-item{border-left:1px solid #eac0d0}
body.wp-theme-recipe.single-recipe .cm-line-icon{width:29px;height:31px;color:#c5386a;flex:none;display:block}
body.wp-theme-recipe.single-recipe .cm-summary-item .cm-line-icon{margin-bottom:5px}
body.wp-theme-recipe.single-recipe .cm-summary-item strong{font-size:15px;color:#462a35;overflow-wrap:anywhere}
body.wp-theme-recipe.single-recipe .single-item>.content-inner>.recipe-details{display:contents!important}
body.wp-theme-recipe.single-recipe .recipe-details>.col-sm-6:first-child{grid-column:2;grid-row:6;width:auto!important;min-width:0}
body.wp-theme-recipe.single-recipe .recipe-details>.col-sm-6:last-child{grid-column:2;grid-row:8;width:auto!important;min-width:0;padding:0}
body.wp-theme-recipe.single-recipe .single-item>.content-inner>.post-share{grid-column:2!important;grid-row:9!important}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-8>.white-block:has(.comments){grid-column:2/4!important;grid-row:11!important;margin:0!important}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-8>.white-block:has(#contact_form){grid-column:2/4!important;grid-row:12!important}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.widget:has(.similar-recipes){grid-column:2/4!important;grid-row:13!important}
/* Un encart après les ingrédients, un après la préparation, deux dans la colonne de droite. */
body.wp-theme-recipe.single-recipe>.single-blog>div[style="text-align:center;"]{grid-column:2;grid-row:7;order:initial;width:100%;max-width:100%;margin:8px 0;min-width:0}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-8>.ads-block{grid-column:2/4!important;grid-row:10!important;margin:12px 0!important;min-width:0}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.ads-block{grid-column:3!important;grid-row:6/8!important;margin:0!important;min-width:0;width:100%;align-self:start}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.ads-block~.ads-block{grid-row:8/10!important;margin-top:24px!important}
/* Retrait des anciens formats fixes et des doublons automatiques de fin de fiche. */
body.wp-theme-recipe.single-recipe .single-item>.content-inner>ins.adsbygoogle[data-ad-slot="8112980548"],body.wp-theme-recipe.single-recipe> .container:has(ins.adsbygoogle[data-ad-slot="7486418296"]),body.wp-theme-recipe.single-recipe>.single-blog>.google-auto-placed{display:none!important}
body.wp-theme-recipe.single-recipe>.single-blog>div[style="text-align:center;"]:has(ins[data-ad-status="unfilled"]),body.wp-theme-recipe.single-recipe .ads-block:has(ins[data-ad-status="unfilled"]){display:none!important;margin:0!important;padding:0!important}
/* Le panneau et son visuel forment une seule colonne compacte. */
body.wp-theme-recipe.single-recipe .cm-recipe-sidebar{grid-column:3;grid-row:2/6;align-self:start;min-width:0;display:block}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.widget:has(.single-nutritions){grid-column:3!important;grid-row:2/5!important}
body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.widget:has(.recipe-actions){grid-column:3!important;grid-row:5!important}
body.wp-theme-recipe.single-recipe .cm-recipe-sidebar .cm-info-card{padding:0 19px 12px!important;margin:0!important;border:1px solid #f1d9e4;border-radius:22px;background:#fff;box-shadow:0 4px 13px #89355421;overflow:hidden}
body.wp-theme-recipe.single-recipe .cm-info-card:before,body.wp-theme-recipe.single-recipe .cm-info-card:after{display:none!important}
body.wp-theme-recipe.single-recipe .cm-info-heading{display:flex;gap:13px;align-items:center;font:400 29px/1.2 'Lobster',Georgia,serif;color:#681e3a;background:linear-gradient(110deg,#fae1eb,#fbeaf1);margin:0 -19px 10px;padding:16px 20px}
body.wp-theme-recipe.single-recipe .cm-info-heading .cm-line-icon{width:34px;height:36px}
body.wp-theme-recipe.single-recipe .cm-info-card .single-nutritions>li.cm-info-row{font-size:13px;display:flex;align-items:center;gap:12px;padding:10px 0;min-height:44px;border-bottom:1px solid #f0e1e7;line-height:1.4}
body.wp-theme-recipe.single-recipe .cm-info-label{display:flex;align-items:center;gap:9px;flex:1;color:#3f353a}
body.wp-theme-recipe.single-recipe .cm-info-label .cm-line-icon{width:23px;height:25px}
body.wp-theme-recipe.single-recipe .cm-info-card .single-nutritions .value{max-width:53%;font-size:13px;flex-shrink:1;line-height:1.4;color:#302a2d}
body.wp-theme-recipe.single-recipe .cm-info-card .single-nutritions .value a{display:block;font-size:12px;line-height:1.4}
body.wp-theme-recipe.single-recipe .cm-recipe-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:15px;margin-top:9px;border-top:1px solid #f0e1e7}
body.wp-theme-recipe.single-recipe .cm-recipe-actions>button,body.wp-theme-recipe.single-recipe .cm-recipe-actions>a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:0 4px;min-height:58px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#a62857;text-decoration:none;font:700 12px/1.3 Lato,Arial,sans-serif;cursor:pointer}
body.wp-theme-recipe.single-recipe .cm-recipe-actions>*+*{border-left:1px solid #f0e1e7!important}
body.wp-theme-recipe.single-recipe .cm-recipe-actions .cm-line-icon{width:27px;height:29px}
body.wp-theme-recipe.single-recipe .cm-recipe-actions button[aria-pressed="true"] .cm-line-icon{fill:#c5386a;color:#c5386a}
body.wp-theme-recipe.single-recipe .cm-recipe-actions a:hover,body.wp-theme-recipe.single-recipe .cm-recipe-actions button:hover{color:#681e3a;background:#fff5f9}
body.wp-theme-recipe.single-recipe .cm-recipe-actions a:focus-visible,body.wp-theme-recipe.single-recipe .cm-recipe-actions button:focus-visible,body.wp-theme-recipe.single-recipe .cm-extra-info>summary:focus-visible{outline:2px solid #a62857;outline-offset:3px}
body.wp-theme-recipe.single-recipe .cm-action-status{font-size:12px;color:#6a2c42;line-height:1.5;margin:8px 0 0}
body.wp-theme-recipe.single-recipe .cm-action-status:empty{display:none}
body.wp-theme-recipe.single-recipe .cm-extra-info{margin-top:12px;border-top:1px solid #f0e1e7;font-size:12px;color:#78646c}
body.wp-theme-recipe.single-recipe .cm-extra-info>summary{cursor:pointer;padding:10px 0 0;color:#825466;list-style-position:inside}
body.wp-theme-recipe.single-recipe .cm-more-nutritions{margin:8px 0 0}
body.wp-theme-recipe.single-recipe .cm-more-nutritions>li{padding:8px 0;display:block;border:0;border-bottom:1px solid #f4e9ee;font-size:12px;line-height:1.5}
body.wp-theme-recipe.single-recipe .cm-more-nutritions .value{float:right;max-width:60%}
body.wp-theme-recipe.single-recipe .cm-more-nutritions .recipe-avatar img{display:inline-block;width:25px;height:25px;margin-right:6px;border-radius:50%}
body.wp-theme-recipe.single-recipe .cm-ingredient-figure{margin:18px 0 0;border-radius:18px;overflow:hidden;box-shadow:0 3px 9px #89355414}
body.wp-theme-recipe.single-recipe .cm-ingredient-photo{aspect-ratio:3/2;background-size:400% 400%;background-repeat:no-repeat;background-color:#f8e9ef}
body.wp-theme-recipe.single-recipe .cm-atlas-1{background-image:url('https://www.cakemania.fr/wp-content/uploads/2026/11/cakemania-ingredients-1.webp')}
body.wp-theme-recipe.single-recipe .cm-atlas-2{background-image:url('https://www.cakemania.fr/wp-content/uploads/2026/11/cakemania-ingredients-2.webp')}
body.wp-theme-recipe.single-recipe .cm-atlas-3{background-image:url('https://www.cakemania.fr/wp-content/uploads/2026/11/cakemania-ingredients-3.webp')}
@media(min-width:768px) and (max-width:1100px){
 body.wp-theme-recipe.single-recipe>.single-blog{grid-template-columns:16px minmax(0,1.65fr) minmax(250px,1fr) 16px;column-gap:18px}
 body.wp-theme-recipe.single-recipe .cm-info-heading{font-size:26px}
 body.wp-theme-recipe.single-recipe .cm-info-card .single-nutritions>li.cm-info-row{font-size:12px;gap:5px}
 body.wp-theme-recipe.single-recipe .cm-info-label{gap:5px}
 body.wp-theme-recipe.single-recipe .cm-summary-item{font-size:12px;padding:0 4px}
 body.wp-theme-recipe.single-recipe .cm-summary-item strong{font-size:13px}
}
@media(max-width:767px){
 body.wp-theme-recipe.single-recipe>.single-blog{grid-template-columns:minmax(0,1fr);gap:20px;padding:0 16px 28px}
 body.wp-theme-recipe.single-recipe .single-blog>.container:first-child{grid-column:1!important;grid-row:1}
 body.wp-theme-recipe.single-recipe .single-item>.blog-media{grid-column:1!important;grid-row:2!important}
 body.wp-theme-recipe.single-recipe .single-item>.content-inner>.post-title{grid-column:1!important;grid-row:3!important}
 body.wp-theme-recipe.single-recipe .single-item>.content-inner>.post-content{grid-column:1!important;grid-row:4!important}
 body.wp-theme-recipe.single-recipe .cm-recipe-summary{grid-column:1;grid-row:5;padding:14px 5px;border-radius:15px}
 body.wp-theme-recipe.single-recipe .cm-summary-item{font-size:11px;padding:0 4px}
 body.wp-theme-recipe.single-recipe .cm-summary-item strong{font-size:12px}
 body.wp-theme-recipe.single-recipe .cm-summary-item .cm-line-icon{width:25px;height:28px}
 body.wp-theme-recipe.single-recipe .cm-recipe-sidebar{grid-column:1;grid-row:6}
 body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.widget:has(.single-nutritions),body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.widget:has(.recipe-actions){grid-column:1!important;grid-row:6!important}
 body.wp-theme-recipe.single-recipe .cm-info-card .single-nutritions>li.cm-info-row{font-size:14px}
 body.wp-theme-recipe.single-recipe .cm-info-card .single-nutritions .value{font-size:14px}
 body.wp-theme-recipe.single-recipe .cm-ingredient-figure{margin-top:16px}
 body.wp-theme-recipe.single-recipe .cm-ingredient-photo{aspect-ratio:3/2}
 body.wp-theme-recipe.single-recipe .recipe-details>.col-sm-6:first-child{grid-column:1;grid-row:7}
 body.wp-theme-recipe.single-recipe>.single-blog>div[style="text-align:center;"]{grid-column:1;grid-row:8}
 body.wp-theme-recipe.single-recipe .recipe-details>.col-sm-6:last-child{grid-column:1;grid-row:9}
 body.wp-theme-recipe.single-recipe .single-item>.content-inner>.post-share{grid-column:1!important;grid-row:10!important}
 body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-8>.ads-block{grid-column:1!important;grid-row:11!important}
 body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-8>.white-block:has(.comments){grid-column:1!important;grid-row:12!important}
 body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-8>.white-block:has(#contact_form){grid-column:1!important;grid-row:13!important}
 body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.widget:has(.similar-recipes){grid-column:1!important;grid-row:14!important}
 body.wp-theme-recipe.single-recipe .single-blog>.container:last-child>.row>.col-md-4>.ads-block{display:none!important}
}
}
@media print{.cm-recipe-summary,.cm-recipe-sidebar{display:none!important}}

/* En-tête partagé avec l’accueil, et infobulles natives sans bloc flottant. */
@media screen {
body.single-recipe>.top-bar,body.single-recipe>.navigation-bar{display:none!important}
body.single-recipe>.cm-recipe-header{margin:0 0 24px;--cm-bordeaux:#851d49}
body.single-recipe .cm-recipe-header .cm-width{width:1200px;max-width:100%;padding:0 28px;margin:auto}
body.single-recipe .cm-recipe-header .cm-header-inner{display:flex;min-height:88px;align-items:center;gap:30px}
body.single-recipe .cm-recipe-header .cm-brand{display:block;flex:0 0 180px;line-height:0}
body.single-recipe .cm-recipe-header .cm-brand img{width:180px;max-height:68px;height:auto}
body.single-recipe .cm-recipe-header .cm-nav-desktop{display:flex;gap:25px;flex:1}
body.single-recipe .cm-recipe-header .cm-nav-desktop a{font-size:14px;color:#fff;font-weight:700;padding:28px 0;white-space:nowrap;position:relative;text-decoration:none}
body.single-recipe .cm-recipe-header .cm-nav-desktop a[aria-current]:after{content:"";position:absolute;left:0;right:0;bottom:19px;height:2px;background:#fff;border-radius:3px}
body.single-recipe .cm-recipe-header .cm-header-search{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;background:#fff;border-radius:50%;color:#a72e5a}
body.single-recipe .cm-recipe-header .cm-header-search svg{width:24px;height:24px}
body.single-recipe .cm-recipe-header .cm-menu-mobile{display:none}
body.single-recipe .opentip-container{display:none!important;visibility:hidden!important}
body.single-recipe .cm-ingredient-photo{display:block;width:100%;min-height:140px}
@media(min-width:768px) and (max-width:1100px){
 body.single-recipe .cm-recipe-header .cm-header-inner{gap:20px}
 body.single-recipe .cm-recipe-header .cm-brand{flex-basis:160px}
 body.single-recipe .cm-recipe-header .cm-brand img{width:160px}
 body.single-recipe .cm-recipe-header .cm-nav-desktop{gap:16px}
 body.single-recipe .cm-recipe-header .cm-nav-desktop a{font-size:12px}
}
@media(max-width:767px){
 body.single-recipe .cm-recipe-header .cm-width{padding:0 18px}
 body.single-recipe .cm-recipe-header .cm-header-inner{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;min-height:76px}
 body.single-recipe .cm-recipe-header .cm-brand{grid-column:2;grid-row:1;justify-self:center;min-width:0}
 body.single-recipe .cm-recipe-header .cm-brand img{width:158px;max-height:61px}
 body.single-recipe .cm-recipe-header .cm-nav-desktop{display:none}
 body.single-recipe .cm-recipe-header .cm-menu-mobile{display:block;grid-column:1;grid-row:1}
 body.single-recipe .cm-recipe-header .cm-menu-mobile:not([open])>nav{display:none}
 body.single-recipe .cm-recipe-header .cm-menu-mobile nav a{display:block;padding:12px 14px;min-height:46px;font-size:15px;font-weight:700;color:#851d49;border-radius:8px;text-decoration:none}
 body.single-recipe .cm-recipe-header .cm-header-search{grid-column:3;grid-row:1;justify-self:end;background:transparent;color:#fff;width:44px;height:44px}
 body.single-recipe .cm-recipe-header .cm-header-search svg{width:29px;height:29px}
}
}
@media print{.cm-recipe-header{display:none!important}}

@media screen{
 body.wp-theme-recipe.single-recipe .single-item>.blog-media .credit.cm-full-photo-credit{position:static!important;display:block!important;float:none;clear:both;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0;padding:8px 12px!important;border-radius:0;background:#fff5f9;color:#62515b;font:400 12px/1.5 Lato,Arial,sans-serif;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;word-break:normal;-webkit-line-clamp:unset}
 body.wp-theme-recipe.single-recipe .cm-full-photo-credit a{white-space:normal;overflow-wrap:anywhere}
}
