/* Local fallback for Megagroup's accordion module. The original module is
   loaded as a remote webpack chunk and is not available in the static mirror. */
.mosaic-accordion__head {
  cursor: pointer;
  user-select: none;
}

.mosaic-accordion__head:focus-visible {
  outline: 3px solid #f0b35a;
  outline-offset: 3px;
}

.mosaic-accordion__icon {
  position: relative;
  background-image: none !important;
}

.mosaic-accordion__icon::before,
.mosaic-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, opacity .18s ease;
}

.mosaic-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mosaic-accordion__head.is-active .mosaic-accordion__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.mosaic-accordion__body {
  overflow: hidden;
}

/* Static fallback for Megagroup's dynamically loaded horizontal-menu module. */
.hor-menu.has-local-menu-fallback,
.hor-menu.has-local-menu-fallback .hor-menu__item,
.hor-menu.has-local-menu-fallback .hor-menu__sub_item {
  position: relative;
}

.hor-menu.has-local-menu-fallback .hor-menu__list {
  overflow: visible !important;
}

.hor-menu.has-local-menu-fallback .hor-menu__item > .hor-menu__sub_list,
.hor-menu.has-local-menu-fallback .hor-menu__sub_item > .hor-menu__sub_list {
  display: none !important;
}

.hor-menu.has-local-menu-fallback .is-local-menu-open > .hor-menu__sub_list {
  display: block !important;
}

.hor-menu.has-local-menu-fallback > .hor-menu__list > .hor-menu__item > .hor-menu__sub_list {
  top: 100%;
  left: 0;
  box-shadow: 0 12px 28px rgba(16, 58, 48, .18);
}

.hor-menu.has-local-menu-fallback .hor-menu__sub_item > .hor-menu__sub_list {
  top: 0;
  left: 100%;
  max-height: min(70vh, 620px);
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(16, 58, 48, .18);
}

.hor-menu.has-local-menu-fallback a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #f0b35a;
  outline-offset: -3px;
}

/* Yandex fallback for the static mirror: the original map module is remote
   and otherwise leaves a large gray placeholder on the old homepage. */
.mosaic-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}
