/* Horyzont ASARI API — isolated property mega menu (0.9.36). */
.hn-mega-menu--v2 {
  --hn-mm-ink: #102235;
  --hn-mm-muted: #64748b;
  --hn-mm-primary: #1d6e4c;
  --hn-mm-primary-strong: #14523a;
  --hn-mm-soft: rgba(29, 110, 76, .075);
  --hn-mm-line: rgba(16, 34, 53, .10);
  box-sizing: border-box !important;
  display: block !important;
  width: min(860px, calc(100vw - 28px)) !important;
  min-width: min(680px, calc(100vw - 28px)) !important;
  max-width: calc(100vw - 28px) !important;
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--hn-mm-line) !important;
  border-radius: 20px !important;
  color: var(--hn-mm-ink) !important;
  background: rgba(255,255,255,.99) !important;
  box-shadow: 0 26px 70px rgba(15,34,53,.16), 0 8px 22px rgba(15,34,53,.07) !important;
  font-family: var(--global-body-font-family, inherit) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  text-align: left !important;
  overflow: hidden !important;
  isolation: isolate;
}
.hn-mega-menu--v2,
.hn-mega-menu--v2 * { box-sizing: border-box !important; }
.hn-mega-menu--v2 a {
  color: inherit !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: normal;
  -webkit-tap-highlight-color: transparent;
}
.hn-mega-menu--v2 a:focus-visible {
  outline: 2px solid rgba(29,110,76,.42) !important;
  outline-offset: 2px;
}
.hn-mega-menu--v2 .hn-icon,
.hn-mega-menu--v2 svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  stroke-width: 1.8;
}

.hn-mm-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 16px !important;
  padding: 2px 2px 15px !important;
  border-bottom: 1px solid var(--hn-mm-line) !important;
}
.hn-mm-heading { display: grid !important; gap: 4px !important; min-width: 0 !important; }
.hn-mm-eyebrow {
  margin: 0 !important;
  color: var(--hn-mm-primary) !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .11em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}
.hn-mm-sub {
  margin: 0 !important;
  color: var(--hn-mm-muted) !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hn-mm-all {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 8px 0 16px !important;
  border: 1px solid var(--hn-mm-line) !important;
  border-radius: 999px !important;
  color: var(--hn-mm-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.hn-mm-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 23px !important;
  height: 23px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  color: var(--hn-mm-primary-strong) !important;
  background: var(--hn-mm-soft) !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}
.hn-mm-arrow {
  flex: 0 0 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  border-radius: 999px !important;
  color: var(--hn-mm-muted) !important;
  background: rgba(16,34,53,.055) !important;
  transition: transform .16s ease, background .16s ease, color .16s ease, opacity .16s ease;
}
.hn-mm-arrow .hn-icon,
.hn-mm-arrow svg { width: 14px !important; height: 14px !important; min-width: 14px !important; min-height: 14px !important; }
.hn-mm-all:hover,
.hn-mm-all:focus-visible {
  border-color: rgba(29,110,76,.30) !important;
  color: var(--hn-mm-primary-strong) !important;
  background: var(--hn-mm-soft) !important;
  box-shadow: 0 7px 18px rgba(29,110,76,.11) !important;
}
.hn-mm-all:hover .hn-mm-arrow,
.hn-mm-all:focus-visible .hn-mm-arrow {
  transform: translateX(2px);
  color: #fff !important;
  background: var(--hn-mm-primary) !important;
}

.hn-mm-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--hn-mm-cols, 3), minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 0 !important;
}
.hn-mm-item {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  align-content: start !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hn-mm-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 62px !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: var(--hn-mm-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background .16s ease;
}
.hn-mm-ico {
  flex: 0 0 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  color: var(--hn-mm-primary) !important;
  background: var(--hn-mm-soft) !important;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.hn-mm-copy { flex: 1 1 auto !important; display: grid !important; gap: 2px !important; min-width: 0 !important; }
.hn-mm-title {
  display: block !important;
  overflow: hidden !important;
  color: var(--hn-mm-ink) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: -.015em !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.hn-mm-count {
  display: block !important;
  color: var(--hn-mm-muted) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
.hn-mm-card .hn-mm-arrow { opacity: 0; transform: translateX(-4px); }
.hn-mm-card:hover,
.hn-mm-card:focus-visible { background: var(--hn-mm-soft) !important; }
.hn-mm-card:hover .hn-mm-ico,
.hn-mm-card:focus-visible .hn-mm-ico { color: #fff !important; background: var(--hn-mm-primary) !important; }
.hn-mm-card:hover .hn-mm-arrow,
.hn-mm-card:focus-visible .hn-mm-arrow { opacity: 1; transform: translateX(0); color: var(--hn-mm-primary-strong) !important; background: rgba(29,110,76,.14) !important; }

.hn-mm-tx {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 2px 14px !important;
  margin: 1px 0 6px !important;
  padding: 0 10px 0 64px !important;
}
.hn-mm-tx a {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: var(--hn-mm-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
.hn-mm-tx a b { color: inherit !important; font-size: 11px !important; font-weight: 850 !important; opacity: .75; }
.hn-mm-tx a:hover,
.hn-mm-tx a:focus-visible { color: var(--hn-mm-primary-strong) !important; }

.hn-mm-foot {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
  padding: 14px 2px 0 !important;
  border-top: 1px solid var(--hn-mm-line) !important;
}
.hn-mm-foot-label {
  margin: 0 4px 0 0 !important;
  color: var(--hn-mm-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .09em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}
.hn-mm-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid var(--hn-mm-line) !important;
  border-radius: 999px !important;
  color: var(--hn-mm-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.hn-mm-chip b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  color: var(--hn-mm-primary-strong) !important;
  background: var(--hn-mm-soft) !important;
  font-size: 10.5px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}
.hn-mm-chip:hover,
.hn-mm-chip:focus-visible { border-color: rgba(29,110,76,.30) !important; color: var(--hn-mm-primary-strong) !important; background: var(--hn-mm-soft) !important; }

/* Kadence and core Navigation dropdown containers. */
.main-navigation .sub-menu:has(.hn-mega-menu--v2),
.header-navigation .sub-menu:has(.hn-mega-menu--v2),
.site-header .sub-menu:has(.hn-mega-menu--v2),
.wp-block-navigation__submenu-container:has(.hn-mega-menu--v2) {
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100vw - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.main-navigation li:has(> .sub-menu .hn-mega-menu--v2),
.header-navigation li:has(> .sub-menu .hn-mega-menu--v2),
.site-header li:has(> .sub-menu .hn-mega-menu--v2) { position: relative !important; }
.main-navigation li:has(> .sub-menu .hn-mega-menu--v2) > .sub-menu,
.header-navigation li:has(> .sub-menu .hn-mega-menu--v2) > .sub-menu,
.site-header li:has(> .sub-menu .hn-mega-menu--v2) > .sub-menu,
.wp-block-navigation__submenu-container:has(.hn-mega-menu--v2) {
  left: 50% !important;
  right: auto !important;
  transform: translateX(calc(-50% + var(--hn-mm-shift, 0px))) !important;
}
.main-navigation .sub-menu:has(.hn-mega-menu--v2) > li,
.header-navigation .sub-menu:has(.hn-mega-menu--v2) > li,
.site-header .sub-menu:has(.hn-mega-menu--v2) > li,
.wp-block-navigation__submenu-container:has(.hn-mega-menu--v2) > li {
  display: block !important;
  width: max-content !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.main-navigation .sub-menu:has(.hn-mega-menu--v2) > li > a:empty,
.header-navigation .sub-menu:has(.hn-mega-menu--v2) > li > a:empty,
.site-header .sub-menu:has(.hn-mega-menu--v2) > li > a:empty { display: none !important; }
.main-navigation .sub-menu:has(.hn-mega-menu--v2) > li > a,
.header-navigation .sub-menu:has(.hn-mega-menu--v2) > li > a,
.site-header .sub-menu:has(.hn-mega-menu--v2) > li > a,
.wp-block-navigation__submenu-container:has(.hn-mega-menu--v2) > li > a {
  display: block !important;
  width: max-content !important;
  max-width: calc(100vw - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.hn-mega-menu--v2 [hidden] { display: none !important; }

@media (max-width: 1180px) {
  .hn-mega-menu--v2 { width: min(740px, calc(100vw - 24px)) !important; min-width: min(560px, calc(100vw - 24px)) !important; }
  .hn-mm-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 760px) {
  .hn-mega-menu--v2 {
    width: calc(100vw - 20px) !important;
    min-width: 0 !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }
  .hn-mm-head { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .hn-mm-all { justify-content: space-between !important; }
  .hn-mm-grid { grid-template-columns: 1fr !important; }
  .hn-mm-tx { padding-left: 64px !important; }
}
@media (max-width: 430px) {
  .hn-mm-sub { white-space: normal !important; }
  .hn-mm-tx { padding-left: 10px !important; }
  .hn-mm-foot-label { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hn-mega-menu--v2 * { transition: none !important; }
}

/* JS class fallback for browsers/themes where :has() is unavailable or where
   the dropdown markup differs from Kadence's default structure. */
.hn-mega-menu-container {
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100vw - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.hn-mega-menu-parent { position: relative !important; }
.hn-mega-menu-parent > .hn-mega-menu-container {
  left: 50% !important;
  right: auto !important;
  transform: translateX(calc(-50% + var(--hn-mm-shift, 0px))) !important;
}
.hn-mega-menu-container > li {
  display: block !important;
  width: max-content !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.hn-mega-menu-container > li > a {
  display: block !important;
  width: max-content !important;
  max-width: calc(100vw - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.hn-mega-menu-container > li > a:empty { display: none !important; }

/* 0.9.36 — final isolation from page-pattern and theme SVG rules. */
.hn-mega-menu--v2 {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  contain: layout style !important;
}
.hn-mega-menu--v2 * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}
.hn-mega-menu--v2 .hn-icon,
.hn-mega-menu--v2 svg {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: visible !important;
}
.hn-mega-menu--v2 .hn-mm-arrow .hn-icon,
.hn-mega-menu--v2 .hn-mm-arrow svg {
  flex-basis: 14px !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}
.hn-mega-menu--v2 .hn-mm-ico .hn-icon,
.hn-mega-menu--v2 .hn-mm-ico svg {
  flex-basis: 20px !important;
}
.hn-mega-menu--v2 svg path,
.hn-mega-menu--v2 svg line,
.hn-mega-menu--v2 svg polyline,
.hn-mega-menu--v2 svg rect,
.hn-mega-menu--v2 svg circle {
  vector-effect: non-scaling-stroke;
}
