/* =====================================================================
   CUSTOM FIXES: adillabs.dev
   ---------------------------------------------------------------------
   This is the ONE file for small, manual visual fixes. Only Adil edits
   it; no tool, plugin or generated code should write here.

   STANDING RULE
   Fixed hex values only (e.g. #0E1013). Never use var(--theme-*) in this
   file. Those are Blocksy's Customizer variables, and anything that uses
   them changes whenever a Customizer color changes.

   HOW TO FIND A SELECTOR
   1. Open the page in Chrome/Edge/Firefox, right-click the element,
      choose "Inspect".
   2. In the Elements panel, look at the highlighted tag's id / class /
      data-* attributes (e.g. id="header", class="ct-menu-link").
   3. In the Styles panel, the rule currently winning is at the top (not
      crossed out). Note its selector; yours must be at least as specific.
      Starting a selector with an id (#header) or with "body" usually
      makes it win.

   HOW TO ADD A NEW RULE
   1. Add a short comment saying what it fixes and where.
   2. Write the selector, then fixed hex values only.
   3. Save and upload. The file version is its modified time, so a normal
      browser refresh shows the change (no cache-busting needed).

   LOAD ORDER
   This loads after Blocksy's CSS (main.min.css + uploads/blocksy/css/
   global.css) and after adil-archive-isolation.css. The homepage and
   case-study templates print their own <style> blocks later in the
   page, so to override something inside .adil-home / .adil-case, start
   your selector with "body" (e.g. body .adil-home .stat-num {...}).
   ===================================================================== */


/* ---------------------------------------------------------------------
   HEADER BAR (logo + Home / Services / About / News / Contact + search)
   ---------------------------------------------------------------------
   Problem: Blocksy's Header Builder (Customizer > Header > Middle Row)
   paints the row with var(--theme-palette-color-8). The menu links,
   search icon and mobile menu icon use var(--theme-text-color). With the
   current palette (color 8 = #ffffff) and Text Color = #ffffff, the bar
   turned into a white strip with white-on-white links.
   Fix: pin the row and its contents to fixed hex. The logo is a PNG
   image, so it isn't affected by colors.
   --------------------------------------------------------------------- */
#header [data-row*="middle"] {
	background-color: #000000;
}

/* Menu links: normal / hover / current page */
#header .ct-menu-link {
	color: #D2D7DC;
}
#header .ct-menu-link:hover,
#header .current-menu-item > .ct-menu-link,
#header .current-menu-ancestor > .ct-menu-link {
	color: #95BF47;
}

/* Search icon (desktop) + menu "hamburger" icon (mobile) */
#header :is(.ct-header-search, .ct-header-trigger) {
	color: #D2D7DC;
}
#header :is(.ct-header-search, .ct-header-trigger) svg {
	fill: #D2D7DC;
}
#header :is(.ct-header-search, .ct-header-trigger):hover svg {
	fill: #95BF47;
}
