/* === Building Force Solutions global header (project design) === */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
}
body.admin-bar #masthead { top: 32px; }
@media (max-width: 782px){ body.admin-bar #masthead { top: 46px; } }

/* Translucent forest bar with blur */
#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#ast-desktop-header .main-header-bar,
#ast-mobile-header,
.ast-mobile-header-wrap {
  background: rgba(30, 50, 38, 0.92) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: none !important;
  border-bottom: 1px solid rgba(194,126,53,0.18) !important;
}
#masthead .main-header-bar { min-height: 84px; }

/* Logo size */
#masthead .site-logo-img img,
#masthead .custom-logo-link img,
#masthead .custom-logo,
#ast-mobile-header .site-logo-img img,
#ast-mobile-header .custom-logo {
  max-height: 60px !important;
  width: auto !important;
}

/* Primary menu links */
#masthead .main-header-menu .menu-link {
  color: #b9c4b9 !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
#masthead .main-header-menu .menu-item:hover > .menu-link,
#masthead .main-header-menu .menu-link:hover,
#masthead .main-header-menu .current-menu-item > .menu-link {
  color: #f1eee6 !important;
  background: transparent !important;
}
#masthead .main-header-menu .current-menu-item > .menu-link {
  box-shadow: inset 0 -2px 0 #c27e35;
}
#masthead .main-header-menu .sub-menu {
  background: #1e3226 !important;
  border-color: #3a5745 !important;
}
#masthead .main-header-menu .sub-menu .menu-link { color: #b9c4b9 !important; }

/* Gold CTA button */
#masthead .ast-custom-button {
  background-color: #c27e35 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  line-height: 1.2 !important;
  transition: background-color .16s ease, transform .16s ease;
}
#masthead .ast-custom-button-link:hover .ast-custom-button {
  background-color: #a06828 !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
#masthead .main-header-menu-toggle {
  background: transparent !important;
  color: #f1eee6 !important;
  border: 0 !important;
}
#masthead .main-header-menu-toggle .ast-mobile-svg { fill: #f1eee6 !important; }

/* Mobile menu panel */
#ast-mobile-header .ast-mobile-header-content { background: #1e3226 !important; }
#ast-mobile-header .main-navigation .menu-link,
#ast-mobile-header .ast-mobile-header-content .menu-link {
  color: #f1eee6 !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* Offset dark heroes so the fixed header does not cover content */
html body .bfs-page .hero { padding-top: 118px !important; }

/* Neutralize Astra logo color filter so the white logo shows on the forest header */
#masthead .custom-logo, #masthead .site-logo-img img { filter: none !important; }

/* MOBILE MENU SOLID panel */
@media (max-width: 921px){
  #ast-mobile-header .main-header-menu,
  #ast-mobile-header .main-navigation,
  #ast-mobile-header .ast-mobile-header-content { background: #1e3226 !important; }
  #ast-mobile-header .main-header-menu .menu-item { border-top: 1px solid rgba(255,255,255,0.06) !important; }
}


/* ===== BFS footer (project design) ===== */
#colophon, #colophon .ast-footer-overlay, #colophon .site-primary-footer-wrap, #colophon .ast-footer-copyright { background-color: #14231a !important; }
#colophon { color: #b9c4b9; }
#colophon .site-primary-footer-wrap { padding-top: 64px !important; padding-bottom: 8px !important; }
#colophon .bfs-footer-cols { max-width: 1180px; margin: 0 auto; gap: 44px; align-items: flex-start; }
#colophon .bfs-foot-about .bfs-foot-logo { margin: 0 0 4px; }
#colophon .bfs-foot-about .bfs-foot-logo img { max-width: 196px; height: auto; filter: none !important; }
#colophon .bfs-foot-about p { color: #b9c4b9 !important; margin-top: 16px; max-width: 34ch; font-size: 0.95rem; line-height: 1.7; }
#colophon .bfs-footer-cols h4 { font-family: inherit; font-size: 0.78rem !important; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #d99a52 !important; margin: 0 0 18px !important; }
#colophon .bfs-footer-cols ul { list-style: none !important; margin: 0; padding: 0; display: grid; gap: 10px; }
#colophon .bfs-footer-cols ul li { color: #b9c4b9; font-size: 0.95rem; margin: 0; }
#colophon .bfs-footer-cols a { color: #b9c4b9; text-decoration: none; }
#colophon .bfs-footer-cols a:hover { color: #d99a52; }
#colophon .ast-footer-copyright { border-top: 1px solid #3a5745; margin-top: 40px; padding: 26px 0 6px; }
#colophon .ast-footer-copyright p { color: #b9c4b9 !important; font-size: 0.85rem; margin: 0; }
#colophon .ast-footer-copyright a { color: #b9c4b9 !important; text-decoration: none; }
#colophon .ast-footer-copyright a:hover { color: #d99a52 !important; }
@media (max-width: 921px){
  #colophon .bfs-footer-cols { flex-wrap: wrap; gap: 30px 24px; }
  #colophon .bfs-footer-cols .wp-block-column { flex-basis: 45% !important; flex-grow: 1; }
}
@media (max-width: 600px){
  #colophon .bfs-footer-cols .wp-block-column { flex-basis: 100% !important; }
}

/* footer left-align columns */
#colophon .bfs-footer-cols, #colophon .bfs-footer-cols .wp-block-column, #colophon .bfs-footer-cols li, #colophon .bfs-footer-cols p, #colophon .bfs-footer-cols h4 { text-align: left; }
#colophon .bfs-foot-about .bfs-foot-logo { text-align: left; }

/* bfs-foot-contact-fix: widen Contact column so email fits one line */
#colophon .bfs-footer-cols .wp-block-column:first-child { flex-basis: 32% !important; }
#colophon .bfs-footer-cols .wp-block-column:nth-child(4) { flex-grow: 1.9 !important; }
#colophon .bfs-footer-cols .wp-block-column:nth-child(4) li { white-space: nowrap; }
@media (max-width: 921px){
  #colophon .bfs-footer-cols .wp-block-column:nth-child(4) li { white-space: normal; }
}
