/*
        grid-template-columns: repeat(2, 1fr); 
        gap: 4vw; 
        padding: 0 4vw;

*/
/*---------HEADER----------*/
.burger {
    display: flex !important;
}

.site-nav {
    display: none !important;
}

#logo {
    width: 11vw;
    height: 11vw;
    position: relative;
    z-index: 9999999999;
}

.center-logo {
    display: none;
}

body.home .site-header {
    transform: translateY(0) !important;
}

main {
    margin-top: 10vh;
}

.menu-drawer {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    transition: top 0.4s ease-in-out;
    z-index: 99999;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-top: 10vh;
}

ul.drawer-menu {
    width: 100%;
    padding: 0 1em;
}

.drawer-menu li:first-child {
    border-top: 1px solid;
}

.drawer-menu li {
    margin: 0;
    list-style: none;
    border-bottom: 1px solid;
    padding: 0.3em 0;
}

.drawer-menu li a {
    font-weight: normal;
}
.current-menu-item a {
    border: none !important;
}

/*---------HOMEPAGE----------*/
main.homepage {
    margin-top: 2vh !important;
}

.intro-text {
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 11vw;
    margin-bottom: 6vw;
    text-align: left;
    border-top: 1px solid;
    padding-top: 11vw;
}

.intro-text p {
    font-size: 1.5em;
    text-align: left;
}

.intro-text p a {
    border: 1px solid;
}

/*NEWS*/
.news-slider-wrapper {
    overflow: visible;
    /* plus besoin de masquer */
}

.news-slider {
    display: block !important;
    transform: none !important;
    transition: none !important;
    padding: 0 1.4vw;
    /* tu peux retirer si tu veux full width */
}

.news-slide {
    width: 100% !important;
    display: block;
    padding: 0 0 2vw 0;
    /* espacement entre les slides */
}

.news-image img {
    filter: grayscale();
    /* déjà là */
    width: 100%;
    height: auto;
}

.news-overlay {
    left: 0;
    /* facultatif pour que les textes suivent la largeur */
    width: 100%;
    padding-left: 0.5em;
}

.news-label {
    top: 0.5em;
}

.news-title {
    bottom: 1em;
}

/*-------------FILMOGRAPHIE-----------*/

/*
.film-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    padding: 0 4vw;
}

.film-filters {
position: fixed;
top: 13vw;
left: 4vw;
width: 92vw;
box-sizing: border-box;
}*/

.separators {
    border: none !important;
}

.film-page {
    display: block;
    padding: 0 4vw;
}

/* Filtres en haut, non fixes */
.film-filters {
    position: static;
    width: 100%;
    margin-bottom: 5vw;
    text-align: left;
    column-count: 2;
    gap: 2vw;
}

.film-filters li {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid;
}

/* Liste de films en bloc */
.film-list {
    display: block;
    margin-top: 8vh;
}

/* Chaque film devient une petite grille */
.film-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* ligne 1 = titres, ligne 2 = image */
    margin-bottom: 10vw;
    gap: 2vw;
    border-top: 1px solid #000;
    padding-top: 0.2em;
}

/* Titre à gauche, réalisateur à droite */
.film-title-wrapper {
    grid-column: 1 / 2;
    grid-row: 1;
    font-size: 1.1rem;
    text-align: left;
    line-height: 0.8em;
}

.film-director {
    grid-column: 2 / 3;
    grid-row: 1;
    font-size: 1.1rem;
    text-align: left;
    line-height: 0.8em;
}

.film-title {
    font-size: 1.1rem;
}

/* Image sur toute la largeur */
.film-image-wrapper {
    grid-column: 1 / 3;
    /* prend les deux colonnes */
    grid-row: 2;
    width: 100%;
    aspect-ratio: 16/9;
}

.film-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top: 1px solid #000;
    padding-top: 1em;
}

/* Désactive les anims sur mobile */
.film-image-wrapper,
.film-title-wrapper,
.film-director {
    opacity: 1 !important;
    transform: none !important;
}


/*------------SINGLE FILM-----------*/

.film-text-cols {
    grid-column: span 3;
    column-count: 1;
}

.film-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    padding: 0 4vw;
}

.film-title-col {
    grid-column: span 2;
}

.film-single-title {
    grid-column: span 2;
    font-size: 2.2em;
    line-height: 0.8em;
    margin-bottom: 0.4em !important;
    min-height: 10vh;
    border-top: 1px solid;
    padding-top: 0.2em !important;
}

.trailer-real-wrap {
    grid-column: span 2;
    font-size: 1.4rem;
    line-height: 0.8em;
    align-content: flex-end;
    display: grid;
    grid-template-columns: subgrid;
}

.film-single-director {
    font-size: 0.8rem;
    line-height: 0.8em;
    order: 2;
    grid-column: span 1;
    border-top: 1px solid #000;
    padding-top: 0.4em !important;
    margin-top: 0px !important;

}

.film-infos-flex-col {
    grid-column: span 2;
    display: block;
}

.film-synopsis-col {
    grid-column: span 2;
    font-size: 1em;
    line-height: 1em;
}

.film-synopsis p {
    font-size: 5em;
}

.film-info-text p a {
    color: black;
    text-decoration: none;
}

.film-info-text p a::after {
    content: '[↗]';
    font-family: system-ui, sans-serif, "Helvetica Neue", Arial !important;
    font-variant-emoji: text;
}

.film-trailer {
    order: 1;
    grid-column: span 1;
    margin-top: 0;
}

.film-infos {
    font-weight: bold;
    font-size: 1.05rem;
    padding-top: 0.6em !important;
    padding-bottom: 0.4em !important;
    margin-bottom: 0.8em !important;
}

.film-info-block {
    border-bottom: 1px solid black;
}

.film-info-block h4 {
    cursor: pointer;
    position: relative;
    padding-right: 1.5em;
    font-weight: bold;
    border-bottom: 0px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.film-info-block h4::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
    transition: transform 0.3s ease, content 0.2s ease;
}

.film-info-block.open h4::after {
    content: '×';
}

/* --- SINGLE FILM (mobile) --- */

/* 1) Corriger la taille trop petite héritée du 0.85vw desktop */
.film-infos-flex-col {
    grid-column: span 2;
    display: block;
    font-size: 1rem;
    /* override le 0.85vw */
    line-height: 1.3;
}

/* 2) Styles accordéon */
.film-info-block {
    border-bottom: 1px solid black;
}

/* Bouton/titre */
.film-info-block h4 {
    cursor: pointer;
    position: relative;
    padding: 0.7em 1.5em 0.7em 0;
    /* espace pour l’icône */
    font-weight: bold;
    font-size: 1.05rem;
    /* lisible sur mobile */
}

/* Icône + / × */
.film-info-block h4::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-55%);
    font-weight: normal;
    transition: transform 0.2s ease;
}

.film-info-block.open h4::after {
    content: '×';
}

/* Panneau repliable */
.film-info-text {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    padding-top: 0;
    margin-top: 0;
    font-size: 1rem;
    margin-bottom: 0.5em;
}

.film-info-block.open .film-info-text {
    padding-top: 0.6em;
}

/*---------------ABOUT----------------*/
main.about-page {
    margin-top: 12vw;
}

main.about-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    padding: 0 4vw;
}

.about-picture {
    grid-column: span 1;
}

.about-infos-wraper {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}

#people {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    padding: 0;
    display: block;
}

.personne:first-child {
    margin-top: 1em;
}

.personne:last-child {
    margin-bottom: 1.4em;
}

.personne {
    grid-column: span 2;
    margin-bottom: 1em;
}

#about-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    padding: 0 4vw;
}
