/*
Theme Name: DDX
Theme URI: https://digitaledeluxe.fr/
Description: Thème enfant de Hello Elementor développé par Digitale Deluxe.
Author: Digitale Deluxe
Author URI: https://digitaledeluxe.fr/
Template: hello-elementor
Version: 1.0.0
Text Domain: ddx
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
/
/*
 * Styles personnalisés du thème DDX.
 * Les styles du thème parent Hello Elementor sont chargés automatiquement.
 */
.cartouche_dates {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 70px;
	gap: 1px;
}

/* Structure commune des 3 blocs */
.cartouche_dates > .elementor-element {
	width: 100%;
	background: var(--e-global-color-accent);
	padding-inline: 6px;
	box-sizing: border-box;
	overflow: hidden;
}

/* Structure JetEngine commune */
.cartouche_dates .jet-listing,
.cartouche_dates .jet-listing-dynamic-field__inline-wrap {
	width: 100%;
}

/* Typo commune */
.cartouche_dates .jet-listing-dynamic-field__content {
	display: block;
	color: #fff;
	text-align: center;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.02;
	font-variant-numeric: tabular-nums;
}


/* -------------------- */
/* JOURS                */
/* -------------------- */

.cartouche_dates > .elementor-element:nth-child(1) {
	padding-block: 20px;
}

.cartouche_dates > .elementor-element:nth-child(1)
.jet-listing-dynamic-field__content {
	margin: 0 auto;
	padding-block: 40px 10px;
	white-space: normal;
}


/* -------------------- */
/* MOIS                 */
/* -------------------- */

.cartouche_dates > .elementor-element:nth-child(2) {
	padding-block: 10px;
}

/* Même logique de centrage que pour l'année */
.cartouche_dates > .elementor-element:nth-child(2) .jet-listing,
.cartouche_dates > .elementor-element:nth-child(2)
.jet-listing-dynamic-field__inline-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.cartouche_dates > .elementor-element:nth-child(2)
.jet-listing-dynamic-field__content {
	display: inline-block;
	width: auto !important;
	margin: 0 !important;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

/* -------------------- */
/* ANNÉE                */
/* -------------------- */

.cartouche_dates > .elementor-element:nth-child(3) {
	padding-block: 20px 40px;
}

/* Même logique de centrage que pour le mois */
.cartouche_dates > .elementor-element:nth-child(3) .jet-listing,
.cartouche_dates > .elementor-element:nth-child(3)
.jet-listing-dynamic-field__inline-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.cartouche_dates > .elementor-element:nth-child(3)
.jet-listing-dynamic-field__content {
	display: inline-block;
	width: auto !important;
	margin: 0 !important;
	padding-block: 10px 40px;
	white-space: normal;
	text-align: center;
}
#vh .elementor-element-b8494fb {
	position: relative;
	z-index: 30;
	pointer-events: none !important;
}

#vh .elementor-element-b8494fb * {
	pointer-events: none !important;
}

#vh .elementor-element-89ae3f7,
#vh .elementor-element-40ef838 {
	z-index: 20;
	pointer-events: auto;
}

/* =========================================================
   FESTIVAL VICTOR HUGO : MENU
   ========================================================= */

.vh-menu-wrap {
	position: relative;
	z-index: 100;
}

.vh-menu {
	display: flex;
	align-items: center;
	gap: 24px;

	margin: 0;
	padding: 0;

	list-style: none;
	background: transparent;
}


/* =========================================================
   PREMIER NIVEAU
   ========================================================= */

.vh-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.vh-menu > li > a {
	display: flex;
	align-items: center;
	gap: 8px;

	padding: 8px 0;

	font-family: var(--e-global-typography-accent-font-family);
	font-size: .8rem;
	font-weight: 500;
	line-height: 1.2;

	text-transform: uppercase;
	text-decoration: none;

	color: var(--e-global-color-text);
	background: transparent;

	transition: color .2s ease;
}

.vh-menu > li > a:hover,
.vh-menu > li > a:focus,
.vh-menu > li.current-menu-item > a,
.vh-menu > li.current-menu-parent > a,
.vh-menu > li.current-menu-ancestor > a {
	color: var(--e-global-color-cf33981);
}


/* =========================================================
   HOME
   ========================================================= */

.vh-menu .menu-home-icon > a {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 24px;
	height: 24px;

	padding: 0;

	font-size: 0;
}

.vh-menu .menu-home-icon > a::before {
	content: "";

	display: block;

	width: 20px;
	height: 20px;

	background-color: currentColor;

	-webkit-mask:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 10.5 12 4l8 6.5V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-9.5Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / contain no-repeat;

	mask:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 10.5 12 4l8 6.5V20a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1v-9.5Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / contain no-repeat;
}


/* =========================================================
   BURGER / CROIX
   ========================================================= */

.vh-menu-toggle {
	display: none;

	z-index: 10003;

	align-items: center;
	justify-content: center;

	width: 54px;
	height: 54px;

	padding: 0;

	border: 0;
	border-radius: 50px;

	background: var(--e-global-color-text);
	color: var(--e-global-color-secondary);

	cursor: pointer;
}

.vh-menu-toggle,
.vh-menu-toggle:hover,
.vh-menu-toggle:focus,
.vh-menu-toggle:focus-visible,
.vh-menu-toggle:active {
	background: var(--e-global-color-text) !important;
	color: var(--e-global-color-secondary) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.vh-menu-toggle:focus-visible {
	outline: 2px solid var(--e-global-color-secondary);
	outline-offset: 3px;
}

.vh-menu-toggle-icon {
	position: relative;

	display: block;

	width: 28px;
	height: 18px;

	border-top: 3px solid currentColor;
	border-bottom: 3px solid currentColor;

	transition: border-color .25s ease;
}

.vh-menu-toggle-icon::before,
.vh-menu-toggle-icon::after {
	content: "";

	position: absolute;
	left: 0;
	top: 50%;

	width: 28px;
	height: 3px;

	background: currentColor;

	transform: translateY(-50%);

	transition: transform .25s ease;
}


/* =========================================================
   TABLETTE + MOBILE : OFF-CANVAS
   ========================================================= */

@media (max-width: 1024px) {

	body.vh-menu-open {
		overflow: hidden;
	}

	.vh-menu-wrap {
		position: relative;
		z-index: 10000;

		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.vh-menu-toggle {
		display: flex;
	}


	/* Burger -> croix */

	.vh-menu-wrap.is-open .vh-menu-toggle-icon {
		border-color: transparent;
	}

	.vh-menu-wrap.is-open .vh-menu-toggle-icon::before {
		transform: translateY(-50%) rotate(45deg);
	}

	.vh-menu-wrap.is-open .vh-menu-toggle-icon::after {
		transform: translateY(-50%) rotate(-45deg);
	}


	/* Panneau off-canvas */

	.vh-menu-panel {
		position: fixed;
		inset: 0;

		z-index: 10001;

		width: 100vw;
		height: 100dvh;

		padding: 110px 48px 50px;

		overflow-y: auto;

		background: var(--e-global-color-text);

		opacity: 0;
		visibility: hidden;

		transform: translateX(100%);

		transition:
			transform .35s ease,
			opacity .3s ease,
			visibility .35s ease;
	}

	.vh-menu-wrap.is-open .vh-menu-panel {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}


	/* Menu */

	.vh-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;

		width: 100%;
		max-width: none;

		margin: 0;
		padding: 0;

		background: transparent;
		gap: 0;
	}


	/* Premier niveau */

	.vh-menu > li {
		width: 100%;

		margin: 0;
		padding: 0;

		border-bottom: 1px solid rgba(255, 255, 255, .18);
	}

	.vh-menu > li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;

		width: 100%;

		padding: 26px 8px;

		font-family: var(--e-global-typography-accent-font-family);
		font-size: clamp(22px, 4vw, 30px);
		font-weight: 500;
		line-height: 1.15;

		text-transform: uppercase;

		color: var(--e-global-color-cf33981);
		background: transparent;
	}

	.vh-menu > li > a:hover,
	.vh-menu > li > a:focus {
		color: var(--e-global-color-cf33981);
	}


	/* État actif */

	.vh-menu > li.current-menu-item > a,
	.vh-menu > li.current-menu-parent > a,
	.vh-menu > li.current-menu-ancestor > a {
		color: var(--e-global-color-secondary) !important;
		font-weight: 600 !important;
		background: transparent !important;
	}


	/* Home */

	.vh-menu .menu-home-icon > a {
		width: 100%;
		height: auto;

		justify-content: flex-start;

		padding: 26px 8px;
	}

	.vh-menu .menu-home-icon > a::before {
		width: 22px;
		height: 22px;
	}
}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.vh-menu-toggle {
		position: fixed;

		top: 75px;
		right: 20px;
	}

	.vh-menu-panel {
		padding: 95px 28px 40px;
	}
}


/* =========================================================
   PETIT MOBILE : MENU HOME
   ========================================================= */

@media (max-width: 767px) {

	#homenav .vh-menu-toggle {
		top: 20px;
		left: 20px;
		right: auto;
	}

	#homenav .vh-menu-panel {
		padding: 95px 28px 40px 95px;
	}
}
.ha-cta-marker {
	width: 100%;
	height: 0;
}

@media (max-width: 767px) {

	.ha-section {
		display: none;
		scroll-margin-top: 20px;
	}

	.ha-section.is-open {
		display: block;
	}

	.ha-cta.is-fixed {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;

		z-index: 9990;

		width: 100%;

		margin: 0 !important;
		padding: 12px 20px;

		background: var(--e-global-color-secondary);

		box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
	}

	.ha-cta.is-fixed .elementor-widget-container,
	.ha-cta.is-fixed .elementor-button-wrapper {
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.ha-cta.is-fixed .elementor-button {
		width: 100%;
		max-width: 420px;
		justify-content: center;
		margin: 0;
	}

	body.has-fixed-ha-cta {
		padding-bottom: 84px;
	}
}