.map-box.office-map {
  height: auto;
  padding: 0;
  background: #f4f0eb;
  display: grid;
}

.office-map .office-map-address {
  grid-area: 1 / 1;
  align-self: start;
  pointer-events: none;
}

.office-map .office-map-address .text {
  position: relative;
  inset: auto;
  margin: 24px 0 24px auto;
  padding: 22px 26px;
  pointer-events: auto;
}

.office-map .title { margin-bottom: 12px; }

.office-map-route {
  display: inline-block;
  margin-top: 12px;
  color: #692229;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.office-map .office-map-status { margin-top: 10px; }

.office-map-canvas {
  grid-area: 1 / 1;
  height: clamp(360px, 34vw, 460px);
  min-width: 0;
}

.office-map [hidden] { display: none !important; }

.contacts-page .contacts-map[hidden] { display: none !important; }

.contacts-location .office-map-status { margin-top: 10px; }

.office-map-pin {
  width: 28px;
  height: 28px;
  transform: translate(-50%, -86%) rotate(-45deg);
  background: #7c242a;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 3px;
  box-shadow: 0 2px 6px #35242166;
}

.office-map-pin::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 1020px) {
  .office-map .office-map-address { grid-area: 1 / 1; }
  .office-map .office-map-address .text {
    width: auto;
    margin: 0;
    padding-inline: 0;
    background: transparent;
    box-shadow: none;
  }
  .office-map-canvas { grid-area: 2 / 1; height: 340px; }
}
