#about-page .aboutMapRight {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 59%;
    height: 400px;
    border-radius: 24px;
    background: var(--heo-card-bg);
    border: var(--style-border-always);
    box-shadow: var(--heo-shadow-border);
    position: relative;
    overflow: hidden;
}
.map-container {
    width: 100%;
    height: 100%;
}
.land {
    fill: #d7d4d4;
    stroke: #ffffff;
    stroke-width: 0.5px;
}
.marker {
    stroke: #ffffff;
    stroke-width: 1.5px;
}
.marker.central {
    fill: red;
    r: 6px;  /* reduced from default, adjust if needed */
}
.marker.partner {
    fill: blue;
    r: 4px;  /* reduced from default, adjust if needed */
}
.connection-line {
    fill: none;
    stroke: #e665b0;
    stroke-width: 1.5px;
    stroke-dasharray: 4;
}
.tooltip {
    position: absolute;
    text-align: center;
    width: auto;
    height: auto;
    padding: 5px;
    font: 12px sans-serif;
    background: rgb(137, 142, 135);
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0.9;
}

/* When the layout gets narrow, make both sides full width */
@media (max-width: 900px) {
  #about-page .author-content-item.aboutMapLeft,
  #about-page .aboutMapRight {
    width: 100%;
  }
}


/* --- restore Magic Words interactivity & keep it above neighbors --- */
#about-page .magic-words {
  position: relative;     /* ensure stacking context */
  z-index: 100;           /* sit above map/carousel blocks */
  pointer-events: auto;   /* make sure it can receive events */
  min-height: 315px;      /* reserve its own hit area */
}

/* overlays inside shouldn't eat the mouse */
#about-page .magic-words .content,
#about-page .magic-words .shapes,
#about-page .magic-words .shape,
#about-page .magic-words .cursor {
  pointer-events: none;
}

/* neighbors: keep below so they don't cover it */
#about-page .aboutMapRight,
#about-page .imageContainer {
  position: relative;
  z-index: 0;
}
