html {
	height: 100%;
	min-height: 100%;
	font-family: "Roboto", sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background-color: #000;
	font-size: 16px;
}
body {
	max-width: 960px;
	margin: 0 auto;
	background-color: #fff;
}
main {
	padding: 0 20px 20px 20px;
}

hr {
	border-style: outset;
}

header {
	display: block;
}
#banner {
	width: 100%;
}

#date {
	margin-top: 3px;
	margin-bottom: 8px;
}
#legende {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	margin-top: 8px;
}
@media (min-width: 900px) {
	#legende {
  	  	display: flex;
		flex-direction: row !important;
    	justify-content: space-between !important;
    	align-items: flex-start;
    	width: 100%;
  	}	
}

.textlegende {
    background-color: #f0f0f0;
    color: #333;
    font-size: 14px;
    padding: 5px;
}

.badge {
	background-color: #eee;
	color: #666;
	padding: 2px 5px;
	margin-right: 5px;
}

.card {
	display: flex;
	flex-direction: row;
	border-top: solid 1px #777;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px 0;
}

.poster {
	width: 135px;
	padding: 5px 15px 0 0;
}
.poster > img {
	width: 125px;
}

.classification-image {
    display: block;
    margin-top: 10px;
	margin-bottom: 10px;
    max-width: 135px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    float: left; /* Alignement à gauche */
}

h1 {
	margin: 0;
}

.rating {
	font-weight: bold;
}
.rating,
.content {
	font-size: 14px;
}

.classification-details {
  margin: 15px 0 5px 0;
  font-size: 12px;
}

.synopsis {
	white-space: break-spaces;
	margin: 15px 0 5px 0;
	text-align: justify;
	font-size: 12px;
}

.seances {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.jour-label {
	font-weight: bold;
	color: #000;
	margin-top: 10px;
margin-bottom: 10px;
	margin-bottom: 5px;
}

.jour-label.aujourd-hui {
  display: inline-block;
  background-color: #f3fff3;           /* vert très pâle, presque blanc */
  border-left: 5px solid #8bcf9e;      /* vert doux, plus clair */
  border-right: 5px solid #8bcf9e;
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 4px;
}

.horaires {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
}
.seance-label {
	display: inline-block;
	background-color: #ccc;
	color: #666;
	padding: 5px 10px;
}
.attributs-label {
	display: inline-block;
	white-space: break-spaces;
	background-color: #eee;
	color: #666;
	padding: 5px 10px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  padding: 1rem;
  background-color: #000;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.video-wrapper {
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: auto;
}

#trailerFrame {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

























