/*
 * OTUBEX - BARRA DE ENLACES FIJOS
 * Archivo: trending-links.css
 * Diseño independiente de BootAdult4
 */

/* Contenedor principal */
.otubex-trending {
    width: 100%;
    padding: 12px 15px;
    background: #171717;
    box-sizing: border-box;
}

/* Barra horizontal */
.otubex-trending-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.otubex-trending-scroll::-webkit-scrollbar {
    display: none;
}

/* Botones de enlaces */
.otubex-trending-scroll a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 9px 18px;
    background: #303030;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.2s ease;
}

/* Efecto al pasar el mouse */
.otubex-trending-scroll a:hover {
    background: #505050;
    color: #ffffff;
    text-decoration: none;
}

/* Diseño para móviles */
@media (max-width: 767px) {
    .otubex-trending {
        padding: 10px;
    }

    .otubex-trending-scroll {
        gap: 8px;
    }

    .otubex-trending-scroll a {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/*
 * OTUBEX - ESTILO LIMPIO DE ENLACES
 * Sin fondo rectangular alrededor de los botones.
 */
.otubex-trending {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 12px 0;
}

.otubex-trending-scroll {
    background: transparent;
}

.otubex-trending-scroll a {
    border-radius: 30px;
}


/*
 * OTUBEX - FLECHAS DE NAVEGACION
 * Aparecen cuando existen enlaces ocultos.
 */

.otubex-trending {
    display: flex;
    align-items: center;
    gap: 5px;
}

.otubex-trending-scroll {
    flex: 1 1 auto;
    min-width: 0;
    scroll-behavior: smooth;
}

.otubex-trending-prev,
.otubex-trending-next {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 8px;
    line-height: 1;
}

.otubex-trending-prev:hover,
.otubex-trending-next:hover {
    color: #ff9900;
}

.otubex-trending-prev[hidden],
.otubex-trending-next[hidden] {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .otubex-trending-prev,
    .otubex-trending-next {
        font-size: 18px;
        padding: 5px;
    }
}
