/* =============================================
   WRAP
============================================= */
.vb-wrap {
    width: 100%;
    font-family: 'Rubik', sans-serif;
}

button:hover {
  background-color: #fff!important;
}

/* =============================================
   TABS
============================================= */
.vb-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.vb-tab {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #6B7280;
    text-decoration: none;
    padding: 10px 24px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.vb-tab:hover { color: #111111; }

.vb-tab.vb-tab--activa {
    color: #111111;
    border-bottom-color: #111111;
    font-weight: 600;
}

/* =============================================
   CARD DESTACADA
============================================= */
.vb-destacada {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.vb-destacada-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.vb-destacada-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vb-destacada-thumb:hover img { transform: scale(1.03); }

.vb-destacada-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 32px;
}

.vb-destacada-titulo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.vb-destacada-desc {
    font-size: 14px;
    color: #D1D5DB;
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   BADGE
============================================= */
.vb-badge {
    display: inline-block;
    background-color: #F40634;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.vb-badge--over {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* =============================================
   PLAY
============================================= */
.vb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(244, 6, 52, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.vb-play svg { width: 24px; height: 24px; margin-left: 3px; }
.vb-play--sm { width: 40px; height: 40px; }
.vb-play--sm svg { width: 18px; height: 18px; }

.vb-destacada-thumb:hover .vb-play,
.vb-card-thumb:hover .vb-play {
    background: #cc0229;
    transform: translate(-50%, -50%) scale(1.1);
}

/* =============================================
   META
============================================= */
.vb-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    position: relative;
}

.vb-meta--dark  { color: #9CA3AF; }
.vb-meta--light { color: #6B7280; }

.vb-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.vb-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* =============================================
   SHARE — TRIGGER
============================================= */
.vb-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    position: relative;
}

.vb-share-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    color: #6B7280;
    padding: 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.vb-share-trigger:hover { color: #111111; }

/* =============================================
   SHARE — ICONOS (ocultos por defecto)
============================================= */
.vb-share-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
    white-space: nowrap;
}

.vb-share-icons--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.vb-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.vb-share-btn:hover { opacity: 0.85; transform: scale(1.1); }
.vb-share-btn svg { width: 14px; height: 14px; }

.vb-share-btn--wa { background-color: #25D366; }
.vb-share-btn--fb { background-color: #1877F2; }
.vb-share-btn--tw { background-color: #000000; }
.vb-share-btn--li { background-color: #0A66C2; }

/* =============================================
   BOTÓN VER AHORA
============================================= */
.vb-btn {
    display: inline-block;
    background-color: #F40634;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    transition: background-color 0.2s ease;
}

.vb-btn:hover { background-color: #cc0229; color: #ffffff; }

/* =============================================
   GRID
============================================= */
.vb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* =============================================
   CARD PEQUEÑA
============================================= */
.vb-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.vb-card-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.vb-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vb-card-thumb:hover img { transform: scale(1.04); }

.vb-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0 0 0;
}

.vb-card-titulo {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.4;
}

.vb-card-desc {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   SIN RESULTADOS
============================================= */
.vb-sin-resultados {
    font-size: 15px;
    color: #9CA3AF;
    padding: 20px 0;
}

/* =============================================
   TABLET GRANDE (max 1024px)
============================================= */
@media (max-width: 1024px) {
    .vb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* =============================================
   TABLET (max 768px)
============================================= */
@media (max-width: 768px) {
    .vb-destacada {
        grid-template-columns: 1fr;
    }

    .vb-destacada-info {
        padding: 20px;
        gap: 12px;
    }

    .vb-destacada-titulo {
        font-size: 22px;
    }

    .vb-tab {
        font-size: 14px;
        padding: 8px 16px;
    }

    .vb-share-icons {
        right: auto;
        left: 0;
    }
}

/* =============================================
   MÓVIL (max 480px)
============================================= */
@media (max-width: 480px) {
    .vb-tabs {
        gap: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .vb-tab {
        font-size: 13px;
        padding: 8px 12px;
    }

    .vb-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vb-destacada-titulo {
        font-size: 20px;
    }

    .vb-btn {
        width: 100%;
        text-align: center;
    }

    .vb-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .vb-share {
        margin-left: 0;
        width: 100%;
    }

    .vb-share-icons {
        left: 0;
        right: auto;
    }
}