header.header {
  background-color: transparent !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
}

.theme-header {
  padding: var(--space-50) 0 0;
  position: relative;
}

.theme-header .relative {
  position: relative;
}

.theme-header .brand-logo {
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--color-background);
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.theme-header .brand-logo .logo{
  grid-column: 2;
  justify-self: center;
}
.theme-header .brand-logo .hamburger {
  cursor: pointer;
  display: none
}

.theme-header nav {
  font-family: futura new, Lato, sans-serif;
  padding: var(--space-30) 0 var(--space-10);
}
.theme-header a, a:focus, a:hover {
  font-family: futura new, Lato, sans-serif;
}
.theme-header nav ul.navigation-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5.7125rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.theme-header nav ul.navigation-list li .arrow-vector {
  display: none;
}
.theme-header nav ul.navigation-list li .menu {
  display: none;
}
.theme-header nav ul.navigation-list li.has-menu .arrow-vector {
  display: flex;
}

.theme-header nav ul.navigation-list li .relative {
  padding-bottom: var(--space-20);
}
a.main-link {
  text-decoration: none;
}
.link a.main-link:hover {
  color: #FF6600;
}
.theme-header nav ul.navigation-list .main-link .label {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
}
.theme-header nav ul.navigation-list .main-link .main-link-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  padding: 0 0 var(--space-20);
}
.theme-header nav ul.navigation-list .main-link .menu {
  left: 0;
  position: absolute;
  right: 0;
  top: calc(100% - var(--space-10));
}
.theme-header nav .menu :is(h3, h4, p) {
  font-family: futura new, Lato, sans-serif;
}
/* Mega menu — shared styles for all mega dropdowns */
.theme-header nav ul.navigation-list .main-link .menu.mega-menu {
  background-color: #fff;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.08);
  color: #171A1C;
  padding: 3.125rem;
  text-align: left;
}

.theme-header nav ul.navigation-list .main-link .menu {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}
.theme-header nav ul.navigation-list li.has-menu:hover .menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
.mega-menu .menu-heading {
  color: #FF6600;
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 100%;
  margin: 0 0 1.875rem;
  text-transform: uppercase;
}
.mega-menu .menu-list,
.simple-menu .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-menu .menu-list li,
.simple-menu .menu-list li {
  margin-bottom: 0.75rem;
}
.mega-menu .menu-list li:last-child,
.simple-menu .menu-list li:last-child {
  margin-bottom: 0;
}
.mega-menu .menu-list li a,
.simple-menu .menu-list li a {
  color: #171A1C;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 110%;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mega-menu .menu-list li a:hover,
.simple-menu .menu-list li a:hover {
  color: var(--color-primary-dark);
}
.mega-menu .promo-card {
  display: flex;
  flex-direction: column;
}
.mega-menu .promo-image img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}
.mega-menu .promo-content {
  padding-top: 1.875rem;
}
.theme-header .brand-logo .actions {
  grid-column: 3;
  justify-self: end;
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 2.0625rem;
}
.nav-cta {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 100%;
  /* identical to box height, or 1.125rem */
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
}
.nav-cta:hover {
  color: #FF6600;
  text-decoration: none;
}
.mega-menu .promo-link {
  color: #FF6600;
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 10%;
  line-height: 110%;
  margin-bottom: 0.625rem;
  text-decoration: underline;
  text-transform: uppercase;
}
.mega-menu .promo-content p {
  color: #171A1C;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
}

/* Solutions dropdown */
.solutions-menu {
  padding-bottom: 6.5625rem !important;
}
.solutions-menu .menu-grid {
  align-items: start;
  display: grid;
  gap: 3.75rem;
  grid-template-columns: 7fr 5fr;
}
.solutions-menu .menu-columns {
  display: grid;
  gap: 3.125rem;
  grid-template-columns: repeat(3, 1fr);
}

.solutions-menu .menu-cards {
  display: flex;
  flex-direction: column;
  gap: 3.125rem;
}
.solutions-menu .menu-card {
  align-items: stretch;
  display: grid;
  gap: 1.875rem;
  grid-template-columns: 4fr 6fr;
}
.solutions-menu .card-thumb {
  overflow: hidden;
  position: relative;
}
.solutions-menu .card-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.solutions-menu .card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}
.solutions-menu .card-body p {
  color: #171A1C;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
}
.solutions-menu .card-button {
  align-self: stretch;
  border: 1px solid #454749;
  color: #454749;
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 150%;
  padding: 0.25rem 1.25rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.solutions-menu .card-button:hover {
  background: #171A1C;
  color: #fff;
}

/* Products dropdown */
.products-menu .products-grid {
  align-items: start;
  display: grid;
  gap: 11.875rem;
  grid-template-columns: repeat(3, 1fr);
}
.products-menu .products-links {
  display: grid;
  gap: 2.5rem 3.75rem;
  grid-column: span 2;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
}
.products-menu .products-platform,
.products-menu .products-list {
  grid-column: span 1;
}
.products-menu .products-bottom {
  grid-column: span 2;
  align-content: end;
}
.products-menu .platform-heading {
  color: #171A1C;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 100%;
  margin: 0 0 1.25rem;
}
.products-menu .platform-heading a {
    color: #171A1C !important;
    display: inline-block;
    transition: color 0.15s ease;
  text-decoration: none;
  }
  .products-menu .platform-heading a:hover {
    color: var(--color-primary-dark) !important;
  }
.products-list {
  margin-top: 2.81rem;
}
.mega-menu .products-list .menu-list li a {
  font-size: 2.25rem;
  line-height: 120%;
}
.products-menu .platform-description {
  color: #171A1C;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
  max-width: 22.1875rem;
}
.products-menu .products-bottom-list {
  border-top: 1px solid #C5C6C6;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0 0;
}
.products-menu .products-bottom-list li a {
  color: #171A1C;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 150%;
  text-decoration: none;
  transition: color 0.15s ease;
}
.products-menu .products-bottom-list li a:hover {
  color: var(--color-primary-dark);
}
.products-promo img {
  width: 100%;
  height: 15rem !important;
  object-fit: cover;
}

/* Resources dropdown */
.resources-menu .resources-grid {
  align-items: start;
  display: grid;
  gap: 3.75rem;
  grid-template-columns: 5fr 7fr;
}
.resources-menu .resources-cards {
  display: grid;
  gap: 3.125rem;
  grid-template-columns: 1fr 1fr;
}
.menu.mega-menu.resources-menu {
  padding-bottom: 5.1875rem !important;
}

/* Simple dropdown — About Us */
.theme-header .link:has(> .main-link > .simple-menu) {
  position: relative;
}
.theme-header nav ul.navigation-list .main-link .menu.simple-menu {
  background-color: #fff;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.08);
  color: #171A1C;
  left: -3.125rem;
  min-width: 16.25rem;
  padding: 1.875rem 3.125rem;
  right: auto;
  text-align: left;
}
.simple-menu .menu-list li {
  margin-bottom: 0.875rem;
}

/* Mobile-only elements hidden on desktop */
.mobile-nav-header,
.mobile-nav-actions {
  display: none;
}

{############################################################################}
{############################   portal search   #############################}
{############################################################################}

.theme-header .brand-logo .search {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.375rem;
  cursor: pointer;
}


.theme-header .portal-search {
  background-color: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 7.75rem;
  padding: 2.5rem 3.125rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.theme-header .portal-search__mobile-header {
  display: none;
}

.theme-header .portal-search__body {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 1.25rem;
  min-width: 0;
}

.theme-header .portal-search .svg-placeholder.close-search {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
}

.theme-header .header-search-field {
  flex: 1 1 auto;
  position: relative;
}
.theme-header .header-search-form {
  display: flex;
  align-items: center;
  background-color: transparent !important;
}
.theme-header .header-search-label {
  height: 1px;
  left: -624.9375rem;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}
.theme-header .header-search-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
}
.theme-header .hs-search-field__input {
  background: transparent;
  border: 0;
  color: var(--color-text-primary);
  flex: 1 1 auto;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-default);
  outline: 0;
  min-width: 0;
  width: 100%;
  padding: 0;
}
.theme-header .hs-search-field__input::placeholder {
  color: var(--color-black);
  opacity: 0.5;
}

.theme-header .header-search-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.375rem;
  width: 2.25rem;
  height: 2.25rem;
  background-color: transparent;
  margin-right: 0.625rem;
  border: 0;
}
.theme-header .header-search-submit svg path {
  stroke: #171A1C;
}

.theme-header .hs-search-field__suggestions {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  display: none;
  left: 0;
  list-style: none;
  margin: var(--space-10) 0 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 21;
}
.theme-header .hs-search-field--open .hs-search-field__suggestions {
  display: block;
}
.theme-header .hs-search-field__suggestions li {
  border-bottom: 1px solid var(--color-border);
  display: block;
  margin: 0;
  padding: 0;
}
/*   .theme-header .hs-search-field__suggestions li:last-child {
border-bottom: 0;
} */
.theme-header .hs-search-field__suggestions #results-for {
  color: var(--color-text-secondary);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 1rem;
}
.theme-header .hs-search-field__suggestions a {
  color: var(--color-text-primary);
  display: block;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h5);
  line-height: 1.3;
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.theme-header .hs-search-field__suggestions a:hover,
.theme-header .hs-search-field__suggestions a:focus {
  background-color: var(--color-background-muted);
  outline: none;
}


@media (max-width: 991px) {
  .theme-header .brand-logo {
    padding: 0 0 var(--space-20);
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  .theme-header .brand-logo .hamburger {
    display: flex;
  }
  .theme-header .brand-logo .search,
  .theme-header .brand-logo .nav-cta {
    display: none;
  }

  .theme-header nav {
    background: #fff;
    bottom: 0;
    display: block;
    left: 0;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 2.5rem;
    position: fixed;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    width: 100%;
    z-index: 100;
  }
  .theme-header nav.is-open {
    transform: translateX(0);
  }

  .theme-header .mobile-nav-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0rem 0 1.25rem;
    border-bottom: 1px solid #C5C6C6;
  }
  .products-list {
    margin-top: 0;
  }
  .theme-header .mobile-nav-logo img {
    display: block;
    height: auto;
    max-width: 11.25rem;
  }
  .theme-header .mobile-nav-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
  }

  .theme-header .mobile-nav-actions {
    align-items: center;
    border-bottom: 1px solid #C5C6C6;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.625rem 0;
  }
  .theme-header .mobile-book-demo {
    border: 1px solid #FF290080;
    color: var(--color-primary-dark);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 150%;
    padding: 0.25rem 0.625rem;
    text-decoration: none;
    text-transform: uppercase;
  }
  .theme-header .mobile-search {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
  }

  .theme-header .portal-search {
    align-items: stretch;
    bottom: 0;
    flex-direction: column;
    gap: 1rem;
    height: 100dvh;
    justify-content: flex-start;
    padding: 1.25rem;
    position: fixed;
    z-index: 101;
  }

  .theme-header .portal-search__mobile-header {
    align-items: center;
    border-bottom: 1px solid #C5C6C6;
    display: flex;
    justify-content: flex-start;
    padding: 0 0 1.25rem;
  }

  .theme-header .portal-search__mobile-header .mobile-nav-logo img {
    display: block;
    height: auto;
    max-width: 11.25rem;
  }

  .theme-header .portal-search__body {
    position: relative;
    display: block;
    /*     align-items: flex-start;
    gap: 0.75rem; */
    border-bottom: 1px solid #C5C6C6;
    padding-bottom: 0.75rem;
  }

  .theme-header .header-search-field {
    width: 100%;
  }

  .theme-header .header-search-form {
    align-items: flex-start;
    width: 100%;
  }

  .theme-header .hs-search-field__input {
    font-size: 1.5rem;
    line-height: var(--line-height-h2);
    padding-right: 32px;
  }

  .theme-header .header-search-submit {
    display: none;
  }

  .theme-header .portal-search .svg-placeholder.close-search {
    position: absolute;
    top: 0.2rem;
    right: 0;
/*     margin-top: 0.1875rem; */
  }

  .theme-header .portal-search .svg-placeholder.close-search svg {
    display: block;
    height: 1.5rem;
    width: 1.5rem;
  }

  .theme-header .hs-search-field__suggestions {
    background: transparent;
    border: 0;
    margin-top: 1rem;
    max-height: calc(100dvh - 11rem);
    overflow-y: auto;
    position: static;
  }

  .theme-header .hs-search-field__suggestions li {
    border-bottom: 1px solid #E1E4E8;
  }

  .theme-header .hs-search-field__suggestions #results-for {
    font-size: 0.75rem;
    padding: 0 0 0.75rem;
  }

  .theme-header .hs-search-field__suggestions a {
    font-size: 1.25rem;
    padding: 1rem 0;
  }

  .theme-header nav ul.navigation-list {
    display: block;
    gap: 0;
    padding: 0;
  }
  .theme-header nav ul.navigation-list .link {
    border-bottom: 1px solid #C5C6C6;
  }
  .theme-header nav ul.navigation-list .main-link,
  .theme-header nav ul.navigation-list a.main-link {
    align-items: center;
    color: #171a1c;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    justify-content: space-between;
    letter-spacing: 0.1em;
    padding: 1rem 0;
    width: 100%;
  }
  .theme-header nav ul.navigation-list .main-link .main-link-inner {
    justify-content: space-between;
    padding: 0;
    width: 100%;
  }
  .theme-header nav ul.navigation-list .main-link .label {
    color: #171a1c;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }
  .theme-header nav ul.navigation-list li .arrow-vector {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
  }
  .theme-header nav ul.navigation-list li .arrow-vector svg path {
    fill: #ec8a2d;
  }
  .theme-header nav ul.navigation-list li.has-menu .arrow-vector {
    display: flex;
  }
  .theme-header nav ul.navigation-list li.is-expanded > .main-link .arrow-vector {
    transform: rotate(0);
  }

  .theme-header nav ul.navigation-list .main-link .menu,
  .theme-header nav ul.navigation-list .main-link:hover .menu {
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    visibility: visible;
  }
  .theme-header nav ul.navigation-list li.is-expanded > .main-link > .menu {
    background: transparent !important;
    box-shadow: none;
    display: block;
    flex-basis: 100%;
    order: 3;
    padding: 1.875rem 0 0.5rem;
    position: static;
    width: 100%;
  }

  .mega-menu .menu-heading {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    letter-spacing: 20%;
  }
  .mega-menu .menu-list li,
  .simple-menu .menu-list li {
    margin-bottom: 0.625rem;
  }

  .solutions-menu .menu-grid,
  .solutions-menu .menu-columns {
    display: block;
  }
  .solutions-menu .menu-col {
    margin-bottom: 3.125rem;
  }
  .solutions-menu .menu-cards {
    gap: 1.25rem;
    margin-top: 0.5rem;
  }

  .solutions-menu .card-thumb {
    aspect-ratio: 16 / 10;
    width: 100%;
  }
  .solutions-menu .card-body,
  .solutions-menu .card-button {
    margin-top: 0.75rem;
  }
  .solutions-menu {
    padding-bottom: 2.5rem !important;
  }
  .products-menu .products-grid,
  .products-menu .products-links {
    display: block;
  }
  .products-menu .products-platform,
  .products-menu .products-list,
  .products-menu .products-promo {
    margin-bottom: 1.25rem;
  }
  .products-menu .products-bottom {
    margin-bottom: 0;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
  }
  .products-menu .platform-heading {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
  }
  .products-menu .platform-description {
    font-size: 1.375rem;
  }
  .products-menu .products-bottom-list {
    display: block;
  }
  .products-menu .products-bottom-list li {
    margin-bottom: 0.75rem;
  }
  .products-menu .products-bottom-list li a {
    font-size: 1rem;
  }

  .resources-menu .resources-grid,
  .resources-menu .resources-cards {
    display: block;
  }
  .resources-menu .resources-links {
    margin-bottom: 1.75rem;
  }
  .resources-menu .promo-card {
    margin-bottom: 1.5rem;
  }
  .resources-menu .promo-card:last-child {
    margin-bottom: 0;
  }

  .theme-header .mobile-nav-header,
  .theme-header .mobile-nav-actions {
    display: flex;
  }

  .mega-menu .promo-card {
    align-items: stretch;
    flex-direction: row;
    gap: 1.25rem;
  }
  .mega-menu .promo-image {
    flex: 0 0 40%;
    overflow: hidden;
  }
  .mega-menu .promo-image img {
    display: block;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 100%;
  }
  .mega-menu .promo-content {
    flex: 1;
    padding-top: 0;
  }
  .products-promo img {
    height: 100% !important;
  }
  .mega-menu .promo-content p,
  .mega-menu .promo-link,
  .solutions-menu .card-body p,
  .mega-menu .products-list .menu-list li a,
  .products-menu .products-bottom-list li a {
    font-size: 1.5rem;
  }

  .products-menu .products-bottom-list {
    padding-bottom: 1.25rem;
  }

  .menu.mega-menu.resources-menu {
    padding-bottom: 1.25rem !important;
  }
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 479px) {
  .solutions-menu .menu-card {
    display: block;
  }
  .mega-menu .promo-card {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .theme-header .brand-logo {
    justify-content: space-between;
    gap: var(--space-20);
  }
  .theme-header .brand-logo .logo {
    width: fit-content;
  }
}
