/* SmartActive Articles Premium — strictement limité aux articles */
.smartactive-article-premium .single-post-wrap .blog-post-item{border-radius:16px;box-shadow:0 8px 30px rgba(25,25,25,.07);padding:28px;overflow:hidden}
.smartactive-article-premium .single-post-wrap .entry-container{max-width:100%}
.smartactive-article-premium .single-post-wrap .entry-content{font-size:17px;line-height:1.78;color:#333}
.smartactive-article-premium .single-post-wrap .entry-content>p{margin:0 0 1.35em}
.smartactive-article-premium .single-post-wrap .entry-content>p:first-child{font-size:1.06em;color:#444}
.smartactive-article-premium.smartactive-ap-titles .single-post-wrap .entry-content h2{font-size:27px;line-height:1.3;margin:2em 0 .8em;padding:0 0 10px;border-bottom:2px solid rgba(243,126,126,.25);position:relative;color:#242424}
.smartactive-article-premium.smartactive-ap-titles .single-post-wrap .entry-content h2:after{content:"";position:absolute;left:0;bottom:-2px;width:72px;height:2px;background:#f37e7e}
.smartactive-article-premium.smartactive-ap-titles .single-post-wrap .entry-content h3{font-size:21px;line-height:1.35;margin:1.7em 0 .65em;color:#333;padding-left:13px;border-left:3px solid #f37e7e}
.smartactive-article-premium.smartactive-ap-images .single-post-wrap .entry-content img{border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.08);height:auto}
.smartactive-article-premium.smartactive-ap-images .single-post-wrap .entry-content figure{margin-top:1.8em;margin-bottom:1.8em}
.smartactive-article-premium.smartactive-ap-images .single-post-wrap .entry-content figcaption{font-size:13px;color:#777;text-align:center;margin-top:8px;font-style:italic}
.smartactive-article-premium.smartactive-ap-lists .single-post-wrap .entry-content ul,.smartactive-article-premium.smartactive-ap-lists .single-post-wrap .entry-content ol{margin:1.25em 0 1.5em;padding:18px 22px 18px 45px;background:#fff8f8;border-radius:12px;border:1px solid rgba(243,126,126,.16)}
.smartactive-article-premium.smartactive-ap-lists .single-post-wrap .entry-content li{margin:.45em 0;padding-left:3px}
.smartactive-article-premium.smartactive-ap-lists .single-post-wrap .entry-content li::marker{color:#f37e7e;font-weight:700}
.smartactive-article-premium.smartactive-ap-quotes .single-post-wrap .entry-content blockquote{margin:1.7em 0;padding:20px 24px;border:0;border-left:4px solid #f37e7e;background:#fff6f6;border-radius:0 12px 12px 0;font-size:1.05em;font-style:italic;color:#555}
.smartactive-article-premium.smartactive-ap-links .single-post-wrap .entry-content a:not(.wp-block-button__link){color:#d95f66;text-decoration:underline;text-decoration-color:rgba(217,95,102,.35);text-underline-offset:3px;text-decoration-thickness:1px}
.smartactive-article-premium.smartactive-ap-links .single-post-wrap .entry-content a:not(.wp-block-button__link):hover{color:#b94750;text-decoration-color:#b94750}
.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content table{width:100%;border-collapse:separate;border-spacing:0;margin:1.7em 0;border:1px solid #eee;border-radius:12px;overflow:hidden;font-size:15px}
.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content th{background:#fff1f1;color:#333;font-weight:700}.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content th,.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content td{padding:12px 14px;border:0;border-bottom:1px solid #eee;text-align:left}
.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content tr:last-child td{border-bottom:0}
.smartactive-article-premium .smartactive-ap-box{margin:1.7em 0;padding:20px 22px;border-radius:13px;border:1px solid #f2dddd;background:#fff9f9}.smartactive-article-premium .smartactive-ap-box>strong{display:block;margin-bottom:8px;font-size:17px;color:#c9535c}.smartactive-article-premium .smartactive-ap-box>div>*:last-child{margin-bottom:0}.smartactive-article-premium .smartactive-ap-box-keep{background:#fff5f5;border-left:4px solid #f37e7e}.smartactive-article-premium .smartactive-ap-box-know{background:#fafafa;border-color:#e8e8e8}
.smartactive-article-premium .smartactive-ap-related{margin:36px 0 8px;padding-top:28px;border-top:1px solid #eee}.smartactive-article-premium .smartactive-ap-related>h2{font-size:23px;margin:0 0 18px}.smartactive-article-premium .smartactive-ap-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.smartactive-article-premium .smartactive-ap-related-card{margin:0}.smartactive-article-premium .smartactive-ap-related-card a{display:block;height:100%;text-decoration:none!important;color:#333!important;background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.smartactive-article-premium .smartactive-ap-related-card a:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.08)}.smartactive-article-premium .smartactive-ap-related-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0!important;box-shadow:none!important}.smartactive-article-premium .smartactive-ap-related-card span{display:block;padding:13px;font-size:14px;font-weight:600;line-height:1.35}
@media(max-width:767px){.smartactive-article-premium .single-post-wrap .blog-post-item{padding:18px;border-radius:12px}.smartactive-article-premium .single-post-wrap .entry-content{font-size:16px;line-height:1.72}.smartactive-article-premium.smartactive-ap-titles .single-post-wrap .entry-content h2{font-size:23px}.smartactive-article-premium.smartactive-ap-titles .single-post-wrap .entry-content h3{font-size:19px}.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content{overflow-wrap:anywhere}.smartactive-article-premium.smartactive-ap-tables .single-post-wrap .entry-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.smartactive-article-premium .smartactive-ap-related-grid{grid-template-columns:1fr}}

/* V1.1 — en-tête compact inspiré de la mécanique fiable des fiches recettes */
@media (min-width:801px){
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item{display:block!important;width:100%!important;max-width:100%!important;overflow:visible!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.featured-image{display:block!important;float:left!important;width:43%!important;max-width:43%!important;height:260px!important;min-height:260px!important;margin:0 0 30px!important;padding:8px!important;background:#fff!important;border:1px solid #f0dada!important;border-right:0!important;border-radius:16px 0 0 16px!important;box-shadow:0 10px 28px rgba(70,45,45,.07)!important;overflow:hidden!important;box-sizing:border-box!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.featured-image>.post-thumbnail{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .featured-image .post-thumbnail img,body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.featured-image img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.entry-meta{display:none!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.entry-container{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-header{display:flex!important;float:right!important;width:57%!important;max-width:57%!important;height:260px!important;min-height:260px!important;margin:0 0 30px!important;padding:30px 34px!important;flex-direction:column!important;justify-content:center!important;background:linear-gradient(135deg,#fffdfd,#fff5f4)!important;border:1px solid #f0dada!important;border-left:0!important;border-radius:0 16px 16px 0!important;box-shadow:0 10px 28px rgba(70,45,45,.07)!important;box-sizing:border-box!important;overflow:hidden!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-header .entry-title{margin:0 0 12px!important;font-size:clamp(25px,2.25vw,34px)!important;line-height:1.18!important;color:#282323!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-header .entry-meta{margin:0!important;font-size:13px!important;color:#8d7777!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-content{display:block!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-content:before,body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-content:after{content:"";display:table;clear:both}
}
@media (max-width:800px){
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.featured-image{height:auto!important;margin:0 0 12px!important;padding:7px!important;background:#fff!important;border:1px solid #f0dada!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(70,45,45,.06)!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.featured-image img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:9px!important;box-shadow:none!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-header{margin:0 0 22px!important;padding:18px 6px 4px!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-header .entry-title{font-size:27px!important;line-height:1.2!important}
}

/* V1.2 — finitions éditoriales SmartActive */
@media (min-width:801px){
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .blog-post-item>.featured-image{width:40%!important;max-width:40%!important;height:280px!important;min-height:280px!important}
body.single-post.smartactive-article-premium.smartactive-ap-header .single-post-wrap .entry-container>.entry-header{width:60%!important;max-width:60%!important;height:280px!important;min-height:280px!important;padding:34px 38px!important}
}
/* Sommaires : Easy TOC, LuckyWP, Rank Math et sommaires WordPress courants */
body.single-post.smartactive-article-premium .entry-content #ez-toc-container,
body.single-post.smartactive-article-premium .entry-content #toc_container,
body.single-post.smartactive-article-premium .entry-content .ez-toc-container,
body.single-post.smartactive-article-premium .entry-content .lwptoc,
body.single-post.smartactive-article-premium .entry-content .wp-block-rank-math-toc-block,
body.single-post.smartactive-article-premium .entry-content .wp-block-table-of-contents{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:24px 0 34px!important;padding:20px 24px!important;background:linear-gradient(135deg,#fffafa,#fff5f3)!important;border:1px solid #f1dcdc!important;border-radius:14px!important;box-shadow:0 7px 20px rgba(70,45,45,.045)!important}
body.single-post.smartactive-article-premium .entry-content #ez-toc-container .ez-toc-title,
body.single-post.smartactive-article-premium .entry-content #toc_container .toc_title,
body.single-post.smartactive-article-premium .entry-content .lwptoc_title,
body.single-post.smartactive-article-premium .entry-content .wp-block-rank-math-toc-block>h2,
body.single-post.smartactive-article-premium .entry-content .wp-block-table-of-contents>h2{font-size:18px!important;font-weight:700!important;margin:0 0 12px!important;padding:0!important;border:0!important;color:#3a3030!important}
body.single-post.smartactive-article-premium .entry-content #ez-toc-container ul,
body.single-post.smartactive-article-premium .entry-content #toc_container ul,
body.single-post.smartactive-article-premium .entry-content .lwptoc ul,
body.single-post.smartactive-article-premium .entry-content .wp-block-rank-math-toc-block ul,
body.single-post.smartactive-article-premium .entry-content .wp-block-table-of-contents ul{background:transparent!important;border:0!important;border-radius:0!important;margin:0!important;padding:0 0 0 20px!important}
body.single-post.smartactive-article-premium .entry-content #ez-toc-container li,
body.single-post.smartactive-article-premium .entry-content #toc_container li,
body.single-post.smartactive-article-premium .entry-content .lwptoc li,
body.single-post.smartactive-article-premium .entry-content .wp-block-rank-math-toc-block li,
body.single-post.smartactive-article-premium .entry-content .wp-block-table-of-contents li{margin:6px 0!important;line-height:1.45!important}
/* Lire aussi : carte éditoriale, sans toucher aux autres liens */
body.single-post.smartactive-article-premium .entry-content p.smartactive-ap-readmore{position:relative!important;margin:22px 0!important;padding:15px 46px 15px 18px!important;background:linear-gradient(135deg,#fff9f7,#fff1ef)!important;border:1px solid #f0d8d5!important;border-left:4px solid #f37e7e!important;border-radius:10px!important;box-shadow:0 5px 14px rgba(70,45,45,.035)!important;font-size:14px!important;line-height:1.5!important;color:#4a3c3c!important}
body.single-post.smartactive-article-premium .entry-content p.smartactive-ap-readmore:after{content:"→";position:absolute;right:17px;top:50%;transform:translateY(-50%);font-size:21px;line-height:1;color:#d95f66;font-weight:700}
body.single-post.smartactive-article-premium .entry-content p.smartactive-ap-readmore a{font-weight:650!important;color:#4b3434!important;text-decoration:none!important}
body.single-post.smartactive-article-premium .entry-content p.smartactive-ap-readmore a:hover{color:#c9535c!important;text-decoration:underline!important;text-underline-offset:3px!important}
@media(max-width:800px){
body.single-post.smartactive-article-premium .entry-content #ez-toc-container,body.single-post.smartactive-article-premium .entry-content #toc_container,body.single-post.smartactive-article-premium .entry-content .ez-toc-container,body.single-post.smartactive-article-premium .entry-content .lwptoc,body.single-post.smartactive-article-premium .entry-content .wp-block-rank-math-toc-block,body.single-post.smartactive-article-premium .entry-content .wp-block-table-of-contents{padding:17px 18px!important;margin:20px 0 28px!important}
body.single-post.smartactive-article-premium .entry-content p.smartactive-ap-readmore{padding:14px 40px 14px 15px!important}
}

/* v1.3.0 — calendrier, profil et fil d'Ariane en bas */
body.single-post.smartactive-article-premium .smartactive-ap-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:8px 0 16px!important;font-size:13px!important;line-height:1.45!important;color:#526779!important;font-weight:500!important}
body.single-post.smartactive-article-premium .smartactive-ap-meta span{display:inline-flex!important;align-items:center!important;gap:5px!important}
body.single-post.smartactive-article-premium .smartactive-ap-meta svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:0 0 15px!important}
body.single-post.smartactive-article-premium .smartactive-ap-meta-sep{opacity:.5}
.smartactive-ap-breadcrumb-bottom:empty{display:none}
.smartactive-ap-breadcrumb-bottom.has-breadcrumb{display:block!important;clear:both!important;margin:20px auto 10px!important;padding:11px 14px!important;border-top:1px solid rgba(126,91,68,.18)!important;border-bottom:1px solid rgba(126,91,68,.12)!important;font-size:12px!important;line-height:1.6!important;color:#526779!important}
.smartactive-ap-breadcrumb-bottom.has-breadcrumb a{color:#123b5d!important;text-decoration:none!important}
.smartactive-ap-breadcrumb-bottom.has-breadcrumb a:hover{text-decoration:underline!important}

/* SmartActive v1.0 — identité mobilité autonome */
body.single-post.smartactive-article-premium .entry-content h2{
  color:#123b5d!important;
}
body.single-post.smartactive-article-premium .entry-content h2:before{
  content:"◈"!important;
  display:inline-block!important;
  margin-right:8px!important;
  color:#55a630!important;
  font-size:.72em!important;
  transform:translateY(-1px);
}
body.single-post.smartactive-article-premium .smartactive-ap-meta{color:#526779!important}
body.single-post.smartactive-article-premium .smartactive-ap-meta svg{stroke:#123b5d!important}
.smartactive-ap-breadcrumb-bottom.has-breadcrumb{
  border-top-color:rgba(18,59,93,.18)!important;
  border-bottom-color:rgba(18,59,93,.12)!important;
  color:#526779!important;
}
.smartactive-ap-breadcrumb-bottom.has-breadcrumb a{color:#123b5d!important}

/* SmartActive v1.0 — image à la une conservée en grand */
body.single-post.smartactive-article-premium .post-thumbnail,
body.single-post.smartactive-article-premium .featured-image,
body.single-post.smartactive-article-premium .entry-thumbnail{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  display:block!important;
  margin:0 0 18px!important;
}
body.single-post.smartactive-article-premium .post-thumbnail img,
body.single-post.smartactive-article-premium .featured-image img,
body.single-post.smartactive-article-premium .entry-thumbnail img,
body.single-post.smartactive-article-premium article > img.wp-post-image{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:cover!important;
  float:none!important;
}
body.single-post.smartactive-article-premium .entry-header,
body.single-post.smartactive-article-premium article header{
  display:block!important;
}
body.single-post.smartactive-article-premium .entry-content h2:before{
  content:"◇"!important;
  color:#55a630!important;
}
body.single-post.smartactive-article-premium .smartactive-ap-meta svg{stroke:#123b5d!important}
