/* Feuille de style de la liste Prog > Films avec infos de séance */

.prog-films-widget {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.prog-film {
    flex: 0 0 calc(25% - 20px); 
    margin: 10px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.prog-film img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    transition: filter 0.8s ease;
    position: relative;
}

.prog-film img:hover {
    filter: saturate(3);
}

.prog-film h3.titre-film-prog {
    background: #F44336;
    color: #000; 
    padding: 0 5px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: left; 
    position: absolute; 
    top: 10px; 
    left: 10px;
    max-width: calc(100% - 20px);
    
}

.prog-film h2 {
    position: absolute;
    top: 45px;
    left: 10px;
    margin: 0;
    padding: 0 5px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    max-width: calc(100% - 15px);
    color: #000;
    background: #FFF;
    text-transform: uppercase;
    text-align: left;
}

.prog-film-seances {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    color: #000;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    text-align: left;
    font-weight: 400;
}

.prog-film-seances p {
    margin: 5px 0;
}

.prog-film-seances .prog-film-date,
.prog-film-seances .prog-film-heure,
.prog-film-seances .prog-film-salle,
.prog-film-seances .prog-film-creneau {
    display: inline-block;
    margin-right: 10px;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color:#ffffff;
}

.prog-film-seances .prog-film-date {
    background: #000000;
}

.prog-film-seances .prog-film-creneau {
    background: #000000;
}

.prog-film-seances .prog-film-salle {
    background: #000000;
}

.prog-film-seances .prog-film-heure {
    background: #000000;
}

.prog-film-seances .prog-film-prog {
    background: #000000;
}

/* Style du filtre */
.films-filters {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 10px;
}

.films-filters > select {
    background: #FFF;
    margin-right: 10px;
    padding: 5px;
    font-size: 12px;
	font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    border: 1px solid #000;
    cursor: pointer;
    max-width: 185px;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    box-shadow: none;
}

#reset-filters {
    background: #000;
    padding: 5px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: #FFF;
    border: 1px solid #000;
    border-radius: 0;
    transition: all 0.8s ease-out;
    cursor: pointer;
}

#reset-filters:hover {
    background: #FFF;
    color: #000;
}

@media (max-width: 768px) {
    .prog-film {
        flex: 0 0 calc(100% - 20px); /* 1 film par ligne en dessous de 768px */
    }
	.films-filters > select {
		min-width: 100%;
		margin-bottom: 10px;
	}
}
