/**
 * Menu Helix — lisibilité des items actifs (top + dropdown + offcanvas).
 * Empêche le texte actif d’être blanc / illisible sur fond clair.
 */

/* Top-level actif / page courante */
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a,
.sp-megamenu-parent > li.current-item > a,
.sp-megamenu-parent > li.current-item:hover > a,
.sp-megamenu-parent a[aria-current="page"] {
	color: #f39200 !important;
}

/* Items du dropdown actifs / page courante */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active:hover > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.current-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.current-item:hover > a,
.sp-megamenu-parent .sp-dropdown a[aria-current="page"] {
	color: #f39200 !important;
}

/* Offcanvas (menu burger jusqu’à ~1450px) */
.offcanvas-menu .offcanvas-inner ul.menu li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu li.current > a,
.offcanvas-menu .offcanvas-inner ul.menu li.current-item > a,
.offcanvas-menu .offcanvas-inner ul.menu a[aria-current="page"] {
	color: #0345bf !important;
}

.offcanvas-menu .offcanvas-inner ul.menu li li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu li li.current > a,
.offcanvas-menu .offcanvas-inner ul.menu li li.current-item > a {
	color: #0345bf !important;
}

/* ------------------------------------------------------------------
   Event detail — login notice + modal (brand Agir & Innover 94)
   ------------------------------------------------------------------ */
.login-notice {
	--eb-login-teal: #004760;
	--eb-login-teal-deep: #003348;
	--eb-login-orange: #f39200;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin: 0 0 1.5rem;
	padding: 1.15rem 1.35rem;
	border-radius: 14px;
	color: #fff;
	background:
		radial-gradient(120% 180% at 100% 0%, rgba(243, 146, 0, 0.35), transparent 55%),
		linear-gradient(125deg, var(--eb-login-teal-deep) 0%, var(--eb-login-teal) 55%, #0a5f7a 100%);
	box-shadow: 0 12px 32px rgba(0, 71, 96, 0.22);
	animation: ebLoginNoticeIn 0.55s ease both;
}

.login-notice__copy p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}

.login-notice__copy strong {
	display: inline-block;
	margin-bottom: 0.15rem;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	color: #fff;
}

.login-notice__btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--eb-login-teal-deep);
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-notice__btn:hover,
.login-notice__btn:focus-visible {
	background: var(--eb-login-orange);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(243, 146, 0, 0.35);
	outline: none;
}

@keyframes ebLoginNoticeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

body.eb-login-modal-open {
	overflow: hidden;
}

.eb-login-modal {
	--eb-login-teal: #004760;
	--eb-login-teal-deep: #00293a;
	--eb-login-orange: #f39200;
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.eb-login-modal[hidden] {
	display: none !important;
}

.eb-login-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 24, 36, 0.62);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.eb-login-modal.is-open .eb-login-modal__backdrop {
	opacity: 1;
}

.eb-login-modal__dialog {
	position: relative;
	width: min(920px, 100%);
	z-index: 1;
	transform: translateY(18px) scale(0.97);
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.eb-login-modal.is-open .eb-login-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.eb-login-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.eb-login-modal__close:hover,
.eb-login-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	transform: rotate(90deg);
	outline: none;
}

.eb-login-modal__panel {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 24, 36, 0.35);
}

.eb-login-modal__brand {
	position: relative;
	padding: 2.5rem 2rem 2.25rem;
	color: #fff;
	background:
		radial-gradient(90% 70% at 10% 10%, rgba(243, 146, 0, 0.28), transparent 50%),
		radial-gradient(80% 60% at 90% 90%, rgba(255, 255, 255, 0.08), transparent 45%),
		linear-gradient(160deg, var(--eb-login-teal-deep) 0%, var(--eb-login-teal) 48%, #0a6280 100%);
	overflow: hidden;
}

.eb-login-modal__brand-glow {
	position: absolute;
	width: 220px;
	height: 220px;
	right: -60px;
	top: -50px;
	border-radius: 50%;
	background: rgba(243, 146, 0, 0.22);
	filter: blur(8px);
	animation: ebLoginGlow 4.5s ease-in-out infinite alternate;
}

@keyframes ebLoginGlow {
	from { transform: translate(0, 0) scale(1); opacity: 0.7; }
	to { transform: translate(-18px, 22px) scale(1.12); opacity: 1; }
}

.eb-login-modal__eyebrow {
	position: relative;
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.eb-login-modal__title {
	position: relative;
	margin: 0 0 0.85rem;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.35rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.eb-login-modal__lead {
	position: relative;
	margin: 0 0 1.5rem;
	max-width: 28ch;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.eb-login-modal__perks {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eb-login-modal__perks li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.4rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.9);
}

.eb-login-modal__perks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--eb-login-orange);
	box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.25);
}

.eb-login-modal__form-wrap {
	padding: 2.4rem 2rem 2rem;
	background:
		linear-gradient(180deg, #f5fafc 0%, #ffffff 42%);
}

.eb-login-modal__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.eb-login-modal__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.eb-login-modal__field > span {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--eb-login-teal);
}

.eb-login-modal__field input[type="text"],
.eb-login-modal__field input[type="password"] {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(0, 71, 96, 0.18);
	border-radius: 12px;
	background: #fff;
	font-size: 1rem;
	color: #1a2b33;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eb-login-modal__field input:focus {
	outline: none;
	border-color: var(--eb-login-teal);
	box-shadow: 0 0 0 4px rgba(0, 71, 96, 0.12);
}

.eb-login-modal__remember {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9rem;
	color: #44555e;
	cursor: pointer;
}

.eb-login-modal__submit {
	appearance: none;
	border: 0;
	cursor: pointer;
	margin-top: 0.35rem;
	padding: 0.95rem 1.25rem;
	border-radius: 12px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(135deg, var(--eb-login-orange) 0%, #ffb03a 100%);
	box-shadow: 0 12px 28px rgba(243, 146, 0, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.eb-login-modal__submit:hover:not(:disabled),
.eb-login-modal__submit:focus-visible:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(243, 146, 0, 0.42);
	outline: none;
}

.eb-login-modal__submit:disabled,
.eb-login-modal__submit.is-loading {
	cursor: wait;
	filter: saturate(0.85);
	transform: none;
}

.eb-login-modal__links {
	margin: 0.35rem 0 0;
	text-align: center;
	font-size: 0.88rem;
}

.eb-login-modal__links a {
	color: var(--eb-login-teal);
	text-decoration: none;
	font-weight: 600;
}

.eb-login-modal__links a:hover,
.eb-login-modal__links a:focus-visible {
	color: var(--eb-login-orange);
	outline: none;
}

@media (max-width: 820px) {
	.eb-login-modal__panel {
		grid-template-columns: 1fr;
		max-height: min(92vh, 760px);
		overflow: auto;
	}

	.eb-login-modal__brand {
		padding: 2rem 1.5rem 1.5rem;
	}

	.eb-login-modal__lead {
		max-width: none;
		margin-bottom: 1rem;
	}

	.eb-login-modal__perks {
		display: none;
	}

	.eb-login-modal__close {
		background: rgba(0, 41, 58, 0.55);
	}

	.login-notice {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	.login-notice__btn {
		width: 100%;
		text-align: center;
	}
}

/* ------------------------------------------------------------------
   Event RSVP — Je ne participe pas / Absence déclarée
   ------------------------------------------------------------------ */
.eb-taskbar .eb-rsvp-action {
	list-style: none;
}

.eb-rsvp-chip {
	--eb-rsvp-teal: #004760;
	--eb-rsvp-teal-deep: #003348;
	--eb-rsvp-orange: #f39200;
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.72rem 1.15rem 0.72rem 0.95rem;
	border-radius: 999px;
	font-family: 'Poppins', sans-serif;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none !important;
	border: 0;
	vertical-align: middle;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.eb-rsvp-chip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.eb-rsvp-chip__text {
	position: relative;
	z-index: 1;
}

.eb-rsvp-chip__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
	transform: translateX(-120%);
	pointer-events: none;
}

.eb-rsvp-chip--decline {
	color: #fff !important;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(243, 146, 0, 0.35), transparent 55%),
		linear-gradient(125deg, var(--eb-rsvp-teal-deep) 0%, var(--eb-rsvp-teal) 58%, #0a5f7a 100%);
	box-shadow: 0 10px 26px rgba(0, 71, 96, 0.28);
	animation: ebRsvpIn 0.45s ease both;
}

.eb-rsvp-chip--decline .eb-rsvp-chip__icon {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.eb-rsvp-chip--decline:hover,
.eb-rsvp-chip--decline:focus-visible {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0, 71, 96, 0.36);
	outline: none;
	filter: brightness(1.05);
}

.eb-rsvp-chip--decline:hover .eb-rsvp-chip__shine,
.eb-rsvp-chip--decline:focus-visible .eb-rsvp-chip__shine {
	animation: ebRsvpShine 0.7s ease;
}

.eb-rsvp-chip--declined {
	color: var(--eb-rsvp-teal-deep) !important;
	background: linear-gradient(135deg, #eef6f9 0%, #f7fbfc 100%);
	box-shadow:
		inset 0 0 0 1px rgba(0, 71, 96, 0.12),
		0 8px 20px rgba(0, 71, 96, 0.08);
	animation: ebRsvpIn 0.45s ease both;
	cursor: default;
}

.eb-rsvp-chip--declined .eb-rsvp-chip__icon {
	background: rgba(243, 146, 0, 0.14);
	color: var(--eb-rsvp-orange);
}

@keyframes ebRsvpIn {
	from { opacity: 0; transform: translateY(6px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ebRsvpShine {
	from { transform: translateX(-120%); }
	to { transform: translateX(120%); }
}

@media (max-width: 575px) {
	.eb-rsvp-chip {
		width: 100%;
		justify-content: center;
	}
}

/* ------------------------------------------------------------------
   Offcanvas menu — WOW redesign + CTA Adhésion / Mon compte
   ------------------------------------------------------------------ */
:root {
	--oc-teal: #004760;
	--oc-teal-deep: #00293a;
	--oc-orange: #f39200;
	--oc-mist: #f3f8fb;
}

.offcanvas-overlay {
	background: rgba(0, 24, 36, 0.58) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.offcanvas-menu {
	width: min(360px, 92vw) !important;
	background:
		radial-gradient(120% 80% at 100% -10%, rgba(243, 146, 0, 0.16), transparent 45%),
		linear-gradient(180deg, #ffffff 0%, var(--oc-mist) 100%) !important;
	box-shadow: 18px 0 60px rgba(0, 24, 36, 0.28) !important;
	border-right: 1px solid rgba(0, 71, 96, 0.08);
}

body.ltr.offcanvs-position-left .offcanvas-menu,
body.ltr.offcanvas-position-left .offcanvas-menu {
	box-shadow: 18px 0 60px rgba(0, 24, 36, 0.28) !important;
}

.offcanvas-menu .offcanvas-inner {
	padding: 1.75rem 1.35rem 2rem !important;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.offcanvas-menu .close-offcanvas {
	top: 1.1rem !important;
	right: 1.1rem;
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(0, 71, 96, 0.08);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.offcanvas-menu .close-offcanvas:hover {
	background: rgba(243, 146, 0, 0.18);
	transform: rotate(90deg);
}

.offcanvas-menu .close-offcanvas .burger-icon > span {
	background-color: var(--oc-teal) !important;
}

/* Brand strip above nav */
.offcanvas-menu .offcanvas-inner::before {
	content: 'Agir et Innover 94';
	display: block;
	margin: 0 0 1.35rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	font-family: 'Poppins', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(243, 146, 0, 0.38), transparent 55%),
		linear-gradient(125deg, var(--oc-teal-deep) 0%, var(--oc-teal) 60%, #0a5f7a 100%);
	box-shadow: 0 12px 28px rgba(0, 71, 96, 0.22);
}

.offcanvas-menu ul.menu {
	margin: 0 0 1.25rem !important;
	gap: 0.2rem;
}

.offcanvas-menu ul.menu > li {
	overflow: visible !important;
	border-radius: 12px;
}

.offcanvas-menu ul.menu > li > a,
.offcanvas-menu ul.menu > li > span {
	display: flex !important;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 0.95rem !important;
	border-radius: 12px;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem !important;
	font-weight: 600;
	line-height: 1.25 !important;
	color: var(--oc-teal-deep) !important;
	opacity: 1 !important;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.offcanvas-menu ul.menu > li > a:hover,
.offcanvas-menu ul.menu > li > a:focus {
	background: rgba(0, 71, 96, 0.07) !important;
	color: var(--oc-teal) !important;
	transform: translateX(3px);
}

.offcanvas-menu ul.menu > li.active > a,
.offcanvas-menu ul.menu > li.current > a,
.offcanvas-menu ul.menu > li.current-item > a,
.offcanvas-menu ul.menu a[aria-current="page"] {
	color: #fff !important;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(243, 146, 0, 0.28), transparent 55%),
		linear-gradient(125deg, var(--oc-teal-deep) 0%, var(--oc-teal) 100%) !important;
	box-shadow: 0 10px 24px rgba(0, 71, 96, 0.22);
}

.offcanvas-menu ul.menu > li.active > a:hover,
.offcanvas-menu ul.menu > li.current > a:hover {
	color: #fff !important;
	transform: translateX(0);
}

.offcanvas-menu ul.menu > li.menu-parent > a > .menu-toggler,
.offcanvas-menu ul.menu > li.menu-parent > span > .menu-toggler {
	color: inherit !important;
	opacity: 0.7;
}

.offcanvas-menu ul.menu li li a {
	padding: 0.55rem 0.95rem 0.55rem 1.55rem !important;
	font-size: 0.92rem !important;
	font-weight: 500;
	color: rgba(0, 41, 58, 0.78) !important;
	border-radius: 10px;
}

.offcanvas-menu ul.menu li li a:hover,
.offcanvas-menu ul.menu li li.active > a,
.offcanvas-menu ul.menu li li.current > a {
	color: var(--oc-teal) !important;
	background: rgba(0, 71, 96, 0.06) !important;
}

/* CTA — Adhésion */
.offcanvas-menu ul.menu > li.item-105 {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(0, 71, 96, 0.1);
}

.offcanvas-menu ul.menu > li.item-105 > a {
	justify-content: center;
	padding: 0.95rem 1.15rem !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	color: #fff !important;
	background: linear-gradient(135deg, var(--oc-orange) 0%, #ffb03a 100%) !important;
	box-shadow: 0 12px 28px rgba(243, 146, 0, 0.35) !important;
	position: relative;
	overflow: hidden;
}

.offcanvas-menu ul.menu > li.item-105 > a::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.3) 48%, transparent 62%);
	transform: translateX(-120%);
	pointer-events: none;
}

.offcanvas-menu ul.menu > li.item-105 > a:hover,
.offcanvas-menu ul.menu > li.item-105 > a:focus {
	color: #fff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 34px rgba(243, 146, 0, 0.45) !important;
	filter: brightness(1.03);
}

.offcanvas-menu ul.menu > li.item-105 > a:hover::after,
.offcanvas-menu ul.menu > li.item-105 > a:focus::after {
	animation: ocShine 0.7s ease;
}

/* CTA zone — module Mon compte sous le menu */
.offcanvas-menu .offcanvas-inner > .sp-module:has(#btn-1643430815091) {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 71, 96, 0.1);
}

.offcanvas-menu #sppb-addon-wrapper-1643430815091 {
	margin: 0 !important;
}

.offcanvas-menu #btn-1643430815091.sppb-btn,
.offcanvas-menu a#btn-1643430815091 {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100% !important;
	padding: 0.95rem 1.15rem !important;
	border-radius: 999px !important;
	border: 0 !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	color: #fff !important;
	background:
		radial-gradient(120% 160% at 100% 0%, rgba(243, 146, 0, 0.28), transparent 52%),
		linear-gradient(125deg, var(--oc-teal-deep) 0%, var(--oc-teal) 100%) !important;
	box-shadow: 0 12px 28px rgba(0, 71, 96, 0.28) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
	position: relative;
	overflow: hidden;
}

.offcanvas-menu #btn-1643430815091.sppb-btn::after,
.offcanvas-menu a#btn-1643430815091::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
	transform: translateX(-120%);
	pointer-events: none;
}

.offcanvas-menu #btn-1643430815091.sppb-btn:hover,
.offcanvas-menu #btn-1643430815091.sppb-btn:focus,
.offcanvas-menu a#btn-1643430815091:hover,
.offcanvas-menu a#btn-1643430815091:focus {
	color: #fff !important;
	filter: brightness(1.06);
	box-shadow: 0 16px 34px rgba(0, 71, 96, 0.36) !important;
	transform: translateY(-2px);
	outline: none;
}

.offcanvas-menu #btn-1643430815091.sppb-btn:hover::after,
.offcanvas-menu #btn-1643430815091.sppb-btn:focus::after,
.offcanvas-menu a#btn-1643430815091:hover::after,
.offcanvas-menu a#btn-1643430815091:focus::after {
	animation: ocShine 0.7s ease;
}

/* Stagger reveal */
.offcanvas-menu .oc-reveal {
	animation: ocItemIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--oc-delay, 0ms);
}

@keyframes ocItemIn {
	from {
		opacity: 0;
		transform: translateX(-14px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes ocShine {
	from { transform: translateX(-120%); }
	to { transform: translateX(120%); }
}

/* Keep Salon H2E quieter so CTAs stand out */
.offcanvas-menu ul.menu > li.item-264 > a {
	opacity: 0.78 !important;
	font-weight: 500 !important;
}

/* ------------------------------------------------------------------
   Event detail — hero image left / content right
   ------------------------------------------------------------------ */
#eb-event-page {
	--eb-hero-teal: #004760;
	--eb-hero-teal-deep: #00293a;
	--eb-hero-orange: #f39200;
}

#eb-event-page .eb-page-heading {
	margin-bottom: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--eb-hero-teal-deep);
}

#eb-event-page .eb-event-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	margin: 0 0 1.75rem;
}

#eb-event-page .eb-event-hero--with-image {
	grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.25fr);
	gap: 1.75rem 2rem;
	padding: 1.15rem;
	border-radius: 22px;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(243, 146, 0, 0.1), transparent 48%),
		linear-gradient(160deg, #f7fbfd 0%, #ffffff 55%, #f3f8fa 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.8) inset,
		0 18px 40px rgba(0, 71, 96, 0.1);
	animation: ebHeroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#eb-event-page .eb-event-hero--with-image > .eb-event-hero__media {
	grid-column: 1;
	grid-row: 1;
}

#eb-event-page .eb-event-hero--with-image > .eb-event-hero__content {
	grid-column: 2;
	grid-row: 1;
}

#eb-event-page .eb-event-hero__media {
	margin: 0;
	position: relative;
}

#eb-event-page .eb-event-hero__frame {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
		linear-gradient(145deg, var(--eb-hero-teal-deep), var(--eb-hero-teal));
	box-shadow: 0 16px 36px rgba(0, 71, 96, 0.22);
	aspect-ratio: 1 / 1;
	max-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#eb-event-page .eb-event-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: transform 0.55s ease;
}

#eb-event-page .eb-event-hero__media:hover .eb-event-hero__img {
	transform: scale(1.04);
}

#eb-event-page .eb-event-hero__content {
	min-width: 0;
	padding: 0.35rem 0.15rem 0.15rem;
	color: #1d2a32;
	font-size: 1.05rem;
	line-height: 1.7;
}

#eb-event-page .eb-event-hero__content > *:first-child {
	margin-top: 0;
}

#eb-event-page .eb-event-hero__content p {
	margin: 0 0 1rem;
}

#eb-event-page .eb-event-hero__content p:last-child {
	margin-bottom: 0;
}

#eb-event-page .eb-event-hero__content strong {
	color: var(--eb-hero-teal-deep);
}

@keyframes ebHeroIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 991px) {
	#eb-event-page .eb-event-hero--with-image {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1rem;
	}

	#eb-event-page .eb-event-hero__frame {
		aspect-ratio: 16 / 10;
		max-height: 360px;
	}
}

@media (max-width: 575px) {
	#eb-event-page .eb-event-hero--with-image {
		padding: 0.75rem;
		border-radius: 16px;
	}

	#eb-event-page .eb-event-hero__frame {
		border-radius: 14px;
		aspect-ratio: 5 / 4;
	}
}
