.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--artek-header-max-width, 1760px);
  margin-right: auto;
  margin-left: auto;
  padding: 8px 16px 24px;
  color: #fff;
  background: transparent;
  backdrop-filter: none;
}

.app-header.container--wide {
  display: flex;
  align-items: center;
}

.admin-bar .app-header {
  top: 32px;
}

.app-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.app-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 219px;
  min-height: 84.328px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-logo__item {
  display: flex;
  align-items: center;
}

.app-logo__item--ministry {
  padding-left: 12px;
}

.app-logo__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  text-decoration: none;
}

.app-logo__link--artek {
  width: 112px;
  height: 84.328px;
}

.app-logo__link--ministry {
  width: 80px;
  height: 80px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-logo__item-edu:hover .app-logo__link--ministry,
.app-logo__link--ministry:hover {
  background: rgba(255, 255, 255, 0.3);
}

.app-logo__link--ministry img {
  display: block;
  width: 64px;
  height: auto;
}

.app-logo__divider {
  display: block;
  width: 1px;
  height: 44px;
  margin-right: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.app-logo-mark {
  position: relative;
  display: block;
  width: 112px;
  height: 84.328px;
  overflow: hidden;
}

.app-logo-mark__layer {
  position: absolute;
  overflow: hidden;
}

.app-logo-mark__layer img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-logo-mark__base {
  inset: 53.48% 0.47% 0.47% 0.59%;
}

.app-logo-mark__flame--1 {
  inset: 7.5% 46.59% 43.75% 32.38%;
}

.app-logo-mark__flame--2 {
  inset: 0.62% 34.63% 47.81% 44.57%;
}

.app-logo-mark__flame--3 {
  inset: 31.56% 43.3% 45% 47.65%;
}

.app-logo-mark__flame--4 {
  inset: 28.59% 56.71% 41.53% 24.92%;
}

.app-logo-mark__flame--5 {
  inset: 45.94% 53.65% 41.72% 38.12%;
}

.app-logo__item-artek:hover .app-logo-mark__base img,
.app-logo__link--artek:hover .app-logo-mark__base img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(75%) saturate(1800%) hue-rotate(186deg) brightness(95%) contrast(95%);
}


.app-header__nav-block-wrap {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding-left: 40px;
}

.app-header__nav-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.app-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.app-header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.app-header__nav-item + .app-header__nav-item {
  padding-left: 24px;
}

.app-header__nav-link {
  display: flex;
  align-items: center;
  min-height: 28px;
  color: #fff;
  font: 400 18px/28px Lato, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .app-header__nav-link {
    opacity: 1;
  }

  .app-header__nav-item:hover .app-header__nav-link,
  .app-header__nav-item:focus-within > .app-header__nav-link,
  .app-header__nav-link:focus {
    opacity: 1;
  }

  .app-header__nav-item.is-nav-dimmed .app-header__nav-link {
    opacity: 0.5;
  }
}

.app-header__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 12px;
  min-width: 220px;
  padding: 14px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: rgba(3, 37, 86, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.app-header__nav-item:hover .app-header__submenu,
.app-header__nav-item:focus-within .app-header__submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.app-header__submenu-link,
.app-dropdown-nav__link {
  display: block;
  padding: 8px 10px;
  color: #fff;
  font: 400 16px/22px Lato, Arial, sans-serif;
  text-decoration: none;
  border-radius: 10px;
}

.app-header__submenu-link:hover,
.app-header__submenu-link:focus,
.app-dropdown-nav__link:hover,
.app-dropdown-nav__link:focus {
  background: rgba(255, 255, 255, 0.12);
}

.app-search-btn-mobile {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 1.25rem;
  padding: 0;
  color: #fff;
  text-decoration: none;
}

.app-search-btn-mobile .stop1 {
  stop-color: #d80960;
}

.app-search-btn-mobile .stop2 {
  stop-color: #fec200;
}

.app-dropdown-nav-control__wrap {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-left: 16px;
}

.app-dropdown-nav-control,
.app-search-control__btn,
.app-accessibility-control {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-dropdown-nav-control {
  position: relative;
  width: 48px;
  height: 48px;
  background-image: linear-gradient(226deg, #d80960, #fec200);
  border-radius: 9999px;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.app-burger-menu {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #fff;
}

.app-burger-menu__icon {
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.app-burger-menu__icon .sun {
  opacity: 0;
  transform: translateY(5rem);
  transition: opacity 0.2s, transform 0.3s ease;
}

.app-burger-menu--mobile {
  display: block;
  position: relative;
  width: 1.75rem;
  height: 100%;
  margin-top: -0.125rem;
}

.app-burger-menu--mobile span,
.app-burger-menu--mobile span::before,
.app-burger-menu--mobile span::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.75rem;
  height: 2px;
  background: #fff;
  border-radius: 0.375rem;
  transition-delay: 0.3s;
  transition-duration: 0.3s;
}

.app-burger-menu--mobile span::before,
.app-burger-menu--mobile span::after {
  content: "";
}

.app-burger-menu--mobile span::before {
  top: -0.375rem;
}

.app-burger-menu--mobile span::after {
  top: 0.375rem;
}

.app-dropdown-nav-control--active .app-burger-menu--mobile span {
  background-color: transparent;
  transition-delay: 0.3s;
  transition-duration: 0.1s;
}

.app-dropdown-nav-control--active .app-burger-menu--mobile span::before,
.app-dropdown-nav-control--active .app-burger-menu--mobile span::after {
  top: 0;
  transition: top 0.3s, transform 0.3s 0.3s;
}

.app-dropdown-nav-control--active .app-burger-menu--mobile span::before {
  transform: rotate(-45deg) scale(0.8);
}

.app-dropdown-nav-control--active .app-burger-menu--mobile span::after {
  transform: rotate(45deg) scale(0.8);
}

.app-burger-menu .lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-0.75rem);
}

.app-burger-menu .lines__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-bottom: 3px;
  background: currentColor;
  border-radius: 9999px;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.app-burger-menu .lines__bar:last-child {
  margin-bottom: 0;
}

.app-dropdown-nav-control:hover .app-burger-menu__icon .sun,
.app-burger-menu:hover .app-burger-menu__icon .sun {
  opacity: 1;
  transform: translateY(0.4rem);
  transition-delay: 0.15s;
}

.app-dropdown-nav-control:hover .app-burger-menu .lines__bar:nth-child(1),
.app-burger-menu:hover .lines__bar:nth-child(1) {
  transform: translateY(0.75rem) scaleX(1.15);
  transition-delay: 0.15s;
}

.app-dropdown-nav-control:hover .app-burger-menu .lines__bar:nth-child(2),
.app-burger-menu:hover .lines__bar:nth-child(2) {
  transform: translateY(0.7rem) scaleX(0.75);
  transition-delay: 0.1s;
}

.app-dropdown-nav-control:hover .app-burger-menu .lines__bar:nth-child(3),
.app-burger-menu:hover .lines__bar:nth-child(3) {
  transform: translateY(0.65rem) scaleX(0.5);
  transition-delay: 0.05s;
}

.app-dropdown-nav {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  background: rgba(3, 37, 86, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.app-header-controls {
  display: block;
  flex: 0 0 auto;
  padding: 0 0 16px 40px;
}

.app-header-controls__top {
  position: relative;
  width: 213.7px;
  height: 48px;
}

.app-search-control__btn {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
}

.app-search-control__btn:hover,
.app-search-control__btn:focus {
  transform: translateY(-50%) scale(1.25);
}

.app-accessibility-control:hover,
.app-accessibility-control:focus {
  transform: scale(1.25);
}

.app-accessibility-control {
  position: absolute;
  top: 0;
  left: 44px;
  width: 48px;
  height: 48px;
}

.app-header-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.app-header-icon--accessibility {
  width: 48px;
  height: 24px;
}

.app-header-icon--phone,
.app-header-icon--mail {
  position: relative;
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.app-header-icon--phone img,
.app-header-icon--mail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-header-icon--phone .app-header-icon__accent,
.app-header-icon--mail .app-header-icon__accent {
  opacity: 0;
}

.app-call-center-control__phone:hover .app-header-icon,
.app-call-center-control__mail:hover .app-header-icon {
  transform: scale(1.25);
}

.app-lang-switch {
  position: absolute;
  top: 11px;
  left: 112px;
  display: flex;
  align-items: center;
}

.app-lang-switch__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  padding: 4.5px 5px 5.5px;
  color: #fff;
  font: 400 16px/16px Lato, Arial, sans-serif;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-lang-switch__item--muted {
  opacity: 0.5;
}

.app-lang-switch__item--muted:hover {
  opacity: 1;
}

.app-lang-switch__item--active {
  border-color: #fff;
}

.app-call-center-control {
  width: 213.7px;
}

.app-call-center-control a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-call-center-control__phone,
.app-call-center-control__mail {
  display: flex;
  align-items: flex-start;
}

.app-call-center-control__phone .app-header-icon,
.app-call-center-control__mail .app-header-icon {
  flex: 0 0 24px;
}

.app-call-center-control__phone span,
.app-call-center-control__mail span {
  padding-left: 12px;
}

.app-call-center-control__phone strong {
  display: block;
  font: 400 24px/24px Lato, Arial, sans-serif;
  white-space: nowrap;
}

.app-call-center-control__phone small {
  display: block;
  padding-top: 4px;
  font: 400 14px/14px Lato, Arial, sans-serif;
  opacity: 0.4;
  white-space: nowrap;
}

.app-call-center-control__mail {
  padding-top: 4px;
}

.app-call-center-control__mail span {
  font: 400 18px/28px Lato, Arial, sans-serif;
  white-space: nowrap;
}

@media (min-width: 1700px) {
  .app-header.container--wide {
    align-items: stretch;
    min-height: 170px;
  }

  .app-header__inner {
    align-items: center;
    min-height: 100%;
  }

  .app-header-controls {
    width: 214px;
    margin-left: 40px;
    padding-left: 0;
  }
}

@media (max-width: 1279px) {
  .app-header {
    position: fixed;
    right: 0;
    left: 0;
  }

  .admin-bar .app-header {
    top: 46px;
  }
}

/* artek.org: dark wordmark on home hero; frosted bar below xl */
.app-header.app-header--light {
  color: #001330;
}


@media (max-width: 1919px) {
  .app-header.app-header--light {
    background: rgba(255, 255, 255, 0.5);
  }

  .app-header.app-header--light .app-logo__divider {
    background: rgba(0, 19, 48, 0.2);
  }
}

@media (max-width: 1759px) {
  .app-header {
    padding: 48px 20px 20px;
    border-radius: 0 0 20.8px 20.8px;
  }

  .app-header__nav {
    display: none;
  }

  .app-header__nav-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: normal;
  }

  .app-header__nav-block-wrap {
    flex: 1 1 auto;
    margin-left: auto;
    padding-left: 12px;
  }

  .app-header-controls {
    display: none;
  }
}

@media (min-width: 1760px) {
  .app-search-btn-mobile {
    display: none;
  }

  .app-dropdown-nav-control {
    width: 24px;
    height: 24px;
    background-image: none;
    border-radius: 0;
  }

  .app-burger-menu {
    display: flex;
    overflow: hidden;
  }

  .app-burger-menu--mobile {
    display: none;
  }
}

@media (max-width: 899px) {
  .app-logo {
    width: 134px;
    min-height: 0;
  }

  .app-logo__link--artek {
    width: 69px;
    height: 51px;
  }

  .app-logo-mark {
    width: 69px;
    height: 51px;
  }

  .app-logo__link--ministry {
    width: 48px;
    height: 48px;
    padding: 4px;
  }

  .app-logo__link--ministry img {
    width: 40px;
  }

  .app-logo__divider {
    height: 32px;
    margin-right: 8px;
  }

  .app-logo__item--ministry {
    padding-left: 8px;
  }
}

