/* =====================================================
   LZD BADGES – SISTEMA FINAL (SEGURO + RESPONSIVE)
===================================================== */

/* ===============================
   AUTOR + BADGES (ÚNICO PUNTO)
================================ */
.author.vcard {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ===============================
   CONTENEDOR BADGES
================================ */
.author.vcard .lzd-user-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===============================
   BADGE BASE
================================ */
.lzd-badge {
    width: 25px;
    height: 25px;
    min-width: 18px;
    min-height: 18px;

    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    position: relative;
    cursor: default;

    line-height: 1;
    flex-shrink: 0;
    margin-right: 3px;
}

/* ICONO */
.lzd-badge i {
    font-size: 10px;
    line-height: 1;
    display: block;
}

/* ===============================
   DJ DESTACADO
================================ */
.lzd-badge.destacado {
    background: linear-gradient(135deg, #ff3b3b, #ff8c00);
    color: #ffffff;
    animation: lzd-pulse 2.5s infinite;
    
}

/* ===============================
   DJ PRO
================================ */
.lzd-badge.pro {
    background: linear-gradient(135deg, #5b7cff, #2f4dff);
    color: #ffffff;
}

/* ===============================
   HOVER SUAVE
================================ */
.lzd-badge:hover {
    transform: scale(1.12);
    transition: transform .15s ease;
}

/* ===============================
   ANIMACIÓN PULSE (DESTACADO)
================================ */
@keyframes lzd-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 90, 0, .6); }
    70%  { box-shadow: 0 0 0 6px rgba(255, 90, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 90, 0, 0); }
}

/* ===============================
   TOOLTIP PRO (SIN ROMPER LAYOUT)
================================ */
.lzd-badge[title]::after {
    content: attr(title);
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);

    background: rgba(20,20,20,.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 9999;
}

.lzd-badge[title]::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(20,20,20,.95);

    opacity: 0;
    transition: opacity .15s ease;
    z-index: 9999;
}

.lzd-badge:hover::after,
.lzd-badge:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===============================
   FIX CRÍTICO – EVITA DESBORDES
================================ */
.entry-meta,
.entry-header-inner,
.block-loop-item {
    overflow: hidden;
}

/* ===============================
   OCULTAR BADGES FUERA DEL AUTOR
================================ */
.entry-meta > .lzd-user-badges {
    display: none !important;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .lzd-badge {
        width: 16px;
        height: 16px;
    }
    .lzd-badge i {
        font-size: 9px;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .author.vcard .lzd-user-badges {
        gap: 4px;
        margin-left: 4px;
    }
    .lzd-badge {
        width: 14px;
        height: 14px;
    }
    .lzd-badge i {
        font-size: 8px;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .lzd-badge {
        width: 13px;
        height: 13px;
    }
    .lzd-badge i {
        font-size: 7px;
    }
}
