/* ---- Barre de tri / filtre ---- */
.trsp-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.trsp-filtres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1;
}

.trsp-filtre-btn {
	padding: 5px 14px;
	border: 1px solid #c3c4c7;
	border-radius: 20px;
	background: #fff;
	color: #2c3338;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	line-height: 1.4;
}

.trsp-filtre-btn:hover {
	border-color: #c0392b;
	color: #c0392b;
}

.trsp-filtre-btn.is-active {
	background: #c0392b;
	border-color: #c0392b;
	color: #fff;
}

.trsp-ordre-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px 14px;
	border: 1px solid #c3c4c7;
	border-radius: 20px;
	background: #fff;
	color: #2c3338;
	font-size: 0.9rem;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.15s, color 0.15s;
}

.trsp-ordre-btn:hover {
	border-color: #c0392b;
	color: #c0392b;
}

.trsp-ordre-icon {
	font-size: 1rem;
	line-height: 1;
}

/* ---- Grille de spectacles ---- */
.trsp-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 320px, 1fr ) );
	gap: 28px;
	margin: 24px 0;
}

.trsp-card {
	border: 1px solid #e3e3e3;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.06 );
	display: flex;
	flex-direction: column;
}

.trsp-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	cursor: pointer;
	overflow: hidden;
}

.trsp-video .trsp-thumb,
.trsp-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.trsp-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 0;
	background: rgba( 0, 0, 0, 0.6 );
	color: #fff;
	font-size: 24px;
	line-height: 64px;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.trsp-video:hover .trsp-play {
	background: #c0392b;
	transform: translate( -50%, -50% ) scale( 1.08 );
}

.trsp-card > .trsp-thumb {
	width: 100%;
	height: auto;
	display: block;
}

.trsp-body {
	padding: 16px 18px 20px;
}

.trsp-titre {
	margin: 0 0 10px;
	font-size: 1.35rem;
}

.trsp-presentation {
	margin: 0 0 14px;
	line-height: 1.5;
}

.trsp-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
}

.trsp-meta li {
	padding: 3px 0;
	border-top: 1px solid #f0f0f0;
}

.trsp-meta li:first-child {
	border-top: 0;
}
