.geo-section {
  position: relative;
}

html:has(.geo-section) {
  .f-button.is-arrow {
    @media (max-width: 768px) {
      --f-arrow-pos: 10px;
      --f-button-bg: rgba(14, 28, 44, 0.22);
    }
  }
}

.geo-section__content {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin: 0 calc(var(--page-margin) * -1);
  padding: 0 var(--page-margin);
}

.geo-section__content::-webkit-scrollbar {
  display: none;
}

section.geo-section_default-map {
  padding-bottom: 20px;
}

.geo-section__map {
  width: fit-content;
  height: auto;
  position: relative;
}

.geo-section__map-image {
  min-width: 862px;
  width: 100%;
  height: auto;
  aspect-ratio: 1646 / 895;
  -o-object-fit: contain;
  object-fit: contain;
  pointer-events: none;
}

.geo-section__map-point {
  position: absolute;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  width: 29px;
  height: 34px;
  background-image: url("/assets/images/geo-map/map-marker.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
}

.geo-section__map-point_light {
  background-image: url("/assets/images/geo-map/map-marker-light.webp");
}

.geo-section__map-point.active {
  transform: translate(-50%, -100%) scale(2);
  z-index: 10;
  pointer-events: none;
}

@keyframes smallJump {
  0% {
    transform: translate(-50%, -100%);
  }
  50% {
    transform: translate(-50%, calc(-100% - 10px));
  }
  100% {
    transform: translate(-50%, -100%);
  }
}

.geo-section__map-point:not(.active):hover {
  animation: smallJump 0.3s 1 ease 0.1s;
}

.geo-section__point-info {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 20px;
  width: 300px;
  border-radius: var(--b-radius);
  background: rgba(14, 28, 44, 0.44);
  backdrop-filter: blur(3.5999999046325684px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  overflow: hidden;
  @media (min-width: 1600px) {
    width: 400px;
  }
}

.geo-section__point-info::before {
  content: "";
  position: absolute;
  width: 649.1px;
  height: 196.91px;
  right: -54.67px;
  bottom: 206.5px;
  background: radial-gradient(
    66.78% 226.51% at 54.2% 66.22%,
    #0781a3 0%,
    #0e1c2c 100%
  );
  border-radius: 50%;
  filter: blur(89.75px);
  transform: rotate(-30.13deg);
}

.geo-section__point-info::after {
  content: "";
  position: absolute;
  width: 480.68px;
  height: 300.63px;
  right: -133.71px;
  bottom: 21.14px;
  background: #31c4b4;
  border-radius: 50%;
  filter: blur(66.6px);
  transform: rotate(-50.31deg);
}

.geo-section__point-info.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.geo-section__point-info-title {
  color: white;
  font-family: "Exo 2", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.16667;
  letter-spacing: -0.72px;
  position: relative;
  z-index: 2;
  @media (min-width: 1024px) and (max-width: 1600px) {
    font-size: 18px;
    line-height: 1.33333;
  }
}

.geo-section__point-info-slider {
  border-radius: var(--b-radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.geo-section__point-info-slider .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  @media (min-width: 500px) and (max-width: 1024px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.geo-section__point-info-slider.swiper:has(.swiper-pagination) {
  padding-bottom: 30px;
}
.geo-section__point-info-slider.swiper:has(.swiper-pagination-lock) {
  padding-bottom: 0;
}

.geo-section__info-container {
  display: flex;
  flex-direction: column;
  @media (min-width: 500px) and (max-width: 1024px) {
    align-self: end;
  }
}

.geo-section__point-info-image {
  border-radius: var(--b-radius);
  background: white;
  width: 100%;
  height: 233px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  margin-top: 20px;
  max-width: 360px;
  @media (min-width: 1280px) and (max-width: 1600px) {
    height: 180px;
    margin-top: 10px;
  }
  @media (min-width: 1900px) {
    max-width: unset;
  }
}

.geo-section__point-info-caption {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.28571;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  @media (max-width: 1600px) {
    margin-top: 10px;
  }
  @media (max-width: 1024px) {
    margin-top: 20px;
  }
}

.geo-section__point-info-photo-caption {
  margin-top: 8px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.375;
  position: relative;
  z-index: 2;
}

.geo-section__point-info-link {
  margin-top: 10px;
  position: relative;
  z-index: 2;
  color: white;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.3s ease;
}

.geo-section__point-info-link:hover {
  color: var(--color-accent);
}

.geo-section__info-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .geo-section__content {
    padding-bottom: 60px;
  }
  .geo-section__info-mobile {
    display: block;
    position: absolute;
    bottom: 60px;
    right: var(--page-margin);
    width: calc(100% - 2 * var(--page-margin));
    padding: 20px var(--page-margin);
    background: rgba(14, 28, 44, 0.8);
    /* background: var(--color-accent); */
    backdrop-filter: blur(3.5999999046325684px);
    border-radius: var(--b-radius);
    overflow: hidden;
  }
  .geo-section__info-mobile::before {
    content: "";
    position: absolute;
    width: 649.1px;
    height: 196.91px;
    right: -54.67px;
    bottom: 57.5px;
    border-radius: 50%;
    background: radial-gradient(
      66.78% 226.51% at 54.2% 66.22%,
      #0781a3 0%,
      #0e1c2c 100%
    );
    filter: blur(89.75px);
  }
  .geo-section__info-mobile::after {
    content: "";
    position: absolute;
    width: 480.68px;
    height: 300.63px;
    right: -133.71px;
    bottom: -127.85px;
    border-radius: 50%;
    background: #31c4b4;
    filter: blur(66.6px);
  }

  .geo-section__info-mobile .geo-section__point-info {
    display: block;
    position: static;
    width: 100%;
    top: auto;
    right: auto;
    padding: 0;
    background: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
  }

  .geo-section__info-mobile .geo-section__point-info::before,
  .geo-section__info-mobile .geo-section__point-info::after {
    content: none;
  }
}

.geo-section .custom-pagination .swiper-pagination-bullet {
  background: white;
}
