/* VR Next 0.5.12 – controlled Navy/Blue compatibility for legacy Elementor HTML.
   All palette values resolve from MASTER-published --vr-fe-* variables (with defaults).
   Exact allowlisted pages only. Never touches MASTER admin, home V1.5, ticker or
   network-provider badges. Existing embedded HTML / affiliate links remain intact. */
body.vrfe-studio-active.page .site-header {
  display:block!important; visibility:visible!important; opacity:1!important;
  position:sticky!important;top:0!important;z-index:10000!important;
  background:#fff!important;border-bottom:1px solid var(--vr-fe-border,#DCE4EE)!important;
}
body.vrfe-studio-active.page .site-header .head-inner{
  display:flex!important;box-sizing:border-box!important;max-width:1560px!important;
  margin:auto!important;min-height:55px!important;align-items:center!important;
}
body.vrfe-studio-active.page .site-header:not(.vrfe-header-compact) .site-nav{display:flex!important;min-width:0}
body.vrfe-studio-active.page .site-header .nav-btn{font-size:12px!important;font-weight:600!important;color:#445774!important}
body.vrfe-studio-active.page .site-header .nav-btn:hover{color:var(--vr-fe-cta-hover,#1D4ED8)!important}
body.vrfe-studio-active.page .vrx-site-layout,body.vrfe-studio-active.page .vrx-main-column{
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.vrfe-studio-active.page .vrfe-managed-page__content{overflow-wrap:anywhere;min-width:0;max-width:100%;}
/* Exact roots of Elementor HTML widgets found in the supplied WP export. */
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12) {
  --vr-green:var(--vr-fe-cta,#2563EB)!important;--vr-green-dark:var(--vr-fe-navy,#1B2A44)!important;
  --vr-green-soft:#EDF3FF!important;--vr-green-light:#EDF3FF!important;
  --vr-orange:var(--vr-fe-accent,#7294F8)!important;--vr-orange-soft:var(--vr-fe-bg,#F4F7FB)!important;
  --vr-orange-light:var(--vr-fe-bg,#F4F7FB)!important;--vr-text:var(--vr-fe-text,#182437)!important;
  --vr-muted:var(--vr-fe-muted,#53627A)!important;--vr-line:var(--vr-fe-border,#DCE4EE)!important;
  --vr-border:var(--vr-fe-border,#DCE4EE)!important;--vr-primary:var(--vr-fe-cta,#2563EB)!important;
  --vr-blue:var(--vr-fe-cta,#2563EB)!important;--vr-navy:var(--vr-fe-navy,#1B2A44)!important;
  --vr-ink:var(--vr-fe-text,#182437)!important;--vr-dark:var(--vr-fe-brand,#101828)!important;
  --vr-accent:var(--vr-fe-cta,#2563EB)!important;--vr-card:#FFFFFF!important;
  --vr-light:var(--vr-fe-bg,#F4F7FB)!important;--primary-color:var(--vr-fe-cta,#2563EB)!important;
  --secondary-color:var(--vr-fe-navy,#1B2A44)!important;--accent-color:var(--vr-fe-cta,#2563EB)!important;
  color:var(--vr-fe-text,#182437)!important;background:#fff!important;border-color:var(--vr-fe-border,#DCE4EE)!important;
  font-family:'Source Sans 3','Segoe UI',Arial,sans-serif!important;
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(h1,h2,h3,h4,.vr-card-title,.vr-section-heading,.vr-section-title,.vr-info strong,.vr-keyfact strong,.vr-recommendation-title){
 color:var(--vr-fe-navy,#1B2A44)!important;-webkit-text-fill-color:var(--vr-fe-navy,#1B2A44)!important;
}
/* White text is intentionally retained only in dark hero sections. */
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(.vr-hero,.vr-hero-content,.vr-gas-hero,.vr-pv-hero,.vr-hub-hero){
 background:linear-gradient(125deg,var(--vr-fe-brand,#101828),var(--vr-fe-navy,#1B2A44) 68%,var(--vr-fe-cta,#2563EB))!important;
 border-radius:15px!important;
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(.vr-hero,.vr-hero-content,.vr-gas-hero,.vr-pv-hero,.vr-hub-hero) :is(h1,h2,h3,p,span,strong,small){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(.vr-button-primary,.vr-btn-primary,.vr-card-button,.vr-hub-card-button,.vr-energy-card-button,.vr-primary-btn,.vr-cta,.vr-tab.is-active,.vr-active-chip){
 background:var(--vr-fe-cta,#2563EB)!important;border-color:var(--vr-fe-cta,#2563EB)!important;color:#fff!important;
 -webkit-text-fill-color:#fff!important;border-radius:10px!important;
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(.vr-button-secondary,.vr-btn-secondary,.vr-secondary-btn){
 background:#fff!important;border:1px solid #CAD8ED!important;
 color:var(--vr-fe-navy,#1B2A44)!important;-webkit-text-fill-color:var(--vr-fe-navy,#1B2A44)!important;
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(.vr-card,.vr-hub-card,.vr-info,.vr-keyfact,.vr-recommendation,.vr-criteria,.vr-network-card,.vr-faq-item){
 border-color:var(--vr-fe-border,#DCE4EE)!important;box-shadow:0 6px 20px rgba(16,24,40,.045);
}
body.vrfe-studio-active .vrfe-managed-page__content :is(
 #vr-comparison-hub-v15,#vr-pv-v16,#vr-giro-comparison-v13,#vr-mobile-hub-v14,
 #vr-allnet-comparison-v19,#vr-prepaid-comparison-v10,#vr-bundle-comparison-v11,#vr-gas-comparison-v12)
 :is(.vr-highlight,.vr-disclosure,.vr-keyfacts,.vr-info-box,.vr-note,.vr-bonus){border-left-color:var(--vr-fe-cta,#2563EB)!important;}
/* The original external provider iframe is not recolored: cross-origin iframe styling is inaccessible. */
body.vrfe-studio-active .vrfe-managed-page__content :is(iframe,img,video){max-width:100%!important;}
body.vrfe-studio-active .vrfe-managed-page__content :is(.vr-recommendation-grid,.vr-info-grid,.vr-hub-grid){min-width:0;max-width:100%;}
/* MASTER Handy-Deals and S24 remain the data providers; ONLY local colors/layout adapt. */
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison{
 --vr-green:var(--vr-fe-cta,#2563EB)!important;--vr-dark-green:var(--vr-fe-navy,#1B2A44)!important;--vr-text:var(--vr-fe-text,#182437)!important;
 --vr-muted:var(--vr-fe-muted,#53627A)!important;--vr-border:var(--vr-fe-border,#DCE4EE)!important;min-width:0;max-width:100%;
}
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison :is(.vr-btn,.vr-mobile-primary,.vr-apply-btn){background:var(--vr-fe-cta,#2563EB)!important;border-color:var(--vr-fe-cta,#2563EB)!important;color:#fff!important;}
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison :is(.vr-title,.vr-compare-head h2){color:var(--vr-fe-navy,#1B2A44)!important;}
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison .vr-filter-bar{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;}
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison .vr-filter-bar>label,
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison .vr-filter-bar>label.vr-filter-wide{grid-column:span 1!important;min-width:0!important;max-width:100%;}
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison .vr-filter-bar select{width:100%!important;min-width:0!important;max-width:100%!important;}
body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison .vr-filter-bar label span{white-space:normal!important;overflow-wrap:anywhere!important;}
body.vrfe-studio-active .vrfe-shop-page{min-width:0;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-managed-page__content{padding:22px;max-width:100%;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-hero{margin:0 0 15px;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-hero-image{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-title{font:800 clamp(22px,2vw,32px)/1.24 'Source Sans 3','Segoe UI',Arial,sans-serif;color:var(--vr-fe-brand,#101828);margin:16px 0;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-intro{font:400 15px/1.65 'Source Sans 3','Segoe UI',Arial,sans-serif;color:#42536C;margin:0 0 22px;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-intro p{margin:0 0 12px;}
body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-comparison{min-width:0;width:100%;max-width:100%;overflow-wrap:anywhere;margin:18px 0;}
body.vrfe-studio-active .vrfe-shop-page .vr-s24-live{min-width:0;max-width:100%;width:100%;}
body.vrfe-studio-active .vrfe-shop-page .vr-s24-live-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;gap:15px!important;}
body.vrfe-studio-active .vrfe-shop-page .vr-s24-card{max-width:100%;min-width:0;border:1px solid var(--vr-fe-border,#DCE4EE);border-radius:15px;overflow:hidden;background:#fff;}
body.vrfe-studio-active .vrfe-shop-page .vr-s24-title{color:var(--vr-fe-navy,#1B2A44)!important;overflow-wrap:anywhere;}
body.vrfe-studio-active .vrfe-shop-page :is(.vr-s24-btn,.vr-s24-apply-btn){background:var(--vr-fe-cta,#2563EB)!important;border-color:var(--vr-fe-cta,#2563EB)!important;color:#fff!important;}
body.vrfe-studio-active .vrfe-shop-page .vr-s24-filter :is(select,input){border:1px solid var(--vr-fe-border,#DCE4EE)!important;color:var(--vr-fe-text,#182437)!important;max-width:100%;}
body.vrfe-studio-active .vrfe-shop-page .vr-s24-price{color:var(--vr-fe-text,#182437)!important;}
/* HTML5/image advert replacement. Never alters the surrounding disclosure label. */
body.vrfe-studio-active .vrfe-managed-page__content .vrmc-landing-ad{width:100%;max-width:100%;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;}
body.vrfe-studio-active .vrfe-managed-page__content .vrmc-landing-ad a{max-width:100%;display:block;}
body.vrfe-studio-active .vrfe-managed-page__content .vrmc-landing-ad img{display:block;max-width:100%;height:auto;border-radius:9px;}
body.vrfe-studio-active .vrfe-managed-page__content .vrmc-landing-ad iframe{max-width:100%;height:250px;min-height:250px;border:0;border-radius:9px;}
@container vrfe-main (max-width:850px){
 body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison.vr-layout-list .vr-content{display:block!important;}
 body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison.vr-layout-list .vr-prices{border-left:0!important;border-top:1px solid var(--vr-fe-border,#DCE4EE)!important;margin-top:12px!important;padding:12px 0 0!important;}
}
@container vrfe-main (max-width:550px){
 body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison.vr-layout-list .vr-card{display:flex!important;flex-direction:column!important;}
 body.vrfe-studio-active .vrfe-shop-page .vr-master-comparison.vr-layout-list .vr-content{padding:15px!important;}
}
@media(max-width:700px){
 body.vrfe-studio-active.page .site-header.vrfe-header-compact .site-nav{display:none!important;}
 body.vrfe-studio-active.page .site-header.vrfe-header-compact .site-nav.is-open{display:flex!important;}
 body.vrfe-studio-active .vrfe-shop-page .vrfe-managed-page__content{padding:14px;}
 body.vrfe-studio-active .vrfe-shop-page .vrfe-shop-comparison :is(select,input,button){max-width:100%;min-width:0;}
}
