/* Ravens Join & Gallery Polish 1.0.0
 * All rules are scoped to the two pages; no global overrides or form replacement. */
body.rjg-join-page,body.rjg-gallery-page{--rjg-dark:#0b2d23;--rjg-deep:#071e19;--rjg-green:#386f48;--rjg-gold:#f6ed3c;--rjg-paper:#f6f8f4;--rjg-ink:#132f28;--rjg-violet:#4a49b8;}
/* --------------- Join Ravens form --------------- */
body.rjg-join-page .rjg-join-form{
 width:min(100%,1120px)!important;margin:0 auto!important;
 padding:clamp(24px,4.7vw,56px)!important;box-sizing:border-box!important;
 border:1px solid #d7e4db!important;border-top:6px solid var(--rjg-gold)!important;
 border-radius:19px!important;background:#fff!important;
 background-image:none!important;color:var(--rjg-ink)!important;
 box-shadow:0 20px 52px rgba(7,30,25,.12)!important;
 font-family:inherit;line-height:1.5;
}
body.rjg-join-page .rjg-join-form *,body.rjg-join-page .rjg-join-form *::before,body.rjg-join-page .rjg-join-form *::after{box-sizing:border-box}
body.rjg-join-page .rjg-join-form :is(h2,h3,h4,.elementor-heading-title){color:var(--rjg-ink)!important;-webkit-text-fill-color:var(--rjg-ink)!important}
body.rjg-join-page .rjg-join-form :is(p,small,legend,.description,.hint){color:#4a665b!important;-webkit-text-fill-color:#4a665b!important}
body.rjg-join-page .rjg-join-form .rjg-form-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:20px 23px!important;align-items:start!important;
}
body.rjg-join-page .rjg-join-form.rjg-form-grid{row-gap:22px!important}
body.rjg-join-page .rjg-join-form .rjg-field-group{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;margin:0!important;padding:0!important}
body.rjg-join-page .rjg-join-form .rjg-field-group.rjg-field--wide{grid-column:1/-1!important}
body.rjg-join-page .rjg-join-form .rjg-field-group > label,
body.rjg-join-page .rjg-join-form label:not(.rjg-field-group){font-size:13px!important;font-weight:700!important;line-height:1.45!important;color:#173c30!important;-webkit-text-fill-color:#173c30!important;letter-spacing:.01em!important}
body.rjg-join-page .rjg-join-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:53px!important;padding:13px 16px!important;margin:0!important;
 background:#f6f9f7!important;background-image:none!important;
 border:1px solid #cbd9d1!important;border-radius:10px!important;
 box-shadow:none!important;color:var(--rjg-ink)!important;
 -webkit-text-fill-color:var(--rjg-ink)!important;font:inherit!important;font-size:15px!important;
}
body.rjg-join-page .rjg-join-form textarea{min-height:140px!important;resize:vertical!important}
body.rjg-join-page .rjg-join-form :is(input,textarea)::placeholder{color:#677d72!important;opacity:1!important;-webkit-text-fill-color:#677d72!important}
body.rjg-join-page .rjg-join-form :is(input,select,textarea):focus-visible{outline:3px solid rgba(74,73,184,.22)!important;outline-offset:2px!important;border-color:#46884f!important;background:#fff!important}
body.rjg-join-page .rjg-join-form :is(input[type=checkbox],input[type=radio]){width:17px!important;height:17px!important;min-height:0!important;flex:none!important;accent-color:#386f48!important}
body.rjg-join-page .rjg-join-form :is(label,.rjg-field-group):has(input[type=checkbox]){color:#254638!important;-webkit-text-fill-color:#254638!important}
body.rjg-join-page .rjg-join-form :is(.rjg-consent,.consent-field,.form-consent){display:flex!important;align-items:flex-start!important;gap:11px!important;grid-column:1/-1!important}
body.rjg-join-page .rjg-join-form :is(button[type=submit],input[type=submit]){
 min-height:54px!important;max-width:100%!important;padding:15px 30px!important;
 border:0!important;border-radius:9px!important;background:var(--rjg-gold)!important;
 color:var(--rjg-deep)!important;-webkit-text-fill-color:var(--rjg-deep)!important;
 font-size:13px!important;font-weight:800!important;letter-spacing:.07em!important;
 text-transform:uppercase!important;cursor:pointer!important;
 box-shadow:0 9px 24px rgba(7,30,25,.14)!important;
}
body.rjg-join-page .rjg-join-form :is(button[type=submit],input[type=submit]):hover{background:#e9df24!important;transform:translateY(-1px)}
body.rjg-join-page .rjg-join-form :is(button,input,select,textarea):focus-visible{outline-offset:3px!important}
body.rjg-join-page .rjg-join-form :is(.error,.notice-error,[role=alert]){color:#8d1925!important;-webkit-text-fill-color:#8d1925!important}
body.rjg-join-page .rjg-join-form :is(.success,.notice-success,[role=status]){color:#155936!important;-webkit-text-fill-color:#155936!important}

/* Treat consent and the submit action as independent rows even if the old
   theme renders them inline after the field grid. */
body.rjg-join-page .rjg-join-form label:has(input[type=checkbox]){
 display:flex!important;align-items:flex-start!important;gap:10px!important;
 margin:23px 0 18px!important;max-width:100%;line-height:1.6!important;
}
body.rjg-join-page .rjg-join-form :is(button[type=submit],input[type=submit]){display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:3px 0 10px!important;vertical-align:top!important}
body.rjg-join-page .rjg-join-form > p:last-child{margin:10px 0 0!important;clear:both!important;font-size:13px!important}

/* Keep a pale canvas behind the form even when old Elementor text colours are forced dark. */
body.rjg-join-page .rjg-join-form :is(.elementor-field,.elementor-field-label){color:var(--rjg-ink)!important}
/* --------------- Gallery introduction and masonry grid --------------- */
body.rjg-gallery-page .rjg-gallery-hero{
 position:relative;isolation:isolate;min-height:clamp(310px,35vw,510px);
 display:flex;align-items:center;overflow:hidden;
 padding:clamp(48px,7vw,100px) clamp(22px,7vw,100px)!important;
 margin:0 auto clamp(28px,4vw,56px)!important;max-width:100%;border-radius:0 0 20px 20px;
 background:#0b2d23;box-sizing:border-box;
}
body.rjg-gallery-page .rjg-gallery-hero::before{
 content:"";position:absolute;inset:0;z-index:-1;
 background-image:linear-gradient(94deg,rgba(4,24,20,.94) 0%,rgba(4,24,20,.82) 45%,rgba(4,24,20,.3) 100%),var(--rjg-hero-photo,url("gallery-hero.jpg"));
 background-size:cover;background-position:center;filter:none;
}
body.rjg-gallery-page .rjg-gallery-hero__inner{width:min(100%,1030px);margin:0 auto;}
body.rjg-gallery-page .rjg-gallery-hero__eyebrow{display:inline-flex;align-items:center;gap:13px;margin:0 0 19px;color:var(--rjg-gold)!important;font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase}
body.rjg-gallery-page .rjg-gallery-hero__eyebrow::before{content:"";display:block;width:34px;height:2px;background:var(--rjg-gold)}
body.rjg-gallery-page .rjg-gallery-hero h1{margin:0 0 18px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(39px,6.8vw,94px)!important;font-weight:850!important;line-height:1.04!important;letter-spacing:-.045em!important;max-width:840px}
body.rjg-gallery-page .rjg-gallery-hero p{max-width:560px;margin:0!important;color:#e2ebe6!important;-webkit-text-fill-color:#e2ebe6!important;font-size:clamp(16px,1.5vw,20px)!important;line-height:1.65!important}
body.rjg-gallery-page .rjg-original-intro-hidden,body.rjg-gallery-page .rjg-old-starter[hidden]{display:none!important}
body.rjg-gallery-page .rjg-gallery-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:16px!important;align-items:stretch!important;
}
body.rjg-gallery-page .rjg-gallery-grid > :not([hidden]):not([style*="display: none"]){min-width:0!important;box-sizing:border-box!important}
body.rjg-gallery-page .rjg-gallery-grid > :is(a,article,figure,div,li):not([hidden]):not([style*="display: none"]){aspect-ratio:4/3;overflow:hidden!important;border-radius:12px!important;background:#e7efea!important;position:relative}
body.rjg-gallery-page .rjg-gallery-grid > :is(a,article,figure,div,li) img{width:100%!important;height:100%!important;max-height:none!important;display:block!important;object-fit:cover!important;object-position:center!important;transition:transform .35s ease}
body.rjg-gallery-page .rjg-gallery-grid > :is(a,article,figure,div,li):hover img{transform:scale(1.035)}
body.rjg-gallery-page .rjg-gallery-grid :is(figcaption,.caption,[class*="caption"]){max-width:100%;}
body.rjg-gallery-page .rjg-gallery-filter{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:10px!important;margin-block:0 30px!important;}
body.rjg-gallery-page .rjg-gallery-filter button{
 width:auto!important;min-height:42px!important;padding:10px 19px!important;
 border-radius:100px!important;border:1px solid #bdd3c4!important;
 background:#fff!important;color:#244836!important;-webkit-text-fill-color:#244836!important;
 font-size:13px!important;font-weight:700!important;cursor:pointer;
}
body.rjg-gallery-page .rjg-gallery-filter button:hover,
body.rjg-gallery-page .rjg-gallery-filter button[aria-pressed=true],
body.rjg-gallery-page .rjg-gallery-filter button.is-active,
body.rjg-gallery-page .rjg-gallery-filter button.active{background:#0b2d23!important;border-color:#0b2d23!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.rjg-gallery-page .rjg-gallery-hero + :is(section,.elementor-section,.e-con){margin-top:0!important}
body.rjg-gallery-page .rjg-gallery-grid img[loading=lazy]{content-visibility:auto}
@media(max-width:860px){
 body.rjg-gallery-page .rjg-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.rjg-gallery-page .rjg-gallery-hero{border-radius:0 0 14px 14px}
}
@media(max-width:680px){
 body.rjg-join-page .rjg-join-form{padding:25px 18px!important;border-radius:12px!important}
 body.rjg-join-page .rjg-join-form .rjg-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 body.rjg-join-page .rjg-join-form .rjg-field-group.rjg-field--wide{grid-column:auto!important}
 body.rjg-join-page .rjg-join-form :is(button[type=submit],input[type=submit]){width:100%!important}
 body.rjg-gallery-page .rjg-gallery-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 body.rjg-gallery-page .rjg-gallery-grid > :is(a,article,figure,div,li){aspect-ratio:5/4}
 body.rjg-gallery-page .rjg-gallery-hero{min-height:290px;padding:64px 25px!important}
}
@media(prefers-reduced-motion:reduce){body.rjg-gallery-page .rjg-gallery-grid img{transition:none!important}body.rjg-join-page .rjg-join-form :is(button,input){transition:none!important}}

