/* Yankee Tech | Elementor navigation, mega-menu card, and blog badge hotfix | 2026-10-20
   Scoped to the site’s verified Elementor header template 707 and Blog Loop 6711.
   Applied after earlier theme styles: no global typography, carousel, or spacing changes. */

/* HOME: remove original Elementor Mega Menu dropdown presentation. A small
   progressive-enhancement script supplies a semantic home hyperlink. */
body:not(.wp-admin) .elementor-707 .elementor-element-b6ff56c .e-n-menu-heading > .e-n-menu-item:first-child > .e-n-menu-content,
body:not(.wp-admin) .elementor-707 .elementor-element-b6ff56c #e-n-menu-content-1911,
body:not(.wp-admin) .elementor-707 .elementor-element-b6ff56c .e-n-menu-heading > .e-n-menu-item:first-child > .e-n-menu-title > .e-n-menu-dropdown-icon {
  display:none!important;visibility:hidden!important;pointer-events:none!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-b6ff56c .e-n-menu-heading > .e-n-menu-item:first-child > .e-n-menu-title {
  cursor:pointer!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-b6ff56c .e-n-menu-heading > .e-n-menu-item:first-child > .e-n-menu-title > a.e-n-menu-title-container {
  cursor:pointer!important;text-decoration:none!important;
}

/* SERVICES: the imported mega-menu contained a pale/white tile background
   whose original global text color turned the titles invisible. Force the
   actual icon-box elements to be coherent dark-purple cards. */
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box {
  background:#241536!important;background-image:linear-gradient(145deg,#291841 0%,#1a102b 100%)!important;
  border:1px solid rgba(203,150,255,.25)!important;border-radius:14px!important;
  box-shadow:none!important;overflow:hidden!important;
  transition:background .2s ease,border-color .2s ease,transform .2s ease!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box > .elementor-widget-container,
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box .elementor-icon-box-wrapper,
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box::before,
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box::after {
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box:hover,
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box:focus-within {
  background:#35204c!important;background-image:linear-gradient(145deg,#3c2458,#261538)!important;
  border-color:rgba(218,174,255,.7)!important;transform:translateY(-2px);
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box .elementor-icon-box-title,
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box .elementor-icon-box-title > a,
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box .elementor-icon-box-title > span {
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  opacity:1!important;visibility:visible!important;
  font-weight:700!important;text-decoration:none!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box .elementor-icon-box-description {
  color:#ddd1ed!important;-webkit-text-fill-color:#ddd1ed!important;
  opacity:1!important;visibility:visible!important;line-height:1.5!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box :is(.elementor-icon-box-icon .elementor-icon,.elementor-icon-box-icon a.elementor-icon) {
  background:rgba(165,86,239,.17)!important;border:1px solid rgba(201,145,255,.45)!important;
  color:#d6a9ff!important;border-radius:12px!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box .elementor-icon-box-icon :is(i,svg) {
  color:#d6a9ff!important;-webkit-text-fill-color:#d6a9ff!important;fill:currentColor!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box a:focus-visible {
  outline:2px solid #dfb7ff!important;outline-offset:3px!important;
}
/* Improve footer CTA copy contrast specifically inside Services dropdown. */
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-38873b6 .elementor-heading-title {
  color:#f5ebff!important;-webkit-text-fill-color:#f5ebff!important;
}
body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-72f80b4 .elementor-heading-title {
  color:#d6c9e6!important;-webkit-text-fill-color:#d6c9e6!important;
}
/* BLOG: keep the dynamic category label in the top-left image corner. The
   imported light-white label made its pale text illegible over bright images.
   Scope to the Loop Blog template used by the homepage (template 6711). */
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-icon-list-item,
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-post-info__terms-list,
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-post-info__terms-list-item {
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  opacity:1!important;visibility:visible!important;
}
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-icon-list-item {
  display:inline-flex!important;align-items:center!important;max-width:100%!important;
  padding:9px 14px!important;border-radius:40px!important;
  background:#361459!important;background-image:linear-gradient(112deg,#45176f 0%,#7d32b9 100%)!important;
  border:1px solid rgba(246,222,255,.56)!important;
  box-shadow:0 7px 20px rgba(8,3,19,.28)!important;
}
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-post-info__item,
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-post-info__terms-list-item,
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-icon-list-text {
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:12px!important;font-weight:750!important;letter-spacing:.065em!important;
  text-transform:uppercase!important;line-height:1.25!important;
  white-space:normal!important;
}
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-icon-list-items {
  margin:0!important;padding:0!important;
}
/* Actual white pill is the Elementor Post Info WIDGET background (not just its LI). */
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 {
  width:auto!important;max-width:calc(100% - 36px)!important;flex:0 0 auto!important;
  background:#45176f!important;background-image:linear-gradient(115deg,#45176f,#7f35bc)!important;
  border:1px solid rgba(249,232,255,.57)!important;border-radius:999px!important;
  box-shadow:0 8px 18px rgba(4,2,12,.30)!important;padding:9px 15px!important;
}
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 > .elementor-widget-container,
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-icon-list-item,
body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-post-info__terms-list {
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;
}
@media(max-width:767px){
  body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box {border-radius:12px!important;}
  body:not(.wp-admin) .elementor-6711 .elementor-element-4c759102 .elementor-icon-list-item {padding:7px 12px!important;}
}
@media(prefers-reduced-motion:reduce){
  body:not(.wp-admin) .elementor-707 .elementor-element-890cc0f .elementor-element-39f18db .elementor-widget-icon-box {transition:none!important;transform:none!important;}
}
