/* Yankeee Tech | Full-site QA guard | 2026-10-20
 * FIX ROOT CAUSES: accessible accordion answer panels, lazy reveal safety,
 * readable partner logos/footers/forms, and minimum contrast across reused cards.
 * Kept scoped to actual template IDs; preserves layout dimensions and carousels.
 */
:root{--yt-qa-panel:#211130;--yt-qa-panel-open:#29163d;--yt-qa-stroke:rgba(202,142,255,.3);--yt-qa-white:#f8f4ff;--yt-qa-muted:#dacde9}
/* ELEMENTOR FAQ: nested accordion content must never inherit a white/pale panel.
   Scope to the site's two actual shared FAQ templates. */
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item,
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open]{
 background:var(--yt-qa-panel)!important;--background-color:var(--yt-qa-panel)!important;
 border-color:var(--yt-qa-stroke)!important;color:var(--yt-qa-white)!important;
}
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] > .e-n-accordion-item-title{
 background:var(--yt-qa-panel-open)!important;color:#fff!important;
 border-color:var(--yt-qa-stroke)!important;border-radius:16px 16px 0 0!important;
}
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] > :is(.e-con,[role="region"],.e-n-accordion-item-content),
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] > .e-con > .e-con,
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] > [role="region"]{
 background:var(--yt-qa-panel-open)!important;background-color:var(--yt-qa-panel-open)!important;
 background-image:none!important;--background-color:var(--yt-qa-panel-open)!important;
 color:var(--yt-qa-white)!important;
 border:0!important;border-top:1px solid var(--yt-qa-stroke)!important;
 border-radius:0 0 16px 16px!important;
 padding:14px 24px 20px!important;min-height:0!important;
}
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] :is(.elementor-widget-text-editor,.elementor-widget-text-editor *, .elementor-widget-heading .elementor-heading-title){
 color:var(--yt-qa-white)!important;-webkit-text-fill-color:var(--yt-qa-white)!important;
}
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] :is(.yt-motion-pending,.yt-enhance-pending){
 opacity:1!important;visibility:visible!important;transform:none!important;
 animation:none!important;transition:none!important;
}
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item :is(.e-n-accordion-item-title,.e-n-accordion-item-title-text){color:var(--yt-qa-white)!important;-webkit-text-fill-color:var(--yt-qa-white)!important;}
body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item-title:focus-visible{outline:2px solid #d5adff!important;outline-offset:-3px!important;}
/* The exact partner/technology logo strip includes dark original SVGs such as OpenAI.
   Give ALL tools consistent white silhouettes on dark purple, not only the light originals. */
body:not(.wp-admin) .elementor-22 .elementor-element-0bed64a img[src*="logo" i],
body:not(.wp-admin) .elementor-22 .elementor-element-0bed64a .elementor-widget-image img,
body:not(.wp-admin) .elementor-22 .elementor-element-0da311a .elementor-widget-image img{
 filter:brightness(0) invert(1)!important;opacity:.93!important;
 transition:opacity .3s ease,filter .3s ease!important;
}
body:not(.wp-admin) .elementor-22 .elementor-element-0bed64a .elementor-widget-image:hover img{opacity:1!important;filter:brightness(0) invert(1) drop-shadow(0 0 6px rgba(205,166,255,.75))!important;}
/* Dark article, portfolio, resources & footer: improve small copy visibility. */
body:not(.wp-admin) :is(.elementor-1752,.elementor-10833,.elementor-11990) :is(.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-icon-list-text,.elementor-element .elementor-post-info__item){color:#e7d9f5!important;-webkit-text-fill-color:#e7d9f5!important;opacity:1!important;}
body:not(.wp-admin) :is(.elementor-1752,.elementor-10833,.elementor-11990) :is(.elementor-widget-heading .elementor-heading-title,a){color:#f8f2ff!important;-webkit-text-fill-color:#f8f2ff!important;}
body:not(.wp-admin) :is(.elementor-1752,.elementor-10833,.elementor-11990) a:hover{color:#e0baff!important;-webkit-text-fill-color:#e0baff!important;}
/* Blog cards and related post grids: robust text gutter + stable contrast. */
body:not(.wp-admin) .elementor-6711 .elementor-element-3b2ea6e2{padding:26px 24px 28px!important;box-sizing:border-box!important;}
body:not(.wp-admin) .elementor-6711 .elementor-element-3b2ea6e2 :is(.elementor-heading-title,.elementor-heading-title a,.elementor-widget-theme-post-excerpt,.elementor-widget-theme-post-excerpt .elementor-widget-container){color:#faf5ff!important;-webkit-text-fill-color:#faf5ff!important;}
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 :is(.elementor-post-info__terms-list-item,.elementor-icon-list-text){color:#fff!important;-webkit-text-fill-color:#fff!important;}
/* Form privacy note under textarea and messages on dark plum backgrounds. */
body:not(.wp-admin) .elementor-element-19f5765 .elementor-form .elementor-field-type-html,
body:not(.wp-admin) .elementor-element-19f5765 .elementor-form .elementor-field-group-field_3fcaf4b,
body:not(.wp-admin) .elementor-element-6068080 .elementor-form .elementor-field-type-html{
 color:#e7d6f6!important;-webkit-text-fill-color:#e7d6f6!important;opacity:1!important;
}
body:not(.wp-admin) .elementor-element-19f5765 .elementor-form :is(.elementor-field-label,label){color:#f8efff!important;-webkit-text-fill-color:#f8efff!important;}
body:not(.wp-admin) .elementor-element-19f5765 .elementor-form :is(input,textarea,select){color:#24132e!important;-webkit-text-fill-color:#24132e!important;}
body:not(.wp-admin) .elementor-element-19f5765 .elementor-form :is(input,textarea)::placeholder{color:#64516f!important;-webkit-text-fill-color:#64516f!important;opacity:1!important;}
/* Loop item imagery/text always visible even where initial Swiper clones missed an entrance event. */
body:not(.wp-admin) .elementor-682 .elementor-invisible,
body:not(.wp-admin) .elementor-6711 .elementor-invisible{visibility:visible!important;opacity:1!important;}
/* Reduced-motion input remains respected by original motion assets. */
@media(max-width:767px){body:not(.wp-admin) .elementor-6711 .elementor-element-3b2ea6e2{padding:20px 18px 24px!important;}body:not(.wp-admin) :is(.elementor-3892,.elementor-9469) .e-n-accordion-item[open] > :is(.e-con,[role="region"]){padding:12px 16px 18px!important;}}
@media(prefers-reduced-motion:reduce){body:not(.wp-admin) :is(.elementor-682,.elementor-6711) .elementor-invisible{animation:none!important;transition:none!important;}}
