/* Cache bust: 2024-01-15-v3 */
.nhls-map-slider {
  padding: 80px 0;
  background: white;
}

.nhls-map-slider__header {
  text-align: center;
  margin: 20px 0 60px 0;
}

.nhls-map-slider__title {
  font-size: 2rem;
  font-weight: 700;
  color: #542a75;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.nhls-map-slider__description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.nhls-map-slider__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nhls-map-slider__right-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Map Section */
.nhls-map-slider__map-container {
  position: relative;
}

.nhls-map-slider__map {
  position: relative;
  width: 100%;
  height:auto;
  border-radius: 12px;
}

.nhls-map-slider__map-image {
  height: auto;
  object-fit: contain;
  object-position: center;
  position: relative;
  width: 100%;
  margin: 10px auto;
  padding: 0px !important;
  max-height:auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nhls-map-slider__markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nhls-map-slider__marker {
  position: absolute;
  width: 24px;
  height: 32px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  transform: translate(-50%, -100%);
  z-index: 10;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15));
  background-color: transparent !important;
}

.nhls-map-slider__marker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath fill='%235e9d75' d='M12 0C5.373 0 0 5.373 0 12c0 7.5 12 20 12 20s12-12.5 12-20c0-6.627-5.373-12-12-12m0 17a5 5 0 1 1 .001-10.001A5 5 0 0 1 12 17'/%3E%3C/svg%3E");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.nhls-map-slider__marker:hover {
  transform: translate(-50%, -100%) scale(1.2);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.nhls-map-slider__marker--active {
  transform: translate(-50%, -100%) scale(1.3);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

.nhls-map-slider__marker--active::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath fill='%23542a75' d='M12 0C5.373 0 0 5.373 0 12c0 7.5 12 20 12 20s12-12.5 12-20c0-6.627-5.373-12-12-12m0 17a5 5 0 1 1 .001-10.001A5 5 0 0 1 12 17'/%3E%3C/svg%3E");
}

/* Slider Section */
.nhls-map-slider__slider-container {
  position: relative;
  min-height: 300px;
}

.nhls-map-slider__slider {
  position: relative;
}

.nhls-map-slider__slide {
  display: none;
}

.nhls-map-slider__slide:first-child {
  display: block;
}

.nhls-map-slider__card {
  background: white;
  border: 2px solid #4caf50;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nhls-map-slider__card:hover {
  border-color: #542a75;
  box-shadow: 0 8px 32px rgba(84, 42, 117, 0.15);
}

.nhls-map-slider__card-header {
  margin-bottom: 16px;
}

.nhls-map-slider__region {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4caf50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nhls-map-slider__location {
  font-size: 0.9rem;
  color: #4caf50;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nhls-map-slider__member-name {
  font-size: 1.4rem !important;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.2;
}

.nhls-map-slider__description {
  font-size: 1rem !important;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.nhls-map-slider__link {
  color: #542a75;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1rem !important;
  transition: color 0.3s ease;
}

.nhls-map-slider__link:hover {
  color: #4a1f6b;
}

/* Navigation */
.nhls-map-slider__navigation {
  position: absolute;
  top: 50%;
  left: -40px;
  right: -40px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.nhls-map-slider__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid #4caf50;
  color: #4caf50;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nhls-map-slider__nav-btn:hover {
  background: #542a75;
  color: white;
  border-color: #542a75;
  border-radius: 50%;
  transform: scale(1.05);
}

.nhls-map-slider__nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Media Queries */
@media (max-width: 800px) {
  .nhls-map-slider__content {
    gap: 40px;
    display: flex;
    flex-direction: column-reverse;
  }

  .nhls-map-slider__description {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nhls-map-slider__card {
    transform: scale(0.8);
  }
}

  .nhls-map-slider__map {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nhls-map-slider {
    padding: 60px 0;
  }

  .nhls-map-slider__title {
    font-size: 1.5rem !important;
  }

  .nhls-map-slider__description {
    font-size: 1.1rem !important;
  }

  .nhls-map-slider__content {
    gap: 30px;
  }

  .nhls-map-slider__card {
    padding: 24px;
  }

  .nhls-map-slider__member-name {
    font-size: 1.3rem;
  }

  .nhls-map-slider__navigation {
    left: -10px;
    right: -10px;
  }

  .nhls-map-slider__nav-btn {
    width: 40px;
    height: 40px;
  }

  .nhls-map-slider__nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 576px) {
  .nhls-map-slider__title {
    font-size: 1.5rem;
  }

  .nhls-map-slider__card {
    padding: 20px;
  }

  .nhls-map-slider__member-name {
    font-size: 1.2rem;
  }

  .nhls-map-slider__marker {
    width: 25px;
    height: 25px;
  }
}
