
.background {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
    background: #000;
    overflow: hidden;
}

.background>div {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #000 no-repeat center center;
    background-size: cover;
    filter: grayscale(0.6) blur(5px);
}

.tab-head {
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr auto;
    grid-gap: 0;
}

.tab-head>.grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, auto));
    align-items: center;
    grid-gap: 0 10px;
    text-align: center;
    /* margin: 10px 0; */
}

.tab-head>.grid a {
    display: block;
    padding: 10px;
    text-align: center;
}

.tab-head>.grid a div {
    font-size: 0.8em;
    text-transform: uppercase;
}

.tab-head>.grid a.active {
    background: #F8F8F8;
    color: #000;
    font-weight: bold;
}

.cast-profile {
    width: 68px;
    line-height: 54px;
    height: 78px;
    font-size: 16px;
    /* border: 2px inset #11111133; */
    display: block;
    background: no-repeat center center var(--EEEEEE);
    background-size: cover;
    text-align: center;
    filter: grayscale(1);
    color: #FFFFFF33;
    border: 4px solid var(--EEEEEE);
    box-shadow: 0 0 4px #00000033;
}

.casting-movies-tag {
    background: var(--EEEEEE);
    padding: 4px 8px;
    font-size: 0.8em;
    font-weight: 900;
    margin: 0 4px 4px 0;
    display: inline-block;
}

@media (min-width: 768px) {
    .g-picture {
        order: 1;
        grid-area: 2 span / 1 span;
        margin-bottom: -40px;
        align-self: end;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .page-title {
        overflow: hidden;
        position: relative;
    }
    .page-title:after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        background: #00000099;
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        z-index: 9;
        height: 100px;
        pointer-events: none;
    }
    .g-head-top,
    .g-picture,
    .g-head-bottom {
        grid-area: 1 span / 2 span;
    }

    .g-picture {
        order: 2;
        text-align: center;
        margin-bottom: -50%;
        transition: all 1s;
    }
    .g-picture.show {
        margin-bottom: 5%;
        transition: all 1s;
    }

    .g-head-bottom {
        text-align: center;
    }

    .tab-head {
        grid-template-columns: 1fr;
    }

    .tab-head>.grid {
        grid-gap: 0;
    }
}

@keyframes blink-button {
    0% {opacity: 1;}
    50% {opacity: 0.5;}
    100% {opacity: 1;}
}
.blink-button:not(:hover) {
    animation: blink-button 3s infinite;
}
.grid-column-full,
.device-desktop .desktop\:grid-column-full,
.device-mobile .mobile\:grid-column-full {
    grid-column-end: -1;
    grid-column-start: 1;
}
.detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    max-width: 1116px;
    margin: 0 auto;
}
.detail-header-breadcrumb {
    order: 0;
    grid-row: 0;
    grid-column: 1 / -1;
}
.detail-header-title {
    order: 2;
    grid-row: 2;
    grid-column: 1 / span 3;
}
.detail-header-rating {
    order: 3;
    grid-row: 2;
    grid-column: 4 / span 3;
}
.detail-header-poster {
    order: 5;
    grid-row: 3;
    grid-column: 1 / span 2;
}
.detail-header-video {
    order: 6;
    grid-row: 3;
    grid-column: 3 / -1;
}
.detail-header-description {
    order: 8;
    grid-row: 4;
    grid-column: 1 / -1;
    /* display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10; */ /* Nombre de lignes avant le troncage */
    overflow: hidden;
    /* text-overflow: ellipsis; */
    font-size: 1.2em;
    font-weight: 300;
}
.detail-header-more {
    order: 8;
    grid-row: 5;
    grid-column: 1 / -1;
}
.detail-header-mmcom {
    order: 9;
    grid-row: 6;
    grid-column: 1 / -1;
    text-align: center;
}
.detail-header-actions {
    margin: 0 auto;
    position: relative;
    background:#000;
    border-top: 2px solid #FFFFFF22;
}
.detail-header-actions > div {
    display: flex;
    gap: 0.6em;
    overflow: scroll;
    scrollbar-width: none;
    padding: 0em 0.5em 0em 0.5em;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5em;
    max-width:1116px;
    width:100%;
    align-items: center;
}
.detail-header-actions a {
    /* background: #00000066; */
    padding: 0 0.8em;
    margin: 0.8em 0;
    line-height: 2.4em;
    display: inline-block;
    font-weight: 600;
}
.list-dot {
    display:flex;
    flex-wrap: wrap;
}
.list-dot > span + span:before {
    content: '\2022';
    margin: 0 0.5em;
}
.device-xs .detail-header-title {
    grid-column: 1 / -1;
}
.device-xs .detail-header-rating {
    grid-row: 3;
    grid-column: 1 / -1;
}
.device-xs .detail-header-poster.zoom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999;
    background: #00000099;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em;
}
.device-xs .detail-header-poster {
    grid-row: 5;
    grid-column: 1 / span 2;
}
.device-xs .detail-header-poster img {
    width: 100%!important;
    height: auto!important;
}
.device-xs .detail-header-video {
    grid-row: 4;
    grid-column: 1 / -1;
    margin: 0 -1em;
}
.device-xs .detail-header-description {
    grid-row: 5;
    grid-column: 3 / -1;
    font-size: 1em;
}
.device-xs .detail-header-more {
    grid-row: 6;
    grid-column: 1 / -1;
}
.device-xs .detail-header-mmcom {
    grid-row: 7;
    order: 7;
    padding:1.5em 1em 1em 1em;
}
.device-xs .detail-header-actions {
    background: #000000;
}
.device-xs .detail-header-actions > div {
    padding-left: 1.5em;
    padding-right: 8em;
}
.device-xs .detail-header-actions:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(-45deg, black 0%, transparent 20%);
    pointer-events: none;
}
/* SHOWTIMES */

.showtimes-list>li {
    border-radius: 8px;
}
[data-tab].active {
    outline: 2px solid #FFFFFF99;
    border-radius: 20px;
}