/*
 * AICS Elementor Bridge — loaded after client theme + Elementor styles.
 * Purpose: make AICS presentation rules authoritative without taking over
 * Elementor-native layout geometry. Brand values remain client-theme tokens.
 */

/* Major V3 section surfaces */
body .elementor .elementor-element.e-con.cmp-v3-metrics {
  background-color: var(--aics-color-primary-dark) !important;
  background-image: none !important;
  color: #fff !important;
}
body .elementor .elementor-element.e-con.cmp-v3-custody {
  background-color: var(--aics-color-primary-dark) !important;
  background-image: none !important;
  color: #fff !important;
}
body .elementor .elementor-element.e-con.cmp-v3-cta {
  background-color: var(--aics-color-primary-dark) !important;
  background-image: none !important;
  color: #fff !important;
}
body .elementor .elementor-element.e-con.cmp-v3-fees {
  background-color: var(--aics-color-surface) !important;
  background-image: none !important;
}
body .elementor .elementor-element.e-con.cmp-v3-principles {
  background-color: var(--aics-color-surface-alt) !important;
  background-image: none !important;
}
body .elementor .elementor-element.e-con.cmp-v3-profile {
  background-color: var(--aics-color-surface) !important;
  background-image: none !important;
}

/* Trust rail — text must never disappear when Elementor injects widget globals. */
body .cmp-v3-metrics .cmp-v3-metrics__value .elementor-heading-title {
  color:#fff !important;
}
body .cmp-v3-metrics .cmp-v3-metrics__label .elementor-heading-title {
  color:rgba(255,255,255,.72) !important;
}
body .cmp-v3-metrics .cmp-v3-metrics__row {
  border-color:rgba(217,200,157,.38) !important;
}

/* Custody relationship */
body .cmp-v3-custody .u-eyebrow .elementor-heading-title,
body .cmp-v3-custody .cmp-v3-custody__index .elementor-heading-title {
  color:var(--aics-color-accent-light) !important;
}
body .cmp-v3-custody .cmp-v3-custody__title .elementor-heading-title,
body .cmp-v3-custody .cmp-v3-custody__node-title .elementor-heading-title {
  color:#fff !important;
}
body .cmp-v3-custody .cmp-v3-custody__lead,
body .cmp-v3-custody .cmp-v3-custody__copy,
body .cmp-v3-custody .elementor-widget-text-editor {
  color:rgba(255,255,255,.68) !important;
}
body .cmp-v3-custody .elementor-element.e-con.cmp-v3-custody__node {
  background-color:rgba(11,39,70,.72) !important;
  background-image:none !important;
  border-color:rgba(217,200,157,.36) !important;
}
body .cmp-v3-custody .elementor-element.e-con.cmp-v3-custody__node--focus {
  background-color:var(--aics-color-primary) !important;
  border-color:var(--aics-color-accent-light) !important;
}

/* Fee comparison — explicit contrast regardless of Elementor generated backgrounds. */
body .cmp-v3-fees .elementor-element.e-con.cmp-v3-fees__panel {
  background-color:var(--aics-color-surface-alt) !important;
  background-image:none !important;
  color:var(--aics-color-heading) !important;
}
body .cmp-v3-fees .elementor-element.e-con.cmp-v3-fees__panel--accent {
  background-color:var(--aics-color-primary-dark) !important;
  background-image:none !important;
  color:#fff !important;
}
body .cmp-v3-fees .cmp-v3-fees__panel--accent .elementor-heading-title {
  color:#fff !important;
}
body .cmp-v3-fees .cmp-v3-fees__panel--accent .cmp-v3-fees__rate .elementor-heading-title {
  color:var(--aics-color-accent-light) !important;
}

/* Founder media placeholder should read as an intentional media block. */
body .cmp-v3-profile .elementor-element.e-con.cmp-v3-profile__media {
  background-color:var(--aics-color-primary-dark) !important;
  background-image:
    linear-gradient(rgba(217,200,157,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(217,200,157,.08) 1px,transparent 1px) !important;
  background-size:42px 42px !important;
  color:#fff !important;
}
body .cmp-v3-profile .cmp-v3-profile__monogram,
body .cmp-v3-profile .cmp-v3-profile__asset-label {
  color:var(--aics-color-accent-light) !important;
}

/* Closing CTA */
body .cmp-v3-cta .u-eyebrow .elementor-heading-title,
body .cmp-v3-cta .cmp-v3-cta__contact-item .elementor-heading-title {
  color:var(--aics-color-accent-light) !important;
}
body .cmp-v3-cta .cmp-v3-cta__title .elementor-heading-title {
  color:#fff !important;
}
body .cmp-v3-cta .cmp-v3-cta__copy,
body .cmp-v3-cta .elementor-widget-text-editor {
  color:rgba(255,255,255,.72) !important;
}

/* Keep the bridge presentation-only: no flex direction, width, gap, wrap or order here. */
