/* VR Next 0.5.13 – single authoritative Navy palette for LEGACY embedded Elementor
 * comparison-page styles. Does not recolor logos, networks, product media or ads.
 * Most inline HTML widgets are converted in-memory by studio-legacy-palette.php.
 */
body.vrfe-studio-active .vrfe-managed-page__content [id^="vr-"] {
  --vr-green:var(--vr-fe-cta,#2563EB)!important;
  --vr-green-dark:var(--vr-fe-navy,#1B2A44)!important;
  --vr-green-soft:var(--vr-fe-page,#F4F7FB)!important;
  --vr-green-light:var(--vr-fe-page,#F4F7FB)!important;
  --vr-orange:var(--vr-fe-cta,#2563EB)!important;
  --vr-orange-soft:#EEF4FF!important;
  --vr-orange-light:#EEF4FF!important;
  --vr-text:var(--vr-fe-ink,#182437)!important;
  --vr-muted:var(--vr-fe-muted,#53627A)!important;
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-mobile-hub-v14,#vr-pv-v16,#vr-comparison-hub-v15,
 #vr-gas-comparison-v12,#vr-gas-shell-v12,#vr-giro-shell-v13,
 #vr-allnet-shell-v19,#vr-bundle-shell-v11,#vr-prepaid-shell-v10,
 #vr-dsl-shell-v12,#vr-strom-shell-v12
) .vr-hero {
  background:linear-gradient(125deg,var(--vr-fe-brand,#101828),var(--vr-fe-navy,#1B2A44) 58%,var(--vr-fe-cta,#2563EB))!important;
  color:#fff!important;
}
/* Keep white copy inside dark heroes while normal links in content use blue. */
body.vrfe-studio-active .vrfe-managed-page__content [id^="vr-"] .vr-hero :is(h1,h2,h3,h4,p,span,strong){color:inherit}
body.vrfe-studio-active .vrfe-managed-page__content [id^="vr-"] :is(a:not(.vr-net-badge),.vr-btn,.vr-cta){text-underline-offset:3px}
body.vrfe-studio-active .vrfe-managed-page__content :is(.vr-pv-offer,.vr-comparison-widget,.vr-mobile-hub,.vr-giro-compare) {min-width:0;max-width:100%}
@media(max-width:700px){
 body.vrfe-studio-active .vrfe-managed-page__content [id^="vr-"]{max-width:100%;min-width:0;overflow-wrap:anywhere}
 body.vrfe-studio-active .vrfe-managed-page__content [id^="vr-"] :is(h1,h2,h3,p,a){overflow-wrap:anywhere}
}

/* The official Handy-Deals plugin still defines a green theme variable. Override
   its presentation within themed center content, never the plugin's data/logic. */
body.vrfe-studio-active .vrfe-managed-page__content .vr-master-comparison,
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison {
  --vr-green:var(--vr-fe-cta,#2563EB)!important;
  --vr-orange:var(--vr-fe-cta,#2563EB)!important;
}
body.vrfe-studio-active .vrfe-managed-page__content .vr-deal-status-active,
body.vrfe-studio-active .vrfe-shop-page .vr-deal-status-active {
  background:#EEF4FF!important;
  border-color:#B4C9F4!important;
  color:var(--vr-fe-navy,#1B2A44)!important;
}
