/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ==========================================================================
   Dark header — AI pages
   Driven by the "AI SEO" page template (page-aiseo.php), not by page ids.

   TO PUT A PAGE ON THE DARK SKIN: edit the page, Page Attributes box,
   Template > "AI SEO". Nothing in this file needs changing, ever.

   The body prefix is what outranks the inline <style> still living in the
   header container. Keep it until that block is deleted in Fusion Builder.
   ========================================================================== */

body.page-template-page-aiseo .fusion-fullwidth:has(.pcwh-utility){background-color:#061A42 !important;}
body.page-template-page-aiseo header.fusion-fullwidth{background-color:#0A2350 !important;}

body.page-template-page-aiseo .pcwh-name{color:#E8EDF5;}
body.page-template-page-aiseo .pcwh-brand__tagline{color:#9DB0D0;}

body.page-template-page-aiseo .pcwh-utility .pcwh-tab{background:#0E2C63;color:#9DB0D0;}
body.page-template-page-aiseo .pcwh-utility .pcwh-tab.pcwh-is-active{background:#0A2350;color:#FFFFFF;}
body.page-template-page-aiseo .pcwh-utility__text{color:#C3D0E6;}

body.page-template-page-aiseo .pcwh-pulse .pcwh-line-static{stroke:#F6B210;opacity:.5;}
body.page-template-page-aiseo .pcwh-pulse .pcwh-line-glow{
  stroke:#F6B210;
  filter:drop-shadow(0 0 4px rgba(246,178,16,1)) drop-shadow(0 0 10px rgba(246,178,16,.9)) drop-shadow(0 0 18px rgba(246,178,16,.6));
}
body.page-template-page-aiseo .pcwh-pulse .pcwh-line-light{
  stroke:#FFF3D6;
  filter:drop-shadow(0 0 3px #FFF3D6) drop-shadow(0 0 7px rgba(246,178,16,1)) drop-shadow(0 0 15px rgba(246,178,16,1));
}

body.page-template-page-aiseo .pchi-btn{color:#E8EDF5;}
body.page-template-page-aiseo .pchi-btn:hover{color:#F6B210;}
body.page-template-page-aiseo .pchi-tip{background:#F6B210;color:#09255C;}

body.page-template-page-aiseo .awb-menu .awb-menu__main-a,
body.page-template-page-aiseo .awb-menu .awb-menu__main-a .awb-menu__main-a_designation,
body.page-template-page-aiseo .awb-menu .awb-menu__toggle{color:#E8EDF5 !important;}
body.page-template-page-aiseo .awb-menu .awb-menu__main-a:hover{color:#F6B210 !important;}

/* ==========================================================================
   Specificity override
   A legacy inline <style> block still lives in the header container
   (base64-encoded in a Fusion code block). It has equal specificity and
   loads later in the document, so it wins by source order.
   These rules add a `body` prefix to outrank it until that block is deleted.
   Once it's gone, this whole section can be removed with no visual change.
   ========================================================================== */

body .pcwh-utility .pcwh-tab{color:var(--pcwh-tab-ink);background:var(--pcwh-tab-bg);}
body .pcwh-utility .pcwh-tab.pcwh-is-active{background:var(--pcwh-tab-active-bg);color:var(--pcwh-tab-active-ink);}
body .pcwh-utility .pcwh-tab--ai{background:var(--pcwh-ai-grad);color:var(--pcwh-ai-ink);}
body .pcwh-utility .pcwh-tab--ai::after{background:linear-gradient(100deg,rgba(var(--pcwh-ai-sheen),0) 0%,rgba(var(--pcwh-ai-sheen),.5) 50%,rgba(var(--pcwh-ai-sheen),0) 100%);}
body .pcwh-utility .pcwh-tab--plugins{background:var(--pcwh-plugins-grad);color:var(--pcwh-plugins-ink);}
body .pcwh-utility .pcwh-tab--ai.pcwh-is-active,
body .pcwh-utility .pcwh-tab--plugins.pcwh-is-active{background:var(--pcwh-tab-active-bg);color:var(--pcwh-tab-active-ink);}

body .pcwh-utility__text{color:var(--pcwh-promo-ink);}
body .pcwh-utility .pcwh-utility__btn{color:var(--pcwh-cta-ink);background-color:var(--pcwh-cta-bg);}
body .pcwh-utility .pcwh-utility__btn:hover{background-color:var(--pcwh-cta-hover-bg);}

body .pcwh-name{color:var(--pcwh-ink);}
body .pcwh-brand__tagline{color:var(--pcwh-tagline);}

body .pcwh-pulse .pcwh-line-static,
body .pcwh-tail .pcwh-line-static{stroke:var(--pcwh-line);}
body .pcwh-pulse .pcwh-line-glow{stroke:var(--pcwh-line);filter:drop-shadow(0 0 4px rgba(var(--pcwh-line-rgb),1)) drop-shadow(0 0 10px rgba(var(--pcwh-line-rgb),.9)) drop-shadow(0 0 18px rgba(var(--pcwh-line-rgb),.6));}
body .pcwh-pulse .pcwh-line-light{stroke:var(--pcwh-line-spark);filter:drop-shadow(0 0 3px var(--pcwh-line-spark)) drop-shadow(0 0 7px rgba(var(--pcwh-line-rgb),1)) drop-shadow(0 0 15px rgba(var(--pcwh-line-rgb),1));}

body .pcwh-brand__actions a{color:var(--pcwh-pill-ink);background:var(--pcwh-pill-bg);border-color:var(--pcwh-pill-border);}
body .pcwh-brand__actions a:hover{background:var(--pcwh-pill-hover-bg);border-color:var(--pcwh-pill-hover-bg);color:var(--pcwh-pill-hover-ink);}



