/*
Theme Name: ICPC Child
Theme URI: https://icpc.africa
Description: Child theme of GeneratePress for the International Centre for Political Campaigns (ICPC). Navy/orange/gold/maroon CI palette, Archivo + Inter typography, "engineered" institutional design system.
Author: Digital Thread
Template: generatepress
Version: 0.1.0
*/

/* ===== Brand tokens (ICPC CI) ===== */
:root {
  --icpc-black: #0a1722;
  --icpc-navy: #00477B;     /* primary brand, headers, footer */
  --icpc-blue: #1071A8;     /* secondary, links, data visuals */
  --icpc-burgundy: #8A1C1C; /* maroon accent (UNDA), depth */
  --icpc-maroon: #8A1C1C;
  --icpc-gold: #FDC603;     /* gold accent (Campaign Pulse) */
  --icpc-orange: #DE781B;   /* CTAs, highlights, key words */
  --icpc-lightblue: #B4C9D8;
  --icpc-white: #ffffff;
  --icpc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --icpc-head: 'Archivo', 'Inter', sans-serif;
}

/* ===== Base typography ===== */
body,
button,
input,
select,
textarea {
  font-family: var(--icpc-font);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--icpc-head);
  font-weight: 800;
  color: var(--icpc-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3, h4 { font-weight: 700; }

a { color: var(--icpc-blue); }
a:hover, a:focus { color: var(--icpc-orange); }

/* ===== Header / footer ===== */
.main-navigation,
.site-header {
  background-color: var(--icpc-navy);
}
.main-navigation .main-nav ul li a,
.site-header .site-logo + * a { color: var(--icpc-white); }

.site-footer,
.footer-widgets,
.site-info {
  background-color: var(--icpc-navy);
  color: var(--icpc-white);
}
.site-footer a { color: var(--icpc-white); }
.site-footer a:hover { color: var(--icpc-orange); }

/* ===== Buttons / CTAs ===== */
.button,
button,
input[type="submit"],
.wp-block-button__link,
.icpc-cta {
  background-color: var(--icpc-orange);
  border: 2px solid var(--icpc-orange);
  color: var(--icpc-white);
  font-weight: 700;
  border-radius: 4px;
  padding: 0.7em 1.6em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.icpc-cta:hover {
  background-color: var(--icpc-navy);
  border-color: var(--icpc-navy);
  color: var(--icpc-white);
}

/* Secondary / outline CTA */
.icpc-cta--outline {
  background-color: transparent;
  border-color: var(--icpc-white);
  color: var(--icpc-white);
}
.icpc-cta--outline:hover {
  background-color: var(--icpc-white);
  color: var(--icpc-navy);
}

/* ===== Utility section backgrounds ===== */
.icpc-bg-navy { background-color: var(--icpc-navy); color: var(--icpc-white); }
.icpc-bg-blue { background-color: var(--icpc-blue); color: var(--icpc-white); }
.icpc-bg-burgundy { background-color: var(--icpc-burgundy); color: var(--icpc-white); }
.icpc-bg-navy h1, .icpc-bg-navy h2, .icpc-bg-navy h3,
.icpc-bg-blue h1, .icpc-bg-blue h2, .icpc-bg-blue h3,
.icpc-bg-burgundy h1, .icpc-bg-burgundy h2, .icpc-bg-burgundy h3 { color: var(--icpc-white); }

/* Hero multiply overlay helper (CI section 8) */
.icpc-hero-overlay { position: relative; }
.icpc-hero-overlay::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--icpc-navy);
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}
.icpc-hero-overlay > * { position: relative; z-index: 1; }

/* ===== Reused live-site imagery ===== */

/* Home hero background (rally photo, navy multiply overlay above handles contrast) */
.icpc-hero-home {
  background-image: url('/wp-content/uploads/icpc/bio_rally.webp');
  background-size: cover;
  background-position: center;
}

/* Services hub hero background + its own overlay */
.icpc-hero-services {
  position: relative;
  background-image: url('/wp-content/uploads/icpc/lesotho_rally.webp');
  background-size: cover;
  background-position: center;
}
.icpc-hero-services::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--icpc-navy);
  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none;
}
.icpc-hero-services > * { position: relative; z-index: 1; }

/* Africa silhouette graphic */
.icpc-africa-map { display: block; margin: 1.5rem auto 0; max-width: 360px; height: auto; }

/* Custom logo sizing (light logo on navy header) */
.site-logo img, .custom-logo { max-height: 56px; width: auto; }

/* ==================================================================
   DESIGN LAYER v2  — desktop polish
   Full-width marketing layout, vertical rhythm, cards, hero, header.
   ================================================================== */

:root {
  --icpc-bg:        #f5f5f5;
  --icpc-ink:       #1b2733;
  --icpc-muted:     #4a5663;
  --icpc-section-y: clamp(4.5rem, 7.5vw, 7.5rem);
  --icpc-measure:   1140px;
  --icpc-radius:    12px;
  --icpc-shadow:    0 10px 30px rgba(20, 35, 55, 0.10);
  --icpc-shadow-lg: 0 18px 48px rgba(20, 35, 55, 0.18);
}

body { background: var(--icpc-bg); color: var(--icpc-ink); -webkit-font-smoothing: antialiased; }
.entry-content p { color: var(--icpc-muted); }

/* ---- Layout: kill sidebar + boxed containers on these pages ---- */
.widget-area.sidebar.is-right-sidebar { display: none !important; }
body.right-sidebar .content-area { width: 100% !important; }
.separate-containers .inside-article { padding: 0; background: none; box-shadow: none; border: 0; }
.separate-containers .site-main { margin: 0; }
.page .site-content .content-area { padding: 0; }
/* hide GeneratePress duplicate page title (heroes carry their own h1) */
.page .entry-header { display: none; }
/* No white gap between header and first section: pull content flush to header */
.entry-content, .wpb-content-wrapper { margin-top: 0 !important; padding-top: 0 !important; }
.site-content.grid-container { padding-top: 0 !important; }
.wpb-content-wrapper > .vc_row:first-child,
.entry-content > .vc_row.vc_row-fluid:first-child { margin-top: 0 !important; }

/* ---- Typography scale ---- */
.entry-content h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.entry-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.15; margin-bottom: 0.6em; }
.entry-content h3 { font-size: 1.3rem; line-height: 1.25; }
.entry-content p  { font-size: 1.075rem; line-height: 1.7; }
.entry-content p.lead, .icpc-hero-overlay p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }

/* Section heading accent bar */
.entry-content h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 0.6rem;
  background: var(--icpc-orange); border-radius: 2px;
}
.icpc-bg-navy h2::after, .icpc-bg-blue h2::after,
.icpc-bg-burgundy h2::after { background: var(--icpc-orange); }
/* centred-text sections: keep accent bar centred */
.icpc-hero-services h1::after, .icpc-bg-burgundy h2::after { }

/* ---- Section rhythm + content measure ----
   NB: WPBakery wraps rows in .wpb-content-wrapper, so target that (with a
   direct-child fallback for pages without the wrapper). */
.wpb-content-wrapper > .vc_row,
.entry-content > .vc_row {
  padding-top: var(--icpc-section-y); padding-bottom: var(--icpc-section-y);
}
/* Page gutters: centre ALL top-level row content within a comfortable measure,
   keeping full-bleed backgrounds while giving real left/right margins. */
.wpb-content-wrapper > .vc_row.vc_row-fluid,
.entry-content > .vc_row.vc_row-fluid {
  padding-left: max(5vw, calc((100% - var(--icpc-measure)) / 2)) !important;
  padding-right: max(5vw, calc((100% - var(--icpc-measure)) / 2)) !important;
}
.entry-content p { max-width: 68ch; }
.icpc-bg-navy p, .icpc-bg-blue p, .icpc-bg-burgundy p { color: rgba(255,255,255,0.92); }

/* ---- Hero ---- */
.icpc-hero-home, .icpc-hero-services {
  min-height: 78vh; display: flex; align-items: center;
}
.icpc-hero-home > .wpb_column, .icpc-hero-services > .wpb_column { width: 100%; }
.icpc-hero-overlay::before {
  background: linear-gradient(115deg, rgba(20,38,62,0.92) 0%, rgba(0,71,123,0.78) 55%, rgba(86,17,68,0.55) 100%);
  mix-blend-mode: normal; opacity: 1;
}
.icpc-hero-services::before {
  background: linear-gradient(115deg, rgba(20,38,62,0.90), rgba(0,71,123,0.72));
  mix-blend-mode: normal; opacity: 1;
}
.icpc-hero-home h1, .icpc-hero-services h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.3rem) !important; margin-bottom: 0.5em;
}
.icpc-hero-home .wpb_text_column, .icpc-hero-services .wpb_text_column { margin-bottom: 1.5rem; }

/* ---- Trust / stats strip ---- */
.icpc-bg-blue p {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem) !important; margin: 0;
}

/* ---- Buttons (WPBakery vc_btn3 + theme .button) ---- */
.entry-content .vc_btn3.vc_btn3-style-custom, .button, .wp-block-button__link {
  display: inline-block; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 0.92rem; padding: 0.95em 2em !important;
  border-radius: 6px !important; border: 0; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: 0 6px 18px rgba(222,120,27,0.28);
}
.entry-content .vc_btn3-container { margin-right: 0.75rem; margin-bottom: 0.5rem; display: inline-block; }
.entry-content .vc_btn3.vc_btn3-style-custom:hover, .button:hover {
  transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  filter: brightness(1.03);
}
/* white secondary button: add an outline feel */
.entry-content .vc_btn3-color-juicy_pink, .vc_btn3-style-custom[style*="#ffffff"] { color: var(--icpc-navy) !important; }

/* ---- Cards (4-up / 3-up service & capability grids) ---- */
/* Make any row that contains cards a flex container so columns are equal height */
.entry-content .vc_row.wpb_row:has(> .vc_col-sm-3),
.entry-content .vc_row.wpb_row:has(> .vc_col-sm-4) {
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.vc_col-sm-3, .vc_col-sm-4 { display: flex; }
.vc_row .vc_col-sm-3 > .vc_column-inner, .vc_row .vc_col-sm-4 > .vc_column-inner,
.vc_col-sm-3 .wpb_wrapper, .vc_col-sm-4 .wpb_wrapper { height: 100%; width: 100%; }
.vc_col-sm-3 .wpb_text_column, .vc_col-sm-4 .wpb_text_column {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--icpc-radius);
  padding: 2rem 1.7rem; box-shadow: var(--icpc-shadow);
  border-top: 4px solid var(--icpc-orange);
  transition: transform .2s ease, box-shadow .2s ease;
}
.vc_col-sm-3 .wpb_text_column:hover, .vc_col-sm-4 .wpb_text_column:hover {
  transform: translateY(-7px); box-shadow: var(--icpc-shadow-lg);
}
.vc_col-sm-3 .wpb_text_column h3, .vc_col-sm-4 .wpb_text_column h3 {
  color: var(--icpc-navy); margin-bottom: 0.6rem; font-size: 1.18rem;
}
.vc_col-sm-3 .wpb_text_column p, .vc_col-sm-4 .wpb_text_column p {
  color: var(--icpc-muted); font-size: 0.98rem; line-height: 1.6; margin: 0;
}
.vc_col-sm-3 .wpb_text_column a, .vc_col-sm-4 .wpb_text_column a {
  font-weight: 700; color: var(--icpc-orange); text-decoration: none;
}
.vc_col-sm-3 .wpb_text_column a:hover { text-decoration: underline; }
/* give the card grid breathing room */
.vc_row.wpb_row .vc_col-sm-3, .vc_row.wpb_row .vc_col-sm-4 { margin-bottom: 1.5rem; }

/* ICPC entity accent colours (4 entities, each its own colour) */
.icpc-entity--shikamo .wpb_text_column { border-top-color: var(--icpc-orange) !important; }
.icpc-entity--unda .wpb_text_column { border-top-color: var(--icpc-maroon) !important; }
.icpc-entity--pcrh .wpb_text_column { border-top-color: var(--icpc-blue) !important; }
.icpc-entity--pulse .wpb_text_column { border-top-color: var(--icpc-gold) !important; }
.icpc-entity .wpb_text_column .icpc-entity-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--icpc-muted); margin-bottom: 0.5rem;
}

/* "Engineered" blueprint grid texture on navy hero/sections */
.icpc-hero-grid { position: relative; }
.icpc-hero-grid::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.6;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.icpc-hero-grid > * { position: relative; z-index: 1; }

/* ---- Animated capability icons ---- */
.sk-cap-icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(222,120,27,0.14), rgba(33,113,148,0.14));
}
.sk-cap-icon svg { width: 34px; height: 34px; overflow: visible; }
.sk-cap-icon svg [class] { transform-box: fill-box; }

/* 1. Data — bars rising */
.ic-data .bar { transform-origin: bottom; animation: sk-bar 2.4s ease-in-out infinite; }
.ic-data .bar:nth-child(2) { animation-delay: 0.2s; }
.ic-data .bar:nth-child(3) { animation-delay: 0.4s; }
@keyframes sk-bar { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }

/* 2. Voter — check draws in */
.ic-vote .check { stroke-dasharray: 26; stroke-dashoffset: 26; animation: sk-draw 2.6s ease-in-out infinite; }
@keyframes sk-draw { 0% { stroke-dashoffset: 26; } 45%, 65% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 26; } }

/* 3. Digital — broadcast waves pulse */
.ic-signal .w { opacity: 0.2; animation: sk-wave 1.8s ease-in-out infinite; }
.ic-signal .w2 { animation-delay: 0.35s; }
@keyframes sk-wave { 0%, 100% { opacity: 0.18; } 50% { opacity: 1; } }
.ic-signal .dot { animation: sk-dot 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes sk-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* 4. Crisis — shield pulse + alert blink */
.ic-shield { animation: sk-pulseScale 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes sk-pulseScale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
.ic-shield .ex { animation: sk-blink 1.3s ease-in-out infinite; }
@keyframes sk-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

@media (prefers-reduced-motion: reduce) {
  .sk-cap-icon svg, .sk-cap-icon svg * { animation: none !important; }
  .ic-vote .check { stroke-dashoffset: 0; }
}

/* ---- Lists ---- */
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; line-height: 1.6;
}
.entry-content ul li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--icpc-orange);
}
.icpc-bg-navy ul li, .icpc-bg-blue ul li, .icpc-bg-burgundy ul li { color: rgba(255,255,255,0.92); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--icpc-navy);
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}
.main-navigation, .main-navigation .main-nav ul ul { background: var(--icpc-navy); }
.main-navigation .main-nav > ul > li > a {
  color: #fff; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 0.88rem; position: relative;
}
.main-navigation .main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 1.2em; right: 1.2em; bottom: 0.55em;
  height: 2px; background: var(--icpc-orange); transform: scaleX(0);
  transform-origin: left; transition: transform .2s ease;
}
.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li[class*="current"] > a::after { transform: scaleX(1); }
.main-navigation .main-nav > ul > li > a:hover { color: #fff; }
/* CTA-styled last menu item (Contact) */
.main-navigation .main-nav > ul > li:last-child > a {
  background: var(--icpc-orange); border-radius: 6px; margin: 0.35em 0 0.35em 0.5em;
  color: #fff; font-weight: 800;
}
.main-navigation .main-nav > ul > li:last-child > a::after { display: none; }
.main-navigation .main-nav > ul > li:last-child > a:hover { filter: brightness(1.06); }
.submenu-toggle, .main-navigation .main-nav ul ul li a { font-size: 0.85rem; }

/* ---- Footer ---- */
.site-footer, .site-info { background: var(--icpc-navy); color: rgba(255,255,255,0.85); }
.inside-site-info { padding-top: 2rem; padding-bottom: 2rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--icpc-orange); }

/* ---- Insight thumbnails / images ---- */
.entry-content img { border-radius: 8px; }
.icpc-africa-map { border-radius: 0; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25)); }

/* ---- Responsive: stack cards, trim hero on small screens ---- */
@media (max-width: 768px) {
  .icpc-hero-home, .icpc-hero-services { min-height: 60vh; }
  .vc_col-sm-3 .wpb_text_column, .vc_col-sm-4 .wpb_text_column { margin-bottom: 1rem; }
}

/* ==================================================================
   DESIGN LAYER v3 — fixes from visual QA
   ================================================================== */

/* Logo-only branding: hide the duplicate site-title text + tagline */
.site-header .main-title,
.site-header .site-description { display: none !important; }

/* Stronger, more even hero overlay + legibility shadow */
.icpc-hero-overlay::before,
.icpc-hero-services::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  z-index: 0 !important;
  pointer-events: none;
}
.icpc-hero-overlay::before {
  background: linear-gradient(180deg, rgba(14,26,44,0.74) 0%, rgba(14,26,44,0.88) 100%) !important;
}
.icpc-hero-services { background-position: center 38%; }
.icpc-hero-services::before {
  background: linear-gradient(180deg, rgba(14,26,44,0.80) 0%, rgba(14,26,44,0.90) 100%) !important;
}
.icpc-hero-home > *, .icpc-hero-services > * { position: relative; z-index: 1; }
.icpc-hero-home h1, .icpc-hero-home .wpb_text_column p,
.icpc-hero-services h1, .icpc-hero-services .wpb_text_column p { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }

/* Buttons: white text on all custom (orange/ghost) buttons */
.entry-content .vc_btn3.vc_btn3-style-custom { color: #fff !important; }
.sk-btn-primary .vc_btn3 {
  background: var(--icpc-orange) !important; color: #fff !important; border: 0 !important;
}
.sk-btn-ghost .vc_btn3 {
  background: transparent !important; color: #fff !important; border: 2px solid #fff !important;
}
.entry-content .sk-btn-ghost .vc_btn3:hover {
  background: #fff !important; color: var(--icpc-navy) !important;
}

/* Navy cards row sits flush under its intro (continuous navy band) */
.icpc-cards-navy { padding-top: 0 !important; margin-top: -0.5rem; }
.icpc-cards-navy .vc_col-sm-3 .wpb_text_column { background: #fff; }

/* Africa silhouette: tasteful size */
.icpc-africa-map { max-width: 300px; }

/* ---- Interactive Pan-African map ---- */
/* Tighten the gap between the map section and the Insights section.
   The map box is taller than the text column, so pull the next section right up. */
.sk-region-section { padding-bottom: 0 !important; }
.sk-insights-section { padding-top: 0 !important; margin-top: -1.5rem; }
.sk-region { align-items: center; }

.sk-region { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.sk-region-text { flex: 1 1 300px; }
.sk-region-map { flex: 0 1 440px; margin-inline: auto; }

.sk-statline { display: flex; gap: 2.5rem; margin-top: 1.6rem; }
.sk-stat { display: flex; flex-direction: column; }
.sk-stat-num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; color: var(--icpc-orange); line-height: 1; }
.sk-stat-lbl { font-weight: 700; color: var(--icpc-navy); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; margin-top: 0.4rem; }

.sk-map { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 239 / 217; }
.sk-map-shape {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #00477B 0%, #1071A8 48%, #DE781B 100%);
  -webkit-mask: url('/wp-content/uploads/icpc/africa.svg') center / contain no-repeat;
          mask: url('/wp-content/uploads/icpc/africa.svg') center / contain no-repeat;
  filter: drop-shadow(0 16px 32px rgba(20, 35, 55, 0.35));
  animation: sk-map-float 6s ease-in-out infinite;
}
@keyframes sk-map-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.sk-map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.sk-map-pin i {
  display: block; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid var(--icpc-orange);
  box-shadow: 0 0 0 0 rgba(222, 120, 27, 0.55);
  animation: sk-pulse 2.2s infinite; position: relative;
}
.sk-map-pin:nth-child(2) i { animation-delay: 0.6s; }
.sk-map-pin:nth-child(3) i { animation-delay: 1.2s; }
@keyframes sk-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(222, 120, 27, 0.55); }
  70%  { box-shadow: 0 0 0 20px rgba(222, 120, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 120, 27, 0); }
}
.sk-map-pin b {
  position: absolute; left: 50%; top: -10px; transform: translate(-50%, -100%);
  background: var(--icpc-navy); color: #fff; font-size: 0.68rem; font-weight: 800;
  white-space: nowrap; padding: 0.32rem 0.6rem; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.05em; pointer-events: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.sk-map-pin b::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--icpc-navy);
}
.sk-map-pin:hover i { transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) {
  .sk-map-shape, .sk-map-pin i { animation: none; }
}

/* ---- Insights grid ---- */
.icpc-insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.4rem;
}
.icpc-insight-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--icpc-radius);
  overflow: hidden; box-shadow: var(--icpc-shadow); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.icpc-insight-card:hover { transform: translateY(-7px); box-shadow: var(--icpc-shadow-lg); }
.icpc-insight-thumb { display: block; height: 184px; background-size: cover; background-position: center; }
.icpc-insight-body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.icpc-insight-source { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--icpc-orange); }
.icpc-insight-title { font-weight: 800; color: var(--icpc-navy); font-size: 1.1rem; line-height: 1.3; }
.icpc-insight-excerpt { color: var(--icpc-muted); font-size: 0.92rem; line-height: 1.55; }
.icpc-insight-link { font-weight: 700; color: var(--icpc-orange); font-size: 0.9rem; margin-top: 0.2rem; }

/* ---- Footer columns ---- */
.site-info .inside-site-info { display: block; text-align: left; max-width: 100%; }
.icpc-footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  max-width: var(--icpc-measure); margin: 0 auto; padding: 1rem 28px 0; text-align: left;
}
.icpc-footer-cols--4 { grid-template-columns: 2.2fr 1fr 1fr 1.2fr; }
.icpc-footer-cols h4 { color: #fff; font-size: 1.02rem; margin-bottom: 0.7rem; }
.icpc-footer-cols ul { list-style: none; padding: 0; margin: 0; }
.icpc-footer-cols ul li { padding: 0; margin: 0 0 0.45rem; }
.icpc-footer-cols ul li::before { display: none; }
.icpc-footer-cols .sk-foot-brand strong { color: #fff; font-size: 1.5rem; letter-spacing: 0.06em; display: block; margin-bottom: 0.5rem; }
.icpc-footer-cols p, .icpc-footer-cols a { color: rgba(255,255,255,0.82); }
.icpc-footer-cols a:hover { color: var(--icpc-orange); }
.sk-foot-base {
  max-width: var(--icpc-measure); margin: 1.6rem auto 0; padding: 1.2rem 28px 0;
  border-top: 1px solid rgba(255,255,255,0.15); text-align: center;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
}

@media (max-width: 880px) {
  .icpc-insights-grid { grid-template-columns: 1fr; }
  .icpc-footer-cols { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---- Contact form (Contact Form 7) ---- */
.icpc-contact-card {
  background: #fff; border-radius: var(--icpc-radius); padding: 2rem 2rem 2.2rem;
  box-shadow: var(--icpc-shadow);
}
.wpcf7-form p { margin: 0 0 1rem; max-width: none; }
.wpcf7-form label { display: block; font-weight: 700; color: var(--icpc-navy); font-size: 0.92rem; margin-bottom: 0.5rem; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"], .wpcf7-form textarea {
  width: 100%; padding: 0.75em 0.9em; border: 1px solid #d4dae0; border-radius: 6px;
  font-family: var(--icpc-font); font-size: 1rem; background: #fff; color: var(--icpc-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
  outline: none; border-color: var(--icpc-orange); box-shadow: 0 0 0 3px rgba(222,120,27,0.15);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-acceptance { font-size: 0.85rem; color: var(--icpc-muted); }
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; color: var(--icpc-muted); }
.wpcf7-form input[type="submit"] {
  background: var(--icpc-orange); color: #fff; border: 0; border-radius: 6px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.9em 2em; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(222,120,27,0.28);
}
.wpcf7-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.2); }
.wpcf7-response-output { border-radius: 6px; margin: 0.5rem 0 0; }

.icpc-calendly-note {
  margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--icpc-orange);
  background: #fff; border-radius: 0 8px 8px 0; box-shadow: var(--icpc-shadow); color: var(--icpc-muted);
}

/* ---- Ticker / stat strip (full-bleed, scrolling) ---- */
/* Rows flagged sk-row-bleed ignore the page gutters and span edge-to-edge */
.wpb-content-wrapper > .vc_row.sk-row-bleed,
.entry-content > .vc_row.sk-row-bleed { padding: 0 !important; }
.sk-row-bleed .vc_column-inner,
.sk-row-bleed .wpb_text_column,
.sk-row-bleed .wpb_wrapper { padding: 0 !important; margin: 0 !important; }

.sk-ticker {
  background: var(--icpc-navy); overflow: hidden; white-space: nowrap;
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sk-ticker--blue { background: var(--icpc-blue); }
.sk-ticker-track { display: flex; width: max-content; animation: sk-scroll 42s linear infinite; }
.sk-ticker--reverse .sk-ticker-track { animation-direction: reverse; }
.sk-ticker:hover .sk-ticker-track { animation-play-state: paused; }
.sk-ticker-set { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; flex: 0 0 auto; }
.sk-ticker-item {
  color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.92rem; flex: 0 0 auto;
}
.sk-ticker-item strong { color: var(--icpc-orange); font-weight: 800; font-size: 1.1em; }
.sk-ticker-sep { color: rgba(255,255,255,0.32); flex: 0 0 auto; font-size: 0.7rem; }
@keyframes sk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sk-ticker-track { animation: none; } }

/* ---- Booking scheduler mockup (Calendly preview) ---- */
.sk-booking {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid #e7ebef;
  border-radius: 16px; box-shadow: var(--icpc-shadow-lg); overflow: hidden;
}
.sk-booking-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: 1.5rem 1.7rem; border-bottom: 1px solid #eef1f4;
}
.sk-booking-brand { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; color: var(--icpc-orange); }
.sk-booking-head h3 { margin: 0.25rem 0 0.2rem; color: var(--icpc-navy); font-size: 1.3rem; }
.sk-booking-head .sk-meta { margin: 0; color: var(--icpc-muted); font-size: 0.86rem; }
.sk-booking-badge {
  background: #eef1f4; color: var(--icpc-muted); font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em; padding: 0.35rem 0.6rem; border-radius: 20px; white-space: nowrap;
}
.sk-booking-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.4rem; padding: 1.5rem 1.7rem; }
.sk-cal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--icpc-navy); margin-bottom: 0.8rem; font-size: 0.98rem; }
.sk-cal-nav { color: var(--icpc-muted); font-weight: 700; letter-spacing: 0.15em; }
.sk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.28rem; text-align: center; }
.sk-cal-grid .dow { font-size: 0.62rem; font-weight: 800; color: var(--icpc-muted); padding: 0.3rem 0; text-transform: uppercase; }
.sk-cal-grid .day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.82rem; color: #c2c9d0; }
.sk-cal-grid .day.is-avail { color: var(--icpc-navy); background: #eaf2f8; font-weight: 700; cursor: pointer; }
.sk-cal-grid .day.is-avail:hover { background: #d8e8f2; }
.sk-cal-grid .day.is-selected { background: var(--icpc-orange); color: #fff; font-weight: 800; }
.sk-slots-head { font-weight: 800; color: var(--icpc-navy); font-size: 0.88rem; margin-bottom: 0.8rem; }
.sk-slot {
  display: block; width: 100%; padding: 0.65rem; margin-bottom: 0.55rem; border: 1px solid #cfd6dd;
  border-radius: 7px; background: #fff; color: var(--icpc-navy); font-weight: 700; font-size: 0.9rem;
  text-align: center; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.sk-slot:hover { border-color: var(--icpc-orange); }
.sk-slot.is-active { border-color: var(--icpc-orange); background: var(--icpc-orange); color: #fff; }
.sk-booking-foot { padding: 1rem 1.7rem; background: #f7f9fb; border-top: 1px solid #eef1f4; color: var(--icpc-muted); font-size: 0.8rem; text-align: center; }
.sk-booking-foot strong { color: var(--icpc-navy); }
@media (max-width: 600px) { .sk-booking-body { grid-template-columns: 1fr; } }

/* ===== ICPC specifics ===== */
.icpc-mail { font-weight: 700; color: var(--icpc-orange); word-break: break-word; }
.icpc-contact-card { height: 100%; }
.icpc-contact-card h3 { color: var(--icpc-navy); margin-bottom: 0.5rem; }
.icpc-page-hero { padding-top: clamp(4rem, 8vw, 7rem) !important; padding-bottom: clamp(4rem, 8vw, 7rem) !important; }
.icpc-page-hero h1 { color: #fff; }
/* gold links inside burgundy/navy CTA bands */
.icpc-bg-burgundy a, .icpc-bg-navy a { color: var(--icpc-gold); }
.icpc-bg-burgundy a:hover, .icpc-bg-navy a:hover { color: #fff; }

/* ===== ICPC white institutional header (dark/colour logo shows on white) ===== */
.site-header, .main-navigation, .main-navigation .main-nav ul ul { background: #ffffff !important; }
.site-header { border-bottom: 1px solid #e6ebf0; box-shadow: 0 2px 16px rgba(0,71,123,0.07); }
.main-navigation .main-nav > ul > li > a,
.main-navigation .main-nav ul ul li a { color: var(--icpc-navy) !important; font-size: 0.82rem; }
.main-navigation .main-nav > ul > li > a::after { background: var(--icpc-orange); }
.main-navigation .main-nav > ul > li:hover > a { color: var(--icpc-blue) !important; }
.main-navigation .menu-toggle { color: var(--icpc-navy); }
/* CTA last item (Contact) stays solid orange */
.main-navigation .main-nav > ul > li:last-child > a { background: var(--icpc-orange) !important; color: #fff !important; }
.main-navigation .main-nav > ul > li:last-child > a:hover { color: #fff !important; filter: brightness(1.06); }
.site-logo img, .custom-logo { max-height: 52px; width: auto; }
/* active menu item: no dark box on white header - orange text + underline */
.main-navigation .main-nav > ul > li[class*="current-menu"] > a {
  background: transparent !important; color: var(--icpc-orange) !important;
}
.main-navigation .main-nav > ul > li[class*="current-menu"] > a::after { transform: scaleX(1); }
.main-navigation .main-nav > ul > li:last-child[class*="current-menu"] > a { color: #fff !important; }

/* ===== ICPC stat band (big gold numbers on navy) ===== */
.icpc-statband { display: flex; flex-wrap: wrap; gap: 1.6rem 2.5rem; }
.icpc-statband .icpc-stat { flex: 1 1 200px; }
.icpc-statband .num { font-family: var(--icpc-head); font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 900; color: var(--icpc-gold); line-height: 1; letter-spacing: -0.02em; }
.icpc-statband .lbl { color: rgba(255,255,255,0.92); font-weight: 600; margin-top: 0.55rem; font-size: 0.95rem; line-height: 1.4; }
/* contact form sits in a centered card */
.icpc-form-wrap { max-width: 720px; margin: 0 auto; }

/* ===== ICPC ecosystem diagram (org-chart: hub governs 4 entities) ===== */
.icpc-eco { text-align: center; padding: 1rem 0 0.5rem; }
.icpc-eco-hub {
  display: inline-block; background: var(--icpc-navy); color: #fff;
  font-family: var(--icpc-head); font-weight: 900; font-size: 1.35rem; letter-spacing: 0.06em;
  padding: 0.95rem 2.4rem; border-radius: 10px; position: relative; box-shadow: var(--icpc-shadow);
}
.icpc-eco-hub span { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; opacity: 0.8; margin-top: 0.2rem; }
.icpc-eco-hub::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 34px; background: var(--icpc-lightblue); transform: translateX(-50%); }
.icpc-eco-nodes { display: flex; justify-content: center; gap: 1.2rem; margin-top: 66px; position: relative; flex-wrap: wrap; }
.icpc-eco-nodes::before { content: ""; position: absolute; top: -32px; left: 12.5%; right: 12.5%; height: 2px; background: var(--icpc-lightblue); }
.icpc-eco-node {
  flex: 1 1 200px; max-width: 250px; background: #fff; border-top: 4px solid var(--icpc-navy);
  border-radius: 10px; padding: 1.4rem 1.2rem; box-shadow: var(--icpc-shadow); position: relative; text-align: center;
}
.icpc-eco-node::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 2px; height: 32px; background: var(--icpc-lightblue); transform: translateX(-50%); }
.icpc-eco-node strong { display: block; font-family: var(--icpc-head); font-size: 1.08rem; color: var(--icpc-navy); margin-bottom: 0.25rem; }
.icpc-eco-node .icpc-eco-logo { display: block; margin: 0.1rem auto 0.7rem; width: 100%; max-width: 152px; height: 50px; object-fit: contain; }
.icpc-eco-node em { font-style: normal; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; }
.icpc-eco-node--shikamo { border-top-color: var(--icpc-orange); } .icpc-eco-node--shikamo em { color: var(--icpc-orange); }
.icpc-eco-node--unda { border-top-color: var(--icpc-maroon); } .icpc-eco-node--unda em { color: var(--icpc-maroon); }
.icpc-eco-node--pcrh { border-top-color: var(--icpc-blue); } .icpc-eco-node--pcrh em { color: var(--icpc-blue); }
.icpc-eco-node--pulse { border-top-color: #C99A03; } .icpc-eco-node--pulse em { color: #C99A03; }
@media (max-width: 720px) {
  .icpc-eco-nodes::before { display: none; }
  .icpc-eco-node::before { display: none; }
  .icpc-eco-nodes { margin-top: 2rem; }
}

/* ==================================================================
   SPARK-ALIGNED RESTYLE — editorial serif, light & airy, refined
   (keeps ICPC brand colours; shifts the feel toward sparkadvisors.com)
   ================================================================== */
:root {
  --icpc-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --icpc-bg: #ffffff;
  --icpc-ink: #1c2630;
  --icpc-muted: #515c68;
  --icpc-radius: 16px;
  --icpc-shadow: 0 6px 26px rgba(20, 35, 55, 0.06);
  --icpc-shadow-lg: 0 16px 44px rgba(20, 35, 55, 0.10);
  --icpc-section-y: clamp(5rem, 8vw, 8.5rem);
}
body { background: #ffffff; }

/* Editorial serif headings, light weight, no decoration */
h1, h2, h3, h4, h5, h6 { font-family: var(--icpc-head) !important; font-weight: 400 !important; letter-spacing: -0.005em; line-height: 1.12; }
.entry-content h1 { font-size: clamp(2.7rem, 5.2vw, 4.1rem); line-height: 1.06; }
.entry-content h2 { font-size: clamp(2rem, 3.5vw, 2.95rem); font-weight: 400 !important; }
.entry-content h3 { font-size: 1.45rem; font-weight: 500 !important; }
.entry-content h2::after { display: none !important; } /* remove orange accent bar */
.icpc-page-hero h1 { font-weight: 400 !important; }

/* Body: comfortable, calm */
.entry-content p { font-size: 1.09rem; line-height: 1.78; color: var(--icpc-muted); }
.entry-content { letter-spacing: 0; }

/* Buttons: dark navy, sentence-case, rounded, restrained (Spark) */
.entry-content .vc_btn3.vc_btn3-style-custom,
.sk-btn-primary .vc_btn3 {
  background: var(--icpc-navy) !important; color: #fff !important;
  text-transform: none !important; letter-spacing: normal !important; font-weight: 600 !important;
  font-family: var(--icpc-font) !important; border: 0 !important;
  border-radius: 10px !important; padding: 0.82em 1.6em !important; font-size: 0.98rem !important; box-shadow: none !important;
}
.entry-content .vc_btn3.vc_btn3-style-custom:hover { filter: brightness(1.14); transform: translateY(-1px); }
.sk-btn-ghost .vc_btn3 { background: transparent !important; border: 1.5px solid rgba(255,255,255,0.65) !important; color: #fff !important; }
.button, button, input[type="submit"], .wpcf7-form input[type="submit"] {
  text-transform: none !important; letter-spacing: normal !important; border-radius: 10px !important;
  background: var(--icpc-navy); border-color: var(--icpc-navy); font-weight: 600;
}

/* Nav: sentence-case, lighter */
.main-navigation .main-nav > ul > li > a,
.main-navigation .main-nav ul ul li a { text-transform: none !important; letter-spacing: normal !important; font-size: 0.95rem; font-weight: 500; }
.main-navigation .main-nav > ul > li:last-child > a { background: var(--icpc-navy) !important; border-radius: 10px; font-weight: 600; }
.main-navigation .main-nav > ul > li:last-child > a::after { display: none; }

/* Cards: light, subtle border, more rounded */
.vc_col-sm-3 .wpb_text_column, .vc_col-sm-4 .wpb_text_column, .icpc-contact-card {
  border: 1px solid #e7ebf0; box-shadow: var(--icpc-shadow); border-radius: var(--icpc-radius);
  border-top: 1px solid #e7ebf0; padding: 2rem 1.8rem;
}
.vc_col-sm-3 .wpb_text_column:hover, .vc_col-sm-4 .wpb_text_column:hover { box-shadow: var(--icpc-shadow-lg); transform: translateY(-4px); }
/* keep entity accent but as a thin top hint */
.icpc-entity--shikamo .wpb_text_column { border-top: 3px solid var(--icpc-orange) !important; }
.icpc-entity--unda .wpb_text_column { border-top: 3px solid var(--icpc-maroon) !important; }
.icpc-entity--pcrh .wpb_text_column { border-top: 3px solid var(--icpc-blue) !important; }
.icpc-entity--pulse .wpb_text_column { border-top: 3px solid #C99A03 !important; }
.vc_col-sm-3 .wpb_text_column h3, .vc_col-sm-4 .wpb_text_column h3 { font-family: var(--icpc-head) !important; }

/* Stat numbers in serif (Spark stats are serif) */
.icpc-statband .num, .sk-stat-num { font-family: var(--icpc-head) !important; font-weight: 500 !important; }

/* Blueprint grid: barely-there whisper for a cleaner, minimal feel */
.icpc-hero-grid::after { opacity: 0.22; }

/* Eco diagram hub in serif */
.icpc-eco-hub { font-family: var(--icpc-head) !important; font-weight: 500; }
.icpc-eco-node strong { font-family: var(--icpc-head) !important; }

/* entity tag labels: keep small grotesque caps for contrast with serif */
.icpc-entity-tag { font-family: var(--icpc-font); }

/* Buttons on dark bands invert to white (navy button is invisible on navy) */
.icpc-bg-navy .vc_btn3.vc_btn3-style-custom,
.icpc-bg-burgundy .vc_btn3.vc_btn3-style-custom,
.icpc-page-hero .vc_btn3.vc_btn3-style-custom {
  background: #ffffff !important; color: var(--icpc-navy) !important;
}
.icpc-bg-navy .vc_btn3.vc_btn3-style-custom:hover,
.icpc-bg-burgundy .vc_btn3.vc_btn3-style-custom:hover,
.icpc-page-hero .vc_btn3.vc_btn3-style-custom:hover {
  background: var(--icpc-gold) !important; color: var(--icpc-navy) !important; filter: none;
}

/* Ensure dropdown submenus render above WPBakery full-width content */
.main-navigation { position: relative; z-index: 300; }
.main-navigation .main-nav ul ul { z-index: 9999 !important; }
.site-header { z-index: 320; }

/* Entity logos on ecosystem cards */
.icpc-entity-logo {
  display: block; height: 46px; width: auto; max-width: 170px;
  object-fit: contain; object-position: left center; margin-bottom: 1rem;
}
.icpc-entity .wpb_text_column h3 { margin-top: 0; }

/* ============================================================
   Off-canvas slide menu — sticky bar + hamburger + light panel
   (replaces GeneratePress nav). Grand-corporate: serif links,
   navy + refined gold, generous whitespace.
   ============================================================ */
:root { --icpc-gold-deep: #C9A227; --icpc-serif: 'Fraunces', Georgia, 'Times New Roman', serif; }

/* hide the default GP header/nav entirely */
.site-header, .main-navigation { display: none !important; }

/* sticky top bar */
.icpc-bar { position: sticky; top: 0; z-index: 500; background: #fff;
  border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease; }
.icpc-bar.is-scrolled { box-shadow: 0 6px 26px rgba(10,23,34,0.09); border-color: #eef1f4; }
.icpc-bar-inner { max-width: 1320px; margin: 0 auto;
  padding: 0.95rem clamp(1.25rem, 5vw, 3rem); display: flex; align-items: center; justify-content: space-between; }
.icpc-bar-logo { display: inline-flex; align-items: center; }
.icpc-bar-logo img { height: 44px; width: auto; display: block; }
.icpc-bar-logo span { font-family: var(--icpc-serif); font-weight: 600; font-size: 1.5rem; color: var(--icpc-navy); letter-spacing: 0.04em; }

/* hamburger */
.icpc-burger { background: none; border: 0; padding: 8px 0; cursor: pointer; display: flex; flex-direction: column; gap: 5px; width: 30px; }
.icpc-burger span { display: block; height: 2px; width: 28px; margin-left: auto; background: var(--icpc-navy);
  border-radius: 2px; transition: width .3s ease; }
.icpc-burger span:nth-child(2) { width: 20px; }
.icpc-burger:hover span { width: 28px; }

/* overlay + scroll lock */
.icpc-overlay { position: fixed; inset: 0; background: rgba(8,22,38,0.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; z-index: 600; }
body.icpc-nav-open .icpc-overlay { opacity: 1; visibility: visible; }
body.icpc-nav-open { overflow: hidden; }

/* slide-in panel */
.icpc-panel { position: fixed; top: 0; right: 0; height: 100vh; width: min(430px, 87vw); background: #fff; z-index: 610;
  transform: translateX(100%); transition: transform .55s cubic-bezier(.66,0,.2,1);
  display: flex; flex-direction: column; padding: 2rem clamp(1.8rem, 3vw, 2.8rem) 2.4rem;
  box-shadow: -34px 0 64px rgba(8,22,38,0.20); overflow-y: auto; }
body.icpc-nav-open .icpc-panel { transform: translateX(0); }

.icpc-panel-close { align-self: flex-end; background: none; border: 0; width: 42px; height: 42px; position: relative; cursor: pointer; }
.icpc-panel-close span { position: absolute; top: 50%; left: 50%; width: 23px; height: 2px; background: var(--icpc-navy); transition: background .2s; }
.icpc-panel-close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.icpc-panel-close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }
.icpc-panel-close:hover span { background: var(--icpc-gold-deep); }

.icpc-panel-head { font-family: var(--icpc-font); text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.68rem; color: var(--icpc-muted); margin: 0.3rem 0 1.7rem; }

.icpc-offcanvas-menu { list-style: none; margin: 0; padding: 0; }
.icpc-offcanvas-menu > li { position: relative; border-bottom: 1px solid #eef1f4; }
.icpc-offcanvas-menu > li > a { font-family: var(--icpc-serif); font-size: 1.5rem; font-weight: 500; color: var(--icpc-navy);
  text-decoration: none; display: block; padding: 0.82rem 0; transition: color .25s ease, padding-left .25s ease; }
.icpc-offcanvas-menu > li > a:hover { color: var(--icpc-gold-deep); padding-left: 0.5rem; }
.icpc-offcanvas-menu li.current-menu-item > a,
.icpc-offcanvas-menu li[class*="current-menu"] > a { color: var(--icpc-gold-deep); }

/* submenu accordion */
.icpc-offcanvas-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0.3rem 0.2rem;
  max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.icpc-offcanvas-menu li.is-open > .sub-menu { max-height: 640px; }
.icpc-offcanvas-menu .sub-menu li { border: 0; }
.icpc-offcanvas-menu .sub-menu a { font-family: var(--icpc-font); font-size: 1rem; color: var(--icpc-muted);
  text-decoration: none; display: block; padding: 0.48rem 0; transition: color .2s; }
.icpc-offcanvas-menu .sub-menu a:hover { color: var(--icpc-navy); }

.icpc-sub-toggle { position: absolute; top: 0.55rem; right: 0; width: 34px; height: 34px;
  background: none; border: 1px solid #e2e7ec; border-radius: 50%; cursor: pointer; padding: 0; }
.icpc-sub-toggle span { position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--icpc-navy);
  transform: translate(-50%,-50%); transition: transform .3s ease, background .2s; }
.icpc-sub-toggle span:last-child { transform: translate(-50%,-50%) rotate(90deg); }
.icpc-offcanvas-menu li.is-open > .icpc-sub-toggle span:last-child { transform: translate(-50%,-50%) rotate(0); }
.icpc-sub-toggle:hover { border-color: var(--icpc-gold-deep); }
.icpc-sub-toggle:hover span { background: var(--icpc-gold-deep); }

/* panel footer */
.icpc-panel-foot { margin-top: auto; padding-top: 2.2rem; }
.icpc-panel-cta { display: inline-block; background: var(--icpc-navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; padding: 0.82rem 1.7rem; border-radius: 6px; letter-spacing: 0.02em;
  transition: background .25s ease, color .25s ease; }
.icpc-panel-cta:hover { background: var(--icpc-gold-deep); color: #0a1722; }
.icpc-panel-foot p { margin: 1rem 0 0; font-size: 0.9rem; color: var(--icpc-muted); }
.icpc-panel-foot a[href^="mailto"] { color: var(--icpc-blue); text-decoration: none; }
.icpc-panel-locs { font-size: 0.82rem !important; letter-spacing: 0.02em; }

/* ============================================================
   Ecosystem entities → immersive brand-colour panels
   (replaces the white cards). Full logo on a white plate,
   reversed text, one connected architecture of four colours.
   ============================================================ */
.icpc-entities.vc_row { display: flex !important; flex-wrap: wrap; align-items: stretch; }
.icpc-entities .icpc-entity { margin-bottom: 0 !important; display: flex; flex: 0 0 25%; max-width: 25%; }
.icpc-entities .icpc-entity > .vc_column-inner { width: 100%; display: flex; padding: 7px; }
.icpc-entities .icpc-entity > .vc_column-inner > .wpb_wrapper { width: 100%; display: flex; }

/* the coloured panel = the (formerly white) text column */
.icpc-entities .icpc-entity .wpb_text_column {
  width: 100%; border: 0 !important; border-top: 0 !important; box-shadow: none !important;
  border-radius: 18px !important; padding: 0 !important; overflow: hidden; display: flex;
  transition: transform .4s ease, box-shadow .4s ease;
}
.icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper {
  width: 100%; box-sizing: border-box; min-width: 0;
  display: flex; flex-direction: column; padding: 2.6rem 2.2rem 2.5rem;
}
.icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper > * { max-width: 100%; }
.icpc-entities .icpc-entity .wpb_text_column:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(10,23,34,0.28); }

/* refined, muted brand panels (navy / maroon / bronze / sand) */
.icpc-entity--shikamo .wpb_text_column { background: linear-gradient(165deg, #324F79, #21385A) !important; }
.icpc-entity--unda    .wpb_text_column { background: linear-gradient(165deg, #9A1430, #6E0014) !important; }
.icpc-entity--pcrh    .wpb_text_column { background: linear-gradient(165deg, #C08954, #8F5E2E) !important; }
.icpc-entity--pulse   .wpb_text_column { background: linear-gradient(165deg, #D9C9A6, #C6B187) !important; }

/* the supplied logo-on-white plates: round corners + lift, no extra padding */
.icpc-entities .icpc-entity-logo {
  display: block; width: 172px; max-width: 80%; height: auto; border-radius: 10px;
  background: #fff; margin: 0 0 1.5rem; box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

/* reversed text */
.icpc-entities .icpc-entity .icpc-entity-tag {
  display: block; color: rgba(255,255,255,0.85) !important; margin: 0 0 0.4rem;
  font-size: 0.7rem; letter-spacing: 0.13em; font-weight: 700;
}
.icpc-entities .icpc-entity h3 {
  font-family: var(--icpc-serif) !important; color: #fff !important; font-size: 1.5rem; font-weight: 600; margin: 0 0 0.7rem;
}
.icpc-entities .icpc-entity p { color: rgba(255,255,255,0.92) !important; font-size: 0.96rem; line-height: 1.6; }

/* gold panel → dark ink for legibility (specificity must beat the generic rules) */
.icpc-entities .icpc-entity--pulse .icpc-entity-tag { color: rgba(10,23,34,0.72) !important; }
.icpc-entities .icpc-entity--pulse h3 { color: var(--icpc-navy) !important; }
.icpc-entities .icpc-entity--pulse p { color: rgba(10,23,34,0.85) !important; }

@media (max-width: 980px) { .icpc-entities .icpc-entity { flex: 0 0 50%; max-width: 50%; } }
@media (max-width: 600px) { .icpc-entities .icpc-entity { flex: 0 0 100%; max-width: 100%; } }

/* ===== Leadership profile — portrait + bio (Group Lead) ===== */
.icpc-leader-row.vc_row { display: flex !important; flex-wrap: nowrap; align-items: center; gap: clamp(1.5rem, 3.5vw, 3rem); }
.icpc-leader-row .icpc-leader-media { display: flex; }
@media (max-width: 820px) { .icpc-leader-row.vc_row { flex-wrap: wrap; } }
.icpc-leader-photo { width: 100%; max-width: 400px; border-radius: 16px; display: block;
  box-shadow: 0 26px 64px rgba(10,23,34,0.24); border: 6px solid #fff; outline: 1px solid #e7ebf0; }
.icpc-leader-media .wpb_wrapper { position: relative; }
.icpc-leader-media .wpb_wrapper::before { content: ""; position: absolute; left: -14px; top: 22px; bottom: 22px;
  width: 4px; border-radius: 4px; background: var(--icpc-gold-deep); }
@media (max-width: 820px) { .icpc-leader-row.vc_row { justify-content: center; text-align: left; } .icpc-leader-photo { max-width: 320px; } }

/* ============================================================
   Infographic stat band (replaces the home ticker)
   Animated count-up numbers + brand icons. Grand-corporate:
   serif numerals, navy + gold, editorial vertical rules.
   ============================================================ */
.icpc-infographic-row.vc_row { background: #fff; }
.icpc-infographic-kicker { text-align: center; text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.72rem; font-weight: 700; color: var(--icpc-gold-deep); margin: 0 0 0.6rem; }
.icpc-infographic-head { text-align: center; font-family: var(--icpc-serif); color: var(--icpc-navy);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; margin: 0 0 2.8rem; }
.icpc-infographic-head::after { display: none; }

.icpc-infographic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.icpc-stat { text-align: center; padding: 0.4rem clamp(1rem, 2vw, 2rem);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.icpc-stat + .icpc-stat { border-left: 1px solid #e7ecf1; }
.icpc-stat-ico { width: 62px; height: 62px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,71,123,0.06); color: var(--icpc-navy); margin-bottom: 1.15rem; transition: transform .4s ease, background .4s ease; }
.icpc-stat:hover .icpc-stat-ico { transform: translateY(-4px); background: rgba(201,162,39,0.16); color: var(--icpc-gold-deep); }
.icpc-stat-ico svg { width: 30px; height: 30px; }
.icpc-stat-num { font-family: var(--icpc-serif); font-weight: 600; color: var(--icpc-navy); line-height: 1;
  font-size: clamp(2.3rem, 3.8vw, 3.2rem); display: flex; align-items: baseline; justify-content: center; gap: 0.04em; }
.icpc-stat-num .pre, .icpc-stat-num .suf { font-size: 0.5em; color: var(--icpc-gold-deep); font-weight: 700;
  min-width: 1.7em; display: inline-block; }
.icpc-stat-num .pre { text-align: right; }
.icpc-stat-num .suf { text-align: left; }
.icpc-stat-label { margin-top: 0.7rem; color: var(--icpc-muted); font-size: 0.96rem; line-height: 1.4;
  min-height: 2.9rem; }
.icpc-stat-label small { display: block; color: #97a2ad; font-size: 0.8rem; margin-top: 0.15rem; }
.icpc-info-foot { text-align: center; margin-top: 2.6rem; font-family: var(--icpc-serif); font-style: italic;
  color: var(--icpc-navy); font-size: 1.05rem; }
.icpc-info-foot span { color: var(--icpc-gold-deep); font-style: normal; padding: 0 0.5rem; }

@media (max-width: 860px) {
  .icpc-infographic { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 0; }
  .icpc-stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 480px) {
  .icpc-infographic { grid-template-columns: 1fr; }
  .icpc-stat + .icpc-stat { border-left: 0; border-top: 1px solid #e7ecf1; padding-top: 2rem; }
}

/* ============================================================
   GRAND-CORPORATE RE-SKIN  (2026-06-11)
   Base: greys / white / light-grey. Blue (navy/#1071A8) = the
   element/secondary colour. Warm (gold/orange/red) = subtle
   highlights only. Shifts the bright-orange system to restraint.
   ============================================================ */

/* --- heading accent bars: thin blue (element colour), not orange --- */
.entry-content h2::after { background: var(--icpc-blue); width: 46px; height: 3px; }
.icpc-bg-navy h2::after, .icpc-bg-blue h2::after, .icpc-bg-burgundy h2::after { background: var(--icpc-gold-deep); }

/* --- links: blue, hover navy --- */
a { color: var(--icpc-blue); }
a:hover, a:focus { color: var(--icpc-navy); }
.entry-content a:not(.vc_btn3):not(.icpc-panel-cta) { color: var(--icpc-blue); }
.vc_col-sm-3 .wpb_text_column a, .vc_col-sm-4 .wpb_text_column a { color: var(--icpc-blue); }

/* --- buttons: navy primary, blue hover (drop orange) --- */
.button, button, input[type="submit"], .wp-block-button__link, .icpc-cta,
.vc_btn3.vc_btn3-style-custom {
  background-color: var(--icpc-navy) !important; border-color: var(--icpc-navy) !important; color: #fff !important;
}
.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .icpc-cta:hover,
.vc_btn3.vc_btn3-style-custom:hover {
  background-color: var(--icpc-blue) !important; border-color: var(--icpc-blue) !important; color: #fff !important; filter: none;
}
/* on dark bands, buttons invert to white -> gold hover */
.icpc-bg-navy .vc_btn3.vc_btn3-style-custom, .icpc-bg-burgundy .vc_btn3.vc_btn3-style-custom,
.icpc-page-hero .vc_btn3.vc_btn3-style-custom { background: #fff !important; color: var(--icpc-navy) !important; }
.icpc-bg-navy .vc_btn3.vc_btn3-style-custom:hover, .icpc-page-hero .vc_btn3.vc_btn3-style-custom:hover {
  background: var(--icpc-gold-deep) !important; color: #0a1722 !important; }

/* --- insights: blue source/link --- */
.icpc-insight-source, .icpc-insight-link { color: var(--icpc-blue) !important; }

/* --- form focus: blue --- */
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--icpc-blue) !important;
  box-shadow: 0 0 0 3px rgba(16,113,168,0.15) !important; }

/* --- footer link hover --- */
.site-footer a:hover, .icpc-footer-cols a:hover { color: var(--icpc-gold-deep); }

/* --- section background rhythm: clean white, light-grey utility --- */
body { background: #ffffff; }
.icpc-bg-light { background: #f4f6f8 !important; }

/* ============================================================
   FIX: reduce the massive gap (heading -> entity panels)
   ============================================================ */
.icpc-entities.vc_row { padding-top: 0 !important; margin-top: -5rem !important; }

/* ============================================================
   "Speed. Discipline. Durability." -> no white boxes, icon-led
   columns on navy with editorial dividers + animated gold icons
   ============================================================ */
.icpc-cards-navy.vc_row { display: flex !important; align-items: stretch; gap: 0; padding-top: 0 !important; margin-top: -1rem; }
.icpc-cards-navy .vc_col-sm-4 .wpb_text_column,
.icpc-cards-navy .vc_col-sm-3 .wpb_text_column {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 0.4rem clamp(1.2rem, 2.4vw, 2.4rem) !important;
}
.icpc-cards-navy .vc_col-sm-4 + .vc_col-sm-4 .wpb_text_column { border-left: 1px solid rgba(255,255,255,0.16) !important; }
.icpc-cards-navy .vc_col-sm-4 .wpb_text_column::before {
  content: ""; display: block; width: 54px; height: 54px; margin-bottom: 1.1rem;
  background-repeat: no-repeat; background-position: center; background-size: 32px 32px;
  border-radius: 14px; background-color: rgba(255,255,255,0.08);
}
.icpc-cards-navy .vc_col-sm-4:nth-child(1) .wpb_text_column::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.icpc-cards-navy .vc_col-sm-4:nth-child(2) .wpb_text_column::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3'/%3E%3C/svg%3E"); }
.icpc-cards-navy .vc_col-sm-4:nth-child(3) .wpb_text_column::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 6v6c0 5 3.4 8.5 8 10 4.6-1.5 8-5 8-10V6z'/%3E%3C/svg%3E"); }
.icpc-cards-navy .vc_col-sm-4 h3 { color: #fff !important; font-family: var(--icpc-serif) !important; font-size: 1.35rem; }
.icpc-cards-navy .vc_col-sm-4 p { color: rgba(255,255,255,0.84) !important; }

/* ============================================================
   "Campaigns Have Changed" Problem -> Solution contrast
   (styled by runner-added class .icpc-probsol)
   ============================================================ */
.icpc-probsol.vc_row { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 1.6rem;
  position: relative; padding-top: 0 !important; margin-top: -5rem !important; }
.icpc-probsol .vc_column_container { flex: 1 1 0; min-width: 280px; }
.icpc-probsol .wpb_text_column { background: #f4f6f8; border-radius: 16px; padding: 2.2rem 2rem !important;
  border-top: 4px solid var(--icpc-maroon); height: 100%; }
.icpc-probsol .vc_column_container:last-child .wpb_text_column { background: var(--icpc-navy); border-top-color: var(--icpc-gold-deep); }
.icpc-probsol h3 { display: flex; align-items: center; gap: 0.6rem; }
.icpc-probsol h3::before { content: ""; width: 30px; height: 30px; flex: 0 0 30px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.icpc-probsol .vc_column_container:first-child h3 { color: var(--icpc-maroon) !important; }
.icpc-probsol .vc_column_container:first-child h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A1C1C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a1.5 1.5 0 0 0 1.3 2.3h17.8a1.5 1.5 0 0 0 1.3-2.3L13.7 3.9a1.5 1.5 0 0 0-2.6 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.icpc-probsol .vc_column_container:last-child h3 { color: #fff !important; }
.icpc-probsol .vc_column_container:last-child h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.1V12a10 10 0 1 1-5.9-9.1'/%3E%3Cpath d='M22 4 12 14.0l-3-3'/%3E%3C/svg%3E"); }
.icpc-probsol .vc_column_container:last-child p { color: rgba(255,255,255,0.9) !important; }

/* ============================================================
   Light home hero with the morphing ICPC ribbon (re-skin centrepiece)
   ============================================================ */
.icpc-hero-light { position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%) !important; }
.icpc-hero-light::before, .icpc-hero-light::after { display: none !important; }
.icpc-hero-light .icpc-hero-ribbon {
  position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  width: min(640px, 50%); height: auto; opacity: 0.96; pointer-events: none; z-index: 0; }
.icpc-hero-light > .wpb_column, .icpc-hero-light .vc_column_container,
.icpc-hero-light .vc_col-sm-12 { position: relative; z-index: 1; }
.icpc-hero-light h1 { color: var(--icpc-navy) !important; max-width: 580px; }
.icpc-hero-light p { color: var(--icpc-muted) !important; max-width: 520px !important; }
.icpc-hero-light { padding-top: clamp(4rem,7vw,6.5rem) !important; padding-bottom: clamp(4rem,7vw,6.5rem) !important; }
.icpc-hero-light .vc_btn3.vc_btn3-style-custom { background: var(--icpc-navy) !important; color: #fff !important; }
.icpc-hero-light .vc_btn3.vc_btn3-style-custom:hover { background: var(--icpc-blue) !important; color: #fff !important; }
@media (max-width: 800px) { .icpc-hero-light .icpc-hero-ribbon { opacity: 0.18; width: 90%; right: -10%; } }

/* re-skin: large warm (burgundy) sections -> navy (warm kept only as accents) */
.icpc-bg-burgundy { background-color: var(--icpc-navy) !important; }

/* ============================================================
   Entity pages — logo plate in hero + colours mirrored from
   each entity's real site (PCRH politicalhub.africa,
   Campaign Pulse campaignpulse.africa).
   ============================================================ */
.icpc-epage-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 14px 20px;
  height: 44px; width: auto; max-width: 260px; box-sizing: content-box; margin: 0 0 1.5rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22); }

/* PCRH — navy #0a2237 + bronze #C08954 */
body.page-id-9 .icpc-page-hero { background-color: #0A2237 !important; }
body.page-id-9 .entry-content h2::after { background: #C08954 !important; }
body.page-id-9 .vc_btn3.vc_btn3-style-custom:hover { background: #C08954 !important; color: #fff !important; }
body.page-id-9 .entry-content a:not(.vc_btn3) { color: #B07A45; }

/* Campaign Pulse — navy #223a64 + sand/gold */
body.page-id-10 .icpc-page-hero { background-color: #223A64 !important; }
body.page-id-10 .entry-content h2::after { background: #B8915A !important; }
body.page-id-10 .vc_btn3.vc_btn3-style-custom:hover { background: #B8915A !important; color: #fff !important; }
body.page-id-10 .entry-content a:not(.vc_btn3) { color: #9A7B43; }

/* ============================================================
   ENTITY PANELS v3 — clean white cards (replaces colour blocks)
   Logos on light, navy serif names, brand colour as a refined
   top accent only. Fits the grey/white/blue corporate system.
   ============================================================ */
.icpc-entities .icpc-entity .wpb_text_column {
  background: #ffffff !important; border: 1px solid #e7ecf2 !important; border-top: 3px solid var(--icpc-navy) !important;
  border-radius: 14px !important; box-shadow: 0 14px 34px rgba(20,35,55,0.07) !important; }
.icpc-entities .icpc-entity .wpb_text_column:hover { transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(20,35,55,0.15) !important; }
.icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper { padding: 0 !important; }
/* logo sits in a soft light well at the top of the card */
.icpc-entities .icpc-entity-logo {
  display: block !important; width: 100% !important; max-width: none !important; height: 96px !important;
  object-fit: contain !important; object-position: center !important; background: #f6f8fb !important;
  padding: 1.5rem 1.8rem !important; border-radius: 0 !important; box-shadow: none !important;
  border-bottom: 1px solid #eef1f5; margin: 0 0 1.5rem !important; box-sizing: border-box !important; }
/* body copy */
.icpc-entities .icpc-entity .icpc-entity-tag,
.icpc-entities .icpc-entity h3, .icpc-entities .icpc-entity p { padding-left: 1.6rem; padding-right: 1.6rem; }
.icpc-entities .icpc-entity .icpc-entity-tag { color: var(--icpc-muted) !important; letter-spacing: 0.13em; margin-bottom: 0.35rem; }
.icpc-entities .icpc-entity h3 { color: var(--icpc-navy) !important; font-size: 1.4rem; margin: 0 0 0.6rem; }
.icpc-entities .icpc-entity p { color: var(--icpc-muted) !important; padding-bottom: 1.9rem; }
/* per-entity brand accent (top border + label colour) */
.icpc-entity--shikamo .wpb_text_column { border-top-color: #2A4366 !important; }
.icpc-entity--shikamo .icpc-entity-tag { color: #2A4366 !important; }
.icpc-entity--unda .wpb_text_column { border-top-color: #8C0321 !important; }
.icpc-entity--unda .icpc-entity-tag { color: #8C0321 !important; }
.icpc-entity--pcrh .wpb_text_column { border-top-color: #C08954 !important; }
.icpc-entity--pcrh .icpc-entity-tag { color: #A9743E !important; }
.icpc-entity--pulse .wpb_text_column { border-top-color: #C9A227 !important; }
.icpc-entities .icpc-entity--pulse .icpc-entity-tag { color: #A98717 !important; }
.icpc-entities .icpc-entity--pulse h3 { color: var(--icpc-navy) !important; }
.icpc-entities .icpc-entity--pulse p { color: var(--icpc-muted) !important; }

/* ============================================================
   Hero: animated real ICPC mark (replaces the abstract ribbon)
   entrance reveal + gentle float + slow breathe + shimmer sweep
   ============================================================ */
.icpc-hero-mark { position: absolute; right: 7%; top: 50%; width: min(360px, 40%); transform: translateY(-50%);
  animation: icpcFloat 6.5s ease-in-out infinite; z-index: 0; pointer-events: none; }
.icpc-hero-mark-img { display: block; width: 100%; transform-origin: 55% 50%;
  animation: icpcMarkIn 1.5s cubic-bezier(.2,.7,.2,1) both, icpcBreathe 13s ease-in-out 1.5s infinite;
  filter: drop-shadow(0 18px 30px rgba(20,35,55,0.12)); }
.icpc-hero-mark-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url(/wp-content/uploads/icpc/icpc-mark.png) center/contain no-repeat;
  mask: url(/wp-content/uploads/icpc/icpc-mark.png) center/contain no-repeat;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  background-size: 260% 100%; background-position: 160% 0; animation: icpcShine 7.5s ease-in-out 1.7s infinite; }
@keyframes icpcFloat { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 13px)); } }
@keyframes icpcMarkIn { 0% { opacity: 0; transform: scale(.86) rotate(-10deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes icpcBreathe { 0%,100% { transform: rotate(0); } 25% { transform: rotate(2.4deg); } 75% { transform: rotate(-2.4deg); } }
@keyframes icpcShine { 0% { background-position: 160% 0; } 40%,100% { background-position: -160% 0; } }
@media (max-width: 800px) { .icpc-hero-mark { opacity: 0.16; width: 78%; right: -8%; } }

/* ============================================================
   Entity landing pages — capabilities grid with icons
   ============================================================ */
.icpc-caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.icpc-cap { background: #fff; border: 1px solid #e7ecf2; border-radius: 14px; padding: 1.7rem 1.5rem;
  box-shadow: 0 12px 30px rgba(20,35,55,0.06); transition: transform .35s ease, box-shadow .35s ease; }
.icpc-cap:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(20,35,55,0.13); }
.icpc-cap-ico { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: rgba(16,113,168,0.09); color: var(--icpc-blue); margin-bottom: 1rem; transition: transform .4s ease; }
.icpc-cap:hover .icpc-cap-ico { transform: translateY(-3px); }
.icpc-cap-ico svg { width: 28px; height: 28px; }
.icpc-cap h4 { margin: 0 0 0.4rem; color: var(--icpc-navy); font-size: 1.08rem; }
.icpc-cap p { margin: 0; color: var(--icpc-muted); font-size: 0.94rem; line-height: 1.55; }
@media (max-width: 900px) { .icpc-caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .icpc-caps-grid { grid-template-columns: 1fr; } }

/* entity landing hero logo plate (shared) */
.icpc-epage .icpc-epage-logo { margin-bottom: 1.6rem; }
.icpc-epage-actions { margin-top: 1.6rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Shikamo page (shikamo.africa: navy #214368 + orange #DB7028) */
.icpc-epage--shikamo.icpc-page-hero { background-color: #214368 !important; }
.icpc-epage--shikamo .icpc-cap-ico { background: rgba(219,112,40,0.12); color: #C2611E; }
/* UNDA page (unda.africa: red #e30613) */
.icpc-epage--unda.icpc-page-hero { background-color: #9E0610 !important; }
.icpc-epage--unda .icpc-cap-ico { background: rgba(193,7,17,0.10); color: #C00714; }

/* PCRH + Campaign Pulse landing heroes (mirror their site navies + accents) */
.icpc-epage--pcrh.icpc-page-hero { background-color: #0A2237 !important; }
.icpc-epage--pcrh .icpc-cap-ico { background: rgba(192,137,84,0.14); color: #A9743E; }
.icpc-epage--pulse.icpc-page-hero { background-color: #223A64 !important; }
.icpc-epage--pulse .icpc-cap-ico { background: rgba(184,145,90,0.16); color: #9A7B43; }

/* ============================================================
   ENTITY ECOSYSTEM v4 — editorial rows (NO boxes at all)
   logo left | brand rule | name + copy right | hairline rows
   Overrides the v3 card styling completely.
   ============================================================ */
.icpc-entities.vc_row { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important; align-items: stretch !important; margin-top: -3rem !important; }
.icpc-entities .icpc-entity { flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; display: block !important; }
.icpc-entities .icpc-entity > .vc_column-inner { padding: 0 !important; display: block !important; }
.icpc-entities .icpc-entity > .vc_column-inner > .wpb_wrapper { display: block !important; }

.icpc-entities .icpc-entity .wpb_text_column { background: transparent !important; border: 0 !important;
  border-top: 1px solid #e4e9ef !important; box-shadow: none !important; border-radius: 0 !important;
  transform: none !important; transition: background .3s ease; }
.icpc-entities .icpc-entity:last-child .wpb_text_column { border-bottom: 1px solid #e4e9ef !important; }
.icpc-entities .icpc-entity .wpb_text_column:hover { background: #f6f9fc !important; transform: none !important; box-shadow: none !important; }

.icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper { position: relative; display: block !important;
  padding: 2.6rem 1rem 2.6rem 300px !important; min-height: 150px; box-sizing: border-box; }
/* logo, far left, vertically centred */
.icpc-entities .icpc-entity-logo { position: absolute !important; left: 0.5rem; top: 50%; transform: translateY(-50%);
  width: 210px !important; max-width: 210px !important; height: auto !important; max-height: 62px !important;
  object-fit: contain !important; object-position: left center !important; background: transparent !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
/* brand-colour rule between logo and text */
.icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper::before { content: ""; position: absolute;
  left: 258px; top: 2.4rem; bottom: 2.4rem; width: 3px; border-radius: 3px; background: #d7dde4; }
/* text column */
.icpc-entities .icpc-entity .icpc-entity-tag { display: block !important; padding: 0 !important;
  margin: 0 0 0.45rem !important; font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 700; }
.icpc-entities .icpc-entity h3 { padding: 0 !important; margin: 0 0 0.55rem !important; color: var(--icpc-navy) !important;
  font-family: var(--icpc-serif) !important; font-size: 1.55rem; font-weight: 600; }
.icpc-entities .icpc-entity p { padding: 0 !important; margin: 0 !important; color: var(--icpc-muted) !important;
  font-size: 1rem; line-height: 1.6; max-width: 720px; }
/* per-entity brand accent (rule + label) */
.icpc-entity--shikamo .wpb_text_column > .wpb_wrapper::before { background: #2A4366; }
.icpc-entities .icpc-entity--shikamo .icpc-entity-tag { color: #2A4366 !important; }
.icpc-entity--unda .wpb_text_column > .wpb_wrapper::before { background: #8C0321; }
.icpc-entities .icpc-entity--unda .icpc-entity-tag { color: #8C0321 !important; }
.icpc-entity--pcrh .wpb_text_column > .wpb_wrapper::before { background: #C08954; }
.icpc-entities .icpc-entity--pcrh .icpc-entity-tag { color: #A9743E !important; }
.icpc-entity--pulse .wpb_text_column > .wpb_wrapper::before { background: #C9A227; }
.icpc-entities .icpc-entity--pulse .icpc-entity-tag { color: #A98717 !important; }
.icpc-entities .icpc-entity--pulse h3 { color: var(--icpc-navy) !important; }

@media (max-width: 720px) {
  .icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper { padding: 2rem 0.5rem 2rem !important; }
  .icpc-entities .icpc-entity-logo { position: static !important; transform: none !important; margin: 0 0 1.2rem !important; }
  .icpc-entities .icpc-entity .wpb_text_column > .wpb_wrapper::before { display: none; }
}

/* UNDA + Campaign Pulse logos: larger + centred in the logo column */
.icpc-entities .icpc-entity--unda .icpc-entity-logo { max-height: 92px !important; object-position: center center !important; }
.icpc-entities .icpc-entity--pulse .icpc-entity-logo { max-height: 80px !important; object-position: center center !important; }

/* ============================================================
   Ecosystem diagram — tighten spacing + precise connector lines
   ============================================================ */
.wpb-content-wrapper > .vc_row:has(.icpc-eco),
.entry-content > .vc_row:has(.icpc-eco) { padding-top: 2.5rem !important; padding-bottom: 3.5rem !important; }
.icpc-eco { padding: 0 !important; }
/* nodes fill the row evenly so centres are predictable */
.icpc-eco-node { flex: 1 1 0 !important; max-width: none !important; }
.icpc-eco-nodes { margin-top: 54px !important; gap: 1.2rem; }
/* vertical connectors */
.icpc-eco-hub::after { height: 26px !important; }
.icpc-eco-node::before { height: 26px !important; }
/* horizontal line spans exactly first-node-centre -> last-node-centre
   (inset = half a node width = (100% - 3*gap)/8, gap = 1.2rem) */
.icpc-eco-nodes::before { top: -26px !important;
  left: calc((100% - 3.6rem) / 8) !important; right: calc((100% - 3.6rem) / 8) !important; }

/* ============================================================
   Ecosystem diagram connectors — clean joins, gap above boxes
   (refines the earlier connector rules)
   ============================================================ */
.icpc-eco-nodes { margin-top: 62px !important; }
/* horizontal line: 32px above the boxes, spanning node1-centre -> node4-centre */
.icpc-eco-nodes::before { top: -32px !important; height: 2px !important;
  left: calc((100% - 3.6rem) / 8) !important; right: calc((100% - 3.6rem) / 8) !important; background: #c2cdd8 !important; }
/* drops: meet the horizontal line at top, STOP 10px above each box (no overlap) */
.icpc-eco-node::before { bottom: calc(100% + 10px) !important; height: 22px !important; width: 2px !important;
  background: #c2cdd8 !important; }
/* hub line: from hub down to the horizontal line, exact join */
.icpc-eco-hub::after { height: 30px !important; width: 2px !important; background: #c2cdd8 !important; }

/* === Footer fix: deeper navy (#002A4A) + hairline separator from the navy section above === */
.site-footer, .site-info { background-color: #002A4A; }
.site-info { border-top: 1px solid rgba(255,255,255,0.18); }

/* === Menu icon fix: hamburger lines + submenu-toggle bars were navy-on-navy (invisible) === */
.icpc-burger span,
.icpc-sub-toggle span { background-color: var(--icpc-orange) !important; }
/* close (×) had the same navy-on-navy issue at rest — make it visible */
.icpc-panel-close span { background-color: var(--icpc-orange) !important; }

/* === ICPC: tighten section rhythm (sections had ~115px top+bottom → ~230px gaps) === */
:root { --icpc-section-y: clamp(2.5rem, 4vw, 4rem); }
/* === Differentiate stacked same-colour navy sections (e.g. the last 2 on entity pages) === */
.vc_row.icpc-bg-navy + .vc_row.icpc-bg-navy { background-color: var(--icpc-blue) !important; }

/* Differentiate entity-page last navy section (Engage) from the one above (Outcome).
   Rows have vc_row-full-width separators between them, so use ~ not +; scope to entity pages. */
.wpb-content-wrapper:has(.icpc-epage) .vc_row.icpc-bg-navy ~ .vc_row.icpc-bg-navy { background-color: var(--icpc-blue) !important; }
/* === 50. About: What Guides Us — readable body + value icons === */
.icpc-cards-navy h3{color:#fff !important;}
.icpc-cards-navy p{color:rgba(255,255,255,0.82) !important;}
.icpc-cards-navy > .wpb_column .wpb_text_column > .wpb_wrapper{position:relative;}
.icpc-cards-navy > .wpb_column .wpb_text_column > .wpb_wrapper::before{content:"";display:block;width:42px;height:42px;margin:0 0 1rem;background-repeat:no-repeat;background-position:left center;background-size:contain;}
.icpc-cards-navy > .wpb_column:nth-child(1) .wpb_text_column > .wpb_wrapper::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FDC603%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2021h18%27%2F%3E%3Cpath%20d%3D%27M5%2021V9l7-5%207%205v12%27%2F%3E%3Cpath%20d%3D%27M9%2021v-7h6v7%27%2F%3E%3C%2Fsvg%3E");}
.icpc-cards-navy > .wpb_column:nth-child(2) .wpb_text_column > .wpb_wrapper::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FDC603%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2021h18%27%2F%3E%3Cpath%20d%3D%27M6%2021V11%27%2F%3E%3Cpath%20d%3D%27M12%2021V5%27%2F%3E%3Cpath%20d%3D%27M18%2021v-8%27%2F%3E%3C%2Fsvg%3E");}
.icpc-cards-navy > .wpb_column:nth-child(3) .wpb_text_column > .wpb_wrapper::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FDC603%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%278%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%273%27%2F%3E%3Cpath%20d%3D%27M12%202v3M12%2019v3M2%2012h3M19%2012h3%27%2F%3E%3C%2Fsvg%3E");}
.icpc-cards-navy > .wpb_column:nth-child(4) .wpb_text_column > .wpb_wrapper::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FDC603%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%206C10%204.5%207%204.5%204%206v12c3-1.5%206-1.5%208%200%202-1.5%205-1.5%208%200V6c-3-1.5-6-1.5-8%200z%27%2F%3E%3Cpath%20d%3D%27M12%206v12%27%2F%3E%3C%2Fsvg%3E");}
.icpc-cards-navy > .wpb_column:nth-child(5) .wpb_text_column > .wpb_wrapper::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FDC603%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M3%2012h18%27%2F%3E%3Cpath%20d%3D%27M12%203c2.6%202.7%204%205.8%204%209s-1.4%206.3-4%209c-2.6-2.7-4-5.8-4-9s1.4-6.3%204-9z%27%2F%3E%3C%2Fsvg%3E");}

/* === 51. Mobile: prevent horizontal overflow (off-canvas panel + full-width vc rows) === */
html, body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }