/*
Theme Name: ColorMag Child
Theme URI: https://themegrill.com/themes/colormag/
Description: Theme enfant de ColorMag pour les personnalisations du site.
Author: PDE
Template: colormag
Version: 1.0.0
Text Domain: colormag-child
*/

.cm-header-col-2 {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 12px;
}

.cm-header-builder .cm-header-main-row .cm-header-right-col {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.pde-header-score-membre {
	width: auto;
	text-align: right;
}

.pde-header-score-membre > * {
	display: inline-block;
}

.header_display_type_two .cm-header-col-2 {
	align-items: center;
}

.header_display_type_two .pde-header-score-membre {
	text-align: center;
}

.cm-header-builder .pde-header-score-membre {
	width: auto;
	max-width: 100%;
}

.pde-header-score-mounted {
	flex: 0 1 auto;
}

.cm-header-builder .cm-header-left-col,
.cm-header-builder .cm-header-right-col {
	min-width: 0;
}

.cm-header-builder .cm-site-branding img.custom-logo {
	width: auto;
	max-width: min(100%, 360px);
	height: auto;
}

.cm-header-builder .pde-header-score-membre .score-box {
	display: none !important;
}

.cm-header-builder .pde-header-score-membre .pde-member-menu {
	display: inline-flex;
	align-items: center;
}

.cm-header-builder .pde-header-score-membre .score-info > div:first-child {
	padding-right: 12px;
}

.cm-header-builder .pde-header-score-membre .score-tagline {
	line-height: 1.3;
}

@media (max-width: 768px) {
	.cm-header-builder .cm-mobile-row .cm-main-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.cm-header-builder .cm-mobile-row .cm-header-left-col,
	.cm-header-builder .cm-mobile-row .cm-header-center-col,
	.cm-header-builder .cm-mobile-row .cm-header-right-col {
		flex: 0 1 auto;
		width: auto;
	}

	.cm-header-builder .cm-mobile-row .cm-header-center-col {
		flex: 1 1 auto;
		width: 100%;
		align-items: center;
		min-width: 0;
	}

	.cm-header-builder .cm-mobile-row .cm-header-center-col .cm-site-branding {
		width: 100%;
		display: flex;
		justify-content: flex-start;
	}

	.cm-header-builder .cm-mobile-row .cm-header-center-col .custom-logo-link {
		display: block;
		width: 100%;
	}

	.cm-header-builder .cm-mobile-row .cm-header-right-col {
		flex: 0 0 auto;
		max-width: none;
		align-items: flex-end;
		justify-content: center;
		min-width: 0;
		padding-right: 4px;
	}

	.cm-header-builder .cm-mobile-row .pde-header-score-mounted {
		display: flex;
		justify-content: flex-end;
		margin-top: 0;
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	.cm-header-builder .cm-mobile-row .pde-header-score-membre .score-box { display: none !important; }

	.cm-header-builder .cm-mobile-row .cm-site-branding img.custom-logo {
		width: 100%;
		max-width: 215px;
		height: auto;
	}
}

@media (max-width: 480px) {
	.cm-header-builder .cm-mobile-row .cm-site-branding img.custom-logo {
		max-width: 185px;
	}
}

@media (max-width: 782px) {
	.site-overlay,
	.offcanvas-backdrop,
	.mm-ocd-bg {
		background: transparent !important;
	}

	#cm-mobile-menu .sub-menu,
	#cm-mobile-menu .cm-submenu-toggle,
	.cm-mobile-menu .sub-menu,
	.cm-mobile-menu .cm-submenu-toggle {
		display: none !important;
	}

	#cm-mobile-menu a img.emoji,
	.cm-mobile-menu a img.emoji {
		width: 20px;
		height: 20px;
		flex: 0 0 auto;
	}
}

iframe[src*="score-membre"],
.pde-score-container iframe {
	position: relative !important;
	z-index: 1 !important;
	display: block !important;
	overflow: hidden !important;
}

.cm-header-bottom-row {
	background: linear-gradient(90deg, #f0f7fa 0%, #f6fbfd 100%) !important;
	border-bottom: 1px solid rgba(40, 157, 204, 0.2) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cm-header-bottom-row .cm-container,
.cm-header-bottom-row .cm-bottom-row,
.cm-primary-nav {
	background: transparent !important;
	border: none !important;
}

.cm-primary-nav {
	background: transparent !important;
	box-shadow: none !important;
}

.cm-primary-nav ul,
.cm-primary-nav li {
	margin: 0 !important;
	padding: 0 !important;
}

.cm-primary-nav li > a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.3em;
	line-height: 1.05 !important;
	background: rgba(255, 255, 255, 0.7) !important;
	border: 1px solid rgba(40, 157, 204, 0.25) !important;
	border-radius: 6px !important;
	padding: 0.3rem 0.65rem !important;
	color: #0f172a !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
	-webkit-backdrop-filter: saturate(150%) blur(4px);
	backdrop-filter: saturate(150%) blur(4px);
}

.cm-primary-nav li:hover,
.cm-primary-nav li:focus,
.cm-primary-nav ul li.current-menu-item,
.cm-primary-nav ul li.current_page_item,
.cm-primary-nav ul li.current-menu-ancestor,
.cm-primary-nav ul li.current_page_ancestor,
.cm-primary-nav ul li.current-menu-parent,
.cm-primary-nav ul li.current_page_parent {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border-radius: 6px !important;
	overflow: hidden !important;
}

.cm-primary-nav li > a:hover,
.cm-primary-nav .current-menu-item > a,
.cm-primary-nav .current_page_item > a,
.cm-primary-nav .current-menu-ancestor > a,
.cm-primary-nav .current_page_ancestor > a,
.cm-primary-nav .current-menu-parent > a,
.cm-primary-nav .current_page_parent > a {
	background: #289dcc !important;
	color: #fff !important;
	border-color: #289dcc !important;
	box-shadow: 0 4px 14px rgba(40, 157, 204, 0.25) !important;
	border-radius: 6px !important;
}

.cm-primary-nav > ul {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 6px 0 !important;
}

.cm-primary-nav > ul > li {
	flex: 0 0 auto !important;
}

@media (max-width: 960px) {
	.cm-primary-nav > ul {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
		padding: 8px 10px !important;
	}

	.cm-primary-nav a {
		width: 100% !important;
	}
}

@media (max-width: 782px) {
	.cm-header-builder .cm-mobile-row .cm-main-row,
	.cm-header-builder .cm-mobile-row .cm-header-right-col,
	.cm-header-builder .cm-mobile-row .cm-mobile-nav-container {
		position: relative !important;
		overflow: visible !important;
	}

	.cm-header-builder .cm-mobile-row .cm-mobile-nav-container {
		z-index: 10020 !important;
	}

	.cm-header-builder .cm-mobile-row .cm-mobile-nav-container.cm-toggle-open::before {
		content: "" !important;
		position: fixed !important;
		inset: 0 !important;
		background: rgba(15, 23, 42, 0.58) !important;
		z-index: 10019 !important;
	}

	.cm-header-builder .cm-mobile-row .cm-mobile-nav,
	#cm-mobile-nav {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: auto !important;
		width: min(340px, calc(100vw - 30px)) !important;
		max-width: calc(100vw - 30px) !important;
		height: 100dvh !important;
		filter: none !important;
		background: transparent !important;
		z-index: 10021 !important;
		pointer-events: none !important;
	}

	.cm-header-builder .cm-mobile-row .cm-mobile-nav-container.cm-toggle-open .cm-mobile-nav,
	.cm-header-builder .cm-mobile-row .cm-mobile-nav-container.cm-toggle-open #cm-mobile-nav,
	#cm-mobile-nav:has(.cm-mobile-header-row.cm-mobile-menu--open) {
		pointer-events: auto !important;
	}

	.cm-header-builder .cm-mobile-row .cm-mobile-nav .cm-mobile-header-row,
	#cm-mobile-header-row {
		display: none !important;
		position: relative !important;
		width: 100% !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		padding-top: 34px !important;
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 246, 251, 0.98) 100%) !important;
		border-top: 1px solid rgba(209, 220, 232, 0.9) !important;
		border-right: 1px solid rgba(209, 220, 232, 0.9) !important;
		border-bottom: 1px solid rgba(209, 220, 232, 0.9) !important;
		border-left: 0 !important;
		border-radius: 0 20px 20px 0 !important;
		background-clip: padding-box !important;
		box-shadow:
			0 16px 42px rgba(15, 23, 42, 0.16),
			inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		overscroll-behavior: contain !important;
		transform-origin: top left !important;
		transform: translate3d(calc(-10px + var(--pde-swipe-offset, 0px)), 0, 0) scaleX(0.16) !important;
		opacity: 0 !important;
		pointer-events: none !important;
		transition: transform 0.24s ease, opacity 0.2s ease !important;
	}

	.cm-header-builder .cm-mobile-row .cm-mobile-nav .cm-mobile-header-row.cm-mobile-menu--open,
	#cm-mobile-header-row.cm-mobile-menu--open {
		display: block !important;
		transform: translate3d(var(--pde-swipe-offset, 0px), 0, 0) scaleX(1) !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	#cm-mobile-menu,
	.cm-mobile-menu {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 0 4px !important;
		background: transparent !important;
	}

	#cm-mobile-menu > li,
	.cm-mobile-menu > li {
		background: transparent !important;
		border-top: 0 !important;
	}

	#cm-mobile-menu a,
	.cm-mobile-menu a {
		padding: 13px 16px !important;
		font-size: 14px !important;
		font-weight: 600 !important;
		white-space: nowrap !important;
		color: #17314f !important;
		background: transparent !important;
		line-height: 1.25 !important;
		min-height: 44px !important;
		letter-spacing: 0.01em !important;
		border-bottom: 1px solid rgba(210, 220, 231, 0.72) !important;
	}

	#cm-mobile-menu > li:last-child > a,
	.cm-mobile-menu > li:last-child > a {
		border-bottom: 0 !important;
	}

	#cm-mobile-menu a:hover,
	#cm-mobile-menu .current-menu-item > a,
	#cm-mobile-menu .current_page_item > a,
	.cm-mobile-menu a:hover,
	.cm-mobile-menu .current-menu-item > a,
	.cm-mobile-menu .current_page_item > a {
		background: rgba(40, 157, 204, 0.12) !important;
		color: #133257 !important;
	}

	.cm-header-builder .cm-mobile-row .cm-menu-toggle {
		position: relative !important;
		z-index: 10022 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	.cm-header-builder .cm-mobile-row .cm-menu-toggle[aria-expanded="true"] {
		position: fixed !important;
		top: 18px !important;
		left: calc(min(340px, 100vw - 30px) - 42px) !important;
		right: auto !important;
		width: 36px !important;
		height: 36px !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		z-index: 10023 !important;
		transform: translate3d(var(--pde-swipe-offset, 0px), 0, 0) !important;
		transition: transform 0.24s ease !important;
	}

	.cm-header-builder .cm-mobile-row .cm-menu-toggle[aria-expanded="true"] .cm-icon--x-mark {
		display: none !important;
	}

	.cm-header-builder .cm-mobile-row .cm-menu-toggle[aria-expanded="true"] .cm-icon--bars {
		display: none !important;
	}

	.cm-header-builder .cm-mobile-row .cm-menu-toggle[aria-expanded="true"]::before {
		content: "" !important;
		display: block !important;
		width: 9px !important;
		height: 9px !important;
		border-left: 1.5px solid rgba(23, 49, 79, 0.56) !important;
		border-bottom: 1.5px solid rgba(23, 49, 79, 0.56) !important;
		transform: rotate(45deg) !important;
		margin-left: 4px !important;
		margin-top: 6px !important;
	}

	.cm-header-builder .cm-mobile-row .cm-menu-toggle svg,
	.cm-mobile-nav .cm-submenu-toggle svg {
		fill: #0f172a !important;
	}

	@media (max-width: 480px) {
		.cm-header-builder .cm-mobile-row .cm-mobile-nav,
		#cm-mobile-nav {
			top: 0 !important;
			width: min(320px, calc(100vw - 24px)) !important;
			max-width: calc(100vw - 24px) !important;
			height: 100dvh !important;
		}

		.cm-header-builder .cm-mobile-row .cm-menu-toggle[aria-expanded="true"] {
			top: 18px !important;
			left: calc(min(320px, 100vw - 24px) - 42px) !important;
		}

		#cm-mobile-menu a,
		.cm-mobile-menu a {
			padding: 12px 14px !important;
			font-size: 13px !important;
			min-height: 42px !important;
		}
	}
}

body {
	--pde-header-height: 50px;
	--pde-header-top: 0px;
	--pde-header-offset: 50px;
}

body.admin-bar {
	--pde-header-top: 32px;
	--pde-header-offset: 82px;
}

@media (max-width: 782px) {
	body.admin-bar {
		--pde-header-top: 46px;
		--pde-header-offset: 96px;
	}
}

#cm-masthead,
.cm-header-builder {
	position: relative;
	z-index: 10040;
}

.cm-header-builder .cm-desktop-row,
.cm-header-builder > .cm-header-top-row,
.cm-header-builder > .cm-header-main-row,
.cm-header-builder > .cm-header-bottom-row {
	display: none !important;
}

.cm-header-builder .cm-mobile-row {
	display: block !important;
	position: fixed !important;
	top: var(--pde-header-top) !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	z-index: 10040 !important;
	background: #ffffff !important;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

.cm-header-builder .cm-mobile-row .cm-header-top-row,
.cm-header-builder .cm-mobile-row .cm-header-bottom-row {
	display: none !important;
}

.cm-header-builder .cm-mobile-row .cm-header-main-row {
	background: #ffffff !important;
	border-top: 0 !important;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
	box-shadow: none !important;
}

.cm-header-builder .cm-mobile-row .cm-container,
.cm-header-builder .cm-mobile-row .cm-main-row {
	max-width: none !important;
	width: 100% !important;
}

.cm-header-builder .cm-mobile-row .cm-main-row {
	display: grid !important;
	grid-template-columns: 34px minmax(0, 1fr) auto !important;
	align-items: center !important;
	gap: 8px !important;
	min-height: var(--pde-header-height) !important;
	padding: 0 10px !important;
	overflow: visible !important;
}

.cm-header-builder .cm-mobile-row .cm-header-left-col,
.cm-header-builder .cm-mobile-row .cm-header-center-col,
.cm-header-builder .cm-mobile-row .cm-header-right-col {
	flex-direction: row !important;
	align-items: center !important;
	width: auto !important;
}

.cm-header-builder .cm-mobile-row .cm-header-left-col {
	flex: 0 0 34px !important;
	width: 34px !important;
	max-width: 34px !important;
	justify-content: flex-start !important;
	overflow: visible !important;
	position: relative !important;
	z-index: 10050 !important;
}

.cm-header-builder .cm-mobile-row .cm-header-center-col {
	flex: 1 1 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
}

.cm-header-builder .cm-mobile-row .cm-header-right-col {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: max-content !important;
	justify-content: flex-end !important;
	position: relative !important;
	min-width: fit-content !important;
	overflow: visible !important;
}

.cm-header-builder .cm-mobile-row .cm-site-branding {
	display: none !important;
}

.cm-header-builder .cm-top-search,
.cm-header-builder .search-wrap,
.cm-header-builder .search-form-top,
.cm-header-builder .fa.search-top {
	display: none !important;
}

.pde-unified-header__title {
	display: block;
	min-width: 0;
	font-size: clamp(0.86rem, 1vw, 1rem);
	font-weight: 700;
	line-height: 1.2;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pde-unified-header__actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	position: relative;
	flex: 0 0 auto;
	max-width: 100%;
	overflow: visible;
	white-space: nowrap;
}

.pde-unified-header__search,
.pde-unified-header__account {
	position: relative;
	flex: 0 0 auto;
}

.pde-unified-header__search-toggle,
.cm-header-builder .cm-mobile-row .cm-menu-toggle {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1e7f86 !important;
	cursor: pointer !important;
	position: relative !important;
	overflow: visible !important;
}

.pde-unified-header__search-toggle:hover,
.pde-unified-header__search-toggle:focus-visible,
.cm-header-builder .cm-mobile-row .cm-menu-toggle:hover,
.cm-header-builder .cm-mobile-row .cm-menu-toggle:focus-visible {
	background: rgba(15, 23, 42, 0.05) !important;
	outline: none !important;
}

.pde-unified-header__search-toggle svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

.cm-header-builder .cm-mobile-row .cm-menu-toggle svg {
	display: none !important;
}

.cm-header-builder .cm-mobile-row .cm-menu-toggle .cm-icon--bars,
.cm-header-builder .cm-mobile-row .cm-menu-toggle .cm-icon--x-mark {
	display: none !important;
}

.cm-header-builder .cm-mobile-row .cm-menu-toggle .pde-menu-fallback {
	position: absolute;
	inset: 0;
	display: block;
}

.cm-header-builder .cm-mobile-row .cm-menu-toggle::before {
	content: "" !important;
	display: block !important;
	width: 15px !important;
	height: 11px !important;
	background:
		linear-gradient(#1e7f86 0 0) top left / 15px 2px no-repeat,
		linear-gradient(#1e7f86 0 0) center left / 15px 2px no-repeat,
		linear-gradient(#1e7f86 0 0) bottom left / 15px 2px no-repeat !important;
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
}

.cm-header-builder .cm-mobile-row .cm-menu-toggle[aria-expanded="true"]::before {
	width: 14px !important;
	height: 14px !important;
	background:
		linear-gradient(45deg, transparent 43%, #1e7f86 43%, #1e7f86 57%, transparent 57%) center / 14px 14px no-repeat,
		linear-gradient(-45deg, transparent 43%, #1e7f86 43%, #1e7f86 57%, transparent 57%) center / 14px 14px no-repeat !important;
}

.pde-unified-header__search-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(360px, calc(100vw - 24px));
	padding: 14px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.pde-unified-header__search.is-open .pde-unified-header__search-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.pde-unified-header__search-panel .pde-recherche {
	max-width: none;
	margin: 0;
}

.pde-unified-header__search-panel .pde-form {
	margin: 0;
}

.pde-unified-header__search-panel .pde-btn {
	display: none !important;
}

.pde-unified-header__search-panel .pde-input {
	padding-right: 0 !important;
}

.pde-unified-header__account .pde-member-menu__guest-hint {
	display: none !important;
}

.pde-unified-header__account .pde-member-menu {
	flex-direction: row;
	align-items: center;
	gap: 0;
}

.pde-unified-header__account .pde-member-menu__trigger,
.pde-unified-header__account .pde-member-menu__avatar {
	width: 28px;
	height: 28px;
}

.pde-unified-header__account .pde-member-menu.is-guest .pde-member-menu__trigger,
.pde-unified-header__account .pde-member-menu.is-guest .pde-member-menu__avatar {
	width: 26px;
	height: 26px;
}

.pde-unified-header__account .pde-member-menu__avatar {
	border-width: 1.5px !important;
	box-shadow: 0 0 0 1px rgba(23, 43, 77, 0.06), 0 3px 10px rgba(23, 43, 77, 0.12) !important;
}

body:not(.wp-admin) #page,
body:not(.wp-admin) #main,
body:not(.wp-admin) #content {
	padding-top: 0;
}

body:not(.wp-admin) .cm-content,
body:not(.wp-admin) #cm-content,
body:not(.wp-admin) .site-content {
	padding-top: var(--pde-header-offset);
}

@media (max-width: 782px) {
	.cm-header-builder .cm-mobile-row .cm-main-row {
		padding: 0 8px !important;
		gap: 6px !important;
	}

	.pde-unified-header__title {
		font-size: 0.82rem;
	}

	.pde-unified-header__actions {
		gap: 2px;
	}

	.pde-unified-header__search-panel {
		right: -4px;
		width: min(320px, calc(100vw - 16px));
		padding: 12px;
	}
}

body {
	--pde-header-height: 50px;
	--pde-logo-bar-height: 150px;
	--pde-header-offset: 50px;
	--pde-teal: #1e7f86;
	--pde-page-width: min(calc(100vw - 20px), 1200px);
	padding-top: 0 !important;
}

body.admin-bar {
	--pde-header-offset: 82px;
}

@media (max-width: 782px) {
	body.admin-bar {
		--pde-header-offset: 96px;
	}
}

.cm-header-builder .cm-mobile-row {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	pointer-events: none !important;
	z-index: 10020 !important;
}

.cm-header-builder .cm-mobile-row .cm-header-main-row,
.cm-header-builder .cm-mobile-row .cm-main-row,
.cm-header-builder .cm-mobile-row .cm-header-left-col,
.cm-header-builder .cm-mobile-row .cm-header-center-col,
.cm-header-builder .cm-mobile-row .cm-header-right-col {
	min-height: 0 !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.cm-header-builder .cm-mobile-row .cm-mobile-nav-container,
.cm-header-builder .cm-mobile-row .cm-mobile-nav,
#cm-mobile-nav,
#cm-mobile-header-row {
	display: none !important;
}

.cm-header-builder .cm-mobile-row .cm-site-branding,
.cm-header-builder .cm-mobile-row .pde-header-score-mounted,
.cm-header-builder .cm-mobile-row .pde-header-score-membre {
	display: none !important;
}

.pde-unified-header-bar {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(1200px, 100vw);
	max-width: 1200px;
	height: var(--pde-header-height);
	background: #fff;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	z-index: 10060;
	padding: 0;
	box-sizing: border-box;
}

body.admin-bar .pde-unified-header-bar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .pde-unified-header-bar {
		top: 46px;
	}
}

body.wide .pde-unified-header-bar {
	width: 100vw;
	max-width: 100vw;
}

.pde-unified-header-bar .cm-container,
.pde-unified-logo-bar .cm-container {
	height: 100%;
	width: 100%;
	max-width: none;
	margin: 0 auto;
}

.pde-unified-header-bar__inner {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 132px;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 0 28px 0 5px;
	overflow: visible;
}

.pde-unified-header-bar__menu {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.pde-unified-header-bar__menu span {
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--pde-teal);
}

.pde-unified-header-bar__menu span:nth-child(1) {
	top: 7px;
}

.pde-unified-header-bar__menu span:nth-child(2) {
	top: 13px;
}

.pde-unified-header-bar__menu span:nth-child(3) {
	top: 19px;
}

.pde-unified-header-bar__menu[aria-expanded="true"] span:nth-child(1) {
	top: 7px;
	transform: none;
}

.pde-unified-header-bar__menu[aria-expanded="true"] span:nth-child(2) {
	opacity: 1;
}

.pde-unified-header-bar__menu[aria-expanded="true"] span:nth-child(3) {
	top: 19px;
	transform: none;
}

.pde-unified-header-bar__title {
	display: flex;
	align-items: center;
	min-width: 0;
	overflow: hidden;
	padding-bottom: 1px;
}

.pde-unified-header-bar__title span {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0;
	background: linear-gradient(180deg, #55bfe8 0%, #2d9ca6 52%, #228fc2 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #2D9CA6;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.pde-unified-header-bar__actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	min-width: 0;
	width: 132px;
	overflow: visible;
}

.pde-unified-header-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pde-teal);
	cursor: pointer;
}

.pde-unified-header-bar__icon svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

.pde-unified-header-bar__search,
.pde-unified-header-bar__account {
	position: relative;
	flex: 0 0 auto;
}

.pde-unified-header-bar__search-panel {
	position: absolute;
	top: 50%;
	right: calc(100% + 4px);
	width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-50%);
	overflow: visible;
	z-index: 10071;
	transition: width .18s ease, opacity .18s ease, visibility .18s ease;
}

.pde-unified-header-bar__search.is-open .pde-unified-header-bar__search-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	width: min(320px, calc(100vw - 220px));
}

.pde-unified-header-bar__search-panel .pde-recherche,
.pde-unified-header-bar__search-panel .pde-form {
	margin: 0;
	max-width: none;
}

.pde-unified-header-bar__search-panel .pde-form {
	padding: 2px 10px !important;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	box-shadow: none !important;
	min-height: 34px !important;
}

.pde-unified-header-bar__search-panel .pde-input,
.pde-unified-header-bar__search-panel .pde-input:focus,
.pde-unified-header-bar__search-panel .pde-input:focus-visible {
	padding: 4px 6px !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
}

.pde-unified-header-bar__search-panel .pde-btn {
	display: none !important;
}

.pde-unified-header-bar__account .pde-member-menu {
	display: flex;
	align-items: center;
}

.pde-unified-header-bar__account .pde-member-menu__guest-hint {
	display: none !important;
}

.pde-unified-header-bar__account .pde-member-menu__trigger,
.pde-unified-header-bar__account .pde-member-menu__avatar {
	width: 40px !important;
	height: 40px !important;
	box-sizing: border-box !important;
}

.pde-unified-header-bar__account .pde-member-menu__trigger {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	z-index: 0 !important;
	padding: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.pde-unified-header-bar__account .pde-member-menu__trigger::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 999px;
	background: conic-gradient(
		from 205deg,
		#2d9ca6 0deg,
		#56c7d2 48deg,
		#8fd86c 104deg,
		#f5cb5c 162deg,
		#f29a55 220deg,
		#e66986 282deg,
		#a85ce2 332deg,
		#2d9ca6 360deg
	);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
	z-index: 0;
	pointer-events: none;
}

.pde-unified-header-bar__account .pde-member-menu__avatar {
	position: relative !important;
	z-index: 1 !important;
	border-width: 1px !important;
	border-color: rgba(255, 255, 255, 0.92) !important;
	background: #ffffff !important;
	box-shadow: none !important;
}

.pde-unified-header-bar__badge {
	position: absolute;
	top: -5px;
	right: -8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	border: 2px solid #ffffff;
	background: #e53935;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(229, 57, 53, 0.26);
	pointer-events: none;
}

.pde-unified-logo-bar {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	width: 100%;
	max-width: 100%;
	margin: 0;
	height: var(--pde-logo-bar-height);
	background: #fff;
	border-bottom: 2px solid #2D9CA6;
	z-index: 1;
	padding: 0;
	box-sizing: border-box;
}

body.pde-community-page .pde-unified-logo-bar {
	border-bottom: 0 !important;
	margin-bottom: -2px;
}

body.admin-bar .pde-unified-logo-bar {
	margin-top: 0;
}

@media (max-width: 782px) {
	body.admin-bar .pde-unified-logo-bar {
		margin-top: 0;
	}
}

.pde-unified-logo-bar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	padding: 0 16px 0 5px;
	overflow: hidden;
}

.pde-unified-logo-bar__inner .custom-logo-link {
	display: inline-flex;
	align-items: center;
	height: 100%;
	line-height: 0;
}

.pde-unified-logo-bar__inner img.custom-logo {
	width: auto;
	max-width: min(100%, 760px);
	height: 118px;
	max-height: 118px;
	object-fit: contain;
	display: block;
}

.pde-unified-logo-bar__site-name {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
}

body:not(.wp-admin) .cm-content,
body:not(.wp-admin) #cm-content,
body:not(.wp-admin) .site-content {
	padding-top: 0 !important;
}

body:not(.wp-admin) #page {
	padding-top: var(--pde-header-height);
}

body:not(.wp-admin) .breadcrumb-wrap,
body.search:not(.wp-admin) .cm-page-header,
body.archive:not(.wp-admin) .cm-page-header,
body.error404:not(.wp-admin) .cm-page-header,
body.page:not(.wp-admin) article.page > .cm-entry-header,
body.single:not(.wp-admin) .cm-post-content > .cm-entry-header:first-child {
	display: none !important;
}

.pde-unified-menu-backdrop[hidden],
.pde-unified-menu-panel[hidden] {
	display: none !important;
}

.pde-unified-menu-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.22);
	backdrop-filter: blur(3px);
	z-index: 10068;
	opacity: 0;
	transition: opacity 0.18s ease;
}

.pde-unified-menu-backdrop.is-open {
	opacity: 1;
}

.pde-unified-menu-panel {
	position: fixed;
	top: 0;
	left: 0;
	transform: translate3d(calc(-8px + var(--pde-panel-swipe-offset, 0px)), 0, 0) scale(.96);
	width: min(340px, calc(100vw - 24px));
	height: 100dvh;
	z-index: 10069;
	opacity: 0;
	pointer-events: none;
	transform-origin: top left;
	transition: opacity .2s ease, transform .24s ease;
}

.pde-unified-menu-panel.is-dragging {
	transition: none;
}

body.admin-bar .pde-unified-menu-panel {
	top: 32px;
	height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .pde-unified-menu-panel {
		top: 46px;
		height: calc(100dvh - 46px);
	}
}

.pde-unified-menu-panel__inner {
	position: relative;
	height: 100%;
	background: #ffffff;
	border-right: 1px solid rgba(209, 220, 232, 0.9);
	border-bottom: 1px solid rgba(209, 220, 232, 0.9);
	border-left: 0;
	border-radius: 0 20px 20px 0;
	box-shadow: 0 16px 42px rgba(15, 23, 42, 0.18);
	overflow: hidden;
}

.pde-unified-menu-panel__close {
	position: absolute;
	top: 0;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	opacity: .82;
	z-index: 2;
}

.pde-unified-menu-panel__close::before {
	content: "";
	display: block;
	width: 9px;
	height: 9px;
	border-top: 1.5px solid rgba(23, 49, 79, 0.56);
	border-right: 1.5px solid rgba(23, 49, 79, 0.56);
	transform: rotate(-135deg);
	margin-right: 4px;
}

.pde-unified-menu-panel__nav {
	height: 100%;
	overflow: hidden;
	padding-top: 30px;
}

.pde-unified-menu-panel.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(var(--pde-panel-swipe-offset, 0px), 0, 0) scale(1);
}

.pde-unified-menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pde-unified-menu-list li {
	margin: 0;
	padding: 0;
}

.pde-unified-menu-list a {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 30px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.1;
	color: #17314f;
	text-decoration: none;
	border-bottom: 1px solid rgba(210, 220, 231, 0.72);
	background: #ffffff;
}

.pde-unified-menu-list a:hover,
.pde-unified-menu-list .current-menu-item > a {
	background: rgba(30, 127, 134, 0.1);
	color: #134851;
}

.pde-unified-menu-list .sub-menu,
.pde-unified-menu-list .cm-submenu-toggle {
	display: none !important;
}

@media (max-width: 782px) {
	.pde-unified-menu-panel {
		top: 0;
		width: min(340px, calc(100vw - 30px));
		max-width: calc(100vw - 30px);
		height: 100dvh;
	}

	body.admin-bar .pde-unified-menu-panel {
		top: 0;
		height: 100dvh;
	}
}

.pde-member-panel {
	background: #ffffff !important;
}

@media (max-width: 1140px) {
	.pde-unified-header-bar .cm-container,
	.pde-unified-logo-bar .cm-container {
		max-width: 100%;
	}
}
