/* Ravens Crest Colours v1.1.0 — colour-only layer.
   Designed to coexist with Ravens Contact v1.5, Home Contact v1, Homepage Editorial v2,
   Video Showcase v1.1, official branding v1.1, and Elementor. No geometry or DOM changes. */
body.rbc-crest-palette {
 --rbc-forest:#0D2E23;--rbc-forest-deep:#081F18;--rbc-forest-mid:#194734;
 --rbc-crest-green:#46884F;--rbc-violet:#4A49B8;--rbc-crest-yellow:#F6ED3C;
 --rbc-paper:#F6F8F4;--rbc-ink:#17342A;
 --rvh-navy:#0D2E23;--rvh-blue:#194734;--rvh-ink:#17342A;
 --rvh-gold:#F6ED3C;--rvh-cream:#F6F8F4;--rvh-muted:#537168;
 --elementor-color-primary:#0D2E23;
 --elementor-color-secondary:#4A49B8;
 --elementor-color-accent:#46884F;
 accent-color:#46884F;
}
/* Page canvas and readable site links */
body.rbc-crest-palette:not(.home) {background-color:var(--rbc-paper)}
body.rbc-crest-palette :where(.site-main,.entry-content) a:not(.elementor-button):not(.button):not(.btn):not([class*=rvs-]):not([class*=rvh-]):not([class*=rvc5-]):not([class*=rvhc-]):hover{color:var(--rbc-violet)}
body.rbc-crest-palette a:focus-visible,
body.rbc-crest-palette button:focus-visible,
body.rbc-crest-palette input:focus-visible,
body.rbc-crest-palette select:focus-visible,
body.rbc-crest-palette textarea:focus-visible {outline:3px solid var(--rbc-violet);outline-offset:3px}
::selection {background:#4A49B8;color:#fff}
/* Keep the official white logo legible on a rich, dark green header/footer */
body.rbc-crest-palette :is(.site-header,header#masthead,header.site-header,.elementor-location-header){background-color:var(--rbc-forest-deep)!important;border-color:rgba(246,237,60,.23)!important}
body.rbc-crest-palette :is(.site-footer,footer#colophon,footer.site-footer,.elementor-location-footer){background-color:var(--rbc-forest-deep)!important;border-color:rgba(246,237,60,.2)!important}
body.rbc-crest-palette :is(.site-header,header#masthead,.elementor-location-header) :is(.menu-item a,.nav-menu a,.main-navigation a,nav a){color:#fff!important}
body.rbc-crest-palette :is(.site-header,header#masthead,.elementor-location-header) :is(.menu-item a,.nav-menu a,.main-navigation a,nav a):hover,
body.rbc-crest-palette :is(.site-header,header#masthead,.elementor-location-header) :is(.current-menu-item>a,.current_page_item>a){color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette :is(.site-footer,footer#colophon,.elementor-location-footer) a:hover{color:var(--rbc-crest-yellow)!important}
/* Theme / Elementor primary calls to action: high contrast yellow on dark ink */
body.rbc-crest-palette :is(.site-header,.elementor-location-header) :is(.elementor-button,.btn-primary,.button-primary){background:var(--rbc-crest-yellow)!important;border-color:var(--rbc-crest-yellow)!important;color:var(--rbc-forest-deep)!important}
body.rbc-crest-palette .elementor-button:not(.elementor-button-link):hover{border-color:var(--rbc-violet)}
/* Homepage editorial sections */
body.rbc-crest-palette .rvh-feature--join,
body.rbc-crest-palette .rvh-feature--join .rvh-copy {background-color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvh-feature--join .rvh-title {color:#fff!important}
body.rbc-crest-palette .rvh-feature--join .rvh-description{color:#dceae1!important}
body.rbc-crest-palette .rvh-feature--join .rvh-kicker{color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvh-feature:not(.rvh-feature--join) .rvh-title{color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvh-feature:not(.rvh-feature--join) .rvh-kicker{color:#337342!important}
body.rbc-crest-palette .rvh-feature:not(.rvh-feature--join) .rvh-description{color:#465E54!important}
body.rbc-crest-palette .rvh-feature .rvh-rule,
body.rbc-crest-palette .rvh-feature .rvh-photo-caption::before{background:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvh-feature .rvh-photo-caption{color:#fff!important}
body.rbc-crest-palette .rvh-feature--join :is(.rvh-fee-value,.rvh-button-icon){color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvh-feature .rvh-point-tick{background:#dcebdd!important;color:#205d36!important}
body.rbc-crest-palette .rvh-feature .rvh-points li{border-color:#d9e8dc!important;background:#f4f9f4!important;color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvh-feature:not(.rvh-feature--join) .rvh-regatta-link{color:var(--rbc-forest)!important;border-color:#deebde!important}
body.rbc-crest-palette .rvh-regatta-arrow{color:var(--rbc-violet)!important}
body.rbc-crest-palette .rvh-feature .rvh-button {border-color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvh-feature--join .rvh-button{background:var(--rbc-crest-yellow)!important;color:var(--rbc-forest-deep)!important}
body.rbc-crest-palette .rvh-feature--gallery .rvh-button{background:var(--rbc-forest)!important;color:#fff!important;border-color:var(--rbc-forest)!important}
/* Cinematic video area: green/indigo tonal blend, crest accents */
body.rbc-crest-palette .rvs-showcase{
 --rvs-ink:#0D2E23;--rvs-ink-soft:#194734;--rvs-gold:#F6ED3C;--rvs-paper:#F6F8F4;
 background:radial-gradient(ellipse 65% 55% at 95% 0%,rgba(74,73,184,.24),transparent 78%),linear-gradient(145deg,#0D2E23 0%,#081F18 58%,#101D32 100%)!important;
 color:#fff!important;
}
body.rbc-crest-palette .rvs-film-card{background:#112B26!important;border-color:rgba(246,237,60,.18)!important}
body.rbc-crest-palette .rvs-play-btn{background:var(--rbc-crest-yellow)!important;color:var(--rbc-forest-deep)!important}
body.rbc-crest-palette .rvs-view-all{border-color:var(--rbc-crest-yellow)!important;color:#fff!important}
body.rbc-crest-palette .rvs-view-all:hover{background:var(--rbc-crest-yellow)!important;color:var(--rbc-forest-deep)!important}
body.rbc-crest-palette .rvs-section-headings h2{color:#fff!important}
body.rbc-crest-palette .rvs-showcase .rvs-eyebrow,
body.rbc-crest-palette .rvs-film-pretitle,
body.rbc-crest-palette .rvs-view-all span{color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvs-showcase--light{background:var(--rbc-paper)!important;color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvs-showcase--light .rvs-section-headings h2{color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvs-showcase--light .rvs-view-all{color:var(--rbc-forest)!important}
/* Dedicated Contact page (v1.5). Only recolour, never change form placement. */
body.rbc-crest-palette .rvc5-root{--rvc5-navy:#0D2E23;--rvc5-deep:#081F18;--rvc5-gold:#F6ED3C;--rvc5-text:#17342A;--rvc5-muted:#537168}
body.rbc-crest-palette .rvc5-root .rvc5-hero{background-color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvc5-root .rvc5-hero::before{background:linear-gradient(90deg,rgba(8,31,24,.96),rgba(8,31,24,.71) 60%,rgba(8,31,24,.08))!important}
body.rbc-crest-palette .rvc5-root .rvc5-navy{background:var(--rbc-forest)!important;color:#fff!important}
body.rbc-crest-palette .rvc5-root .rvc5-eyebrow,
body.rbc-crest-palette .rvc5-root .rvc5-detail-copy small,
body.rbc-crest-palette .rvc5-root .rvc5-photo-copy .rvc5-eyebrow{color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvc5-root .rvc5-form-title,
body.rbc-crest-palette .rvc5-root .rvc5-side-title:not(.rvc5-hero-title){color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvc5-root .rvc5-navy .rvc5-side-title{color:#fff!important}
body.rbc-crest-palette .rvc5-root .rvc5-form-card{background:#fff!important;border-color:#dce8de!important}
body.rbc-crest-palette .rvc5-root form.rvc5-form .rvc5-input:focus{border-color:var(--rbc-crest-green)!important;box-shadow:0 0 0 3px rgba(70,136,79,.2)!important}
body.rbc-crest-palette .rvc5-root form.rvc5-form button[type=submit],
body.rbc-crest-palette .rvc5-root form.rvc5-form input[type=submit]{background:var(--rbc-forest)!important;border-color:var(--rbc-forest)!important;color:#fff!important}
body.rbc-crest-palette .rvc5-root a.rvc5-action-primary{background:var(--rbc-crest-yellow)!important;border-color:var(--rbc-crest-yellow)!important;color:var(--rbc-forest-deep)!important}
body.rbc-crest-palette .rvc5-root .rvc5-detail-icon{background:rgba(246,237,60,.12)!important;color:var(--rbc-crest-yellow)!important}
/* Homepage contact plugin (v1.0) */
body.rbc-crest-palette .rvhc-root{--rvhc-ink:#17342A;--rvhc-deep:#081F18;--rvhc-gold:#F6ED3C;--rvhc-muted:#537168;background:var(--rbc-paper)!important;border-color:#dce8de!important}
body.rbc-crest-palette .rvhc-root .rvhc-info{background:var(--rbc-forest)!important;color:#fff!important}
body.rbc-crest-palette .rvhc-root .rvhc-info a{color:#fff!important}
body.rbc-crest-palette .rvhc-root .rvhc-form-pane{background:#fff!important;color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvhc-root .rvhc-form-head h2{color:var(--rbc-forest)!important}
body.rbc-crest-palette .rvhc-root .rvhc-form-head .rvhc-small,
body.rbc-crest-palette .rvhc-root .rvhc-photo-caption span{color:#27753C!important}
body.rbc-crest-palette .rvhc-root .rvhc-info .rvhc-photo-caption span{color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvhc-root .rvhc-detail{border-left-color:var(--rbc-crest-yellow)!important}
body.rbc-crest-palette .rvhc-root form.rvhc-form :is(button[type=submit],input[type=submit]){background:var(--rbc-forest)!important;border-color:var(--rbc-forest)!important;color:#fff!important}
body.rbc-crest-palette .rvhc-root form.rvhc-form .rvhc-input:focus{border-color:var(--rbc-crest-green)!important;box-shadow:0 0 0 3px rgba(70,136,79,.2)!important}
/* Respect reduced motion; nothing here animates layout or replaces images. */


/* v1.1.0 — original theme + Elementor colour compatibility.
   Fixes the oversized lime / near-black hero heading and the old navy
   background layers that background-color alone cannot override.
   These selectors change colour only; never dimensions/placement. */
:root,
body.rbc-crest-palette {
  --rbc-forest:#0D2E23; --rbc-forest-deep:#071D17;
  --rbc-forest-soft:#1B4333; --rbc-crest-green:#46884F;
  --rbc-violet:#4A49B8; --rbc-crest-yellow:#F6ED3C;
  --rbc-paper:#F6F8F4; --rbc-ink:#17342A;
  --navy:#0D2E23; --gold:#F6ED3C; --primary:#0D2E23;
  --color-navy:#0D2E23; --color-gold:#F6ED3C;
  --rbc-navy:#0D2E23; --rbc-gold:#F6ED3C;
}
/* The live header uses a background or gradient, not just background-color. */
body.rbc-crest-palette :is(.rbc-crest-header,.rbc-crest-nav-surface) {
  background:#071D17 !important;
  background-image:linear-gradient(115deg,#071D17 0%,#14382A 100%)!important;
  border-color:rgba(246,237,60,.24)!important;
}
body.rbc-crest-palette :is(.rbc-crest-header,.rbc-crest-nav-surface) :is(a,button){
  --rbc-header-link-color:#fff;
}
body.rbc-crest-palette .rbc-crest-header :is(nav a,.menu a,.menu-item a,.main-navigation a,.nav-menu a),
body.rbc-crest-palette .rbc-crest-nav-surface :is(nav a,.menu a,.menu-item a,.main-navigation a,.nav-menu a){color:#fff!important}
body.rbc-crest-palette .rbc-crest-header :is(.current-menu-item>a,.current_page_item>a,nav a:hover,.menu a:hover),
body.rbc-crest-palette .rbc-crest-nav-surface :is(.current-menu-item>a,.current_page_item>a,nav a:hover,.menu a:hover){color:#F6ED3C!important}
body.rbc-crest-palette .rbc-crest-header :is(.menu-toggle,.mobile-menu-toggle),
body.rbc-crest-palette .rbc-crest-nav-surface :is(.menu-toggle,.mobile-menu-toggle){color:#fff!important}
body.rbc-crest-palette .rbc-crest-header :is(.book-boat,.book-a-boat,.book-now,.header-cta),
body.rbc-crest-palette .rbc-crest-nav-surface :is(.book-boat,.book-a-boat,.book-now,.header-cta){
  border-color:#F6ED3C!important;color:#fff!important;
}
/* Hero text must remain readable even when Elementor saved inline colours. */
body.rbc-crest-palette.home .rbc-crest-hero-title,
body.rbc-crest-palette.home .rbc-crest-hero-title :is(span,strong,em,b,i,small),
body.rbc-crest-palette.home :is(.hero__title,.hero-title,.home-hero h1,.front-hero h1,.site-hero h1){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 2px 28px rgba(0,0,0,.30);
}
body.rbc-crest-palette.home .rbc-crest-hero-title .rbc-crest-hero-highlight{
  color:#F6ED3C!important;
  -webkit-text-fill-color:#F6ED3C!important;
}
body.rbc-crest-palette.home .rbc-crest-hero :is(.eyebrow,.hero-eyebrow,.hero-kicker,.kicker,.suptitle){color:#F6ED3C!important}
/* Dark theme surfaces are forest green throughout instead of slate navy. */
body.rbc-crest-palette :is(.rbc-crest-footer,.rbc-crest-footer-surface){
  background:#071D17!important;background-image:none!important;
  border-color:rgba(246,237,60,.18)!important;color:#fff!important
}
body.rbc-crest-palette :is(.rbc-crest-footer,.rbc-crest-footer-surface) a{color:#eef4ec!important}
body.rbc-crest-palette :is(.rbc-crest-footer,.rbc-crest-footer-surface) a:hover{color:#F6ED3C!important}
body.rbc-crest-palette :is(.site-header,.site-footer,header#masthead,footer#colophon){
  background-image:none!important;
}
/* Legacy theme buttons, navigation accents and Elementor primary CTAs. */
body.rbc-crest-palette :is(.rbc-crest-hero,.site-main,.entry-content) :is(.btn-primary,.button-primary,.button--primary,.cta-primary,.wp-block-button__link){
  background-color:#F6ED3C!important;border-color:#F6ED3C!important;color:#071D17!important;
}
body.rbc-crest-palette :is(.site-main,.entry-content) :is(.button-primary,.btn-primary,.wp-block-button__link):hover{
  background-color:#e3d91b!important;border-color:#e3d91b!important;
}
body.rbc-crest-palette .rbc-crest-hero a:not(.btn):not(.button):not(.elementor-button):hover{color:#F6ED3C!important}
/* Plain original theme content blocks still honour the crest palette. */
body.rbc-crest-palette .rbc-crest-dark-section{background-color:#0D2E23!important;color:#f8fbf7!important}
body.rbc-crest-palette .rbc-crest-dark-section :is(h2,h3){color:#fff!important}
/* Additional v3.3 theme and Gallery widget tokens, if present. */
body.rbc-crest-palette :is(.ravens-page,.ravens-gallery,.ravens-events,.ravens-membership,.ravens-contact,.ravens-hero){
  --rbc-navy:#0D2E23;--rbc-gold:#F6ED3C;--ravens-navy:#0D2E23;--ravens-gold:#F6ED3C;
}
body.rbc-crest-palette .rvs-showcase .rvs-section-headings :is(h2,h3),
body.rbc-crest-palette .rvs-showcase :is(.rvs-featured-title,.rvs-film-name){color:#fff!important}
body.rbc-crest-palette .rvs-showcase .rvs-eyebrow{color:#F6ED3C!important}
/* Never flatten the club logo to green or tint user-supplied photography. */
body.rbc-crest-palette :is(.rbc-crest-header,.rbc-crest-footer) img{filter:none!important}
@media(max-width:767px){
  body.rbc-crest-palette .rbc-crest-header .rbc-crest-nav-surface{background:#071D17!important}
}
