/**
 * Toi et Moi Dating — Événements.
 * Public rules are scoped to .tmev-events, except the document scroll lock.
 */

.tmev-events {
	--tmev-pink: #ff72bd;
	--tmev-pink-soft: #ffd5ed;
	--tmev-violet: #b184ff;
	--tmev-blue: #63c3ff;
	--tmev-mint: #a5f3c1;
	--tmev-gold: #ffd58a;
	--tmev-ink: #fff7fc;
	--tmev-muted: #dacde0;
	--tmev-night: #120720;
	--tmev-night-2: #0a1537;
	--tmev-surface: rgba(31, 11, 48, 0.94);
	--tmev-surface-blue: rgba(8, 25, 58, 0.94);
	--tmev-border: rgba(255, 162, 219, 0.28);
	--tmev-shadow: 0 24px 64px rgba(4, 2, 24, 0.42);
	width: 100%;
	max-width: 100%;
	margin: 0;
	color: var(--tmev-ink);
	font-family: "Manrope", "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-text-size-adjust: 100%;
	container-type: inline-size;
	container-name: tmev;
}

.tmev-events,
.tmev-events *,
.tmev-events *::before,
.tmev-events *::after {
	box-sizing: border-box;
}

.tmev-events :where(h2, h3, h4, p, ul, ol, dl) {
	margin-top: 0;
}

/* Neutralize broad decorative rules sometimes applied by the site theme. */
.tmev-events :where(h2, h3, h4) {
	color: inherit !important;
	background: none !important;
	background-image: none !important;
	background-clip: border-box !important;
	-webkit-background-clip: border-box !important;
	-webkit-text-fill-color: currentColor !important;
	text-shadow: none !important;
}

.tmev-events :where(h2, h3, h4, p, span, a, button)::after {
	display: none !important;
	content: none !important;
}

.tmev-events button,
.tmev-events input,
.tmev-events select {
	font: inherit;
}

.tmev-events button,
.tmev-events a {
	-webkit-tap-highlight-color: transparent;
}

.tmev-events img,
.tmev-events svg {
	display: block;
	max-width: 100%;
}

.tmev-events [hidden] {
	display: none !important;
}

.elementor-widget-container:has(.tmev-events),
.elementor-widget-container:has(.tmev-events):hover {
	transform: none !important;
}

.tmev-events__inner {
	width: 100%;
	margin: 0 auto;
	padding: clamp(14px, 2.3vw, 30px);
	overflow: hidden;
	background:
		radial-gradient(circle at 9% 4%, rgba(255, 74, 180, 0.13), transparent 27%),
		radial-gradient(circle at 94% 19%, rgba(65, 185, 255, 0.12), transparent 31%),
		linear-gradient(155deg, rgba(21, 6, 34, 0.72), rgba(5, 17, 45, 0.68) 72%, rgba(24, 7, 37, 0.72));
	border: 1px solid rgba(255, 152, 216, 0.22);
	border-radius: clamp(25px, 3vw, 40px);
	box-shadow: 0 30px 90px rgba(4, 2, 24, 0.38);
	-webkit-backdrop-filter: blur(14px) saturate(118%);
	backdrop-filter: blur(14px) saturate(118%);
}

.tmev-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
}

/* Hero */
.tmev-hero {
	position: relative;
	display: grid;
	min-height: clamp(390px, 44vw, 590px);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(circle at 15% 30%, rgba(255, 76, 183, 0.18), transparent 34%),
		linear-gradient(120deg, #180824, #0a1738);
	border: 1px solid rgba(255, 131, 205, 0.45);
	border-radius: clamp(24px, 3vw, 36px);
	box-shadow: var(--tmev-shadow);
}

.tmev-hero::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: "";
	background:
		linear-gradient(90deg, rgba(9, 4, 25, 0.04) 26%, rgba(9, 7, 34, 0.34) 48%, rgba(7, 13, 43, 0.94) 76%),
		radial-gradient(circle at 80% 24%, rgba(78, 187, 255, 0.22), transparent 32%);
	pointer-events: none;
}

.tmev-hero::after {
	position: absolute;
	z-index: 3;
	inset: 16px;
	content: "";
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: clamp(17px, 2.2vw, 25px);
}

.tmev-hero__art {
	position: absolute;
	z-index: 0;
	inset: 0;
	background-image: url("../images/hero-events-milo-lila.webp?tmv=812.1");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	pointer-events: none;
}

.tmev-hero__copy {
	position: relative;
	z-index: 4;
	align-self: center;
	width: min(53%, 720px);
	margin-left: auto;
	padding: clamp(38px, 5vw, 76px);
}

.tmev-hero__eyebrow,
.tmev-catalogue__eyebrow {
	margin: 0 0 12px;
	color: var(--tmev-pink-soft) !important;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.tmev-hero__title {
	margin: 0;
	color: var(--tmev-ink) !important;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 5.2vw, 5rem);
	font-weight: 680;
	letter-spacing: -0.045em;
	line-height: 0.94;
	text-wrap: balance;
}

.tmev-hero__title::first-line {
	color: var(--tmev-mint);
}

.tmev-hero__intro {
	max-width: 59ch;
	margin: clamp(18px, 2.2vw, 26px) 0 0;
	color: #eef5ff !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.08rem, 1.55vw, 1.3rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1.58;
}

.tmev-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: clamp(24px, 3vw, 34px);
}

.tmev-hero__facts span {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	color: #fcefff;
	font-size: 0.82rem;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 172, 220, 0.28);
	border-radius: 999px;
	backdrop-filter: blur(12px);
}

.tmev-hero__facts strong {
	color: var(--tmev-mint);
	font-size: 1.05rem;
}

/* Catalogue introduction */
.tmev-catalogue {
	margin-top: clamp(24px, 3vw, 38px);
}

.tmev-catalogue__heading {
	max-width: 850px;
	margin-bottom: 18px;
}

.tmev-catalogue__heading h3 {
	margin: 0;
	color: var(--tmev-ink) !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.15rem, 4vw, 3.35rem);
	font-weight: 680;
	letter-spacing: -0.03em;
	line-height: 1;
	text-wrap: balance;
}

.tmev-catalogue__heading > p:last-child {
	max-width: 68ch;
	margin: 12px 0 0;
	color: var(--tmev-muted) !important;
}

/* Region tabs */
.tmev-region-tabs {
	display: flex;
	gap: 9px;
	margin: 0 0 14px;
	padding: 3px 1px 8px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 114, 189, 0.45) transparent;
}

.tmev-region-tab {
	display: inline-flex;
	min-height: 43px;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 8px 14px;
	color: #f7eaf7;
	font-weight: 750;
	line-height: 1.15;
	white-space: nowrap;
	background: rgba(39, 15, 55, 0.9);
	border: 1px solid rgba(211, 139, 255, 0.3);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(4, 2, 20, 0.18);
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tmev-region-tab small {
	display: inline-grid;
	min-width: 22px;
	height: 22px;
	place-items: center;
	padding: 0 6px;
	color: #dff6ff;
	font-size: 0.68rem;
	font-weight: 800;
	background: rgba(82, 184, 255, 0.18);
	border-radius: 999px;
}

.tmev-region-tab:hover,
.tmev-region-tab.is-active {
	color: #fff;
	background: linear-gradient(105deg, rgba(255, 94, 181, 0.92), rgba(173, 109, 255, 0.92) 52%, rgba(72, 169, 246, 0.92));
	border-color: rgba(255, 223, 243, 0.58);
	box-shadow: 0 10px 28px rgba(172, 84, 245, 0.28);
	transform: translateY(-1px);
}

.tmev-region-tab.is-active small {
	color: #18203b;
	background: rgba(255, 255, 255, 0.82);
}

/* Filter panel */
.tmev-filter-panel {
	overflow: hidden;
	color: var(--tmev-ink);
	background:
		linear-gradient(150deg, rgba(54, 16, 69, 0.96), rgba(7, 24, 60, 0.96));
	border: 1px solid rgba(255, 139, 211, 0.35);
	border-radius: 18px;
	box-shadow: 0 18px 42px rgba(4, 2, 24, 0.34);
	backdrop-filter: blur(14px);
}

.tmev-filter-panel > summary {
	display: none;
}

.tmev-filter-panel:not([open]) > .tmev-filters {
	display: grid;
}

.tmev-filters {
	display: grid;
	grid-template-columns:
		minmax(210px, 1.35fr)
		repeat(5, minmax(132px, 0.78fr))
		minmax(132px, max-content);
	gap: 10px;
	align-items: end;
	margin: 0;
	padding: 13px;
}

.tmev-field {
	display: grid;
	min-width: 0;
	gap: 5px;
	margin: 0;
}

.tmev-field > span:first-child {
	color: #ffd9ef;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.25;
	text-transform: uppercase;
}

.tmev-field__control {
	position: relative;
	display: block;
	min-width: 0;
}

.tmev-field__control .tmev-icon {
	position: absolute;
	top: 50%;
	left: 12px;
	width: 17px;
	height: 17px;
	color: var(--tmev-pink);
	pointer-events: none;
	transform: translateY(-50%);
}

.tmev-events .tmev-field input,
.tmev-events .tmev-field select {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 43px;
	margin: 0;
	padding: 8px 34px 8px 12px;
	color: #fff8fd !important;
	line-height: 1.3;
	-webkit-text-fill-color: currentColor !important;
	background-color: rgba(5, 11, 40, 0.76);
	border: 1px solid rgba(211, 138, 255, 0.4);
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	color-scheme: dark;
	text-overflow: ellipsis;
}

.tmev-events .tmev-field--search input {
	padding-left: 39px;
}

.tmev-events .tmev-field input::placeholder {
	color: #cdbcd4;
	opacity: 1;
}

.tmev-events .tmev-field select option {
	color: #fff;
	background: #151035;
}

.tmev-events :where(input, select, button, a):focus-visible {
	outline: 3px solid rgba(99, 195, 255, 0.72);
	outline-offset: 2px;
}

/* Buttons */
.tmev-events .tmev-button {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 9px 15px;
	color: #fff !important;
	font-size: 0.86rem;
	font-weight: 790;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	-webkit-text-fill-color: currentColor !important;
	background: linear-gradient(105deg, var(--tmev-pink), var(--tmev-violet) 52%, var(--tmev-blue));
	border: 1px solid rgba(255, 223, 244, 0.42);
	border-radius: 999px;
	box-shadow: 0 10px 25px rgba(172, 89, 241, 0.22);
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, background-color 160ms ease;
}

.tmev-events .tmev-button:hover {
	color: #fff !important;
	filter: brightness(1.08);
	box-shadow: 0 13px 30px rgba(172, 89, 241, 0.34);
	transform: translateY(-1px);
}

.tmev-events .tmev-button--secondary {
	color: #ffe8f6 !important;
	background: rgba(255, 255, 255, 0.075);
	border-color: rgba(255, 171, 220, 0.36);
	box-shadow: none;
}

.tmev-events .tmev-button--secondary:hover {
	background: rgba(255, 118, 189, 0.18);
}

.tmev-filters__reset {
	width: 100%;
	min-width: 0;
	white-space: nowrap;
}

/* Results toolbar */
.tmev-results-toolbar {
	display: flex;
	min-height: 45px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0;
	padding: 8px 13px;
	background: linear-gradient(90deg, rgba(55, 17, 70, 0.72), rgba(12, 26, 67, 0.68));
	border: 1px solid rgba(213, 138, 255, 0.22);
	border-radius: 14px;
	backdrop-filter: blur(10px);
}

.tmev-results-toolbar p {
	margin: 0;
	color: #d9ccdf !important;
	font-size: 0.82rem;
}

.tmev-results-count strong {
	color: #fff3fb;
	font-size: 1rem;
}

/* Cards */
.tmev-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 25px);
	align-items: stretch;
}

.tmev-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	color: var(--tmev-ink);
	background:
		linear-gradient(160deg, rgba(45, 14, 58, 0.98), rgba(7, 20, 52, 0.98));
	border: 1px solid rgba(255, 145, 211, 0.28);
	border-radius: 23px;
	box-shadow: 0 18px 46px rgba(4, 2, 22, 0.34);
	isolation: isolate;
	transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.tmev-card:hover {
	border-color: rgba(255, 151, 216, 0.54);
	box-shadow: 0 24px 58px rgba(4, 2, 22, 0.46), 0 0 30px rgba(177, 116, 255, 0.12);
	transform: translateY(-4px);
}

.tmev-card--featured {
	border-color: rgba(255, 213, 138, 0.56);
	box-shadow: 0 22px 56px rgba(4, 2, 22, 0.42), 0 0 34px rgba(255, 188, 101, 0.09);
}

.tmev-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #130a25;
}

.tmev-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tmev-card:hover .tmev-card__media img {
	transform: scale(1.035);
}

.tmev-card__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4, 4, 20, 0.03) 42%, rgba(6, 7, 29, 0.72) 100%),
		linear-gradient(90deg, rgba(16, 4, 28, 0.12), transparent 48%);
	pointer-events: none;
}

.tmev-date-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: grid;
	width: 60px;
	min-height: 66px;
	place-content: center;
	gap: 0;
	padding: 7px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background: rgba(13, 8, 36, 0.82);
	border: 1px solid rgba(255, 199, 232, 0.44);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(3, 1, 16, 0.36);
	backdrop-filter: blur(12px);
}

.tmev-date-badge strong {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.85rem;
	line-height: 0.9;
}

.tmev-date-badge span {
	margin-top: 4px;
	color: #ffd8ed;
	font-size: 0.61rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
}

.tmev-status,
.tmev-featured {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	min-height: 29px;
	align-items: center;
	padding: 5px 10px;
	color: #ecfff4;
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.025em;
	line-height: 1.1;
	text-transform: uppercase;
	background: rgba(33, 140, 88, 0.84);
	border: 1px solid rgba(197, 255, 222, 0.38);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(3, 17, 11, 0.24);
	backdrop-filter: blur(10px);
}

.tmev-status--few_left {
	color: #fff6da;
	background: rgba(171, 96, 15, 0.88);
	border-color: rgba(255, 226, 159, 0.45);
}

.tmev-status--full,
.tmev-status--past {
	color: #f0eff5;
	background: rgba(72, 72, 92, 0.9);
	border-color: rgba(232, 229, 244, 0.25);
}

.tmev-status--cancelled {
	color: #ffe9ed;
	background: rgba(147, 35, 57, 0.9);
	border-color: rgba(255, 192, 203, 0.32);
}

.tmev-featured {
	top: auto;
	right: auto;
	bottom: 13px;
	left: 14px;
	color: #3b2405;
	background: rgba(255, 219, 150, 0.92);
	border-color: rgba(255, 247, 221, 0.62);
}

.tmev-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(18px, 2vw, 24px);
}

.tmev-card__type {
	margin: 0 0 7px;
	color: var(--tmev-pink-soft) !important;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.tmev-card h4 {
	margin: 0;
	color: #fff8fd !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.65rem, 2.4vw, 2.15rem);
	font-weight: 680;
	letter-spacing: -0.025em;
	line-height: 1.02;
	text-wrap: balance;
}

.tmev-card__excerpt {
	display: -webkit-box;
	margin: 13px 0 0;
	overflow: hidden;
	color: #d7c9dd !important;
	font-size: 0.9rem;
	line-height: 1.56;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tmev-card__facts {
	display: grid;
	gap: 8px;
	margin: auto 0 0;
	padding: 19px 0 0;
	list-style: none;
}

.tmev-card__facts li {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	color: #eaddf0;
	font-size: 0.82rem;
	line-height: 1.38;
}

.tmev-card__facts .tmev-icon {
	width: 17px;
	height: 17px;
	margin-top: 1px;
	color: var(--tmev-blue);
}

.tmev-card__facts li:nth-child(2) .tmev-icon {
	color: var(--tmev-pink);
}

.tmev-card__facts li:nth-child(3) .tmev-icon {
	color: var(--tmev-mint);
}

.tmev-card__footer {
	display: grid;
	gap: 14px;
	padding: 0 clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px);
}

.tmev-card__price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 175, 223, 0.16);
}

.tmev-card__price span {
	color: #bbaec3;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

.tmev-card__price strong {
	color: var(--tmev-gold);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.3rem;
	line-height: 1;
	text-align: right;
}

.tmev-card__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.tmev-card__actions > :only-child {
	grid-column: 1 / -1;
}

/* Empty state */
.tmev-empty {
	display: grid;
	min-height: 280px;
	place-items: center;
	align-content: center;
	gap: 10px;
	padding: 34px;
	color: #efe7f2;
	text-align: center;
	background: linear-gradient(145deg, rgba(45, 14, 58, 0.88), rgba(7, 20, 52, 0.88));
	border: 1px dashed rgba(255, 145, 211, 0.42);
	border-radius: 22px;
}

.tmev-empty .tmev-icon {
	width: 50px;
	height: 50px;
	color: var(--tmev-pink);
}

.tmev-empty h4 {
	margin: 4px 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2rem;
}

.tmev-empty p {
	max-width: 54ch;
	margin: 0 0 8px;
	color: var(--tmev-muted) !important;
}

.tmev-pagination {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	margin-top: 24px;
}

.tmev-pagination > :last-child {
	justify-self: end;
}

.tmev-pagination p {
	margin: 0;
	color: var(--tmev-muted) !important;
	font-weight: 750;
	text-align: center;
}

/* Dialog */
html.tmev-dialog-open {
	overflow: hidden;
}

.tmev-dialog {
	width: min(960px, calc(100vw - 30px));
	max-width: 960px;
	max-height: min(90vh, 920px);
	padding: 0;
	overflow: visible;
	color: var(--tmev-ink);
	background: transparent;
	border: 0;
	border-radius: 26px;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.66);
}

.tmev-dialog::backdrop {
	background: rgba(5, 3, 18, 0.82);
	backdrop-filter: blur(9px);
}

.tmev-dialog.is-fallback-open {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	place-items: center;
	margin: 0;
	padding: clamp(7px, 2vw, 24px);
	overflow: auto;
	background: rgba(5, 3, 18, 0.86);
	border-radius: 0;
	box-shadow: none;
	overscroll-behavior: contain;
	transform: none;
	backdrop-filter: blur(9px);
}

.tmev-dialog.is-fallback-open > .tmev-dialog__shell {
	width: min(1060px, 100%);
	max-height: 100%;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.66);
}

.tmev-dialog__shell {
	position: relative;
	display: grid;
	grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
	max-height: min(90vh, 920px);
	overflow: auto;
	color: var(--tmev-ink);
	background: linear-gradient(145deg, #2d103b, #091a3a 78%);
	border: 1px solid rgba(255, 157, 214, 0.42);
	border-radius: 26px;
}

.tmev-dialog__close {
	position: absolute;
	z-index: 4;
	top: 12px;
	right: 12px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	margin: 0;
	padding: 0 0 4px;
	color: #fff;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	background: rgba(9, 7, 29, 0.76);
	border: 1px solid rgba(255, 211, 235, 0.4);
	border-radius: 50%;
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.24);
	cursor: pointer;
	backdrop-filter: blur(10px);
}

.tmev-dialog__media {
	position: sticky;
	top: 0;
	min-height: 100%;
	overflow: hidden;
	background: #110922;
	border-radius: 25px 0 0 25px;
}

.tmev-dialog__media::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent 48%, rgba(10, 6, 31, 0.68));
	pointer-events: none;
}

.tmev-dialog__media img {
	width: 100%;
	height: 100%;
	min-height: 620px;
	object-fit: cover;
}

.tmev-dialog__media .tmev-status {
	top: auto;
	right: auto;
	bottom: 18px;
	left: 18px;
	z-index: 2;
}

.tmev-dialog__content {
	padding: clamp(30px, 4vw, 50px);
	overflow-wrap: anywhere;
}

.tmev-dialog__eyebrow {
	margin: 0 46px 9px 0;
	color: var(--tmev-pink-soft) !important;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.tmev-dialog__content h3 {
	margin: 0 42px 0 0;
	color: #fff7fc !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.45rem, 5vw, 4.2rem);
	font-weight: 680;
	letter-spacing: -0.04em;
	line-height: 0.96;
	text-wrap: balance;
}

.tmev-dialog__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 24px 0;
}

.tmev-dialog__facts p {
	display: flex;
	min-width: 0;
	gap: 10px;
	margin: 0;
	padding: 12px;
	color: #eadff0 !important;
	font-size: 0.84rem;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 173, 222, 0.15);
	border-radius: 13px;
}

.tmev-dialog__facts .tmev-icon {
	width: 19px;
	height: 19px;
	margin-top: 1px;
	color: var(--tmev-blue);
}

.tmev-dialog__facts span {
	display: grid;
	gap: 2px;
}

.tmev-dialog__facts strong {
	color: #ffd8ed;
	font-size: 0.67rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.tmev-dialog__facts small {
	display: block;
	color: #bfb1c6;
}

.tmev-dialog__description {
	color: #e1d6e6 !important;
	font-size: 0.96rem;
	line-height: 1.68;
}

.tmev-dialog__description :where(h2, h3, h4) {
	margin: 1.35em 0 0.45em;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.65rem;
}

.tmev-dialog__description :where(p, ul, ol):last-child {
	margin-bottom: 0;
}

.tmev-dialog__description a {
	color: #a8dcff !important;
}

.tmev-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 9px;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 173, 222, 0.16);
}

/* Responsive */
@container tmev (max-width: 1120px) {
	.tmev-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.tmev-field--search {
		grid-column: span 2;
	}
	.tmev-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container tmev (max-width: 800px) {
	.tmev-hero {
		min-height: 530px;
	}
	.tmev-hero::before {
		background: linear-gradient(180deg, rgba(8, 5, 27, 0.04) 18%, rgba(8, 8, 35, 0.48) 48%, rgba(8, 13, 42, 0.98) 78%);
	}
	.tmev-hero__art {
		background-position: 30% center;
	}
	.tmev-hero__copy {
		align-self: end;
		width: 100%;
		margin: 0;
		padding: 230px clamp(28px, 6vw, 48px) clamp(32px, 6vw, 52px);
	}
	.tmev-hero__title {
		font-size: clamp(2.7rem, 10vw, 4.5rem);
	}
	.tmev-filter-panel > summary {
		display: flex;
		min-height: 50px;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 12px 15px;
		color: #fff3fb;
		font-family: "Cinzel", Georgia, serif;
		font-size: 0.75rem;
		font-weight: 800;
		letter-spacing: 0.08em;
		list-style: none;
		text-transform: uppercase;
		cursor: pointer;
	}
	.tmev-filter-panel > summary::-webkit-details-marker {
		display: none;
	}
	.tmev-filter-panel__badge {
		display: inline-grid;
		min-width: 24px;
		height: 24px;
		place-items: center;
		padding: 0 6px;
		color: #15102e;
		font-family: "Manrope", sans-serif;
		font-size: 0.7rem;
		background: var(--tmev-pink-soft);
		border-radius: 999px;
	}
	.tmev-filter-panel:not([open]) > .tmev-filters {
		display: none;
	}
	.tmev-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-top: 0;
	}
	.tmev-field--search {
		grid-column: 1 / -1;
	}
	.tmev-dialog__shell {
		grid-template-columns: 1fr;
	}
	.tmev-dialog__media {
		position: relative;
		min-height: 300px;
		border-radius: 25px 25px 0 0;
	}
	.tmev-dialog__media img {
		height: min(48vh, 430px);
		min-height: 300px;
	}
}

@container tmev (max-width: 580px) {
	.tmev-events__inner {
		padding: 9px;
		border-radius: 25px;
	}
	.tmev-hero {
		min-height: 510px;
		border-radius: 22px;
	}
	.tmev-hero::after {
		inset: 10px;
	}
	.tmev-hero__copy {
		padding: 225px 22px 28px;
	}
	.tmev-hero__eyebrow {
		font-size: 0.62rem;
	}
	.tmev-hero__intro {
		font-size: 1.05rem;
	}
	.tmev-hero__facts {
		gap: 7px;
	}
	.tmev-hero__facts span {
		min-height: 36px;
		padding: 6px 10px;
		font-size: 0.72rem;
	}
	.tmev-catalogue__heading h3 {
		font-size: 2.3rem;
	}
	.tmev-filters,
	.tmev-grid {
		grid-template-columns: 1fr;
	}
	.tmev-field--search {
		grid-column: auto;
	}
	.tmev-results-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}
	.tmev-card__actions {
		grid-template-columns: 1fr;
	}
	.tmev-card__actions > :only-child {
		grid-column: auto;
	}
	.tmev-pagination {
		grid-template-columns: 1fr;
	}
	.tmev-pagination > * {
		justify-self: stretch;
	}
	.tmev-pagination p {
		grid-row: 1;
	}
	.tmev-dialog {
		width: calc(100vw - 14px);
		max-height: calc(100vh - 14px);
	}
	.tmev-dialog__shell {
		max-height: calc(100vh - 14px);
		border-radius: 19px;
	}
	.tmev-dialog__media {
		border-radius: 18px 18px 0 0;
	}
	.tmev-dialog__content {
		padding: 25px 20px 22px;
	}
	.tmev-dialog__content h3 {
		font-size: 2.45rem;
	}
	.tmev-dialog__facts {
		grid-template-columns: 1fr;
	}
	.tmev-dialog__actions {
		display: grid;
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tmev-events *,
	.tmev-events *::before,
	.tmev-events *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.tmev-region-tabs,
	.tmev-filter-panel,
	.tmev-card__actions,
	.tmev-dialogs {
		display: none !important;
	}
	.tmev-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tmev-card {
		break-inside: avoid;
		box-shadow: none;
	}
}

/* =========================================================
   V2 — vitrine immersive Milo/Lila et inscriptions
   ========================================================= */
.tmev-events {
	--tmev-surface-light: #fffafc;
	--tmev-surface-pink: #fff0f7;
	--tmev-rose-v2: #df2868;
	--tmev-rose-v2-dark: #a60f4a;
	--tmev-text-v2: #351528;
	--tmev-text-v2-soft: #755569;
}

.tmev-hero {
	grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
	min-height: clamp(390px, 38vw, 520px);
	background:
		radial-gradient(circle at 14% 18%, rgba(255, 105, 181, 0.2), transparent 31%),
		radial-gradient(circle at 86% 80%, rgba(165, 243, 193, 0.12), transparent 32%),
		linear-gradient(135deg, rgba(29, 9, 45, 0.38), rgba(5, 20, 44, 0.5));
	border-color: rgba(165, 243, 193, 0.28);
	-webkit-backdrop-filter: blur(10px) saturate(115%);
	backdrop-filter: blur(10px) saturate(115%);
}

.tmev-hero::before {
	background:
		linear-gradient(90deg, transparent 0 42%, rgba(9, 8, 29, 0.22) 56%, rgba(7, 17, 39, 0.58) 100%),
		radial-gradient(circle at 79% 24%, rgba(165, 243, 193, 0.1), transparent 38%);
}

.tmev-hero::after {
	border-color: rgba(255, 255, 255, 0.12);
}

.tmev-hero__art {
	position: relative;
	z-index: 2;
	inset: auto;
	display: flex;
	min-width: 0;
	align-self: center;
	align-items: stretch;
	justify-content: center;
	aspect-ratio: 16 / 10;
	margin: clamp(22px, 3vw, 38px) 0 clamp(22px, 3vw, 38px) clamp(22px, 3vw, 38px);
	padding: 0;
	overflow: hidden;
	background: rgba(10, 5, 28, 0.32);
	border: 1px solid rgba(255, 219, 239, 0.2);
	border-radius: clamp(18px, 2.2vw, 28px);
	box-shadow: 0 22px 46px rgba(5, 2, 24, 0.36);
}

.tmev-hero__art img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: center;
	filter: saturate(1.04) contrast(1.02);
}

.tmev-hero__copy {
	align-self: center;
	width: auto;
	margin: 0;
	padding: clamp(36px, 5vw, 70px) clamp(34px, 5vw, 72px) clamp(36px, 5vw, 70px) clamp(26px, 3.5vw, 48px);
}

.tmev-events .tmev-hero__title {
	color: var(--tmev-mint) !important;
	background: none !important;
	background-image: none !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
	-webkit-text-fill-color: var(--tmev-mint) !important;
	text-shadow: 0 4px 24px rgba(53, 255, 146, 0.16) !important;
}

.tmev-hero__intro {
	color: #f5f1f8 !important;
	font-style: normal;
	font-weight: 540;
}

.tmev-hero__facts span {
	color: #fff7fc !important;
	background: rgba(9, 8, 29, 0.48);
	border-color: rgba(165, 243, 193, 0.26);
	box-shadow: 0 8px 22px rgba(3, 2, 20, 0.2);
}

.tmev-hero__facts strong {
	color: var(--tmev-mint) !important;
}

.tmev-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.tmev-experience-gallery {
	margin-top: clamp(14px, 2vw, 22px);
}

.tmev-experience-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(10px, 1.5vw, 18px);
}

.tmev-experience-gallery__item {
	position: relative;
	isolation: isolate;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: rgba(12, 7, 31, 0.42);
	border: 1px solid rgba(255, 215, 239, 0.2);
	border-radius: clamp(15px, 1.8vw, 22px);
	box-shadow: 0 16px 34px rgba(4, 2, 24, 0.24);
}

.tmev-experience-gallery__item::after {
	position: absolute;
	z-index: 1;
	inset: 34% 0 0;
	content: "";
	background: linear-gradient(180deg, transparent, rgba(7, 4, 25, 0.9));
	pointer-events: none;
}

.tmev-experience-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tmev-experience-gallery__item figcaption {
	position: absolute;
	z-index: 2;
	right: clamp(14px, 1.8vw, 22px);
	bottom: clamp(13px, 1.6vw, 20px);
	left: clamp(14px, 1.8vw, 22px);
	color: #fff !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.08rem, 1.65vw, 1.38rem);
	font-weight: 750;
	line-height: 1.12;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
}

.tmev-filters {
	grid-template-columns: minmax(230px, 1.45fr) repeat(5, minmax(145px, 1fr));
}

.tmev-filter-actions {
	display: flex;
	align-items: flex-end;
}

.tmev-results-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 18px 0;
}

.tmev-results-bar p {
	margin: 0;
	color: var(--tmev-muted) !important;
}

.tmev-results-bar strong {
	color: var(--tmev-ink);
}

.tmev-results-bar select {
	min-width: 210px;
}

.tmev-card__facts li:last-child span {
	color: #d8ffe6;
	font-weight: 750;
}

.tmev-dialog {
	width: min(1060px, calc(100vw - 30px));
	max-width: 1060px;
}

.tmev-dialog__shell {
	display: block;
}

.tmev-dialog__detail {
	display: grid;
	grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
	min-height: 620px;
}

.tmev-registration-panel {
	min-height: 620px;
	padding: clamp(30px, 4vw, 52px);
	color: #fef7fb;
	background:
		radial-gradient(circle at 15% 12%, rgba(255, 96, 169, 0.17), transparent 34%),
		linear-gradient(145deg, #2d103b, #0b1937 78%);
	border-radius: 26px;
}

/* Le thème du site met en ligne le lien de retour, l'intitulé et le titre :
   ils se retrouvaient collés sur la même ligne, titre compris. Le panneau
   impose donc son propre empilement, sans dépendre du flux hérité. */
.tmev-registration-panel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.tmev-registration-panel > * {
	float: none !important;
	width: 100%;
}

.tmev-registration-panel__back {
	align-self: flex-start;
	width: auto !important;
	clear: both;
}

.tmev-registration-panel h3,
.tmev-registration-panel .tmev-dialog__eyebrow,
.tmev-registration-panel__summary {
	display: block;
	margin-right: 0;
	text-align: left;
}

.tmev-registration-panel[hidden],
.tmev-dialog__detail[hidden] {
	display: none !important;
}

.tmev-registration-panel__back {
	margin: 0 0 22px;
	padding: 0;
	color: #ffd5e9 !important;
	font-weight: 700;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.tmev-registration-panel h3 {
	max-width: 780px;
	margin: 0;
	color: #fff7fc !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.3rem, 5vw, 4rem);
	line-height: 1;
}

.tmev-registration-panel__summary {
	margin: 10px 0 24px;
	color: #d8c9e0 !important;
}

.tmev-waitlist-note {
	margin: 0 0 20px;
	padding: 13px 16px;
	color: #fff4cd;
	background: rgba(255, 191, 50, 0.11);
	border: 1px solid rgba(255, 210, 91, 0.32);
	border-radius: 14px;
}

.tmev-registration-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.tmev-registration-grid label,
.tmev-registration-form > label {
	display: grid;
	gap: 7px;
	min-width: 0;
	color: #ffe9f4 !important;
	font-size: 0.82rem;
	font-weight: 750;
}

.tmev-registration-grid__wide {
	grid-column: 1 / -1;
}

.tmev-registration-form input,
.tmev-registration-form select {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px 13px;
	color: #fff !important;
	font: inherit;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.19) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
}

.tmev-registration-form select option {
	color: #251226;
	background: #fff;
}

.tmev-registration-form input:focus,
.tmev-registration-form select:focus {
	outline: 3px solid rgba(255, 105, 177, 0.23);
	border-color: #ff82bd !important;
}

.tmev-consent {
	grid-template-columns: auto 1fr !important;
	align-items: start;
	gap: 10px !important;
	margin-top: 18px;
	font-weight: 500 !important;
	line-height: 1.55;
}

.tmev-consent input {
	width: 20px;
	height: 20px;
	min-height: 0;
	margin-top: 2px;
}

.tmev-consent a {
	color: #b7e4ff !important;
	text-decoration: underline;
}

.tmev-registration-submit {
	width: 100%;
	margin-top: 14px;
}

.tmev-form-status {
	min-height: 24px;
	margin-top: 14px;
	padding: 0;
	font-weight: 700;
}

.tmev-form-status.is-loading {
	color: #d9d0df;
}

.tmev-form-status.is-error {
	padding: 11px 14px;
	color: #ffd9df;
	background: rgba(222, 45, 84, 0.15);
	border: 1px solid rgba(255, 111, 139, 0.35);
	border-radius: 12px;
}

.tmev-form-status.is-success {
	padding: 16px;
	color: #d9ffe5;
	background: rgba(37, 183, 96, 0.14);
	border: 1px solid rgba(89, 231, 145, 0.34);
	border-radius: 12px;
}

.tmev-registration-form.is-success .tmev-registration-grid,
.tmev-registration-form.is-success .tmev-consent,
.tmev-registration-form.is-success .tmev-registration-submit {
	display: none;
}

.tmev-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@container tmev (max-width: 1180px) {
	.tmev-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.tmev-field--search {
		grid-column: span 2;
	}
}

@container tmev (max-width: 800px) {
	.tmev-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.tmev-hero::before {
		background:
			linear-gradient(180deg, transparent 0 34%, rgba(9, 8, 29, 0.16) 50%, rgba(7, 17, 39, 0.58) 100%),
			radial-gradient(circle at 78% 72%, rgba(165, 243, 193, 0.09), transparent 36%);
	}
	.tmev-hero__art {
		min-height: 0;
		margin: 18px 18px 0;
		padding: 0;
	}
	.tmev-hero__art img {
		max-height: none;
	}
	.tmev-hero__copy {
		padding: clamp(28px, 5vw, 42px) clamp(28px, 6vw, 48px) clamp(32px, 6vw, 52px);
	}
	.tmev-experience-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tmev-dialog__detail {
		grid-template-columns: 1fr;
	}
	.tmev-registration-panel {
		border-radius: 25px;
	}
}

@container tmev (max-width: 580px) {
	.tmev-filters {
		grid-template-columns: 1fr;
	}
	.tmev-field--search {
		grid-column: auto;
	}
	.tmev-hero__art {
		min-height: 0;
		margin: 14px 14px 0;
	}
	.tmev-hero__art img {
		max-height: none;
	}
	.tmev-hero__copy {
		padding: 26px 22px 30px;
	}
	.tmev-experience-gallery__grid {
		grid-template-columns: 1fr;
	}
	.tmev-results-bar {
		align-items: stretch;
		flex-direction: column;
	}
	.tmev-results-bar select {
		width: 100%;
		min-width: 0;
	}
	.tmev-registration-panel {
		min-height: 0;
		padding: 28px 20px 24px;
		border-radius: 18px;
	}
	.tmev-registration-grid {
		grid-template-columns: 1fr;
	}
	.tmev-registration-grid__wide {
		grid-column: auto;
	}
}

/* Final contrast corrections for the dark catalogue surface. */
.tmev-catalogue__heading h3 {
	background: linear-gradient(90deg, #fff1f8 0%, #ff9ed2 48%, #d7a0ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.tmev-results-bar select {
	min-height: 42px;
	padding: 8px 38px 8px 12px;
	color: #fff !important;
	background: rgba(255, 255, 255, 0.07) !important;
	border: 1px solid rgba(255, 176, 222, 0.25) !important;
	border-radius: 12px !important;
}

.tmev-results-bar select option {
	color: #241126;
	background: #fff;
}

.tmev-registration-panel {
	min-height: 0;
}

.tmev-catalogue__heading h3 {
	color: #fff1f8 !important;
	background: none !important;
	background-image: none !important;
	-webkit-text-fill-color: #fff1f8 !important;
}

.tmev-status--closed {
	color: #dbe7f4;
	background: rgba(86, 112, 145, 0.78);
	border-color: rgba(205, 224, 244, 0.34);
}

/* Progressive enhancement, form feedback and keyboard states. */
.tmev-native-feedback {
	margin: 0 0 20px;
	padding: 15px 18px;
	color: #fff;
	font-weight: 750;
	line-height: 1.5;
	background: #351743;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
}

.tmev-native-feedback--success {
	color: #dfffea;
	background: #153a2a;
	border-color: #4eae7a;
}

.tmev-native-feedback--error {
	color: #ffe3e8;
	background: #4a1725;
	border-color: #c95d79;
}

.tmev-native-feedback:focus,
.tmev-form-status:focus {
	outline: 3px solid #ffd0e9;
	outline-offset: 3px;
}

.tmev-required-note {
	margin: 0 0 14px;
	color: #d8c9e0 !important;
	font-size: 0.82rem;
}

.tmev-field select:disabled {
	cursor: not-allowed;
	opacity: 0.72;
}

.tmev-registration-form [type="submit"]:disabled {
	cursor: progress;
	opacity: 0.7;
}

.tmev-noscript-registration {
	margin: 0 18px 18px;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 176, 222, 0.24);
	border-radius: 16px;
}

.tmev-noscript-registration > summary {
	padding: 14px 16px;
	cursor: pointer;
	font-weight: 800;
}

.tmev-noscript-registration__body {
	padding: 6px 16px 18px;
}

@media (forced-colors: active) {
	.tmev-button,
	.tmev-region-tab,
	.tmev-dialog,
	.tmev-native-feedback {
		border: 1px solid ButtonText;
	}

	.tmev-button:focus-visible,
	.tmev-region-tab:focus-visible,
	.tmev-dialog__close:focus-visible {
		outline: 2px solid Highlight;
	}
}


/* --------------------------------------------------------------------------
   Les dates d'un événement, nommées et distinguées

   Le catalogue écrivait le début et la fin sur une même ligne, séparés d'un
   tiret : rien ne disait laquelle était laquelle, et la clôture des
   inscriptions — la seule date qui engage le visiteur à se décider —
   n'apparaissait nulle part.

   Le début est bleu, la fin est rose. La couleur ne porte jamais seule
   l'information : chaque date est précédée de son nom en toutes lettres, pour
   que la lecture reste possible en noir et blanc, à l'impression, ou pour un
   visiteur qui ne distingue pas ces deux teintes.
   -------------------------------------------------------------------------- */
.tmev-dates {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.tmev-date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	padding-left: 10px;
	border-left: 3px solid var(--tmev-border);
}

.tmev-date__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tmev-muted);
	flex: 0 0 auto;
}

.tmev-date__value {
	font-size: 0.92rem;
	color: var(--tmev-ink);
}

.tmev-date--debut {
	border-left-color: var(--tmev-blue);
}

.tmev-date--debut .tmev-date__label {
	color: var(--tmev-blue);
}

.tmev-date--fin {
	border-left-color: var(--tmev-pink);
}

.tmev-date--fin .tmev-date__label {
	color: var(--tmev-pink);
}

.tmev-date--cloture {
	border-left-color: var(--tmev-gold);
}

.tmev-date--cloture .tmev-date__label {
	color: var(--tmev-gold);
}

/* Sur la carte, la place est comptée : les dates tiennent en colonne serrée,
   le nom au-dessus de la valeur plutôt qu'à côté. */
.tmev-dates--compact {
	gap: 4px;
}

.tmev-dates--compact .tmev-date {
	flex-direction: column;
	gap: 0;
	padding-left: 8px;
	border-left-width: 2px;
}

.tmev-dates--compact .tmev-date__label {
	font-size: 0.64rem;
}

.tmev-dates--compact .tmev-date__value {
	font-size: 0.85rem;
	line-height: 1.35;
}

.tmev-card__dates {
	align-items: flex-start;
}

.tmev-card__dates .tmev-icon {
	margin-top: 2px;
}

/* Le département, sous le lieu : il répond à « est-ce près de chez moi ? »
   sans obliger à connaître la commune. */
.tmev-card__departement {
	display: block;
	font-size: 0.76rem;
	color: var(--tmev-muted);
}
