/* Phase-1 overrides for aw-nrg.
   The home page is a rebranded clone of the Nor-West Firestop homepage (AW-NRG's
   own WP home export was broken: leftover Divi reset + collapsed spacing). The
   clone carries Nor-West's clean template; content/colours are swapped to AW-NRG.
   These overrides are now just the cross-page conventions. */

/* Remove Login menu items + Search button from the header (per client convention). */
li:has(> a[href^="/login"]) { display: none !important; }
.header-search,
.vamtam-overlay-search-trigger,
.search-wrapper,
#vamtam-overlay-search { display: none !important; }

/* Remove leftover Nor-West BC badges next to the logo (LOCO #BCBuyLocal, Living Wage). */
img[src*="locobc"],
img[src*="ERn1jGQM"] { display: none !important; }

/* Featured Projects grid — reveal the project name overlay on hover. */
.aw-proj:hover .aw-proj-ov { opacity: 1 !important; }
@media (max-width: 980px) {
  .aw-proj-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .aw-proj-grid { grid-template-columns: 1fr !important; }
  .aw-hero h1 { font-size: 2.2rem !important; }
}

/* Project detail pages: hide the standard WP post header (stray date + featured thumb). */
.single-project .post-content-outer > .post-meta,
.single-project .post-content-outer > .meta-top,
.single-project .post-content-outer > .post-media.post-media-image { display: none !important; }
.single-project .post-content-outer > .post-media { display: none !important; }
.single-project .standard-post-format,
.single-project .post-content-outer.single-post { padding-top: 0 !important; margin-top: 0 !important; }
