/**
 * Fichier  : /ott/vod/assets/css/sidebar/tabs/synopsis.css
 * Fonction : style de la tab 'synopsis'
 */


/* ==================================================
   STRUCTURE
================================================== */

.synopsis {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ==================================================
   THUMBNAIL
================================================== */

.synopsis .thumbnail {
    position: relative;
    overflow: hidden;
}

.synopsis .thumbnail {
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
}

.synopsis .thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: inherit;
}

.synopsis .thumbnail img {
    transition:
        transform .6s ease,
        filter .3s ease;
}

.synopsis .thumbnail:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.synopsis .thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0,0,0,0.28)
        );
    pointer-events: none;
}


/* ==================================================
   HEADER
================================================== */

.synopsis .header {
    margin: 0 5px;
}

.synopsis .header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.synopsis .header h5 {
    font-family: 'title-font';
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}

.synopsis .header p {
    padding: 6px 10px;
    
}

.synopsis .header p {
    background:
        linear-gradient(
            135deg,
            #8e0e00,
            #e9401b 60%,
            #ff7b00
        );
    box-shadow:
        0 8px 20px rgba(233,64,27,0.25),
        inset 0 1px 0 rgba(255,255,255,0.18);
    border-radius: 999px;
}

.synopsis .header p {
    font-family: 'content-font';
    font-size: 11px;
    font-weight: 500;
    color: #fff;
}


/* ==================================================
   DESCRIPTION
================================================== */

.synopsis .description {
    margin: 0 5px;
    padding: 12px;
}

.synopsis .description {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.02)
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

.synopsis .description p {
    font-family: 'content-font';
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    text-align: left;
    color: rgba(255,255,255,0.78);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media screen and (max-width: 1024px) {

    .synopsis .thumbnail img {
        display: none;
    }

}