#ekranpro-first-screen .ep-nov23-solutions {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
#ekranpro-first-screen .ep1-nav .ep-nov23-solutions > a:is(:hover, :focus-visible) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}
#ekranpro-first-screen .ep1-header .ep-nov23-solutions > button.ep1-catalog-toggle {
  width: auto;
  min-width: 26px;
  padding-inline: 5px;
  justify-content: center;
}
#ekranpro-first-screen .ep-nov23-solutions:has(> #ep1-catalog) {
  flex-wrap: wrap;
}
#ekranpro-first-screen .ep-nov23-solutions > #ep1-catalog {
  flex: 1 0 100%;
}
html body #ekranpro-first-screen:not(:has(.ep1-hero)) {
  position: relative !important;
  inset: auto;
}
html body #ekranpro-first-screen:has(.ep1-hero) .ep1-header.is-docked {
  background: rgba(23, 26, 28, .72) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}
html:root body #ekranpro-first-screen:has(.ep1-hero) .ep1-header.ep1-header.is-docked:not(.is-visible) {
  opacity: 0 !important;
  transform: translate3d(0, -100%, 0) !important;
  pointer-events: none !important;
}
html:root body #ekranpro-first-screen:has(.ep1-hero) .ep1-header.ep1-header.is-docked.is-visible {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}
.ep-director-portrait { background: #fff !important; }
.ep-nov23-catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  border: 1px solid currentColor;
  background: rgb(17 21 24 / 70%);
  text-align: center;
  text-decoration: none;
}
.ep-nov23-catalog-link:hover,
.ep-nov23-catalog-link:focus-visible { background: #171b1e; }

@media (min-width: 761px) {
  html body #ekranpro-first-screen .ep1-hero-content {
    flex-shrink: 0;
    justify-content: flex-end;
    padding-block-end: 0 !important;
  }
  html body #ekranpro-first-screen .ep1-hero-actions {
    position: static;
    flex-shrink: 0;
    margin-block-start: 24px;
  }
  html body #ekranpro-first-screen .ep1-hero-bottom,
  html body .sx-hero:has(.sx-hero-actions) .sx-hero-foot {
    margin-block-start: 32px !important;
    padding-block-start: 24px;
  }
}

#ep-podbor .pb-scene { position: relative; }
#ep-podbor .ep-nov23-picker-hint {
  position: absolute;
  top: var(--ep-picker-hint-y, 44px);
  left: var(--ep-picker-hint-x, 50%);
  z-index: 2;
  margin: 0;
  padding: 6px 10px;
  width: max-content;
  max-width: calc(100% - 20px);
  transform: translate(-50%, -100%);
  color: #171a1c;
  background: #f36b52;
  border: 1px solid #f36b52;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
  pointer-events: none;
}
#ep-podbor .ep-nov23-picker-hint > span { display: block; }
#ep-podbor .pb-scene:not(:has(.pb-person)) .ep-nov23-picker-hint,
#ep-podbor .pb-scene:has(.pb-person:hover, #pb-svg.is-drag, #pb-svg:focus-visible) .ep-nov23-picker-hint {
  visibility: hidden;
}
@media (max-width: 1200px) {
  #ep-podbor .pb-out { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #ep-podbor .pb-out > .pb-cell:first-child { grid-column: 1 / -1 !important; }
  #ep-podbor .pb-out > .pb-cell:nth-child(2) { border-left: 0 !important; }
  #ep-podbor .pb-out > .pb-cell:last-child {
    grid-column: auto !important;
    border-left: 1px solid var(--pb-line) !important;
  }
  #ep-podbor .pb-out > .pb-cell:nth-child(n + 2) {
    min-width: 0;
    border-top: 1px solid var(--pb-line) !important;
  }
  #ep-podbor .pb-out .pb-v--money,
  #ep-podbor.pb--mf .pb-out .pb-v--money {
    font-size: clamp(18px, 3.4vw, 31px) !important;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  #ep-podbor .pb-out > .pb-qrow { grid-row: 2; }
  #ep-podbor .pb-out > .pb-cell:last-child { padding-block: 14px 12px !important; }
}

@media (min-width: 761px) {
  #ep-podbor .pb-view .pb {
    grid-template-rows: 315px auto auto;
  }
  #ep-podbor .pb-view .pb .pb-controls { grid-row: 1 / 3; }
  html body #ep-podbor .pb-scene {
    min-block-size: 315px !important;
    block-size: 315px;
    align-self: start;
  }
  html body #ep-podbor .pb-view .pb .pb-foot {
    grid-area: 3 / 1 / 4 / 2;
    padding-inline: 24px;
  }
}

@media (min-width: 981px) {
  #ep-podbor .pb-view .pb {
    --ep-picker-controls-width: clamp(280px, 30%, 320px);
  }
  html body #ep-podbor .pb-view .pb .pb-foot {
    grid-column: 1 / -1;
    padding-inline-end: calc((100% - var(--ep-picker-controls-width)) * 2 / 3 + 20px);
  }
  #ep-podbor .pb-view .pb .pb-cta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #ep-podbor .pb-view .pb .pb-cta-c:empty { display: flex; }
}

@media (min-width: 1201px) {
  #ep-podbor .pb-view .pb { --ep-picker-controls-width: 400px; }
}

@media (min-width: 761px) {
  #ep-podbor.is-pinned.pb--mf:not(.pb--tr) .pb-places--mf {
    grid-auto-rows: auto;
    flex: 0 0 auto;
  }
  #ep-podbor.is-pinned.pb--mf:not(.pb--tr) .pb-places--mf .pb-type {
    max-block-size: none;
  }
  #ep-podbor.is-pinned.pb--mf:not(.pb--tr) .pb-type img {
    inline-size: 58px;
    block-size: 58px;
  }
}

@media (max-width: 1200px) {
  #ep-podbor .pb-out > .pb-cell:first-child { grid-row: 1 !important; }
  #ep-podbor .pb-out > .pb-cell:nth-child(2) { grid-area: 3 / 1 / 4 / 2 !important; }
  #ep-podbor .pb-out > .pb-cell:last-child { grid-area: 3 / 2 / 4 / 3 !important; }
}

#ek-drawer .dh #ek-close-drawer {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 0;
}

@media (max-width: 760px) {
  #ep-podbor .pb-out > .pb-cell:nth-child(n + 2) .pb-k { min-block-size: 2.6em; }
  #ep-podbor .pb-out .pb-v.pb-v--money { margin-block: 6px 2px !important; }
}

@media (max-width: 374px) {
  html body #ekranpro-first-screen .ep1-header .ep1-mainbar { gap: 4px !important; }
}

@media (max-width: 760px) {
  html { overflow-x: clip; overscroll-behavior-x: none; }
  html:has(#ekranpro-first-screen .ep1-hero) body { overflow-x: clip; }
  html:root body #ekranpro-first-screen .ep1-header.ep1-header,
  html:root body #ekranpro-first-screen .ep1-header.ep1-header .ep1-mainbar {
    inline-size: min(100%, var(--ep-nov23-header-width, 100vw)) !important;
    max-inline-size: 100% !important;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:root body #ekranpro-first-screen:has(.ep1-hero) .ep1-header.ep1-header.is-docked:not(.is-visible) {
    transform: none !important;
  }
}
