/**
 * Kraft Design — Menu Blink Animation CSS
 * Slide-up hover animation on nav items (same as Prugent)
 * Mix Web — https://mixweb.fr
 */

/* =========================================================
   BLINK — Structure : le lien est le masque
   ========================================================= */
a.elementor-item.blink {
    overflow: hidden !important;
    display: inline-block !important;
    /* Hauteur = exactement 1 ligne de texte (font-size * 1.3) */
    height: 1.3em !important;
    line-height: 1.3 !important;
    vertical-align: middle;
    padding: 0 !important;
    font-weight: var(--kd-regular) !important;
}

a.elementor-item.blink::before {
    display: none !important;
}

/* =========================================================
   BLINK — Padder : deux lignes empilées
   ========================================================= */
.blink--padder {
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.blink--normal,
.blink--hover {
    display: block;
    height: 1.3em;
    line-height: 1.3;
    white-space: nowrap;
    color: inherit;
}

/* =========================================================
   BLINK — Langue active : même font-weight que le hover
   ========================================================= */
header a.elementor-item.blink.elementor-item-anchor .blink--normal,
header a.elementor-item.blink.elementor-item-anchor .blink--hover {
	font-weight: var(--kd-semibold) !important;
}

/* =========================================================
   BLINK — Animation au hover : slide-up
   ========================================================= */
a.elementor-item.blink:hover .blink--padder,
a.elementor-item.blink:focus .blink--padder {
    transform: translateY(-50%);
}
