/* Breadcrumbs */

/* gavias_daudo's scss adds 100px top/bottom padding here to make room for
   the hero image behind the absolutely-positioned breadcrumb overlay (see
   the .breadcrumb-links override below). Production's precompiled CSS
   drops that padding entirely for the desktop rule, since removing the
   overlay positioning means it's no longer needed - restored here since
   it predates this repo's Bootstrap 5 rebuild and isn't expressed in the
   scss source.

   This rule and gavias_daudo's compiled template.css rule have identical
   selector specificity, and template.css's <link> loads after this
   subtheme stylesheet's, so without help the base theme's rule would win
   the cascade tie. The leading `body` adds one extra type-selector to
   outrank it (0,0,2,0 vs 0,0,2,0 -> 0,0,2,1) without needing !important -
   `body` always exists as an ancestor, so it doesn't narrow what this
   rule matches. */
body .breadcrumb-content-inner .breadcrumb-content-main {
  padding: unset;
}

/* gavias_daudo's scss (sass/template/_base.scss) sets this to
   `position: absolute; right: 0; bottom: 0;`, overlaying the breadcrumb on
   the hero image's bottom-right corner. Production's precompiled CSS has
   always hardcoded `position: static` instead, letting the breadcrumb flow
   in-document above the page content (left-aligned) rather than overlay
   the image - restored here since it predates this repo's Bootstrap 5
   rebuild and isn't expressed in the scss source.

   Same cascade-tie as above (this was already broken before this
   session's changes - only unnoticed because production's compiled CSS
   didn't actually conflict with it); the leading `body` resolves it via
   specificity instead of !important. */
body .breadcrumb-content-inner .gva-block-breadcrumb .breadcrumb-links {
  position: static;
}

/* The theme's own scss (sass/template/_base.scss) colors both this bare
   <li> (the current, non-linked breadcrumb item) and its links with
   $body-color (a muted gray), but production's precompiled CSS has always
   hardcoded these to the brand teal / dark gray instead. This override
   predates this repo's Bootstrap 5 rebuild and isn't expressed in the scss
   source, so it's restored here.

   Same cascade-tie as above; the leading `body` resolves it via
   specificity instead of !important. */
body .breadcrumb-content-inner .gva-block-breadcrumb .breadcrumb-links nav.breadcrumb ol li {
  color: #00606B;
}

body .breadcrumb-content-inner .gva-block-breadcrumb .breadcrumb-links nav.breadcrumb ol li a {
  color: #434343;
}

/* Also override the hover state to the brand teal, at the same
   `body`-boosted specificity as the link color rule above so it still
   wins over gavias_daudo's own hover rule. */
body .breadcrumb-content-inner .gva-block-breadcrumb .breadcrumb-links nav.breadcrumb ol li a:hover {
  color: #00606B;
}

.gva-parallax-background {
  background: unset !important;
}
