/* Format */

.header__container {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000; /* Ensure it is on top */
  transition: background-color 0.3s ease; /* Smooth transition for background */
}

.header-items {
  max-width: 1440px;
  width: 100%; /* Ensure it takes the full width of the container */
}
.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 20px;
  box-sizing: border-box;
}
.header__logo-image{
  height:80px;
}
.header__top {
  padding: 0.7rem 0;
}

.header__bottom {
}

@media (max-width: 767px) {
  .header__top {
    display: none;
  }

  .header__bottom {
    background:#401E5B;
    padding: 0px;
  }
  
}
.no-list {
  padding: 10px 20px 10px 20px;
  border-radius: 20px;
  background: none;
}

.no-list > :first-child {
  border: none;
}

.header__menu-wrapper{
  background-color: none;
  width: fit-content;
  margin: auto 20px 0 auto;
}
/*
.header__menu-item:last-child .header__menu-link::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/Halcyon-Growth-Child/images/arrow1.png');
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: 8px;
}*/

#hs_cos_wrapper_header-module-1 .header__menu-link {
  text-decoration: none;
  text-align:center;
}
/* Layout - left */

.header__container--left .header__language-switcher-col {
  margin-left: auto;
}

.header__container--left .header__wrapper--bottom {
  justify-content: space-between;
}

.header__menu-col {
  display: flex;
  align-items: center;
}

.header__container--left .header__menu-col {
  display: flex;
  height: 100%;
  justify-content: right;
}

[dir='rtl'] .header__container--left .header__menu-col {
  margin: 0 auto;
  text-align: left;
  padding-top:60px
}

.header__container--left {
  position: fixed;
  top: 0;
  flex: none;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--header-border-color);
  transition: opacity 0.5s ease, top 0.5s ease;
}
.header__button-col {
  right: 0; /* Changed from 5px to 0 to move it closer to the right edge */
  margin-right: 20px; /* You may want to adjust this as well if necessary */
}

.header__menu--mobile {
   margin-right: 10px;
}

@media (min-width: 767px) {
  
  
  .header__container--left .header__logo-col {
    flex: 1 0 0;
  }

  .header__container--left .header__menu-col {
    flex: 2 0 0;
  }
}

/* Layout - centered */

.header__container--centered .header__button-col {
  margin-left: auto;
}

.header__container--centered .header__wrapper--bottom {
  flex-wrap: wrap;
  text-align: center;
}

.header__container--centered .header__logo-col {
  width: 100%;
  margin-bottom: 1.4rem;
}

.header__container--centered .header__menu-col {
  width: 100%;
}

@media (max-width: 767px) {
  .header__container--centered .header__wrapper--bottom {
    justify-content: space-around;
    text-align: left;
  }

  .header__container--centered .header__logo-col,
  .header__container--centered .header__menu-col {
    width: auto;
    margin-bottom: 0;
  }
}

/* Language switcher */

.header__language-switcher {
  position: relative;
  cursor: pointer;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

/* Language switcher - top level menu item */

.header__language-switcher-label {
  display: flex;
}

.header__language-switcher-current-label {
  display: flex;
  margin-bottom: 5px;
  margin-left: 0.5rem;
  align-items: center;
}

.header__language-switcher-child-toggle svg {
  height: 15px;
  width: 15px;
  margin-left: 0.35rem;
}

/* Language switcher - submenu */

.header__language-switcher .lang_list_class {
  position: absolute;
  z-index: 99;
  top: 100%;
  right: 0;
  left: auto;
  display: block;
  width: 200px;
  padding: 0;
  border-style: solid;
  border-width: 1px;
  opacity: 0;
  text-align: left;
  transform: none;
  visibility: hidden;
}

.header__language-switcher-label--open .lang_list_class,
.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  visibility: visible;
}

.header__language-switcher .lang_list_class:after,
.header__language-switcher .lang_list_class:before {
  content: none;
}

.header__language-switcher .lang_list_class li {
  padding: 0;
  border: none;
  margin: 0;
}

.header__language-switcher .lang_list_class li:first-child {
  padding-top: 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.header__language-switcher .lang_list_class .lang_switcher_link {
  display: inline-flex;
  width: 100%;
  padding: 0.7rem 1rem;
}

@media (max-width: 767px) {
  .header__language-switcher .lang_list_class {
    position: static;
    display: none;
    width: 100%;
    border: none;
  }

  .header__language-switcher-label--open .lang_list_class {
    display: block;
  }

  .header__language-switcher-current-label {
    display: block;
    width: 80%;
    padding: 0.7rem 0 0.7rem 1rem;
    margin: 0;
    order: 1;
  }

  .header__language-switcher .globe_class {
    height: auto;
    width: 100%;
  }

  .header__language-switcher-label {
    display: flex;
    flex-wrap: wrap;
  }

  .hs_cos_wrapper_type_language_switcher {
    width: 100%;
  }
}

/* Language switcher - icons */

@media (max-width: 767px) {
  .header__language-switcher-child-toggle,
  .header__language-switcher-child-toggle:hover,
  .header__language-switcher-child-toggle:focus,
  .header__language-switcher-child-toggle:active {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    padding: 10px 30px;
    border: 0;
    cursor: pointer;
  }

  .header__language-switcher-child-toggle svg {
    margin-left: 0;
  }

  .header__language-switcher-child-toggle--open svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    transition: transform 0.4s;
  }
}

/* Logo test*/

.header__logo img {
  position: relative;
  margin: 20px 20px 20px 20px;
  display: block;
}

@media (max-width: 767px) {
  
  .header__bottom {
        background:#401E5B ;

  }

  .header__logo img {
    height: 40px;
    width: auto;
  }
}

/* Menu */

.header__menu-container--mobile {
  display: none;
}

.header__menu--mobile {
  position: absolute;
  z-index: 99;
  top: 100%;
  right: 0;
  display: none;
  width: 100%;
}

@media (max-width: 767px) {
  .header__menu--desktop {
    display: none;
  }

  .header__menu-container--mobile {
    display: block;
    background: transparent !important:
  }

  .header__menu--show {
    display: block;
  }
}

/* Menu items */

.header__menu-item {
  position: relative;
  display: inline-flex;
}

@media (max-width: 767px) {
  .header__menu-wrapper .no-list{
        width:290px;
  }
  .header__menu-item {
    
    display: block;
    width: 100%;
    text-align: right;  
    width:290px;
  }

  [dir='rtl'] .header__menu-item {
    text-align: right;
  }

  .header__menu-link {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
  }


  .header__menu-item--has-submenu .header__menu-link {
    width: 80%;
  }
}

/* Menu items - top level */

.header__menu-item--depth-1 {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .header__menu-item--depth-1 {
    padding: 0;
  }
}

/* Menu items - submenus */


.header__menu-item--has-submenu {
  position: relative;
}

.header__menu-submenu {
  position: absolute;
  margin-top:10px;
  top: 100%;
  left: 0;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 290px;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
   text-align: left;   
}
.header__menu-item--depth-1 .header__menu-child-toggle svg {
    fill: #e5e4ea !important;
}

.header__menu-item--has-submenu.active > .header__menu-submenu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header__menu-submenu li {
  display: list-item; 
  list-style-position: inside;
  list-style-type: disc;
  font-weight: 400;
  text-align: left;
}

.header__menu-submenu li::before {
  position: absolute;
  left: 0;
}

.header__menu-submenu li:not(:last-child) {
  border-bottom: 1px solid #401e5b;
}
#hs_cos_wrapper_header-module-1 .header__menu-link{
    padding-left: 0;
}
.header__menu-link{
  text-align:left;
}


@media (max-width: 768px) {
    .header__menu-item--has-submenu {
      display: flex;
      flex-direction:column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem; /* optional space between label and chevron */
  }
  .header__menu-link--toggle,
  .header__menu-child-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header__menu-child-toggle {
    margin: 0;
    padding: 0;
    font-size: 1rem;
  }
  
  
  
  .header__menu-wrapper .no-list{
  width:290px;
  }
  .header__menu-submenu{
    background-color:#401e5b !important;
    color: #E5E4EB;
    box-shadow:none;
    border-radius:0px;
    padding: 0;
    margin: 0;
  }
  
  .header__menu-submenu a {
    display:block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    margin:0 auto;
    width: 100%;
    box-sizing:border-box;
}
  
  .header__menu-submenu li:not(:last-child) {
  border-bottom: 1px solid #7f6595;
}

  .header__menu-submenu a{
      color: #E5E4EB !important;
  }

  .header__menu-submenu li {
      display: block; 
      text-align: center;
  }
  
  .header__menu-submenu .header__menu-link{
    width:100%;
  }
}


[dir='rtl'] .header__menu-submenu {
  text-align: right;
}

.header__menu-item--open > .header__menu-submenu {
  display: block;
}

.header__menu-item--depth-1:last-child > .header__menu-submenu {
  right: 0;
  left: auto;
}

.header__menu-submenu--level-3 {
  top: 0;
  left: 100%;
}

/* prettier-ignore */
.header__menu-item--depth-1:nth-last-child(-n + 2) .header__menu-submenu--level-3 {
  top: 0;
  right: 100%;
  left: auto;
}

.header__menu-submenu .header__menu-item {
  width: 100%;
  background-color: inherit;
}

.header__menu-submenu .header__menu-link {
  display: inline-flex;
 padding: 0.4rem 0.75rem;
}

.header__menu-item--depth-3 > .header__menu-link {
  margin-left: 10px;
}

.header__menu-item--depth-4 > .header__menu-link {
  margin-left: 20px;
}

.header__menu-item--depth-5 > .header__menu-link,
.header__menu-item--depth-6 > .header__menu-link,
.header__menu-item--depth-7 > .header__menu-link,
.header__menu-item--depth-8 > .header__menu-link,
.header__menu-item--depth-9 > .header__menu-link,
.header__menu-item--depth-10 > .header__menu-link {
  margin-left: 30px;
}

.header__menu-item--button {
  padding: 0.2rem 0.5rem;
}

@media (max-width: 767px) {
  /* prettier-ignore */
  .header__menu-submenu,
  .header__menu-submenu--level-3,
  .header__menu-item--depth-1:nth-last-child(-n + 2) .header__menu-submenu--level-3 {
    position: static;
    width: 100%;
    border: none;
  }
}

/* Menu icons */

@media (min-width: 767px) {
  .header__menu-submenu .header__menu-child-toggle {
    padding: 0.7rem 1rem;
    margin-left: auto;
  }

  [dir='rtl'] .header__menu-submenu .header__menu-child-toggle {
    margin-right: auto;
    margin-left: 0;
  }
}

.header__menu-child-toggle svg {
  height: 15px;
  width: 15px;
  margin-left: 0.35rem;
}

[dir='rtl'] .header__menu-child-toggle svg {
  margin-right: 0.35rem;
  margin-left: 0;
}

.header__menu-toggle {
  display: none;
}

.header__menu-toggle svg {
  height: 30px;
  width: 30px;
}

@media (max-width: 767px) {
  .header__menu-child-toggle,
  .header__menu-child-toggle:hover,
  .header__menu-child-toggle:focus,
  .header__menu-child-toggle:active {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    min-width: 75px;
    padding: 10px 30px;
    border: 0;
    cursor: pointer;
  }

  [dir='rtl'] .header__menu-child-toggle,
  [dir='rtl'] .header__menu-child-toggle:hover,
  [dir='rtl'] .header__menu-child-toggle:focus,
  [dir='rtl'] .header__menu-child-toggle:active {
    right: auto;
    left: 0;
  }

  .header__menu-child-toggle svg {
    margin-left: 0;
  }

  .header__menu-child-toggle--open svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    transition: transform 0.4s;
  }

  .header__menu-toggle--show {
    display: block;
    max-height:30px;    
  }
}
