/* V22: Override legacy V5 global !important section styling by matching and exceeding specificity. */
html body.page-homepage main#top > section:not(.hero):not(.about-hero):not(.learn-hero),
html body.page-discover.page-discover-v5 main > section:not(.hero):not(.about-hero):not(.learn-hero){
  background:#F7F5EF !important; background-image:none !important; color:#263B3A !important;
}
html body.page-homepage main#top > section.media-strip:not(.hero):not(.about-hero):not(.learn-hero),
html body.page-homepage main#top > section.brent:not(.hero):not(.about-hero):not(.learn-hero),
html body.page-homepage main#top > section.pathways:not(.hero):not(.about-hero):not(.learn-hero),
html body.page-discover.page-discover-v5 main > section.v17-language:not(.hero):not(.about-hero):not(.learn-hero),
html body.page-discover.page-discover-v5 main > section.v17-sample:not(.hero):not(.about-hero):not(.learn-hero){
  background:#E7E4DD !important; background-image:none !important; color:#263B3A !important;
}
html body.page-discover.page-discover-v5 main > section.journey-pains:not(.hero):not(.about-hero):not(.learn-hero){
  background:#E6C8B1 !important;background-image:none !important;color:#263B3A!important;
}
/* The legacy V5 rule targets sections specifically; ensure text cannot inherit its pale ink. */
html body.page-homepage main#top > section:not(.hero) :is(.reveal-title h2,.reveal-title p,.reveal-kicker,.reveal-v17-foot p),
html body.page-discover.page-discover-v5 main > section:not(.hero) :is(h2,h3,.section-title,.section-lead){color:#263B3A!important;opacity:1!important}
html body.page-homepage main#top > section.media-strip .media-strip-inner,
html body.page-homepage main#top > section.media-strip .media-window{background:#E7E4DD!important;color:#263B3A!important}
html body.page-homepage main#top > section.reveal .revealitem,
html body.page-homepage main#top > section.reveal .revealgrid-v17 .revealitem{color:#263B3A!important;background:#E7E4DD!important;background-image:none!important}
html body.page-homepage main#top > section.reveal .revealitem:nth-child(2){background:#E6C8B1!important}
html body.page-homepage main#top > section.reveal .revealitem::before{display:none!important}
html body.page-homepage main#top > section.reveal .revealitem :is(h3,p,.number){color:#263B3A!important}
