/**
 * template-base.css
 * Global color overrides for custom page templates on MyAnnuityStore.com
 * Fixes WordPress default red links & buttons when Elementor CSS isn't loaded.
 */

/* ── Links ── */
a,
a:link,
a:visited {
  color: #0157ff;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #0044cc;
  text-decoration: underline;
}

/* ── WordPress core button overrides ── */
.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button:not(.no-override) {
  background-color: #0157ff !important;
  border-color: #0157ff !important;
  color: #ffffff !important;
}
.wp-block-button__link:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button:not(.no-override):hover {
  background-color: #0044cc !important;
  border-color: #0044cc !important;
}

/* ── Hello Elementor / WordPress core red fallbacks ── */
:root {
  --wp--preset--color--vivid-red: #0157ff;
  --wp--preset--color--luminous-vivid-orange: #0157ff;
  --e-global-color-primary: #0157ff;
  --e-global-color-accent: #0157ff;
}

/* ── Admin bar fix — keep it from pushing layout ── */
html { margin-top: 0 !important; }
#wpadminbar { position: fixed !important; }

/* ── Kill Elementor sticky header padding on custom templates ── */
body.apply-page { padding-top: 0 !important; }

