/* Mizbansam brand overrides — neutralize WP/Elementor off-brand accents site-wide */

:root {
  --wp--preset--color--pale-pink: #146ef6;
  --wp--preset--color--vivid-purple: #146ef6;
  --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(
    135deg,
    #146ef6 0%,
    #088b87 100%
  );
  --miz-brand-blue: #146ef6;
  --miz-brand-blue-hover: #4088f6;
}

.has-pale-pink-color,
.has-vivid-purple-color,
.has-vivid-cyan-blue-color {
  color: #146ef6 !important;
}

.has-pale-pink-background-color,
.has-vivid-purple-background-color {
  background-color: #146ef6 !important;
}

/* Elementor kit alignment */
.elementor-kit-6,
.elementor {
  --e-global-color-primary: #146ef6;
  --e-global-color-accent: #146ef6;
}

/*
 * Kill hello-elementor reset.css magenta leftovers (#c36 / #cc3366).
 * Theme reset.css is patched to #146ef6; these rules are the safety net.
 */
a {
  color: var(--miz-brand-blue, #146ef6);
}

a:active,
a:hover {
  color: var(--miz-brand-blue-hover, #4088f6);
}

/* Remap hello-elementor button chrome; leave MizbanSam components alone */
button:not([class*="miz-"]),
[type="button"]:not([class*="miz-"]),
[type="submit"]:not([class*="miz-"]) {
  border-color: var(--miz-brand-blue, #146ef6);
  color: var(--miz-brand-blue, #146ef6);
  accent-color: var(--miz-brand-blue, #146ef6);
}

button:not([class*="miz-"]):focus,
button:not([class*="miz-"]):hover,
[type="button"]:not([class*="miz-"]):focus,
[type="button"]:not([class*="miz-"]):hover,
[type="submit"]:not([class*="miz-"]):focus,
[type="submit"]:not([class*="miz-"]):hover {
  background-color: var(--miz-brand-blue, #146ef6);
  color: #fff;
}

/* Explicit override if any stylesheet still emits Elementor magenta */
a[style*="#c36"],
a[style*="#C36"],
a[style*="#cc3366"],
a[style*="#CC3366"] {
  color: #146ef6 !important;
}

.elementor a:not(.elementor-button):not(.miz-sol__btn):not(.miz-mega__entry):focus,
.elementor a:not(.elementor-button):not(.miz-sol__btn):not(.miz-mega__entry):focus-visible {
  outline-color: #146ef6;
}

::selection {
  background-color: rgba(20, 110, 246, 0.35);
  color: #fff;
}

::-moz-selection {
  background-color: rgba(20, 110, 246, 0.35);
  color: #fff;
}

:focus-visible {
  outline-color: #146ef6;
}

.elementor-widget-text-editor a,
.elementor-widget-icon-list a,
.elementor-heading-title a {
  color: inherit;
}

.elementor-widget-text-editor a:hover,
.elementor-widget-icon-list a:hover,
.elementor-heading-title a:hover {
  color: #7eb8ff;
}
