.audio-playlist-container {
    margin: -10px;

}
.audio-playlist-container ul.table.group {
    margin: -10px;
    padding: 0;
}

.audio-playlist-container .group {
    border-top: 1px solid #e4e4e4;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.entry-content {
    padding-bottom: 10px;
}

.clear {
    all: unset;
    display: block;
    width: 100%;
    height: 0;
    clear: both;
    margin: 0;
    padding: 0;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.custom-post-block {
    display: block;
    padding-bottom: 10px;

}

/* Thumbnail */
.custom-post-block .post-thumbnail {
    border: 3px solid #e4e4e4;
    width: 110px;
    height: 110px;
    background-color: #f2f2f2;
    border-radius: 8px;

    overflow: hidden;
    float: left;
    margin: 5px 10px 0px 0px;
    position: relative;

}

.custom-post-block .post-thumbnail:empty {
    display: none;
}

.custom-post-block .post-thumbnail img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Nội dung */
.custom-post-block .entry-content {
    font-size: 90%;
    min-height: 124px;
}

/* Audio Playlist Wrapper */
.audio-playlist-wrapper {
    display: block;

}

.audio-playlist-wrapper .playlist-title {}

/* Responsive */
@media (max-width: 600px) {
    .custom-post-block {
        flex-direction: column;
    }

    .custom-post-block .post-thumbnail {
        width: 100%;
    }
}





/* Audio Playlist List Styling */
.audio-playlist-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e4e4e4;

    overflow: hidden;
    background: #fff;
}

.audio-playlist-item {
    display: flex;
    align-items: center;
    padding: 0px 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    min-height: 36px;
}

.audio-playlist-item:last-child {
    border-bottom: none;
}

.audio-playlist-item:hover {
    background-color: #f8f9fa;
}

/* Cột chung */
.playlist-col {
    display: flex;
    align-items: center;
}

/* Cột 1: Play area - 60px width */
.play-col {
    flex: 0 0 20px;
    justify-content: center;
    margin-right: 5px;
}

/* Cột 2: Tiêu đề - flex grow */
.title-col {
    flex: 1;
    min-width: 0;
    margin-right: 16px;
}
.current-post {
    color: #306179;
    /* cursor: not-allowed; */
}
.audio-playlist-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}


.audio-playlist-post-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;


    display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
white-space: normal;
overflow: hidden;
}

/* Cột 3: Nút tải - fixed width */
.download-col {
    flex: 0 0 auto;
}

.download-btn {
    padding: 0px 10px;
    background: #e3e3e3;
    border-radius: 20px;
    text-decoration: none;
    font-size: 65%;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #2d41d7;
    color: #fff;
}

.download-btn.disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.download-btn.disabled:hover {
    background: #f0f0f0;
    color: #999;
    transform: none;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .audio-playlist-item {
        padding: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    /* .audio-playlist-item {
        flex-wrap: wrap;
        padding: 12px;
    }

    .play-col {
        flex: 0 0 40px;
        margin-right: 8px;
        order: 1;
    }

    .title-col {
        flex: 1;
        margin-right: 0;
        order: 2;
        min-width: calc(100% - 50px);
    }

    .audio-playlist-link {
        font-size: 14px;
    } */

    /* .download-col {
        flex: 1;
        order: 3;
        margin-top: 8px;
        width: 100%;
    }

    .download-btn {
        width: 100%;
        text-align: center;
        padding: 8px;
        font-size: 13px;
    } */
}
