/* Variant switching. Shows only the copy that matches each flag in js/config.js
   Elements carry data-receipt, data-calc or data-label with the variant they belong to */

.rv-enhanced [data-receipt="original"],
.rv-original [data-receipt="enhanced"],
.cv-simplified [data-calc="original"],
.cv-original [data-calc="simplified"],
.lv-descriptive [data-label="original"],
.lv-original [data-label="descriptive"] { display: none !important; }

/* Homepage sections (js/config.js sections / finalCta). js/main.js also removes switched-off
   sections from the page; these rules only stop them flashing before the script runs */
html:not(.sec-bothSides) [data-section="bothSides"],
html:not(.sec-creatorShowcase) [data-section="creatorShowcase"],
html:not(.sec-estimator) [data-section="estimator"],
html:not(.sec-ctaDual) [data-section="ctaDual"],
html:not(.sec-bothSides) [data-needs="bothSides"],
html:not(.sec-creatorShowcase) [data-needs="creatorShowcase"],
html:not(.sec-estimator) [data-needs="estimator"],
html:not(.sec-legacyCalculator) [data-needs="legacyCalculator"],
html:not(.sec-legacyAudienceCards) [data-needs="legacyAudienceCards"],
html:not(.sec-legacyPricing) [data-needs="legacyPricing"],
.rcopy-current [data-rcopy="audiences"] { display: none !important; }
