/* Dates récurrentes — fiche événement publique */

.single-event .fl-recurrence-dates.ticket-calendar.event_section_white {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background-color: #f7f7f7;
	padding: 0;
	border: 0;
}

.single-event .fl-recurrence-dates__header {
	margin: 0;
}

.single-event .fl-recurrence-dates__subtitle {
	margin: 4px 0 0;
	color: #747688;
	font-size: 14px;
	line-height: 1.45;
}

.single-event .fl-recurrence-dates__panel[hidden] {
	display: none !important;
}

.single-event .fl-recurrence-dates__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.single-event .fl-recurrence-dates__month-group + .fl-recurrence-dates__month-group {
	margin-top: 16px;
}

.single-event .fl-recurrence-dates__month-title {
	margin: 0 0 10px;
	color: #020326;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.single-event .fl-recurrence-dates__card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid #eeeeee;
	border-radius: 6px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-event a.fl-recurrence-dates__card:hover,
.single-event a.fl-recurrence-dates__card:focus-visible {
	border-color: #29eb94;
	box-shadow: 0 0 0 1px rgba(41, 235, 148, 0.25);
	outline: none;
}

.single-event .fl-recurrence-dates__card--disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.single-event .fl-recurrence-dates__card--muted .fl-recurrence-dates__cta {
	background: #747688;
}

.single-event .fl-recurrence-dates__date-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	padding: 8px 10px;
	border-radius: 6px;
	background: #f7f7f7;
	flex-shrink: 0;
}

.single-event .fl-recurrence-dates__day {
	color: #020326;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.single-event .fl-recurrence-dates__month {
	margin-top: 2px;
	color: #747688;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.single-event .fl-recurrence-dates__content {
	flex: 1;
	min-width: 0;
}

.single-event .fl-recurrence-dates__weekday {
	margin: 0;
	color: #747688;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: capitalize;
}

.single-event .fl-recurrence-dates__date-long {
	margin: 2px 0 0;
	color: #020326;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.single-event .fl-recurrence-dates__time,
.single-event .fl-recurrence-dates__remaining {
	margin: 4px 0 0;
	color: #747688;
	font-size: 13px;
	line-height: 1.4;
}

.single-event .fl-recurrence-dates__cta {
	flex-shrink: 0;
	padding: 8px 14px;
	border-radius: 6px;
	background: #020326;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.single-event .fl-recurrence-dates__card--disabled .fl-recurrence-dates__cta {
	background: #eeeeee;
	color: #747688;
}

.single-event .fl-recurrence-dates__toggle-wrap {
	margin: 2px 0 0;
	padding: 0;
	text-align: right;
}

.single-event .fl-recurrence-dates__toggle {
	padding: 0;
	border: 0;
	background: transparent;
	color: #020326;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.single-event .fl-recurrence-dates__toggle:hover,
.single-event .fl-recurrence-dates__toggle:focus-visible {
	color: #0d7a4d;
	outline: none;
}

@media (max-width: 767px) {
	.single-event .fl-recurrence-dates__card {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.single-event .fl-recurrence-dates__cta {
		width: 100%;
		text-align: center;
	}
}

/* Section mode convoi — bento Aceternity-like */
.single-event .fl-convoy-bento.event_section_white {
	padding: 0;
	border: 0;
	background: transparent;
}

.single-event .fl-convoy-bento {
	--fl-bento-accent: #5865f2;
	--fl-bento-green: #29eb94;
	position: relative;
	margin-bottom: 30px;
	padding: 1px;
	border-radius: 12px;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.45), rgba(41, 235, 148, 0.22), rgba(88, 101, 242, 0.18));
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.single-event .fl-convoy-bento__ambient {
	position: absolute;
	inset: 1px;
	border-radius: 11px;
	overflow: hidden;
	pointer-events: none;
	background: #020326;
}

.single-event .fl-convoy-bento__glow {
	position: absolute;
	inset: -40% -20%;
	background:
		radial-gradient(ellipse 55% 45% at 12% 18%, rgba(88, 101, 242, 0.28), transparent 70%),
		radial-gradient(ellipse 50% 40% at 88% 82%, rgba(41, 235, 148, 0.16), transparent 72%);
	animation: fl-convoy-bento-aurora 10s ease-in-out infinite alternate;
}

.single-event .fl-convoy-bento__dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 18px 18px;
	mask-image: radial-gradient(ellipse 95% 85% at 50% 40%, #000 15%, transparent 100%);
	opacity: 0.45;
}

.single-event .fl-convoy-bento__grid {
	position: relative;
	z-index: 2;
	padding: 0;
}

.single-event .fl-convoy-bento__copy {
	position: relative;
	z-index: 1;
	padding: 18px 18px 16px;
	max-width: min(100%, 34rem);
}

.single-event .fl-convoy-bento__visual {
	position: absolute;
	z-index: 1;
	top: 1px;
	right: 1px;
	bottom: 1px;
	width: min(58%, 28rem);
	overflow: hidden;
	pointer-events: none;
	border-radius: 0 11px 11px 0;
}

.single-event .fl-convoy-bento__visual::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #020326 0%, rgba(2, 3, 38, 0.82) 22%, transparent 68%);
	pointer-events: none;
}

.single-event .fl-convoy-bento__eyebrow {
	margin: 0 0 10px;
	color: var(--fl-bento-green);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.single-event .fl-convoy-bento__title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.single-event .fl-convoy-bento__lead {
	margin: 10px 0 0;
	max-width: 38ch;
	color: rgba(255, 255, 255, 0.68);
	font-size: 14px;
	line-height: 1.6;
}

.single-event .fl-convoy-bento__link {
	display: inline-block;
	margin-top: 12px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.single-event .fl-convoy-bento__link:hover,
.single-event .fl-convoy-bento__link:focus-visible {
	color: var(--fl-bento-green);
	outline: none;
}

.single-event .fl-convoy-promo-root {
	width: 100%;
	height: 100%;
	min-height: inherit;
}

@keyframes fl-convoy-bento-aurora {
	from {
		transform: translate3d(-2%, 0, 0) scale(1);
	}

	to {
		transform: translate3d(2%, 2%, 0) scale(1.04);
	}
}

@media (min-width: 768px) {
	.single-event .fl-convoy-bento__grid {
		min-height: 11.5rem;
	}

	.single-event .fl-convoy-bento__copy {
		padding: 22px 22px 18px;
	}

	.single-event .fl-convoy-bento__visual {
		width: min(52%, 26rem);
	}
}

@media (max-width: 767px) {
	.single-event .fl-convoy-bento__grid {
		min-height: 12.5rem;
	}

	.single-event .fl-convoy-bento__copy {
		max-width: 72%;
	}

	.single-event .fl-convoy-bento__visual {
		width: 72%;
	}

	.single-event .fl-convoy-bento__visual::before {
		background: linear-gradient(90deg, #020326 0%, rgba(2, 3, 38, 0.9) 30%, transparent 78%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-event .fl-convoy-bento__glow {
		animation: none;
	}
}
