#tooltip {
    position: fixed;
    background: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
    font-family: system-ui, sans-serif;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    pointer-events: none;
    visibility: hidden;
    z-index: 999999;
    white-space: nowrap;
    transform: translate3d(0,0,0);
  }

 svg { overflow: visible; }

svg g[data-name]{
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 250ms ease, filter 250ms ease;
  will-change: transform, filter;
  cursor: pointer;
}

svg g[data-name].hovered{
  transform: scale(1.22);
  filter: url(#hoverStroke);
  
}
svg { touch-action: manipulation; } /* allow scroll + remove double-tap zoom delay */
g[data-name] { -webkit-tap-highlight-color: transparent; }
.ikrwmap_world_map_img svg g[data-name] { pointer-events: all; cursor: pointer; }

/* Ensure map displays properly inside Elementor flex containers */
.ikrwmap_world_map_img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 500px;
  opacity: 0;
  animation: mapFadeIn 0.8s ease forwards;
  animation-delay: 0.2s;
}
.ikrwmap_world_map_img svg {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes mapFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Grayscale states, full color on hover */
.ikrwmap_world_map_img svg g[data-name] {
  filter: grayscale(75%);
  transition: filter 0.4s ease, transform 0.25s ease;
}
.ikrwmap_world_map_img svg g[data-name]:hover,
.ikrwmap_world_map_img svg g[data-name].hovered {
  filter: grayscale(0%);
}

/* Mobile state grid - hidden on desktop */
.nfc-mobile-state-grid {
  display: none;
}

@media (max-width: 768px) {
  /* Hide SVG map on mobile */
  .ikrwmap_world_map_img {
    display: none !important;
  }

  /* Show alphabetical state grid */
  .nfc-mobile-state-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
  }

  .nfc-mobile-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
  }

  .nfc-mobile-state-card:active {
    transform: scale(0.97);
    box-shadow: 0 0 0 2px #2E7CF6;
  }

  .nfc-mobile-state-abbr {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0B1A2E;
    line-height: 1;
  }

  .nfc-mobile-state-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #5a6577;
    margin-top: 4px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .nfc-mobile-state-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px;
  }

  .nfc-mobile-state-card {
    padding: 12px 6px;
  }

  .nfc-mobile-state-abbr {
    font-size: 20px;
  }

  .nfc-mobile-state-name {
    font-size: 10px;
  }
}
