/* Shared design tokens come from what-we-do.css, also used by Animation Template.
   Widget-level styling in Elementor remains editable. */
body.page-template-elementor-theme-template {
  background-color: #000;
  color: #f8f4f0;
  font-family: "Inter", "DM Sans", sans-serif;
  isolation: isolate;
}

#main-content.cn-elementor-page {
  width: 100%;
  max-width: none;
  min-height: 60vh;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

/* Local Elementor globals: these affect this template, not the site's saved kit.
   Explicit widget colors, typography and backgrounds still take precedence. */
.cn-elementor-page > .elementor {
  --e-global-color-primary: var(--cn-orange);
  --e-global-color-secondary: var(--cn-white);
  --e-global-color-text: var(--cn-muted);
  --e-global-color-accent: var(--cn-pink);
  --e-global-typography-primary-font-family: "Inter", "DM Sans", sans-serif;
  --e-global-typography-primary-font-weight: 500;
  --e-global-typography-secondary-font-family: "Inter", "DM Sans", sans-serif;
  --e-global-typography-secondary-font-weight: 500;
  --e-global-typography-text-font-family: "Inter", "DM Sans", sans-serif;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "Inter", "DM Sans", sans-serif;
  --e-global-typography-accent-font-weight: 600;
}

/* Low-specificity defaults leave Elementor controls in charge. */
:where(.cn-elementor-page) :where(.elementor-heading-title) {
  color: var(--cn-white);
  font-family: var(--cn-font, "Inter", "DM Sans", sans-serif);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

:where(.cn-elementor-page) :where(.elementor-widget-text-editor) {
  color: var(--cn-muted);
  line-height: 1.7;
}

:where(.cn-elementor-page) :where(.elementor-button) {
  border-radius: 999px;
  background-color: var(--cn-red);
  color: #fff;
  padding: 16px 30px;
}

/* Shared reveal utilities must remain visible without the bespoke page scripts. */
.cn-elementor-page .wwd-reveal {
  opacity: 1;
  transform: none;
}
