/*THUMBNAIL CONTAINER PROPERTIES*/
.video-super-container {
    width: 356px;
    max-width: 356px;
    aspect-ratio: 16 / 9;
    margin: 1rem auto;
    background-color: black;
    /*overflow: hidden;*/
    text-align: center;
    position: relative;
    box-shadow: -6px -3px 5px var(--hs-dark-transparent);
    border: none;
    border-radius: 8px 8px 0 0;
}

@keyframes pulse {
    0%, 100% { background-color: #a6a6a6; }
    50% { background-color: #333333; }
}

.thumbnail-container {
    width: 100%;
    max-width: 356px;
    gap: 1rem;
    aspect-ratio: 16 / 9;
    margin: 0;
    background-color: black;
    overflow: hidden;
    text-align: center;
    position: relative;
    border: none;
    object-fit: contain;
}

.thumbnail-container>video {
    border-radius: 8px 8px 0 0;
}

.thumbnail-container-extension {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.thumbnail-extension {
    flex-basis: 33.333%;
    max-width: 33.333%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms, translate 500ms;
    border-radius: 0;
}

.thumbnail {
    display: block;
    cursor: pointer;
    height: 100%;
    transition: transform 500ms;
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.duration-on-thumbnail {
    display: inline-block;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    color: var(--hs-white);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.1rem 0.4rem;
    z-index: 99 !important;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
}


.thumbnail-container-extension > :first-child,
.thumbnail-container-extension > :nth-child(3) {
    z-index: 1;
    position: relative;

}

.thumbnail-container-extension > :first-child {
    filter: blur(3px);
    clip-path: inset(0 round 8px 0 0 0);
}

.thumbnail-container-extension > :nth-child(3) {
    filter: blur(3px);
    clip-path: inset(0 round 0 8px 0 0);
}

.thumbnail-container-extension > :nth-child(2) {
    z-index: 2;
}

.thumbnail-details {
    text-align: left;
    color: var(--hs-white);
    font-size: 1rem;
    font-weight: 400;
    z-index: 3;
    position: absolute;
    width: 100%;
    min-height: 1.5rem;
    bottom: -4rem;
    left: 0;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    box-sizing: border-box;
    cursor: pointer;
    text-wrap: nowrap;
    max-height: 4rem;
    height: 4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0 0 8px 8px;
    font-family: 'Inter', sans-serif;
    display: flex;
}

.video-details-container {
    width: calc(100% - 2rem - 2rem); /*full width - avatar with - 1rem space on each side*/
    margin-left: 0.6rem;
}

.thumbnail-details .thumbnail-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    cursor: pointer;
}

.video-creator-avatar {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 50%;
    cursor: pointer;
}

.creator-name {
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 0.2rem;
}

.video-thumbnail-views {
    font-size: 0.8rem;
    color: var(--hs-lightgrey);
}

.video-creator-verified {
    height: 0.8rem;
    width: 0.9rem;
    margin-left: 0.2rem;
    object-fit: contain;
    vertical-align: middle;
    position: relative;
    top: -0.075rem;
}

.thumbnail-more-creators {
    font-size: 0.8rem;
    color: var(--hs-lightgrey);
    margin-left: 0.3rem;
}

@media (max-width: 1000px) {
    .video-super-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .thumbnail-more-creators {
        margin-left: 1rem;
    }

    .video-creator-verified {
        height: 1.6rem;
        width: 1.6rem;
        margin-left: 0.5rem;
    }

    .video-details-container {
        width: calc(100% - 4rem - 2rem); /*full width - avatar with - 1rem space on each side*/
    }

    .video-creator-avatar {
        width: 4rem;
        height: 4rem;
    }

    .thumbnail-details {
        font-size: 2rem !important;
        max-height: 8rem !important;
        min-height: 8rem !important;
        bottom: -8rem;
    }

    .duration-on-thumbnail {
        font-size: 2rem !important;
        bottom: 0.75rem !important;
        right: 0.75rem !important;
    }

    .pagination a {
        overflow: hidden;
        font-size: 2.3rem !important;
        width: 4.5rem !important;
        height: 4.5rem !important;
        margin: 0 0.25rem 0 0.25rem !important;
        border-radius: 16px;
    }

    .pagination .ellipsis {
        font-size: 3rem;
        width: 2.5rem !important;
        height: 4.5rem !important;
    }

    .thumbnail-details {
        max-height: 8rem;
        height: 8rem;
    }

    .creator-name, .video-thumbnail-views, .thumbnail-more-creators {
        font-size: 1.6rem;
    }
}


