/* First Light 0.5.181: hierarchy-corrected sitewide layout/content coherence pass. */

:root{
  --fls176-pale-pink:#FCE9ED;
  --fls176-pink:#EF8394;
  --fls176-navy:#0B1644;
  --fls176-ink:#243150;
}

/*
 * Solid, text-only interior heroes use the light-pink field. Photo-backed
 * heroes remain separate structures. Older overlay pseudos must not tint the
 * new pink field back toward navy.
 */
body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero > .fl-row-content-wrap{
  border-bottom:1px solid rgba(11,22,68,.10)!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero > .fl-row-content-wrap::before,
body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero > .fl-row-content-wrap::after{
  background-color:transparent!important;
  background-image:none!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero-module :is(.fls-stack-heading,h1){
  color:var(--fls-heading-color,var(--fls176-navy))!important;
  text-shadow:none!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero-module :is(.fls-stack-copy,.fls-stack-copy p){
  color:var(--fls-body-color,var(--fls176-ink))!important;
  text-shadow:none!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero-module .fls-stack-kicker{
  color:var(--fls-kicker-color,var(--fls176-navy))!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero.fls-reference-interior
  .fls-ref-simple-hero-module :is(.fls-stack-action-secondary,.fl-button-secondary){
  border-color:var(--fls-secondary-border-color,var(--fls176-navy))!important;
  color:var(--fls-secondary-color,var(--fls176-navy))!important;
}

/* Learn/news templates use a separate solid hero implementation. */
body.fls-layout-coherence-05176.fls-layout-pink-hero :is(.fls-news-hero,.fls-news-single-header){
  background:var(--fls176-pale-pink)!important;
  background-image:none!important;
  border-bottom:1px solid rgba(11,22,68,.10)!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero :is(.fls-news-hero,.fls-news-single-header)::before,
body.fls-layout-coherence-05176.fls-layout-pink-hero :is(.fls-news-hero,.fls-news-single-header)::after{
  background-color:transparent!important;
  background-image:none!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero
  :is(.fls-news-hero,.fls-news-single-header)
  :is(h1,h2,h3,p,.fls-v0583-news-hero-copy,.fls-news-single-shell,.fls-news-meta,.fls-news-kicker){
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

/*
 * The final content surface before the theme footer gets the same light-pink
 * field. Beaver rows retain their internal layouts; non-Beaver Learn/news
 * templates receive the equivalent treatment on their final visible section.
 */
/* Beaver Builder rows own their background settings. The final-row marker is
 * retained for layout analysis only and never paints a Beaver row. */

body.fls-layout-coherence-05176
  .fls-layout-final-surface{
  background-color:var(--fls176-pale-pink)!important;
}

/* Alignment is applied to the CTA wrapper, never to the content itself. */
body.fls-layout-coherence-05176
  :is(.fls-layout-align-center,[data-fls-layout-align="center"]){
  text-align:center!important;
  justify-content:center!important;
}

body.fls-layout-coherence-05176
  :is(.fls-layout-align-left,[data-fls-layout-align="left"]){
  text-align:left!important;
  justify-content:flex-start!important;
}

body.fls-layout-coherence-05176
  :is(.fls-layout-align-right,[data-fls-layout-align="right"]){
  text-align:right!important;
  justify-content:flex-end!important;
}

/* Do not let mobile full-width CTA buttons lose the content alignment rule. */
@media(max-width:600px){
  body.fls-layout-coherence-05176
    :is(.fls-layout-align-center,[data-fls-layout-align="center"]) > :is(a,button){
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* Exact contrast normalization for the light-pink Learn/news surfaces. */
body.fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-hero :is(.fls-news-eyebrow,.fls-news-lede,.fls-v0583-featured-news-label){
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

body.fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-single-header
  :is(.fls-news-back,.fls-news-eyebrow,.fls-news-single-meta,.fls-news-single-deck){
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

body.fls-layout-coherence-05176
  .fls-layout-final-surface
  .fls-news-event-facts :is(span,strong){
  color:var(--fls176-navy)!important;
}

body.fls-layout-coherence-05176
  .fls-layout-final-surface
  :is(.fls-news-text-link,.fls-news-button){
  color:var(--fls176-navy)!important;
  border-color:var(--fls176-navy)!important;
}

/* The Explore the Program module was authored for navy and inherited white text. */
body.fls-layout-coherence-05176
  .fls-layout-final-row
  [data-fls-section="explore_the_program"]
  :is(h1,h2,h3,h4,h5,h6,.fls-stack-heading,.fls-stack-subheading,.fls-stack-kicker){
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

body.fls-layout-coherence-05176
  .fls-layout-final-row
  [data-fls-section="explore_the_program"]
  :is(p,li,.fls-stack-copy,.fls-stack-editable){
  color:var(--fls176-ink)!important;
  text-shadow:none!important;
}

/*
 * Final specificity correction.
 * Older global accessibility/style-control rules intentionally used !important
 * for navy heroes. These selectors are more specific and scoped only to the
 * surfaces that 0.5.176+ deliberately changed from navy to light pink.
 */
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-hero .fls-news-eyebrow,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-hero .fls-news-lede,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-hero .fls-v0583-featured-news-label{
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-back,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-eyebrow,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-single-meta,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-single-deck,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-event-facts span,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-event-facts strong,
html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-text-link{
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

html body:not(.wp-admin).fls-layout-coherence-05176.fls-layout-pink-hero
  .fls-news-page .fls-news-single-header .fls-news-button:not(.fls-news-button-primary){
  color:var(--fls176-navy)!important;
  border-color:var(--fls176-navy)!important;
}

html body:not(.wp-admin).fls-layout-coherence-05176.fls-reference-interior
  .fls-layout-final-row
  [data-fls-section="explore_the_program"]
  :is(.fls-stack-kicker-heading,.fls-stack-heading,.fls-stack-subheading){
  color:var(--fls176-navy)!important;
  text-shadow:none!important;
}

html body:not(.wp-admin).fls-layout-coherence-05176.fls-reference-interior
  .fls-layout-final-row
  [data-fls-section="explore_the_program"]
  :is(.fls-stack-copy,.fls-stack-copy p,.fls-stack-editable,.fls-stack-editable p){
  color:var(--fls176-ink)!important;
  text-shadow:none!important;
}
