.episodios-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 5px;
    border: none;
}
.episodios-table .header-row {
    background: var(--theme-palette-color-4);
    color: #fff;
}
.episodios-table .header-row th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
}
.episodios-table .header-row th.col-date,
.episodios-table .header-row th.col-duration,
.episodios-table .header-row th:last-child {
    text-align: center;
}
.episodios-table tbody#episodios-body {
    margin-top: -20px;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.episodios-table .episode-row {
    transition: background 0.2s;
    background: #fff;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}
.episodios-table .episode-row:nth-child(1) {
    animation-delay: 0.1s;
}
.episodios-table .episode-row:nth-child(2) {
    animation-delay: 0.2s;
}
.episodios-table .episode-row:nth-child(3) {
    animation-delay: 0.3s;
}
.episodios-table .episode-row:nth-child(4) {
    animation-delay: 0.4s;
}
.episodios-table .episode-row:nth-child(5) {
    animation-delay: 0.5s;
}
.episodios-table .episode-row:nth-child(n+6) {
    animation-delay: 0.6s;
}
.episodios-table .episode-row:hover {
    background: #f9f9f9;
}
.episodios-table .episode-row td {
    padding: 25px 15px;
    vertical-align: middle;
    border: none;
    background: #fff;
}
.episodios-table .col-title {
    width: 60%;
}
.episodios-table .col-title .info {
    display: block;
}
.episodios-table .col-title .info .title {
    display: block;
}
.episodios-table .col-title .info .title h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}
.episodios-table .col-title .info .sumario {
    font-size: 16px;
    color: var(--theme-palette-color-5);
    margin-top: 5px;
    display: block;
    line-height: 1.6;
    font-family: 'Bebas Neue', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-transform: none;
}
.episodios-table .col-date {
    width: 15%;
    font-size: 14px;
    color: #555;
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
}
.episodios-table .col-duration {
    width: 10%;
    font-size: 14px;
    color: #555;
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
}
.episodios-table .col-actions {
    width: 20%;
    text-align: center;
}
.episodios-table .col-actions .actions-wrapper {
    display: flex;
    justify-content: center;
    gap: 0px;
}
.episodios-table .col-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    transition: all 0.2s;
    text-decoration: none;
}
.episodios-table .col-actions a:hover {
    transform: scale(1.1);
}
.episodios-table .col-actions a svg {
    width: 24px;
    height: 24px;
}

/* Mobile */
@media (max-width: 768px) {
    .wp-block-blocksy-query,
    .ct-posts-block {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .episodios-table {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 25px;
        box-sizing: border-box;
        table-layout: fixed;
    }
    .episodios-table tbody {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .episodios-table .header-row {
        display: table-row;
    }
    .episodios-table .header-row th {
        padding: 15px 10px;
        box-sizing: border-box;
    }
    .episodios-table .header-row th.col-date,
    .episodios-table .header-row th.col-duration,
    .episodios-table .header-row th.col-actions {
        display: none;
    }
    .episodios-table .header-row th.col-title {
        width: 100%;
        max-width: 100%;
    }
    .episodios-table .episode-row {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: block;
        margin-bottom: 5px;
    }
    .episodios-table .episode-row td {
        padding: 15px 10px;
        box-sizing: border-box;
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        display: block;
        width: 100%;
        min-width: 0;
    }
    .episodios-table .episode-row {
        position: relative;
        overflow: hidden;
    }
    .episodios-table .episode-row td.col-title {
        width: 100%;
        max-width: 100%;
        padding-bottom: 10px;
    }
    .episodios-table .episode-row td.col-title .info .title {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
    }
    .episodios-table .episode-row td.col-title .info .title h3 {
        flex: 1;
        margin-right: 15px;
    }
    .episodios-table .episode-row td.col-duration {
        display: none;
    }
    .episodios-table .episode-row td.col-date {
        position: static;
        display: inline-block;
        padding: 0;
        padding-left: 15px;
        font-size: 14px;
        color: #555;
        font-family: 'Bebas Neue', sans-serif;
        width: auto;
        vertical-align: middle;
        order: 2;
    }
    .episodios-table .episode-row td.col-actions {
        display: inline-block;
        padding: 0;
        vertical-align: middle;
        width: auto;
        order: 1;
    }
    .episodios-table .episode-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        overflow: hidden;
    }
    .episodios-table .episode-row td.col-date,
    .episodios-table .episode-row td.col-actions {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        max-width: 100%;
    }
    .episodios-table .episode-row td.col-date {
        margin-left: auto;
        margin-right: 10px;
        max-width: calc(100% - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .episodios-table .col-actions .actions-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0px;
    }
    .episodios-table .col-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #fff;
        color: #000;
        transition: all 0.2s;
        text-decoration: none;
    }
    .episodios-table .col-actions a svg {
        width: 24px;
        height: 24px;
    }
    .episodios-table .col-title .info .title h3 {
        font-size: 18px;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        min-width: 0;
    }
    .episodios-table .col-title .info .sumario {
        font-size: 14px;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0;
        max-width: 100%;
        min-width: 0;
    }
    .episodios-table .col-title .info {
        max-width: 100%;
        min-width: 0;
    }
    .episodios-table .episode-row:hover {
        background: #fff;
    }
    .episodios-table .col-actions a:hover {
        background: #fff;
        transform: none;
    }
}

.load-more-container {
    text-align: center;
    padding: 20px;
}
.loading-spinner {
    color: var(--theme-palette-color-1, #ce2028);
}

