.wrapper {
  display: flex;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.map {
  background-color: #f0f2f4;
  padding: 50px 0;
}

.wrapper_map {
  width: 100%;
  filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease-in-out;
}

.kz svg {
  width: 100%;
  height: 100%;
}

.map-content {
  display: grid;
  width: 320px;

  gap: 20px;
}

.tooltip {
  display: none;
  gap: 5px;
  background: #fff;
  border: 4px solid #ebc271;
  border-radius: 14px;
  overflow: hidden;
  padding: 20px;
  width: 300px;
  height: 280px;
  opacity: 1 !important;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 10;
}

.region:hover + .tooltip,
.tooltip:hover {
  opacity: 1;
}

.tooltip-arrow,
.tooltip-title,
.tooltip-subtitle,
.tooltip-event,
.tooltip-date {
  display: none;
}

.city-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-info {
  padding: 0 50px;
  gap: 50px;
  display: flex;
  flex-direction: column;
}

.tooltip-city {
  font-weight: 500;
  font-size: 12px;
}

.tooltip-role {
  color: #727272;
  font-weight: 400;
  font-size: 16px;
}

.tooltip-name {
  color: #1760a4;
  font-size: 22px;
  font-weight: 400;
}

.tooltip-content {
  font-weight: 600;
  font-size: 14px;
}

.region {
  fill: #ebc271;
  stroke: #fff;
  stroke-width: 1px;
  transition: all 0.3s ease-in-out;
}

.region:hover {
  fill: #c38b14;
  z-index: 10;
  cursor: pointer;
  filter: drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.3));
}

.text {
  font-weight: 500;
  font-size: 32px;
  color: #1760a4;
}

.btn-map {
  width: 250px;
  text-align: center;
  height: 40px;
  font-weight: 500;
  font-size: 16px;
  color: #ebc271;
  padding: 10px 20px;
  background: transparent;
  border-radius: 8px;
  border: 2px solid #ebc271;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-map:hover {
  background: #ebc271;
  color: #fff;
}

@media (max-width: 1200px) {
  .wrapper {
    padding: 30px 50px;
  }
}

@media (max-width: 1024px) {
  .wrapper {
    padding: 20px 30px;
  }

  .wrapper_map {
    padding: 0;
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;

    .text {
      position: initial;
      font-size: 28px;
      text-align: center;
      line-height: normal;
    }

    .map-content {
      gap: 10px;
      margin: 0 auto;

      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .wrapper_map {
      justify-content: center;
    }

    .btn-map {
      width: 100%;
      position: initial;
      display: flex;
      justify-content: center;
    }

    .tooltip {
      top: -70px;
      right: 50%;
      transform: translateX(50%);
      width: 350px;
    }
  }

  .map-info {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .numbers {
    padding: 0 20px;
  }
  .wrapper {
    padding: 20px;

    .tooltip {
      width: 300px;

      overflow: hidden;
    }
  }
}
