﻿.MasrawyTvShow {
    background: none;
    margin: 10px auto;
    width: 90%;
}

    .MasrawyTvShow .MasrawyTvShowSlider {
        position: relative;
        width: 100%;
        display: block;
    }

    .MasrawyTvShow .shortsShow-slide {
        width: 100%;
        margin-right: 16px;
    }

/* Tablet - 2 slides */
@media (min-width: 768px) and (max-width: 1280px) {
    .MasrawyTvShow .shortsShow-slide {
        width: calc(50% - 8px);
    }
}

/* Desktop - 3 slides */
@media (min-width: 1280px) {
    .MasrawyTvShow .shortsShow-slide {
        width: calc(33.3333% - 11px);
    }
}

/* Large Desktop - 4 slides */
@media (min-width: 1919px) {
    .MasrawyTvShow .shortsShow-slide {
        width: calc(25% - 11px);
    }
}

.MasrawyTvShow .shortsShow-card {
    width: 100%;
    overflow: hidden;
    background: #1D1D1D;
}

/* ===========================
   IMAGE
=========================== */

.MasrawyTvShow .shortsShow-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 169;
    overflow: hidden;
}

.MasrawyTvShow .shortsShow-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.MasrawyTvShow .play-button-circle {
    position: absolute;
    top: 8%;
    left: 5%;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E03322;
    display: flex;
    align-items: center;
    justify-content: center;
}

.MasrawyTvShow .play-button-icon {
    width: 30px;
    height: 30px;
}

.MasrawyTvShow .shortsShow-card-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 8%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0) 100% );
    pointer-events: none;
}

/* ===========================
   CONTENT
=========================== */

.MasrawyTvShow .shortsShow-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #1D1D1D;
}

.MasrawyTvShow .shortsShow-card-title {
    margin: 0;
    color: #FFF;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
        line-height: 1.8;
}

.MasrawyTvShow .shortsShow-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.MasrawyTvShow .shortsShow-card-icon {
    width: 12px;
    height: 12px;
    display: block;
}

.MasrawyTvShow .shortsShow-card-date {
    margin: 0;
    color: #B8B8B8;
    font-size: 11px;
}

/* ==========================================
   Flickity
========================================== */

.MasrawyTvShow .MasrawyTvShowSlider .flickity-viewport {
    overflow: hidden;
    position: relative;
}

.MasrawyTvShow .MasrawyTvShowSlider .flickity-slider {
    left: 0 !important;
}

.MasrawyTvShow .MasrawyTvShowSlider .flickity-button {
    position: absolute;
    top: -50px;
    width: 36px;
    height: 36px;
    margin-top: 0;
    outline: 0;
    cursor: pointer;
    opacity: 1;
    z-index: 9999;
    background: #FFF;
    color: #000;
    border-radius: 50%;
    border: none;
}

    .MasrawyTvShow .MasrawyTvShowSlider .flickity-button.previous {
        top: 45%;
        right: -5%;
    }

    .MasrawyTvShow .MasrawyTvShowSlider .flickity-button.next {
        top: 45%;
        left: -5%;
    }

    .MasrawyTvShow .MasrawyTvShowSlider .flickity-button svg {
        display: none;
    }

    .MasrawyTvShow .MasrawyTvShowSlider .flickity-button.next::before {
        content: "q";
        font-size: 14px;
        line-height: 36px;
        color: #000;
    }

    .MasrawyTvShow .MasrawyTvShowSlider .flickity-button.previous::before {
        content: "r";
        font-size: 14px;
        line-height: 36px;
        color: #000;
    }

    .MasrawyTvShow .MasrawyTvShowSlider .flickity-button:disabled {
        opacity: 1;
        background: #F3F3F3;
        border: 1px solid #D9D9D9;
    }

        .MasrawyTvShow .MasrawyTvShowSlider .flickity-button:disabled::before {
            color: #999999;
        }
