dxp-header {
  /**
  * @prop --header-brand-height: Controls height for top brand section.
  */
  --header-brand-height: 72px;
  /**
  * @prop --header-nav-height: Controls height for bottom navigation menu section.
  */
  --header-nav-height: 56px;
  /**
  * @prop --header-border-radius: Controls border radius applied to the top of the navigation menu section.
  */
  --header-border-radius: 12px;
  /**
  * @prop --header-transition-speed: Controls how fast the navigation menu section covers the brand section on scroll.
  */
  --header-transition-speed: 0.2s;
  /**
  * @prop --header-brand-collapsed-height: Controls the height of the brand bar after collapsing on scroll.
  */
  --header-brand-collapsed-height: 4px;
  /**
  * @prop --header-max-width: Controls the max width for the entire component.
  */
  --header-max-width: inherit;

  /**
  * @prop --background-header: Controls the background color for the entire component.
  */
  --background-header: hsl(259.5, 100%, 50%);
  /**
  * @prop --header-font-weight: Controls default weight of text font.
  */
  --header-font-weight: 400;
  /**
  * @prop --collapsed-bottom-border: Controls the border that is displayed on the bottom of the component when collapsed.
  */
  --collapsed-bottom-border: hsl(0, 0%, 89.8%);

  /**
  * @prop --color-brand: Controls the text color for the brand section.
  */
  --color-brand: hsl(0, 0%, 100%);
  /**
  * @prop --background-brand: Controls the background color for the brand section.
  */
  --background-brand: hsl(259.5, 100%, 50%);
  /**
  * @prop --color-nav: Controls the text color for the navigation section.
  */
  --color-nav: hsl(0, 0%, 9.8%);
  /**
  * @prop --background-nav: Controls the background color for the navigation section.
  */
  --background-nav: hsl(0, 0%, 100%);
  /**
  * @prop --padding-nav: Controls the padding for the navigation section.
  */
  --padding-nav: 0 1rem;
}

@keyframes keyframes-slideUp {
  from {
    top: 0;
  }
  to {
    top: -56px;
  }
}

.header__container {
  width: 100%;
  height: 128px;
}

.header__user-menu--desktop {
  display: block;
}

.header__user-menu--mobile {
  display: none;
}

@media (max-width: 1023px) {
  .header__container {
    width: 100%;
    height: 66px;
  }
  .header__user-menu--desktop {
    display: none;
  }

  .header__user-menu--mobile {
    display: block;
  }
}

.header {
  width: 100%;
  z-index: 99;
  position: fixed;
  background: var(--background-header);
  font-weight: var(--header-font-weight);
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.header .header__brand {
  color: var(--color-brand);
  background: var(--background-brand);
  display: flex;
  align-items: center;
}
.header .header__nav {
  box-sizing: border-box;
  color: var(--color-nav);
  background: var(--background-nav);
  display: flex;
  align-items: center;
  border-top-left-radius: var(--header-border-radius);
  border-top-right-radius: var(--header-border-radius);
  border-bottom: 1px solid transparent;
}
.header.menu--open .header__nav,
.header.header--sticky .header__nav {
  border-bottom: var(--collapsed-bottom-border);
}
.header .header__nav-content {
  width: 100%;
  display: flex;
  align-items: center;
}
.header .header__nav-menu-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header *[slot='menu-icon'],
.header .meta-navigation {
  display: flex;
  padding: 0;
  list-style: none;
  align-items: center;
  margin-block-start: 0;
  margin-block-end: 0;
}

@media (max-width: 1023px) {
  .header {
    height: var(--header-nav-height);
  }
  .header.menu--open .header__nav-before,
  .header.header--sticky .header__nav-before,
  .header.header--sticky .header__nav-after,
  .header.menu--open .header__nav-after {
    top: 51px;
  }

  .header .sector-navigation,
  .header .addon-navigation,
  .header *[slot='menu-main'],
  .header .main-navigation {
    display: none !important;
  }
  .header .header__brand {
    width: 100%;
    height: var(--header-nav-height);
    display: flex;
    padding: 0 1rem;
    z-index: 96;
    position: absolute;
    transition: height var(--header-transition-speed) ease-in-out;
    align-items: center;
    animation-name: keyframes-slideUp;
    animation-delay: 0.5s;
    justify-content: space-between;
    animation-duration: 0.75s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.42, 0, 0.1, 1);
  }
  .header .header__nav {
    top: 4px;
    width: 100%;
    height: calc(var(--header-nav-height) - 4px);
    padding: var(--padding-nav);
    z-index: 95;
    position: absolute;
  }
  .header .header__nav__mobile-menu {
    top: var(--header-nav-height);
    width: 100%;
    display: none;
    position: relative;
  }
  .header .header__nav__mobile-menu--opened {
    height: calc(100vh - var(--header-nav-height));
    display: block;
    overflow-y: auto;
    background: #fff;
  }

  .header .header__brand .header__brand-before,
  .header .header__brand .header__brand-after {
    width: var(--header-border-radius);
    bottom: calc(-2 * var(--header-border-radius));
    height: calc(2 * var(--header-border-radius));
    position: absolute;
    border-top: transparent;
    box-shadow: 0 calc(-1 * var(--header-border-radius)) 0 0 var(--background);
    background-color: transparent;
  }
  .header .header__brand .header__brand-before {
    left: -1px;
    z-index: 97;
    border-left: transparent;
    border-top-left-radius: var(--header-border-radius);
  }
  .header .header__brand .header__brand-after {
    right: -1px;
    z-index: 98;
    border-right: transparent;
    border-top-right-radius: var(--header-border-radius);
  }
  .header .header__brand .logo svg {
    width: auto;
    height: 26px;
  }
}
.header .header__nav .header__nav-logo svg path {
  fill: var(--background) !important;
}
@media (min-width: 1024px) {
  .header .header__nav-before {
    top: 55px;
  }
  .header .header__nav-after {
    top: 55px;
  }
  .header .mobile-menu,
  .header .header__nav__mobile-menu {
    display: none;
  }
  .header .header__brand {
    height: var(--header-brand-height);
    padding: 0 1.5rem;
    transition: height var(--header-transition-speed) ease-in-out;
    justify-content: space-between;
  }
  .header .header__brand-content {
    top: 0;
    width: 100%;
    display: flex;
    opacity: 1;
    position: relative;
    transition: opacity var(--header-transition-speed) ease-in-out,
      top var(--header-transition-speed) ease-in-out;
    align-items: center;
  }
  .header .header__nav {
    height: var(--header-nav-height);
    padding: 0 1.5rem;
    position: relative;
  }
  .header .header__nav-logo {
    width: 50px;
    opacity: 0;
    transition: none;
    font-weight: 700;
    margin-right: 1rem;
    pointer-events: none;
  }
  .header.header--sticky .header__nav-logo {
    pointer-events: all;
    margin-right: 2rem;
  }

  .header dxp-nav-main:first-child li {
    padding-left: 0;
  }
  .header *[slot='menu-main'],
  .header .main-navigation {
    height: var(--header-nav-height);
    margin: 0;
    display: flex;
    padding: 0;
    list-style: none;
    transition: margin-left var(--header-transition-speed) ease-in-out;
    align-items: center;
    margin-left: calc(-50px - 1rem);
  }
  .header *[slot='menu-sector'],
  .header *[slot='menu-addon'],
  .header .sector-navigation {
    display: flex;
  }
  .header .addon-navigation {
    display: flex;
    list-style: none;
  }

  .header .sector-navigation .segment-navigation__item-link {
    margin: 0 7px;
  }

  .header .addon-navigation .segment-navigation__item-link {
    margin: 0 0 0 14px;
  }

  .header.header--sticky {
    --header-brand-height: 4px;
  }
  .header.header--sticky .header__nav-logo {
    opacity: 1;
    transition: opacity var(--header-transition-speed) ease-in-out;
  }
  .header.header--sticky .header__brand-content {
    top: 56px;
    opacity: 0;
    transition: opacity var(--header-transition-speed) ease-in-out,
      top var(--header-transition-speed) ease-in-out;
  }
  .header *[slot='menu-main'],
  .header.header--sticky .main-navigation {
    transition: margin-left var(--header-transition-speed) ease-in-out;
    margin-left: 0;
  }
  .header .sector-navigation .sector-navigation__portal-name {
    font-weight: 800;
    font-size: 1.25rem;
    list-style-type: none;
  }

  .header *[slot='menu-main'],
  dxp-nav-main {
    height: 100%;
  }
  .header *[slot='logo'],
  .header .header__brand-content .header__brand-branding {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .header .header__brand-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header .header__brand-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .header .header__brand app-logo {
    margin-right: 1rem;
  }
}

@media (min-width: 1552px) {
  .header .header__nav-content,
  .header .header__brand-content {
    margin: 0 auto;
    max-width: var(--header-max-width);
  }
}
