/* Variables CSS */
:root {
    --global-text: #ffffff;
    --global-text-muted: #cccccc;
    --global-div: #2c2c3a;
    --global-border-color: rgba(255, 255, 255, 0.1);
    --color-primary-active: hotpink;
    --color-accent-available: #ffd22f;
}

/* Estilos del Contenedor de la Lista (UL) */
.ulclear2 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Estilos para cada Item de la Lista (LI) */
.table_schedule .table_schedule-list li.schedule-item {
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
}

/* Estilos para la Tarjeta Completa */
.schedule-card-link.dokvQQ {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--global-text);
    cursor: pointer;
    background-color: var(--global-div);
    border: 1px solid var(--global-border-color);
    border-radius: 8px;
    padding: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    position: relative;
    text-decoration: none;
    min-height: 6rem;
}

.schedule-card-link.dokvQQ.available {
    border: 1px solid rgb(243 244 229);
}

.schedule-card-link.dokvQQ:hover {
    transform: translateX(-5px);
}

li.schedule-item.active > a.dokvQQ,
a.schedule-card-link.dokvQQ.active {
    border-color: var(--color-primary-active);
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.3);
}

/* Estilos para el Banner/Background */
.schedule-item-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.schedule-item-background .background-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(90%) brightness(40%) contrast(100%);
    opacity: 0.8;
    transition: filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.schedule-card-link.dokvQQ:hover .background-banner-image {
    filter: grayscale(50%) brightness(60%) contrast(100%);
    opacity: 1;
}

/* Overlay Degradado */
.gradientOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        var(--global-div) 0%,
        var(--global-div) 30%,
        rgba(44, 44, 58, 0.5) 60%,
        rgba(44, 44, 58, 0) 100%
    );
    z-index: 2;
}

/* Sticker de Estado */
.status-sticker {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
    background-color: #4a4a5a;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-sticker svg {
    width: 1em;
    height: 1em;
    color: var(--global-text);
}

.schedule-card-link.dokvQQ.aired-available {
    box-shadow: -4px -1px 10px rgb(255 221 139 / 50%);
    border-color: var(--color-accent-available, #ffd22f);
}

/* Contenido de Texto */
.schedule-item-content {
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.schedule-item-content .episode-title {
    font-size: 1.1em;
    margin: 0 0 0.2em 0;
    color: inherit;
    font-weight: bold;
    line-height: 1.2;
}

.schedule-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: var(--global-text-muted);
}

.detail-item > div {
    line-height: 1.2;
}

.airing-countdown {
    font-weight: bold;
    color: #ffb788;
}

/* Imagen de Portada Pequeña */
.schedule-item-cover {
    width: 90px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-radius: 4px;
}

.schedule-item-cover .cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Media Query para Responsividad */
@media (min-width: 501px) {
    /* Ajustes para pantallas más grandes si es necesario */
}