.eventsMapBlock {
  display: flex;
  flex-direction: column;
}
.eventsMapBlock__events {
  min-height: 563px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  background-color: var(--fph-orange);
  background-image: url("../../../img/events-bg.png");
  background-size: cover;
  background-position: center;
}
.eventsMapBlock__eventsContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: min(340px, 100%);
  text-align: center;
}
.eventsMapBlock__heading {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 2px;
  text-align: center;
}
.eventsMapBlock__text {
  font-size: 15px;
  line-height: 20px;
}
.eventsMapBlock__text p + p {
  margin-top: 12px;
}
.eventsMapBlock__map {
  position: relative;
  min-height: 563px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  background-image: url("../../../img/map-bg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.eventsMapBlock__mapCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.eventsMapBlock__mapOverlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  max-width: min(393px, 100%);
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.eventsMapBlock__map.is-active .eventsMapBlock__mapCanvas {
  opacity: 1;
  pointer-events: auto;
}
.eventsMapBlock__map.is-active .eventsMapBlock__mapOverlay {
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 1240px) {
  .eventsMapBlock {
    flex-direction: row;
  }
  .eventsMapBlock__events, .eventsMapBlock__map {
    width: 50%;
    height: 563px;
  }
  .eventsMapBlock__heading {
    font-size: 24px;
    line-height: 27px;
    letter-spacing: 2.4px;
  }
}