/* ─────────────────────────────────────────────────────────────────────────
   Phase-1 faithful-copy overrides for aarc-west.
   The live site uses the Vamtam theme's GSAP ScrollTrigger "pin" feature
   (data-vamtam-animation-options pin:"parent") for several scroll effects.
   That JS pin doesn't re-init reliably when the document is served statically,
   so we restore the *intended* behavior with a pure-CSS equivalent.
   Each rule targets a specific Beaver Builder node id, so it only applies where
   intended and never affects other pages/sections.
   ───────────────────────────────────────────────────────────────────────── */

/* Home › "Sustainability goals" sticky section — VERIFIED fix (inspected live).
   The left text and the circles are separate columns inside the tall container
   `.fl-node-599be884d9b7b` (~4972px). The text was trapped in an inner 687px
   wrapper, so it had no range to stick. Pinning the LEFT COLUMN itself
   (`.fl-node-599be884d9bbe`), which is a direct child of the tall container,
   makes it stay put while the circles scroll past — circle layout untouched,
   text fully selectable. Confirmed working with real scroll in-browser. */
.fl-node-599be884d9bbe {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 120px !important;
}

/* Project detail pages (single-project): the live theme suppresses the standard
   WordPress post header (publish date + featured thumbnail) and shows only the
   Beaver Builder hero. Replicate that so the stray "October 18, 2021" date and
   the empty whitespace block above the hero are gone. Applies to all 61 projects. */
.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;
}

/* Client request: remove Login + Search from the header menus (all pages).
   Hides the Login / Employee Home menu items and the search button + overlay. */
li:has(> a[href^="/login"]) {
  display: none !important;
}
.header-search,
.vamtam-overlay-search-trigger,
.search-wrapper,
#vamtam-overlay-search {
  display: none !important;
}
