/* Spectacles DataScene — styles par défaut (volontairement légers,
   pensés pour être surchargés par le thème). */

/* Liste des spectacles ------------------------------------------------- */

.sds-archive {
	max-width: 1250px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

/* titre de la page */

.sds-archive__header{
 display: flex;
    flex-direction: row !important;
    margin-bottom:20px;
    padding-bottom: 5px;
    padding-top: 5px;   
}

.sds-archive__header .sds-archive__title{
   color: #184e7f!important;
    margin-bottom: 0; 
}

/* Barre de filtres */

.sds-filters {
	margin: 0 0 3rem;
}

.sds-months {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sds-months a {
	color: inherit;
	text-decoration: none;
	font-size: 0.9rem;
	white-space: nowrap;
}

.sds-months a:hover,
.sds-months a:focus {
	text-decoration: underline;
}

.sds-months__picker-form {
	display: contents; /* le formulaire ne doit pas perturber la mise en page flex de .sds-months */
}

select.sds-months__current {
	font-weight: 700;
	font-size: 1.05rem;
	text-align: center;
	text-align-last: center;
	color: inherit;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
}

select.sds-months__current:hover,
select.sds-months__current:focus {
	text-decoration: underline;
}

select.sds-months__current option {
	font-weight: 400;
	font-size: 0.95rem;
	text-align: left;
}

.sds-filters__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 1.25rem;
}

.sds-filters__field {
	display: block;
	margin: 0;
}

.sds-filters__label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
}

.sds-filters__form select,
.sds-filters__form input[type="search"] {
	box-sizing: border-box;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	font: inherit;
	font-size: 15px;
	color: #222;
}

.sds-filters__form select {
	width: 200px;
	cursor: pointer;
}

.sds-filters__submit {
	padding: 0.55rem 1.1rem;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
	cursor: pointer;
}

.sds-filters__submit:hover,
.sds-filters__submit:focus {
	background: #333;
	border-color: #333;
}

.sds-filters__search input[type="search"] {
	width: 200px;
}

.sds-filters__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 42px;
	padding: 0 24px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: #000;
	font: inherit;
	font-size: 15px;
	text-decoration: none;
}

.sds-filters__reset:hover,
.sds-filters__reset:focus {
	background: #184e7f;
	border-color: #184e7f;
	color: #fff;
}

@media (max-width: 480px) {
	.sds-months a span {
		display: none; /* ne garde que les flèches */
	}
	.sds-filters__field,
	.sds-filters__form input[type="search"],
	.sds-filters__form select,
	.sds-filters__reset {
		width: 100%;
	}
}

.sds-archive__layout {
	display: flex;
	align-items: flex-start;
	gap: 5rem; /* marge entre les spectacles et les expositions */
}

.sds-archive__col--shows {
	flex: 1 1 0;
	min-width: 0;
}

.sds-archive__col--expositions {
	flex: 0 0 320px;

}

.sds-archive__heading {
	margin: 0 0 1rem;
font-size: 35px;
	line-height: 1.2em;
}

.sds-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.sds-archive__expositions {
	display: grid;
	gap: 1.5rem;
}

.sds-archive__expositions .sds-card{
 border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 400ms ease;

}

.sds-archive__expositions .sds-card .sds-card__body .sds-card__disciplines {
    color: #e5554f;
    border-color:#e5554f;

}

@media (max-width: 900px) {
	.sds-archive__layout {
		flex-direction: column;
		align-items: stretch;
		gap: 2rem;
	}
	.sds-archive__col--expositions {
		flex-basis: auto;
	}
	.sds-archive__expositions {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

.sds-card {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 400ms ease;
}

.sds-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}


.sds-card a:hover {
color:#000;
}


.sds-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sds-card__link:hover{
    text-decoration:none;
}

.sds-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.sds-card__body {
	padding: 1rem 1.25rem 1.25rem;
}

.sds-card .sds-card__body .sds-card__disciplines {
display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid #2cb4bc;
    border-radius: 999px;
    color: #2cb4bc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2em;
}

.sds-card .sds-card__body .sds-card__title {
    margin: 10px 0 15px 0;
	font-size: 22px !important;
	  font-weight: bold;
    line-height: 1.2em;
    color:#000;
    transtion:all 300ms;
}

.sds-card .sds-card__body .sds-card__title :hover{
   color:#e5554f!important; 
}

.sds-card__excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
}

.sds-card__date {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5em;
	/*text-transform:capitalize;*/
}

.sds-card__place {
	margin: 0;
		font-size: 14px;
	line-height: 1.5em;
}

.sds-card__audiences {
	margin: 0.25rem 0 0;
	font-size: 14px;
	line-height: 1.5em;
    margin-top: 13px;
}

.sds-card__audiences strong{
font-weight:600;    
}
/* Détail d'un spectacle ------------------------------------------------ */

.sds-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.sds-single article{
padding-bottom:7%;
    display: grid;
    gap: 2rem;
    grid-auto-flow: row;
}

.sds-single .sds-show__intro{
    display: flex;
    gap: 4rem;
    background:#fff;
    border-radius: 10px;
    padding: 4% 4% 4% 5%;
    align-items: center;
    margin-top:2rem;
}

.sds-single .sds-show__intro figure{
 flex: 1 1 50%;
}

.sds-show__back {
	margin: 0 0 1rem;
}

/* Bouton « Retour » du haut de la fiche : compact, pour ne pas manger de hauteur. */
.sds-show__back-top {
	margin: 0;
	line-height: 1;
}

.sds-show__back-top a.sds-retour-haut {
    display: inline-block;
    border-radius: 999px;
    background: transparent;
    color: #E5554F !important; 
    font-weight: 600;
    text-decoration: none !important;
    font-size: 14px;
}

.sds-show__back-top a.sds-retour-haut:hover,
.sds-show__back-top a.sds-retour-haut:focus {
    color:#184e7f!important;  
}

/* Lien(s) « Pour en savoir plus » de la fiche : bouton plein. */
.sds-show__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sds-show__links a.sds-show__more {
	display: inline-block;
	padding: 8px 20px;
	border: 2px solid #E5554F;
	border-radius: 999px;
	background: #E5554F;
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
}

.sds-show__links a.sds-show__more:hover,
.sds-show__links a.sds-show__more:focus {
	background: transparent;
	color: #E5554F !important;
	text-decoration: none !important;
}

/* Même bouton en bas de la fiche, séparé du contenu comme dans le babillard. */
.sds-show__back--bottom {
	margin: 40px 0 0;
	padding-top: 40px;
	border-top: 1px solid #ccc;
}

/* Bouton « Retour » outlined (même style que le babillard) : se remplit au survol. */
.sds-show__back a.sds-btn {
	display: inline-block;
	padding: 8px 16px;
	border: 2px solid #E5554F;
	border-radius: 999px;
	background: transparent;
	color: #E5554F !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	cursor: pointer;
}

.sds-show__back a.sds-btn:hover,
.sds-show__back a.sds-btn:focus {
	background: #E5554F;
	border-color: #E5554F;
	color: #fff !important;
	text-decoration: none !important;
}

.sds-show__disciplines {
display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid #2cb4bc;
    border-radius: 999px;
    color: #2cb4bc;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2em;
}

.sds-single .sds-show__header .sds-show__title {
	color:#000;
	    font-size: 40px;
    font-weight: bold;
    line-height: 1.2em;
    margin: 15px 0 30px 0;
}

.sds-single .sds-show__header{
    flex: 1 1 50%;
}
/*
.sds-single .sds-show__header .sds-show__title .sds-show__image{
    min-width:40vw;
    max-width:40vw;
}*/

.sds-show__alternate {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	opacity: 0.8;
}

.sds-show__image img {
	display: block;
	width: 100%;
	border-radius: 8px;

}

.sds-show__description {
margin: 1.5rem 0 45px 0;
}

.sds-show__description a {
color:#e5554f;
text-decoration:underline;
font-weight:500;
}


.sds-show__meta p {
	margin: 0.25rem 0;
}

.sds-show__warnings {
	color: #a4310f;
}

.sds-show__contributions ul,
.sds-performances {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sds-show__performance,
.sds-show__venue-details,
.sds-show__links,
.sds-show__contributions{
  margin-bottom:45px;  
}

.sds-show__performance h2,
.sds-show__venue-details h2,
.sds-show__links h2,
.sds-show__contributions h2{
font-size:27px!important;
}

.sds-show__performance a,
.sds-show__venue-details a,
.sds-show__links a{
   color:#e5554f; 
   font-weight:500;
}

/* Champs personnalisés (hors norme DataScene) */

.sds-custom-fields {
	margin: 0;
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.4rem 1.25rem;
}

.sds-custom-fields dt {
	font-weight: 600;
	margin: 0;
}

.sds-custom-fields dd {
	margin: 0;
}

@media (max-width: 480px) {
	.sds-custom-fields {
		grid-template-columns: 1fr;
		gap: 0.1rem 0;
	}
	.sds-custom-fields dd {
		margin-bottom: 0.6rem;
	}
}

.sds-performance {
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sds-performance__line {
	margin: 0.15rem 0;
}

.sds-performance__line strong {
	font-weight: 700;
}

.sds-performance__tickets {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.35rem 1rem;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	text-decoration: none;
	font-size: 0.875rem;
}

.sds-performance__soldout {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.35rem 1rem;
	border-radius: 4px;
	background: #eee;
	color: #a4310f;
	font-size: 0.875rem;
	font-weight: 600;
}

.sds-performance__no-tickets {
	opacity: 0.7;
	font-size: 0.875rem;
	font-style: italic;
}


/******************************************** Responsive Styles Large Desktop And Above ******************************/
@media all and (min-width: 1860px) {

 
}


@media all and (max-width: 980px) {

 .sds-single .sds-show__intro{
     flex-direction: column;
     gap:30px;
 }
 
 .sds-single .sds-show__header {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 10px;
}
.sds-show__content{
    max-width: 90%;
    margin: auto;
}

.sds-show__performance h2, .sds-show__venue-details h2, .sds-show__links h2, .sds-show__contributions h2 {
    font-size: 22px !important;
}

.sds-single .sds-show__header .sds-show__title {

    font-size: 30px;
    margin-bottom:0;
 
}

.sds-show__disciplines {
    font-size: 13px;
}

}


