/*#NZL3404 { fill: #e04525; }
    #NZL5468 { fill: #00a63d; }
    #NZL3399 { fill: #f6ec00; }
    #NZL3334 { fill: #f6ec00; }
    #NZL3396 { fill: #e04621; }
    #NZL3397 { fill: #143f77; }
    #NZL3405 { fill: #143f77; }
    #NZL5469 { fill: #e04624; }
    #NZL3398 { fill: #103d75; }
    #NZL3408 { fill: #113e75; }
    #NZL3407 { fill: #01a33c; }
    #NZL3400 { fill: #f6ec00; }
    #NZL3406 { fill: #e04624; }
    #NZL3403 { fill: #05a23a; }
    #NZL3401 { fill: #113f72; }
    #NZL3402 { fill: #e04624; }*/
    .map-marker {
        fill: #fff;
        stroke: #000;
        stroke-width: 2;
        cursor: pointer;
    }

    .map-arrow {
        stroke: #000;
        stroke-width: 2;
    }

    .map-text {
        font-size: 18px;
        font-weight: 600;
        fill: #000;
        pointer-events: auto;    /* allow hover/click on text */
        user-select: none;
    }

    .map-label { 
        cursor: pointer; 
    }

    .avia_codeblock_section.avia_code_block_2{
        text-align: center;
    }
    .js-regions-map-tt {
        display: none;
    }

    .js-regions-map-tt.active {
        display: block;
    }
    .map-main-section {
        display: flex;
    }

    .map-section-left {
        width: 50%;
    }

    .map-section-right {
        width: 50%;
    }
    
    /* Widget container styling */
    .nz-map-widget-container {
        margin-top: 20px;
        animation: fadeIn 0.3s ease-in;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .popup-inner-main {
        display: flex;
    }

    .sd-regions-map-tt__img img {
        width: 200px;
    }
    .hide-map {
        position: absolute;
        font-size: 20px;
		cursor: pointer;
    }


/* MAIN POPUP WRAPPER */
.sd-regions-map-tt {
  width: 720px;
  max-width: 95%;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;

  background: #fff;
  box-shadow:
    0 2px 5.3px rgb(0 0 0 / 3%),
    0 6.7px 17.9px rgb(0 0 0 / 4%),
    0 30px 80px rgb(0 0 0 / 7%);

  position: relative;

  /* animation start state */
  opacity: 0;
  transform: translateY(25px);
  animation: popupSlideUp .55s cubic-bezier(.33,1,.68,1) forwards;
}

/* ANIMATION KEYFRAMES */
@keyframes popupSlideUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INNER LAYOUT */
.sd-regions-map-tt .popup-inner-main {
  display: flex;
  gap: 0;
}

/* IMAGE AREA */
.sd-regions-map-tt__img {
  flex: 0 0 45%;
  min-height: 200px;
  overflow: hidden;
}
.sd-regions-map-tt__img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* CONTENT AREA */
.sd-regions-map-tt__content {
  flex: 1 1 55%;
  padding: 18px;
}
.sd-regions-map-tt__title {
  display: block;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}
.sd-regions-map-tt__content p {
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
}
.sd-regions-map-tt__content .btn-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.sd-regions-map-tt__content a {
  padding: 10px 18px;
  border: 2px solid #000;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  color: #000;
  display: inline-block;
}

/* CLOSE ICON POSITION */
.popup-head {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* CLOSE ICON STYLE */
.hide-map {
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.sd-regions-map-display svg {
  
    overflow: inherit;
}

/* ========================= */
/*   RESPONSIVE STYLING      */
/* ========================= */

/* DESKTOP — HIDE CLOSE ICON */
@media (min-width: 1025px) {
  .hide-map {
    display: none;
  }
}

/* TABLET + MOBILE */
@media (max-width: 1024px) {
	.sd-regions-map-display svg {
    width: 70%;
    height: 487px;
    overflow: inherit;
    margin-top: 0px !important;
}
	
  .hide-map {
    width: 28px;
    height: 28px;
    font-size: 18px;
    margin-left: -30px !important;
}
  .hide-map {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}

/* IMAGE TOP — MOBILE (768px - 320px) */
@media (max-width: 768px) {
  

  .sd-regions-map-tt__img {
    width: 100%;
    min-height: 220px;
  }

  .sd-regions-map-tt__content {
    padding: 15px 12px;
  }

  .sd-regions-map-tt__title {
    font-size: 15px;
  }

  .sd-regions-map-tt__content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .sd-regions-map-tt__content .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .sd-regions-map-tt__content a {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
  }
	.map-section-right {
    width: 100%;
}
	.map-section-left {
    width: 100%;
}
	.map-main-section {
    display: flex;
    flex-direction: column;
}
}
@media (max-width: 480px){
	.sd-regions-map-tt .popup-inner-main {
    flex-direction: column;
  }
.map-section-right {
    width: 100%;
}
	.map-section-left {
    width: 100%;
}
	.map-main-section {
    display: flex;
    flex-direction: column;
}
	.sd-regions-map-display svg {
    width: 70%;
    height: 487px;
    overflow: inherit;
    margin-top: 0px !important;
}
}
