/*
Theme Name:   Sky Optic
Description:  Child theme of Hello Elementor for sky-optic. Layout and content live in Elementor; this theme only holds code that widgets cannot express.
Template:     hello-elementor
Version:      1.0.0
Text Domain:  sky-optic
*/
/* WP Menu-backed nested Workshop group in Elementor's mega menu. */
.so-wp-category-links--workshop .so-has-submenu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  column-gap: 8px;
}
.so-wp-category-links--workshop .so-has-submenu > a { min-width: 0; }
.so-workshop-toggle {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--e-global-color-text);
  cursor: pointer;
}
.so-workshop-toggle span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.so-wp-category-links--workshop-extra { display: none; }
.so-wp-category-links--workshop.is-open + .so-wp-category-links--workshop-extra { display: block; }
.so-wp-category-links--workshop .so-has-submenu.is-open > a,
.so-wp-category-links--workshop .so-has-submenu.is-open .so-workshop-toggle {
  color: var(--e-global-color-ctahover);
}
.so-wp-category-links--workshop .so-has-submenu.is-open > a { text-decoration: underline; }
