/* Bowe Recruitment: site-wide header / footer (Black & Brass) */
:root{
  --bw-bg:#F5F3EE; --bw-ink:#141210; --bw-ink-2:#1d1a17; --bw-gold:#C6962E; --bw-gold-lt:#D9AE52; --bw-cream:#F5F3EE;
  --bw-muted:#6b6358; --bw-line:rgba(198,150,46,.28);
  --bw-display:'Century Gothic','Futura','Avenir Next','Segoe UI',sans-serif;
  --bw-body:'Segoe UI','Helvetica Neue',Arial,sans-serif;
  --bw-ease:cubic-bezier(.22,.8,.2,1);
}
body.bowe-site{background:var(--bw-bg);color:var(--bw-ink);font-family:var(--bw-body);}

/* ---------- HEADER: solid gold, sticky ---------- */
body.bowe-site #masthead{position:sticky;top:0;z-index:999;background:var(--bw-gold);transition:box-shadow .35s var(--bw-ease);}
body.admin-bar.bowe-site #masthead{top:32px;}
@media (max-width:782px){body.admin-bar.bowe-site #masthead{top:0;}}
body.bowe-site #masthead.is-scrolled{box-shadow:0 10px 30px -12px rgba(20,18,16,.45);}
body.bowe-site #masthead .main-header-bar,
body.bowe-site #masthead .ast-primary-header-bar,
body.bowe-site #masthead .ast-above-header-bar,
body.bowe-site #masthead .ast-below-header-bar,
body.bowe-site #masthead .ast-mobile-header-wrap .ast-primary-header-bar,
body.bowe-site .ast-theme-transparent-header #masthead .main-header-bar{background:var(--bw-gold) !important;border-bottom:0 !important;}
body.bowe-site #masthead .main-header-bar{transition:min-height .35s var(--bw-ease),padding .35s var(--bw-ease);}
body.bowe-site #masthead::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(20,18,16,.35),transparent);}
body.bowe-site #masthead .site-title,body.bowe-site #masthead .site-description{display:none;}
body.bowe-site #masthead .custom-logo-link img{transition:transform .35s var(--bw-ease),max-width .35s var(--bw-ease);}
body.bowe-site #masthead .custom-logo-link:hover img{transform:scale(1.03);}

/* Nav links: ink text; on hover an ink chip slides in and text turns gold */
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link{
  position:relative;color:var(--bw-ink) !important;font-family:var(--bw-display);font-weight:700;
  font-size:13px;letter-spacing:.16em;text-transform:uppercase;padding:0 18px !important;line-height:40px;height:40px;
  border-radius:999px;margin:0 2px;isolation:isolate;overflow:hidden;background:transparent !important;
  transition:color .3s var(--bw-ease);
}
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link::before{
  content:"";position:absolute;inset:0;z-index:-1;background:var(--bw-ink);border-radius:inherit;
  transform:scaleX(0);transform-origin:left;transition:transform .35s var(--bw-ease);
}
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link:hover,
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link:focus-visible{color:var(--bw-gold) !important;}
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link:hover::before,
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link:focus-visible::before{transform:scaleX(1);}
body.bowe-site #masthead .main-header-menu > .current-menu-item > .menu-link::after{
  content:"";position:absolute;left:18px;right:18px;bottom:7px;height:2px;background:var(--bw-ink);transition:opacity .3s;
}
body.bowe-site #masthead .main-header-menu > .current-menu-item > .menu-link:hover::after{opacity:0;}
body.bowe-site #masthead .main-header-menu .sub-menu{background:var(--bw-ink);border:0;border-top:2px solid var(--bw-gold);}
body.bowe-site #masthead .main-header-menu .sub-menu .menu-link{color:var(--bw-cream) !important;}
body.bowe-site #masthead .main-header-menu .sub-menu .menu-link:hover{color:var(--bw-gold) !important;background:transparent;}

/* Header buttons (if any) */
body.bowe-site #masthead .ast-builder-button-wrap .ast-custom-button{background:var(--bw-ink) !important;color:var(--bw-gold) !important;border-radius:999px;border:0;}

/* Mobile */
body.bowe-site #masthead .menu-toggle,body.bowe-site #masthead .ast-mobile-menu-trigger-minimal{color:var(--bw-ink) !important;background:transparent !important;border-color:var(--bw-ink) !important;}
body.bowe-site #masthead .menu-toggle .ast-mobile-svg{fill:var(--bw-ink) !important;}
body.bowe-site .ast-mobile-header-content,body.bowe-site #ast-mobile-popup .ast-mobile-popup-inner,
body.bowe-site #masthead .ast-mobile-header-content .main-header-menu{background:var(--bw-ink) !important;}
body.bowe-site .ast-mobile-header-content .menu-link,body.bowe-site #ast-mobile-popup .menu-link{color:var(--bw-cream) !important;border-color:rgba(198,150,46,.2) !important;font-family:var(--bw-display);letter-spacing:.14em;text-transform:uppercase;font-size:14px;}
body.bowe-site .ast-mobile-header-content .menu-link:hover,body.bowe-site #ast-mobile-popup .menu-link:hover{color:var(--bw-gold) !important;background:transparent !important;}

/* ---------- FOOTER: dark ---------- */
body.bowe-site .site-footer,
body.bowe-site .site-footer .site-above-footer-wrap,
body.bowe-site .site-footer .site-primary-footer-wrap,
body.bowe-site .site-footer .site-below-footer-wrap{background:var(--bw-ink) !important;color:rgba(245,243,238,.7);border-color:rgba(198,150,46,.18) !important;}
body.bowe-site .site-footer a{color:var(--bw-cream);transition:color .25s;}
body.bowe-site .site-footer a:hover{color:var(--bw-gold);}
body.bowe-site .site-footer .widget-title,body.bowe-site .site-footer h2,body.bowe-site .site-footer h3,body.bowe-site .site-footer h4{color:var(--bw-gold);}
body.bowe-site .site-footer .ast-footer-copyright{color:rgba(245,243,238,.55);}
.bowe-footer-brand{background:var(--bw-ink);border-top:2px solid var(--bw-gold);padding:56px 0 8px;text-align:center;}
.bowe-footer-brand img{width:240px;max-width:60%;height:auto;opacity:.95;}

/* ---------- Cookie banner in brand colours ---------- */
#surecookie-public-root .surecookie-btn-base:not(.surecookie-btn-transparent){background:var(--bw-ink) !important;color:var(--bw-gold) !important;border-color:var(--bw-ink) !important;border-radius:999px !important;}
#surecookie-public-root .surecookie-btn-base.surecookie-accept-all-btn:not(.surecookie-btn-transparent){background:var(--bw-gold) !important;color:var(--bw-ink) !important;border-color:var(--bw-gold) !important;}
#surecookie-public-root .surecookie-btn-transparent{color:var(--bw-ink) !important;border-color:var(--bw-ink) !important;border-radius:999px !important;}

/* ---------- Reveal helper (only hides when JS is present) ---------- */
.bowe-js .reveal{opacity:0;transform:translateY(34px);transition:opacity .9s var(--bw-ease),transform .9s var(--bw-ease);transition-delay:var(--d,0s);}
.bowe-js .reveal[data-reveal="left"]{transform:translateX(-50px);}
.bowe-js .reveal[data-reveal="right"]{transform:translateX(50px);}
.bowe-js .reveal.is-in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){
  .bowe-js .reveal{opacity:1;transform:none;transition:none;}
  body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link::before{transition:none;}
}

/* ---------- Header fit: keep 6 menu items + button on one line ---------- */
body.bowe-site #masthead .main-header-menu{flex-wrap:nowrap;}
body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link{white-space:nowrap;}
body.bowe-site #masthead .ast-custom-button{white-space:nowrap;}
@media (min-width:922px) and (max-width:1320px){
  body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link{padding:0 12px !important;letter-spacing:.12em;font-size:12px;margin:0 1px;}
  body.bowe-site #masthead .main-header-menu > .current-menu-item > .menu-link::after{left:12px;right:12px;}
  body.bowe-site #masthead .ast-custom-button{padding:14px 22px !important;font-size:12px;}
  body.bowe-site #masthead .custom-logo-link img{max-width:170px;}
}
@media (min-width:922px) and (max-width:1060px){
  body.bowe-site #masthead .main-header-menu > .menu-item > .menu-link{padding:0 9px !important;letter-spacing:.08em;}
  body.bowe-site #masthead .main-header-menu > .current-menu-item > .menu-link::after{left:9px;right:9px;}
  body.bowe-site #masthead .custom-logo-link img{max-width:150px;}
}
/* Contact page detail cards */
.bw-contact-cards{flex-wrap:wrap !important;row-gap:32px !important;}
.bw-contact-cards > *{flex:1 1 190px !important;min-width:190px;}
.bw-contact-cards p{word-break:normal !important;overflow-wrap:normal !important;}

/* Contact page hero */
.page-id-229 h1{font-family:var(--bw-display) !important;font-weight:700 !important;font-size:clamp(34px,4.6vw,62px) !important;line-height:1.05 !important;letter-spacing:-.02em;word-break:normal !important;overflow-wrap:normal !important;hyphens:none;}
