/* ==========================================================================
   Canadian Parent design tokens: one palette + styling for every Canadian Parent element.

   Color names mirror the Elementor Site Kit (Site Settings → Global Colors) and read its live
   values, so changing a global color there updates every element. Hex values are fallbacks
   for pages without the Kit. A widget's Style → Colors panel can override any of these
   tokens for that widget only.
   ========================================================================== */
:root, body[class*="elementor-kit-"] {
  /* Global colors: system */
  --cp-primary:        var(--e-global-color-uicore_primary, #1A2B4C);
  --cp-secondary:      var(--e-global-color-uicore_secondary, #5A6B7D);
  --cp-accent:         var(--e-global-color-uicore_accent, #F3916B);
  --cp-headline:       var(--e-global-color-uicore_headline, #1A2B4C);
  --cp-body:           var(--e-global-color-uicore_body, #5A6B7D);
  --cp-dark-neutral:   var(--e-global-color-uicore_dark, #000000);
  --cp-light-neutral:  var(--e-global-color-uicore_light, #F9F9F9);
  --cp-white:          var(--e-global-color-uicore_white, #FFFFFF);
  /* Global colors: custom */
  --cp-dark-accent:    var(--e-global-color-51a7672, #E87F57);
  --cp-tint:           var(--e-global-color-44a1c36, #F3F4FA);
  --cp-warm:           var(--e-global-color-64ddfea, #FDF0EA);
  --cp-light-accent:   var(--e-global-color-750e2c9, #F3916B40);
  --cp-link:           var(--e-global-color-dcc6413, #77A6BB);
  --cp-line:           var(--e-global-color-dd9e5ff, #1A2B4C1F);
  --cp-hero-mist:      var(--e-global-color-650dd88, #F3F5F9);
  --cp-panel-text:     var(--e-global-color-617895d, #C7D3E2);
  --cp-blue-accent:    var(--e-global-color-2529205, #77A6BB);
  --cp-header-accent:  var(--e-global-color-089c089, #5C768D);

  /* Typography (Site Kit: Poppins; headings 600 / 1.25; body 16px / 1.55) */
  --cp-font:           var(--e-global-typography-uicore_text-font-family, "Poppins"), system-ui, sans-serif;
  --cp-h2-size:        clamp(1.9rem, 3.2vw, 2.75rem);
  --cp-heading-weight: 600;
  --cp-heading-line:   1.25;
  --cp-body-size:      16px;
  --cp-body-line:      1.55;
  --cp-small-size:     14px;
  --cp-label-size:     13px;

  /* Text CTA ("Explore research →"): Secondary, 16px / 500, Dark Accent on hover */
  --cp-cta-size:       16px;
  --cp-cta-weight:     500;
  --cp-cta-color:      var(--cp-secondary);
  --cp-cta-hover:      var(--cp-dark-accent);
  --cp-cta-gap:        10px;

  /* Buttons (Site Kit button: Accent fill, Primary text, 16px / 600, 20px 45px, 30px radius) */
  --cp-btn-bg:         var(--cp-accent);
  --cp-btn-color:      var(--cp-primary);
  --cp-btn-hover-bg:   var(--cp-dark-accent);
  --cp-btn-size:       16px;
  --cp-btn-weight:     600;
  --cp-btn-pad:        20px 45px;
  --cp-btn-radius:     30px;

  /* Shape & motion */
  --cp-radius:         24px;
  --cp-radius-lg:      32px;
  --cp-shadow:         0 30px 60px -38px #1a2b4c59;
  --cp-ease:           cubic-bezier(.16, 1, .3, 1);
  --cp-back:           cubic-bezier(.34, 1.5, .64, 1);
}
@media (max-width: 1024px) { :root, body[class*="elementor-kit-"] { --cp-btn-size: 15px; --cp-btn-pad: 19px 42px; } }
@media (max-width: 767px)  { :root, body[class*="elementor-kit-"] { --cp-btn-size: 14px; --cp-btn-pad: 18px 40px; } }

/* ---------- Shared components ----------
   Doubled class (.cp-cta.cp-cta) outranks the Site Kit's ".elementor-kit-N a / button" rules. */

/* Text CTA with arrow. Inside a linked card (<a> … <span class="cp-cta">) it reacts to the card's hover. */
.cp-cta.cp-cta { display: inline-flex; align-items: center; gap: var(--cp-cta-gap); font-family: var(--cp-font); font-size: var(--cp-cta-size); font-weight: var(--cp-cta-weight); line-height: 1.4; color: var(--cp-cta-color); text-decoration: none; white-space: nowrap; transition: color .25s; }
.cp-cta.cp-cta svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--cp-ease); }
.cp-cta.cp-cta:hover, .cp-cta.cp-cta:focus-visible, a:hover .cp-cta.cp-cta, a:focus-visible .cp-cta.cp-cta { color: var(--cp-cta-hover); text-decoration: none; }
.cp-cta.cp-cta:hover svg, .cp-cta.cp-cta:focus-visible svg, a:hover .cp-cta.cp-cta svg, a:focus-visible .cp-cta.cp-cta svg { transform: translateX(5px); }

/* Uppercase label ("RESEARCH") */
.cp-label.cp-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cp-font); font-size: var(--cp-label-size); font-weight: 600; letter-spacing: .02em; line-height: 1.4; text-transform: uppercase; color: var(--cp-dark-accent); }
.cp-label.cp-label svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons, matching the Site Kit button and the homepage outline button */
.cp-btn.cp-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--cp-btn-pad); border: 0; border-radius: var(--cp-btn-radius); background: var(--cp-btn-bg); color: var(--cp-btn-color); font-family: var(--cp-font); font-size: var(--cp-btn-size); font-weight: var(--cp-btn-weight); line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.cp-btn.cp-btn:hover, .cp-btn.cp-btn:focus-visible { background: var(--cp-btn-hover-bg); color: var(--cp-btn-color); }
.cp-btn.cp-btn--outline { background: var(--cp-white); color: var(--cp-primary); box-shadow: inset 0 0 0 2px var(--cp-primary); }
.cp-btn.cp-btn--outline:hover, .cp-btn.cp-btn--outline:focus-visible { background: var(--cp-primary); color: var(--cp-white); }

@media (prefers-reduced-motion: reduce) { .cp-cta.cp-cta, .cp-cta.cp-cta svg, .cp-btn.cp-btn { transition: none; } }
