﻿.youtube-thumb {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .youtube-thumb img {
        display: block;
        width: 300px; /* adjust size */
        border-radius: 8px;
    }

.play-button {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 89px;
    height: 76px;
    background: url('/Assits/Images/new-main-img/buttons/play-button-grey.svg') no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Skeleton base */
.skeleton-card {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    animation: pulse 1.5s infinite ease-in-out;
}

/* Match image space */
.skeleton-image {
    background: #e2e2e2;
    margin-bottom: 10px;
    width: 233px;
    height: 240px;
    object-fit: cover;
    display: flex;
    width: 360px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

/* Tag placeholders */
.skeleton-tag {
    width: 60px;
    height: 16px;
    background: #ddd;
    border-radius: 4px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 8px;
}

/* Title area */
.skeleton-title {
    width: 80%;
    height: 20px;
    background: #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Text lines */
.skeleton-text-line {
    height: 16px;
    background: #ddd;
    border-radius: 4px;
    margin-bottom: 6px;
}

    .skeleton-text-line.short {
        width: 60%;
    }


.fancybox__caption {
    position: relative !important;
    background: transparent !important;
    color: #fff !important; /* White text */
    text-align: center;
    padding-top: 10px;
    font-size: 16px;
}
