.intranet-header {
  overflow: visible;
  position: relative;
  width: 100%;
  z-index: 3;
}

.intranet-header *,
.intranet-header *::before,
.intranet-header *::after {
  box-sizing: border-box;
}

.intranet-header__media {
  overflow: hidden;
  width: 100%;
}

.intranet-header__image {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.intranet-header__mobile-ui {
  inset: 0;
  overflow: visible;
  position: absolute;
  z-index: 6;
}

.intranet-header__menu-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 23px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 34px;
  top: 34px;
  transition:
    color 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 23px;
  z-index: 8;
}

.intranet-header__menu-button-icon {
  display: block;
  height: 19px;
  overflow: visible;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 23px;
}

.intranet-header__menu-button-icon path {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3;
}

.intranet-header__menu-button--open {
  color: #101820;
}

.intranet-header__menu-button-icon--open {
  height: 23px;
}

.intranet-header__menu-button-icon--open path {
  stroke-width: 2.5;
}

.intranet-header__menu {
  animation: intranet-header-menu-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(4.1px);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  box-shadow: 4px 4px 9.8px rgba(0, 0, 0, 0.25);
  left: 6px;
  overflow: visible;
  padding: 19px 28px 20px;
  position: absolute;
  right: 6px;
  top: 6px;
  transform-origin: top right;
  z-index: 7;
}

.intranet-header__menu-header {
  animation: intranet-header-fade-up 220ms cubic-bezier(0.22, 1, 0.36, 1) 40ms both;
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 49px;
  padding: 9px 0 28px;
}

.intranet-header__menu-logo {
  display: block;
  height: auto;
  max-width: 157px;
  width: 157px;
}

.intranet-header__menu-list {
  display: block;
  overflow-y: auto;
  padding-top: 0;
}

.intranet-header__menu-list > * {
  animation: intranet-header-fade-up 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intranet-header__menu-list > :nth-child(1) {
  animation-delay: 70ms;
}

.intranet-header__menu-list > :nth-child(2) {
  animation-delay: 100ms;
}

.intranet-header__menu-list > :nth-child(3) {
  animation-delay: 130ms;
}

.intranet-header__menu-list > :nth-child(4) {
  animation-delay: 160ms;
}

.intranet-header__menu-list > :nth-child(5) {
  animation-delay: 190ms;
}

.intranet-header__menu-list > :nth-child(6) {
  animation-delay: 220ms;
}

.intranet-header__menu-list > :nth-child(n + 7) {
  animation-delay: 250ms;
}

.intranet-header__image--desktop {
  display: none;
}

.intranet-header__image--mobile {
  display: block;
}

.intranet-header__placeholder {
  align-items: center;
  background: #f2f5f7;
  border: 1px dashed #c8d2db;
  color: #5e6167;
  display: flex;
  font-size: 14px;
  justify-content: center;
  min-height: 160px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

@keyframes intranet-header-menu-in {
  from {
    opacity: 0;
    transform: translate3d(14px, -12px, 0) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes intranet-header-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 767px) {
  .intranet-header__media {
    min-height: 176px;
    overflow: visible;
  }

  .intranet-header__image--mobile {
    min-height: 176px;
    object-fit: cover;
  }

  .intranet-header__menu-button--open {
    right: 34px;
    top: 47px;
  }

  .intranet-header__menu {
    max-height: calc(100vh - 24px);
  }

  .intranet-header__menu-list {
    max-height: calc(100vh - 150px);
  }
}

@media (min-width: 768px) {
  .intranet-header__mobile-ui {
    display: none;
  }

  .intranet-header__image--desktop {
    display: block;
  }

  .intranet-header__image--mobile {
    display: none;
  }

  .intranet-header__placeholder {
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intranet-header__menu-button,
  .intranet-header__menu-button-icon {
    transition: none;
  }

  .intranet-header__menu,
  .intranet-header__menu-header,
  .intranet-header__menu-list > * {
    animation: none;
  }
}

