.vac-map {
  margin: 18px 0 8px;
}

.vac-map h2 {
  margin: 0 0 6px;
  color: #17211c;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.vac-map__address {
  margin: 0 0 10px;
  color: #24302a;
  font-size: 15px;
  line-height: 1.4;
}

.vac-map__canvas,
.vac-map-page__canvas {
  overflow: hidden;
  border: 1px solid #e4ebe7;
  border-radius: 16px;
  background: #eef3f0;
}

.vac-map__canvas {
  height: 364px;
}

.vac-map__canvas [class*="gotoymaps"],
.vac-map__canvas [class*="copyrights-promo"],
.vac-map-page__canvas [class*="gotoymaps"],
.vac-map-page__canvas [class*="copyrights-promo"] {
  display: none !important;
}

.vac-map__open,
.vac-map-page__all,
.vac-map-card__profile,
.job-maplink {
  color: #1a56c4;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.vac-map__open {
  display: inline-block;
  margin-top: 8px;
}

.vac-map__open:hover,
.vac-map-page__all:hover,
.vac-map-card__profile:hover,
.job-maplink:hover {
  text-decoration: underline;
}

body.vacancy-map-page {
  --vac-map-top: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px));
}

body.vacancy-map-page .site-content-fullwidth {
  padding-top: var(--vac-map-top);
}

.vac-map-screen {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--vac-map-top, 68px));
  min-height: 0;
}

.vac-map-filter {
  flex: none;
  padding: 10px 16px 8px;
  background: #fff;
  border-bottom: 1px solid #e6eee9;
}

.vac-map-filter__top {
  display: flex;
  gap: 8px;
}

.vac-map-filter__top input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7e0db;
  border-radius: 12px;
  background: #f7faf8;
  font: inherit;
  font-size: 15px;
}

.vac-map-filter__top button {
  flex: none;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #101613;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.vac-map-filter__chips {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
}

.vac-map-chip,
.vac-map-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d7e0db;
  border-radius: 999px;
  background: #fff;
  color: #17211c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.vac-map-chip::before {
  content: "+";
  color: #5c6b64;
  font-weight: 800;
}

.vac-map-chip.is-on {
  border-color: #101613;
  background: #101613;
  color: #fff;
}

.vac-map-chip.is-on::before { content: none; }

.vac-map-chip.is-open {
  border-color: #1a56c4;
  color: #1a56c4;
}

.vac-map-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  line-height: 1;
}

.vac-map-filter__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.vac-map-filter__menu[hidden] { display: none; }

.vac-map-filter__menu button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #e3e8e5;
  border-radius: 999px;
  background: #f7f8f8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.vac-map-filter__menu button.is-on {
  background: #101613;
  border-color: #101613;
  color: #fff;
}

.vac-map-filter__menu button span {
  color: #5c6b64;
  font-size: 12px;
}

.vac-map-filter__menu button.is-on span { color: rgba(255, 255, 255, 0.75); }

.vac-map-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: stretch;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  margin: 0;
}

.vac-map-page__canvas {
  height: 100%;
  min-height: 0;
  border-radius: 0 0 0 16px;
}

.vac-map-page__side {
  height: 100%;
  overflow: auto;
  padding: 16px 16px 16px 4px;
}

.vac-map-page__eye {
  margin: 0 0 6px;
  color: #667068;
  font-size: 13px;
}

.vac-map-page__eye a {
  color: inherit;
  text-decoration: none;
}

.vac-map-page h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.vac-map-page__lead {
  margin: 0 0 10px;
  color: #3d4a43;
}

.vac-map-page__all {
  display: inline-block;
  margin-bottom: 12px;
}

.vac-map-card {
  margin: 0 0 10px;
  padding: 12px 12px 10px;
  border: 1px solid #e6eee9;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.vac-map-card.is-on {
  border-color: #1a56c4;
  box-shadow: 0 0 0 2px rgba(26, 86, 196, 0.15);
}

.vac-map-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.vac-map-card h2 a {
  color: inherit;
  text-decoration: none;
}

.vac-map-card p {
  margin: 0 0 8px;
  color: #526058;
  font-size: 14px;
}

.vac-map-card ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.vac-map-card li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 14px;
}

.vac-map-card li a {
  color: #17211c;
  font-weight: 650;
  text-decoration: none;
}

.vac-map-card li span {
  color: #146b3a;
  white-space: nowrap;
}

.vac-map-card.is-off,
.vac-map-card li.is-off { display: none; }

.vac-map-page__status,
.vac-map-page__empty {
  margin: 0 0 10px;
  color: #526058;
  font-size: 14px;
}

@media (max-width: 860px) {
  .vac-map__canvas { height: 312px; }
  .vac-map-screen { height: auto; }
  .vac-map-page { grid-template-columns: 1fr; height: auto; }
  .vac-map-page__canvas {
    height: calc(100dvh - var(--vac-map-top, 68px) - 108px);
    min-height: 320px;
    border-radius: 0;
  }
  .vac-map-page__side { height: auto; }
}
