/****************************************************
 * 1) GRUNDAUFBAU DES HOVER-ELEMENTS
 ****************************************************/
.poe2asc-node {
  position: relative;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
}

/* Der (optionale) Titel, der neben dem Bild steht */
.poe2asc-node-title {
    color: #fd2e00; /* beige */
    margin-left: 5px;
    vertical-align: middle;
}

/****************************************************
 * 2) TOOLTIP-STIL – orientiert am Gem Plugin
 ****************************************************/
.poe2asc-node-tooltip {
    display: none;
    position: absolute;
    z-index: 9999;

    /* Größe und Layout */
    width: 440px;             /* passe die Breite bei Bedarf an */
    text-align: left;
    box-sizing: border-box;

    /* Positionierung: oberhalb zentriert */
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);

    /* Farben, Rahmen und Schatten */
    background-color: #000;
    color: #808080;
    border: 1px solid #e4d5c0;
    border-radius: 4px;
    box-shadow: 10px 15px 15px rgba(0, 0, 0, 0.7);

    /* Innenabstand */
    padding: 10px 20px 15px 20px;

    /* Hintergrundbild */
    background-image: url('/wp-content/uploads/bg_utility_poe2.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* Schrift */
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.poe2asc-tooltip-content .gem-name-de {
    color: #e4d5c0;
}

/****************************************************
 * 3) INHALT DES TOOLTIP
 ****************************************************/
/* Container, der den eigentlichen Text im Tooltip hält */
.poe2asc-tooltip-content {
    text-align: center; /* oder left/center, je nach Geschmack */
}

/* Der deutsche Haupttitel */
.poe2asc-tooltip-content strong {
    display: block;
    margin-bottom: 5px;
    color: #e4d5c0; /* Türkis */
    font-size: 16px;
}

/* Der englische Untertitel */
.poe2asc-tooltip-content em {
    display: block;
    color: #808080;
    margin-bottom: 10px;
}

/* Die Beschreibung */
.poe2asc-tooltip-description {
    display: block;
    color: #8686f4;   /* violetter Ton wie im Gem-Beispiel */
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Optional: zentriere das Bild im Tooltip */
.poe2asc-tooltip-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}


.poe2asc-tooltip-image img{
	width: 100px;
    height: 100px;
    border-radius: 50%!important;
}
/****************************************************
 * 4) RESPONSIVE – auf Mobile zentrieren wir den Tooltip
 ****************************************************/
@media only screen and (max-width: 768px) {
    .poe2asc-node-tooltip {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        max-width: 500px; /* optional */
        background-repeat: no-repeat;
		bottom: auto !important;
    }
	.gem-tooltip-title-wrapper {
    padding-left: 0;
    padding-top: 0;
    margin-bottom: 0;
	}
	.poe2asc-node-tooltip {
	padding-top: 0px;
	}
}