/* Native block wrappers and controls applied to the source-led v4 layout. */
.c4c-v4-main{margin:0;padding:0;width:100%;max-width:none}
.c4c-v4-main>.wp-block-post-content{margin:0;padding:0;max-width:none}
.c4c-v4 .technical-icon-grid img{width:32px;height:32px}
.c4c-v4 .hero-process-preview>img{width:100%;height:auto}
.c4c-v4 img.cycle-connectors{opacity:1}
/* Keep the process linear at every configured stage count. */
.c4c-v4 .cycle-layout:has(>ol:not(:has(>li:nth-child(6):last-child))){padding:0}
.c4c-v4 .cycle-layout:has(>ol:not(:has(>li:nth-child(6):last-child)))>.cycle-connectors{display:none}
.c4c-v4 .cycle-layout>ol:not(:has(>li:nth-child(6):last-child)){grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:0}
.c4c-v4 .cycle-layout>ol:not(:has(>li:nth-child(6):last-child))>li{grid-area:auto}
.c4c-v4 .cycle-layout:has(>ol:not(:has(>li:nth-child(6):last-child)))>.cycle-centre{position:static;transform:none;margin-top:32px;text-align:left}
.c4c-v4 .home-hero>.video-control{position:absolute;top:24px;right:var(--gutter);bottom:auto;left:auto;background:var(--navy);color:var(--white);border:1px solid var(--white);padding:12px 18px;min-height:44px;font-size:14px}
/* Still-image alternative shares the film frame, including the mobile poster area. */
.c4c-v4 .home-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.c4c-v4 .editorial-photo>video,.c4c-v4 .c4c-v4-media-visual video{display:block;width:100%;height:auto;max-width:100%}
@media(max-width:600px){.c4c-v4 .home-hero>img{height:auto;aspect-ratio:16/9;bottom:auto}}
.c4c-v4 .site-footer{width:100%;max-width:none}
.c4c-v4 .site-footer .identity>a{display:block;flex-shrink:0}
.c4c-v4 .v4-evidence-map{width:100%;min-width:0}
.c4c-v4 .audience-options>div{min-width:0}
.c4c-v4 .audience-options>div>button{width:100%;height:auto;min-height:100%}
.c4c-v4 .audience-options>div>.text-link{margin-top:12px}
/* The calculator is a fixed Champagne inset, independent of the section scheme. */
.c4c-v4 .scenario{color:var(--wp--preset--color--ink);--fg:var(--wp--preset--color--ink)}
.c4c-v4 [data-c4c-accent="champion-gold"]{--line:var(--wp--preset--color--champion-gold)}
.c4c-v4 [data-c4c-accent="champagne"]{--line:var(--wp--preset--color--champagne)}
.c4c-v4 [data-c4c-accent="wave-teal"]{--line:var(--wp--preset--color--wave-teal)}
.c4c-v4 [data-c4c-accent="bronze-shadow"]{--line:var(--wp--preset--color--bronze-shadow)}
.c4c-v4 .c4c-hero-align-center :is(.hero-title,.hero-copy){text-align:center}
.c4c-v4 .c4c-hero-align-center .hero-copy{display:block}
.c4c-v4 .c4c-hero-align-center :is(h1,.hero-copy>p){margin-inline:auto}
.c4c-v4 .c4c-hero-align-center :is(.actions,.breadcrumb){justify-content:center}
.c4c-v4 .c4c-hero-align-left :is(.hero-title,.hero-copy){text-align:left}
.c4c-v4 .c4c-hero-scale-compact.page-hero{min-height:420px;padding-block:40px}
.c4c-v4 .c4c-hero-scale-cinematic.page-hero{min-height:680px;padding-block:88px}
@media(min-width:601px){
  .c4c-v4 .c4c-hero-scale-compact .home-hero{aspect-ratio:auto;height:clamp(480px,50vw,640px)}
  .c4c-v4 .c4c-hero-scale-cinematic .home-hero{aspect-ratio:auto;height:clamp(640px,80vh,1000px)}
  .c4c-v4 :is(.c4c-hero-scale-compact,.c4c-hero-scale-cinematic) .home-hero video{object-fit:contain!important}
}
@media(max-width:600px){.c4c-v4 :is(.c4c-hero-scale-compact,.c4c-hero-scale-cinematic).page-hero{min-height:0;padding-block:36px 48px}}
.c4c-v4 .c4c-v4-media-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gap);align-items:start}
.c4c-v4 .c4c-v4-media-copy{min-width:0}
.c4c-v4 .c4c-v4-media-copy>.section-content{margin-top:32px}
.c4c-v4 .c4c-v4-media-visual{min-width:0;width:100%;margin:0}
.c4c-v4 .c4c-v4-media-visual img{width:100%;height:auto;object-fit:contain}
.c4c-v4 .sectionmedia-position-left>.c4c-v4-media-visual{grid-column:1;grid-row:1}
.c4c-v4 .sectionmedia-position-left>.c4c-v4-media-copy{grid-column:2;grid-row:1}
.c4c-v4 :is(.sectionmedia-position-top,.sectionmedia-position-bottom){grid-template-columns:minmax(0,1fr)}
.c4c-v4 .sectionmedia-position-top>.c4c-v4-media-visual{grid-row:1}
.c4c-v4 .sectionmedia-position-top>.c4c-v4-media-copy{grid-row:2}
@media(max-width:900px){.c4c-v4 .c4c-v4-media-layout{display:flex;flex-direction:column}.c4c-v4 .c4c-v4-media-copy{width:100%;order:0}.c4c-v4 .c4c-v4-media-visual{order:1}}
.c4c-v4 .c4c-section-stacked:is(.split-section,.media-hero){display:flex;flex-direction:column;align-items:stretch}
.c4c-v4 .c4c-section-narrow .section-copy>p{max-width:52ch}
.c4c-v4 .c4c-structured-repeater:is(.capability-grid,.technical-icon-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.c4c-v4 [data-c4c-scheme]:not([data-c4c-scheme="inherit"]){--fg:var(--c4c-foreground);--bg:var(--c4c-ground);--line:color-mix(in srgb,var(--c4c-foreground) 30%,transparent)}
.c4c-v4 [data-c4c-scheme]:not([data-c4c-scheme="inherit"])>.section-copy{color:var(--c4c-foreground)}
.c4c-v4 [data-c4c-scheme]:not([data-c4c-scheme="inherit"])>.section-copy .button{background:var(--c4c-foreground);color:var(--c4c-ground);border-color:var(--c4c-foreground)}
@media(max-width:600px){.c4c-v4 .technical-icon-grid img{width:28px;height:28px}}
/* Explicit block schemes override legacy navy focus and generic link hover colours. */
.c4c-v4 .c4c-structured-section[data-c4c-scheme]:not([data-c4c-scheme="inherit"]) :focus-visible{outline-color:var(--c4c-emphasis)}
.c4c-v4 .c4c-structured-section a:not(.button):hover{color:inherit;text-decoration:underline}
.c4c-v4 .technical-evidence-panel{--c4c-emphasis:var(--wp--preset--color--white)}
.c4c-v4 .navy .technical-evidence-panel{--c4c-emphasis:var(--wp--preset--color--ink)}
.c4c-v4 :is(.scenario,.montage-data,.report-spread){--c4c-emphasis:var(--wp--preset--color--ink)}
