/* LolaCore two-row header — layout + alignment */
#site-header .elementor-element-8bdb6c0 > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: 0;
}

/* Beat legacy single-row header CSS from Elementor custom code */
#site-header .elementor-element-8bdb6c0.e-con > .e-con-inner {
  flex-direction: column !important;
  justify-content: flex-start !important;
}

#site-header #header-top-bar {
  width: 100% !important;
  position: relative;
  z-index: 1020;
  overflow: visible !important;
}

#site-header #header-top-bar > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 10px;
  overflow: visible !important;
}

#site-header #header-util-group {
  width: auto !important;
  flex: 0 0 auto;
  margin-left: auto;
  overflow: visible !important;
}

#site-header #header-util-group > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px;
  width: auto !important;
  overflow: visible !important;
}

#site-header #header-util-group .elementor-widget {
  margin-bottom: 0 !important;
}

#site-header #header-util-group .elementor-widget-nav-menu,
#site-header #header-util-group .elementor-widget-html,
#site-header #header-util-group .elementor-widget-shortcode,
#site-header #header-util-group .elementor-widget-container,
#site-header #header-util-group .lc-header-lang-wrap {
  display: flex !important;
  align-items: center !important;
}

#site-header #header-util-group .elementor-widget-shortcode .elementor-shortcode {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

#site-header .lc-header-utility-menu .elementor-nav-menu--main {
  display: flex;
  align-items: center;
}

#site-header .lc-header-utility-menu .elementor-nav-menu--main > ul {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0;
  padding: 0;
}

#site-header .lc-header-utility-menu .elementor-item {
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#site-header #header-nav-row {
  width: 100% !important;
  border-top: 1px solid rgba(36, 24, 40, 0.08);
  padding-top: 10px;
  position: relative;
  z-index: 1000;
}

#site-header #header-nav-row > .e-con-inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1180px;
  margin: 0 auto;
}

#site-header .lc-header-primary-menu {
  width: 100%;
}

#site-header .lc-header-primary-menu .elementor-widget-container,
#site-header .lc-header-primary-menu .elementor-nav-menu--main {
  display: flex;
  justify-content: center;
  width: 100%;
}

#site-header .lc-header-primary-menu .elementor-nav-menu--main > ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0 auto;
  padding: 0;
}

/* Desktop nav dropdowns */
@media (min-width: 768px) {
  #site-header #header-nav-row,
  #site-header .lc-header-primary-menu,
  #site-header .lc-header-primary-menu .elementor-widget-container,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main > ul,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main .sub-menu {
    overflow: visible !important;
  }

  #site-header .lc-header-primary-menu .elementor-nav-menu--main > ul > li,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main .sub-menu > li {
    position: relative;
  }

  /* Level 1: flush under the nav label; invisible bridge keeps hover alive */
  #site-header .lc-header-primary-menu .elementor-nav-menu--main > ul > li.menu-item-has-children > .sub-menu.elementor-nav-menu--dropdown {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    margin-top: 0 !important;
    min-width: 220px;
    z-index: 1001;
  }

  #site-header .lc-header-primary-menu .elementor-nav-menu--main > ul > li.menu-item-has-children > .sub-menu.elementor-nav-menu--dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
  }

  /* Level 2+: flyout flush right, same row */
  #site-header .lc-header-primary-menu .elementor-nav-menu--main .sub-menu > li.menu-item-has-children > .sub-menu.elementor-nav-menu--dropdown {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    min-width: 240px;
    z-index: 1002;
  }

  #site-header .lc-header-primary-menu .elementor-nav-menu--main > ul > li.menu-item-has-children:hover > .sub-menu,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main > ul > li.menu-item-has-children:focus-within > .sub-menu,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main .sub-menu > li.menu-item-has-children:hover > .sub-menu,
  #site-header .lc-header-primary-menu .elementor-nav-menu--main .sub-menu > li.menu-item-has-children:focus-within > .sub-menu {
    display: block !important;
  }

  /* Elementor widget setting adds margin-top:8px on first-level dropdown only */
  #site-header .lc-header-primary-menu .elementor-element-191e0de .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-nav-menu--dropdown {
    margin-top: 0 !important;
  }
}

.lc-header-lang-wrap .lc-header-lang,
#site-header #header-util-group .lc-header-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: center;
  line-height: 1;
  z-index: 1025;
  height: auto;
}

.lc-header-lang-wrap .lc-header-lang--dropdown,
#site-header #header-util-group .lc-header-lang--dropdown {
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(36, 24, 40, 0.10);
}

/* Hello Elementor applies global button styles (pink border + padding) — reset to icon-only trigger */
#site-header #header-util-group button.lc-header-lang__toggle,
.lc-header-lang-wrap button.lc-header-lang__toggle {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #5A4458 !important;
  cursor: pointer;
  line-height: 1 !important;
  font: inherit;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
}

#site-header #header-util-group button.lc-header-lang__toggle:focus,
.lc-header-lang-wrap button.lc-header-lang__toggle:focus {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

#site-header #header-util-group button.lc-header-lang__toggle:hover,
#site-header #header-util-group button.lc-header-lang__toggle:focus-visible,
#site-header #header-util-group .lc-header-lang--dropdown.is-open button.lc-header-lang__toggle,
.lc-header-lang-wrap button.lc-header-lang__toggle:hover,
.lc-header-lang-wrap button.lc-header-lang__toggle:focus-visible,
.lc-header-lang-wrap .lc-header-lang--dropdown.is-open button.lc-header-lang__toggle {
  color: #6E2E5C !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#site-header #header-util-group button.lc-header-lang__toggle:focus-visible,
.lc-header-lang-wrap button.lc-header-lang__toggle:focus-visible {
  outline: 1px dotted #6E2E5C !important;
  outline-offset: 3px;
}

.lc-header-lang__toggle .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lc-header-lang__icon,
.lc-header-lang__chevron {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.lc-header-lang__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.lc-header-lang__chevron svg {
  display: block;
  width: 8px;
  height: 8px;
}

.lc-header-lang__chevron {
  transition: transform 0.15s ease;
}

.lc-header-lang--dropdown.is-open .lc-header-lang__chevron {
  transform: rotate(180deg);
}

.lc-header-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1025;
  min-width: 168px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(36, 24, 40, 0.10);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 24, 40, 0.10);
  pointer-events: auto;
}

.lc-header-lang__menu[hidden] {
  display: none !important;
}

.lc-header-lang__item {
  margin: 0;
  padding: 0;
}

.lc-header-lang__option {
  display: block;
  padding: 8px 14px;
  color: #241828;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.lc-header-lang__option:hover,
.lc-header-lang__option:focus-visible {
  background: rgba(110, 46, 92, 0.06);
  color: #6E2E5C;
  outline: none;
}

.lc-header-lang__option--active {
  color: #6E2E5C;
  font-weight: 600;
}

/* Legacy inline switcher (fallback) */
.lc-header-lang-wrap .lc-header-lang:not(.lc-header-lang--dropdown) {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid rgba(36, 24, 40, 0.10);
}

.lc-header-lang-wrap .lc-header-lang__link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5A4458;
  text-decoration: none;
  padding: 2px 4px;
  line-height: 1;
}

.lc-header-lang-wrap .lc-header-lang__link:hover,
.lc-header-lang-wrap .lc-header-lang__link--active {
  color: #6E2E5C;
}

@media (max-width: 767px) {
  #site-header .lc-header-primary-menu.elementor-nav-menu--dropdown-mobile .elementor-nav-menu--main,
  #site-header .lc-header-primary-menu.elementor-nav-menu--dropdown-mobile .elementor-nav-menu--main > ul {
    display: none !important;
  }

  #site-header .lc-header-primary-menu .elementor-menu-toggle {
    display: flex !important;
  }

  #site-header #header-nav-row > .e-con-inner {
    justify-content: flex-end !important;
  }
}

/*
 * LolaHub surface — dark chrome scoped to body.lc-surface-lolahub only.
 * Tokens: manual v2 Part C (gravity register).
 */
body.lc-surface-lolahub {
  background-color: #1e1524 !important;
}

body.lc-surface-lolahub #site-header,
body.lc-surface-lolahub #site-header .elementor-element-4de7957,
body.lc-surface-lolahub #site-header .elementor-element-8bdb6c0,
body.lc-surface-lolahub #site-header #header-top-bar,
body.lc-surface-lolahub #site-header #header-nav-row {
  background-color: #1e1524 !important;
}

body.lc-surface-lolahub #site-header #header-nav-row {
  border-top-color: rgba(237, 230, 240, 0.1) !important;
}

body.lc-surface-lolahub #site-header .elementor-element-0539761 .elementor-widget-container,
body.lc-surface-lolahub #site-header .elementor-element-0539761 img {
  width: 142px !important;
  max-width: 142px !important;
  height: auto !important;
}

body.lc-surface-lolahub #site-header .elementor-item,
body.lc-surface-lolahub #site-header .elementor-nav-menu--main .elementor-item,
body.lc-surface-lolahub #site-header .lc-header-utility-menu .elementor-item {
  color: #a898b0 !important;
}

body.lc-surface-lolahub #site-header .elementor-item:hover,
body.lc-surface-lolahub #site-header .elementor-item:focus,
body.lc-surface-lolahub #site-header .elementor-item.elementor-item-active,
body.lc-surface-lolahub #site-header .elementor-item.highlighted,
body.lc-surface-lolahub #site-header .current-menu-item > .elementor-item,
body.lc-surface-lolahub #site-header .current-menu-ancestor > .elementor-item {
  color: #ede6f0 !important;
}

body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown {
  background-color: #2e2438 !important;
  border: 1px solid rgba(237, 230, 240, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown .elementor-item {
  color: #a898b0 !important;
  border-bottom: 1px solid rgba(237, 230, 240, 0.06) !important;
}

body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown .elementor-item:hover,
body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown .elementor-item:focus,
body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown .current-menu-item > .elementor-item {
  background-color: #352a40 !important;
  color: #ede6f0 !important;
}

body.lc-surface-lolahub #site-header #header-util-group .lc-header-lang--dropdown,
body.lc-surface-lolahub .lc-header-lang-wrap .lc-header-lang--dropdown {
  border-left-color: rgba(237, 230, 240, 0.1) !important;
}

body.lc-surface-lolahub #site-header #header-util-group button.lc-header-lang__toggle,
body.lc-surface-lolahub .lc-header-lang-wrap button.lc-header-lang__toggle {
  color: #a898b0 !important;
}

body.lc-surface-lolahub #site-header #header-util-group button.lc-header-lang__toggle:hover,
body.lc-surface-lolahub #site-header #header-util-group button.lc-header-lang__toggle:focus-visible,
body.lc-surface-lolahub #site-header #header-util-group .lc-header-lang--dropdown.is-open button.lc-header-lang__toggle,
body.lc-surface-lolahub .lc-header-lang-wrap button.lc-header-lang__toggle:hover,
body.lc-surface-lolahub .lc-header-lang-wrap button.lc-header-lang__toggle:focus-visible,
body.lc-surface-lolahub .lc-header-lang-wrap .lc-header-lang--dropdown.is-open button.lc-header-lang__toggle {
  color: #5bb87e !important;
}

body.lc-surface-lolahub #site-header #header-util-group button.lc-header-lang__toggle:focus-visible,
body.lc-surface-lolahub .lc-header-lang-wrap button.lc-header-lang__toggle:focus-visible {
  outline-color: #5bb87e !important;
}

body.lc-surface-lolahub .lc-header-lang__menu {
  background: #2e2438 !important;
  border-color: rgba(237, 230, 240, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

body.lc-surface-lolahub .lc-header-lang__option {
  color: #a898b0 !important;
}

body.lc-surface-lolahub .lc-header-lang__option:hover,
body.lc-surface-lolahub .lc-header-lang__option:focus-visible {
  background: #352a40 !important;
  color: #ede6f0 !important;
}

body.lc-surface-lolahub .lc-header-lang__option--active {
  color: #5bb87e !important;
}

body.lc-surface-lolahub .lc-header-lang-wrap .lc-header-lang__link {
  color: #a898b0 !important;
}

body.lc-surface-lolahub .lc-header-lang-wrap .lc-header-lang__link:hover,
body.lc-surface-lolahub .lc-header-lang-wrap .lc-header-lang__link--active {
  color: #5bb87e !important;
}

body.lc-surface-lolahub #site-header .elementor-menu-toggle {
  color: #ede6f0 !important;
}

body.lc-surface-lolahub #site-header .elementor-menu-toggle .elementor-menu-toggle__icon--open,
body.lc-surface-lolahub #site-header .elementor-menu-toggle .elementor-menu-toggle__icon--close {
  fill: #ede6f0 !important;
}

body.lc-surface-lolahub #site-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  background-color: #2e2438 !important;
}

/* Hide Hello theme footer — landing carries its own LolaHub footer section. */
body.lc-surface-lolahub #site-footer,
body.lc-surface-lolahub .site-footer,
body.lc-surface-lolahub footer.site-footer {
  display: none !important;
}
