/* Ravens Crest Colours v1.4.0 — photograph banner text contrast.
   This is only for photographic INNER-PAGE banner sections; never for the
   homepage gallery, buttons, forms, navigation, or white content cards. */
body.rbc-crest-palette:not(.home) .rbc-crest-photo-banner {
  --rbc-photo-header-ink: #fff;
  --rbc-photo-header-accent: #f6ed3c;
}
body.rbc-crest-palette:not(.home) .rbc-crest-photo-banner :is(
  h1,h2,h3,h4,h5,h6,.elementor-heading-title,.entry-title,.page-title,
  [class*="hero-title"],[class*="banner-title"],[class*="hero-heading"],
  [class*="banner-heading"]
),
body.rbc-crest-palette:not(.home) .rbc-crest-photo-banner :is(h1,h2,h3,h4,.elementor-heading-title) :is(span,strong,em,b,i) {
  color:var(--rbc-photo-header-ink) !important;
  -webkit-text-fill-color:var(--rbc-photo-header-ink) !important;
  text-shadow:0 2px 14px rgba(0,0,0,.45);
}
body.rbc-crest-palette:not(.home) .rbc-crest-photo-banner :is(
  p,.elementor-text-editor,.elementor-widget-text-editor,
  [class*="hero-subtitle"],[class*="banner-subtitle"],
  [class*="hero-description"],[class*="banner-description"],
  [class*="hero-lead"],[class*="banner-lead"]
),
body.rbc-crest-palette:not(.home) .rbc-crest-photo-banner :is(p,.elementor-text-editor) :is(span,strong,em,b,i) {
  color:#edf5ee !important;
  -webkit-text-fill-color:#edf5ee !important;
  text-shadow:0 1px 8px rgba(0,0,0,.5);
}
body.rbc-crest-palette:not(.home) .rbc-crest-photo-banner :is(
  .eyebrow,.kicker,.overline,.suptitle,.pretitle,
  [class*="hero-kicker"],[class*="hero-eyebrow"],
  [class*="banner-kicker"],[class*="banner-eyebrow"],
  [class*="hero-label"],[class*="banner-label"]
) {
  color:var(--rbc-photo-header-accent) !important;
  -webkit-text-fill-color:var(--rbc-photo-header-accent) !important;
}
/* CSS-only fallback for common theme banner wrappers. JS adds the explicit
   marker above for the real nested Elementor/PHP hero structures. */
body.rbc-crest-palette:not(.home) :is(
  .ravens-page-hero,.ravens-hero,.rbc-page-hero,.rbc33-hero,
  .page-hero,.page-banner,.inner-hero,.inner-banner,
  .hero-banner,.entry-hero,.page-header-hero
) :is(h1,h2,.elementor-heading-title,.hero-title,.page-title) {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
body.rbc-crest-palette:not(.home) :is(
  .ravens-page-hero,.ravens-hero,.rbc-page-hero,.rbc33-hero,
  .page-hero,.page-banner,.inner-hero,.inner-banner,.hero-banner,.entry-hero
) :is(.eyebrow,.kicker,.overline,.suptitle) {
  color:#f6ed3c !important;
  -webkit-text-fill-color:#f6ed3c !important;
}
