/* Réalisations 3.52 — lecture éditoriale, médias non recadrés, mobile sur une colonne. */
.single-reference .k3i-heading{padding-block:38px 54px}
.single-reference .k3i-heading .k3h-wrap{max-width:1280px}
.single-reference .k3i-heading h1{max-width:23ch;font-size:clamp(34px,4vw,58px);line-height:1.13;text-wrap:balance}
.single-reference .k3i-heading .k3i-breadcrumb{margin-bottom:28px}
.single-reference .k3i-reference-cover{display:flex;align-items:center;justify-content:center;margin:0;padding:32px max(24px,calc((100vw - 1280px)/2));background:#f3f6f7;border-bottom:1px solid #dce5e9}
.single-reference .k3i-reference-cover img{display:block;width:auto;max-width:100%;height:auto;max-height:430px;aspect-ratio:auto;object-fit:contain;margin:0 auto;border-radius:4px}
.single-reference .k3i-main>#reference{padding-block:64px 80px}
.single-reference .k3i-project-layout{width:calc(100% - 80px);max-width:1280px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:clamp(36px,5vw,88px);align-items:start}
.single-reference .entry-content{min-width:0;max-width:860px;color:#16374b}
.single-reference .entry-content :is(p,li){font-size:17px;line-height:1.8}
.single-reference .entry-content p{margin:0 0 22px;text-align:left!important}
.single-reference .entry-content span[style*="font-size"]{font-size:inherit!important}
.single-reference .entry-content p:empty{display:none}
.single-reference .entry-content>p:first-child:not(:has(img)){font-size:21px;line-height:1.65;color:#0d2b41;margin-bottom:30px}
.single-reference .entry-content :is(h2,h3,h4){text-align:left!important;text-wrap:balance;clear:both}
.single-reference .entry-content h2{font-size:clamp(27px,2.8vw,37px);line-height:1.22;margin:42px 0 20px}
.single-reference .entry-content h3{font-size:23px;margin:34px 0 16px}
.single-reference .entry-content :is(h2,h3):first-child{margin-top:0}
.single-reference .entry-content :is(ul,ol){margin:22px 0 28px;padding-left:1.35em}
.single-reference .entry-content li{margin-bottom:10px;padding-left:.25em}
.single-reference .entry-content li::marker{color:#075455}
.single-reference .entry-content a{overflow-wrap:anywhere;text-decoration-thickness:1px;text-underline-offset:4px}
.single-reference .entry-content a:hover{color:#075455}
.single-reference .entry-content img{display:block;float:none!important;width:auto;max-width:100%!important;height:auto!important;max-height:none;object-fit:contain;margin:30px auto;border-radius:5px}
.single-reference .entry-content p:has(>img:only-child){margin:34px 0}
.single-reference .entry-content p:has(>img:only-child)>img{margin-block:0}
.single-reference .entry-content :is(figure,.wp-caption){float:none!important;width:auto!important;max-width:100%;margin:32px 0;padding:0}
.single-reference .entry-content :is(figcaption,.wp-caption-text){margin:12px 0 0;font-size:13px;line-height:1.6;color:#536776;text-align:left}
.single-reference .entry-content blockquote{margin:32px 0;padding:22px 26px;border:0;border-left:3px solid #69c3c8;background:#f3f6f7;color:#0d2b41}
.single-reference .entry-content blockquote::before{display:none}
.single-reference .entry-content blockquote p{font-size:18px;line-height:1.7}
.single-reference .entry-content blockquote p:last-child{margin-bottom:0}
.single-reference .entry-content :is(iframe,video){display:block;width:100%;max-width:100%;margin:28px auto;aspect-ratio:16/9;height:auto}
.single-reference .entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.single-reference .entry-content :is(th,td){padding:12px 16px;white-space:normal;border-bottom:1px solid #dce5e9}
.single-reference .entry-content .clearer{display:none}
.single-reference .k3i-project-aside{padding:24px 0 0;border-top:2px solid #0d2b41;gap:18px}
.single-reference .k3i-project-aside .k3i-eyebrow{margin:0;font-size:12px}
.single-reference .k3i-project-aside .k3h-button{justify-self:start;min-height:48px;padding:13px 23px;border-radius:3px}
.single-reference .k3i-project-aside .k3h-text-link{font-size:14px;line-height:1.5}
/* Les anciens carrousels éditoriaux sont une galerie statique, sans clones visibles. */
.single-reference .entry-content .owl-carousel{display:block!important}
.single-reference .entry-content .owl-carousel:not(.owl-loaded),.single-reference .entry-content .owl-stage{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%!important;transform:none!important}
.single-reference .entry-content .owl-stage-outer{overflow:visible;height:auto!important}
.single-reference .entry-content .owl-item{float:none;width:auto!important;margin:0!important;min-width:0}
.single-reference .entry-content .owl-item.cloned,.single-reference .entry-content :is(.owl-nav,.owl-dots){display:none!important}
.single-reference .entry-content .owl-carousel img{margin:0 auto}
/* Composition des cas détaillés administrés dans WordPress. */
.single-reference .k3i-project-layout:has(.k3r-case){display:flex;flex-direction:column;gap:44px}
.single-reference .k3i-project-layout:has(.k3r-case)>.entry-content{max-width:none;width:100%}
.single-reference .k3i-project-layout:has(.k3r-case)>.k3i-project-aside{order:-1;width:100%;display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:0 0 25px;border-top:0;border-bottom:1px solid #dce5e9}
.single-reference .k3i-project-layout:has(.k3r-case) .k3i-project-aside .k3i-eyebrow{margin-right:auto}
.single-reference .k3r-case .k3r-intro{max-width:870px;margin:0 0 54px;font-size:clamp(20px,2vw,24px);line-height:1.65;color:#0d2b41}
.single-reference .k3r-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:clamp(32px,5vw,72px);padding-block:48px;border-top:1px solid #dce5e9}
.single-reference .k3r-story>div{min-width:0}
.single-reference .k3r-story h2{margin:0 0 22px;max-width:20ch}
.single-reference .k3r-story p:last-child,.single-reference .k3r-story ul:last-child{margin-bottom:0}
.single-reference .k3r-story--reverse>div{order:2}
.single-reference .k3r-story--reverse>figure{order:1}
.single-reference .k3r-visuals{display:grid;gap:24px;min-width:0}
.single-reference .k3r-story--reverse>.k3r-visuals{order:1}
.single-reference .entry-content .k3r-media{margin:0;padding:18px;background:#f3f6f7;border:1px solid #e0e8eb;border-radius:6px}
.single-reference .entry-content .k3r-media img{width:100%;height:auto;margin:0;border-radius:3px}
.single-reference .entry-content .k3r-media--tall img{width:auto;max-height:680px;margin-inline:auto}
.single-reference .k3r-summary{padding:40px 0 0;border-top:1px solid #dce5e9;max-width:860px}
.single-reference .k3r-summary h2{margin-top:0}
.single-reference .k3r-case .k3h-button{display:inline-flex;background:#0d2b41;color:#fff;text-decoration:none;min-height:48px;padding:13px 22px;border-radius:3px}
.single-reference .k3r-case .k3h-button:hover{background:#075455;color:#fff}
@media(min-width:1101px){.single-reference .k3i-project-aside{position:sticky;top:135px}.single-reference .k3i-project-layout:has(.k3r-case)>.k3i-project-aside{position:static}}
@media(max-width:1100px){
 .single-reference .k3i-project-layout{width:calc(100% - 64px);grid-template-columns:minmax(0,1fr);gap:32px}
 .single-reference .entry-content{max-width:none}
 .single-reference .k3i-project-aside{grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:18px 24px;padding:0 0 24px;border-top:0;border-bottom:1px solid #dce5e9}
 .single-reference .k3i-project-aside .k3i-eyebrow{margin-right:auto}
 .single-reference .k3i-reference-cover{padding:24px 32px}
 .single-reference .k3i-reference-cover img{max-height:380px}
 .single-reference .k3r-story{gap:32px;padding-block:38px}
}
@media(max-width:767px){
 .single-reference .k3i-heading{padding-block:28px 38px}
 .single-reference .k3i-heading h1{font-size:clamp(32px,8vw,42px);max-width:none}
 .single-reference .k3i-reference-cover{padding:20px}
 .single-reference .k3i-reference-cover img{max-height:320px}
 .single-reference .k3i-project-layout{width:calc(100% - 40px);gap:28px}
 .single-reference .k3i-main>#reference{padding-block:32px 48px}
 .single-reference .entry-content :is(p,li){font-size:16px;line-height:1.75}
 .single-reference .entry-content>p:first-child:not(:has(img)){font-size:19px}
 .single-reference .entry-content h2{font-size:28px;margin-top:32px}
 .single-reference .entry-content :is(.row,.wp-block-columns,.wp-block-gallery,.owl-stage,.owl-carousel:not(.owl-loaded)){display:grid!important;grid-template-columns:minmax(0,1fr)!important;column-count:1!important;width:100%!important;gap:24px;margin-inline:0}
 .single-reference .entry-content :is(.col-six,.col-four,.col-eight,.wp-block-column,.blocks-gallery-item){width:100%!important;max-width:100%!important;float:none!important;padding-inline:0;margin-inline:0;flex-basis:auto!important}
 .single-reference .k3i-project-layout:has(.k3r-case){gap:28px}
 .single-reference .k3i-project-aside,.single-reference .k3i-project-layout:has(.k3r-case)>.k3i-project-aside{align-items:flex-start;gap:16px}
 .single-reference .k3i-project-aside .k3i-eyebrow{width:100%;margin-right:0}
 .single-reference .k3i-project-aside .k3h-text-link{align-self:center}
 .single-reference .k3r-case .k3r-intro{font-size:20px;margin-bottom:30px}
 .single-reference .k3r-story{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:30px}
 .single-reference .k3r-story--reverse>div,.single-reference .k3r-story--reverse>figure{order:initial}
 .single-reference .k3r-story--reverse>.k3r-visuals{order:initial}
 .single-reference .k3r-story h2{margin-top:0;max-width:none}
 .single-reference .entry-content .k3r-media{padding:12px;margin:0}
 .single-reference .k3r-summary{padding-top:30px}
}
@media print{
 .single-reference .k3i-project-layout{display:block;width:100%;max-width:none}
 .single-reference .k3i-project-aside{position:static}
 .single-reference .k3r-story{break-inside:avoid}
}
