/* Le thème Pharmalp actuel imprime son ancien bandeau après wp_body_open. */
body > .phb-slot ~ .hellobar.bg-primary_light,
.phb-slot > [data-ply-banner] ~ [data-phb-message] {
	display: none;
}

.phb-message {
	position: relative;
	z-index: 50;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	background-color: var(--phb-background);
	color: var(--phb-color);
	text-align: center;
	font-size: 14px;
	line-height: 20px;
	overflow-wrap: anywhere;
}

.phb-message a {
	display: block;
	color: inherit;
}

.phb-message p {
	margin: 0;
}

.phb-message .phb-desktop {
	display: none;
}

@media (min-width: 768px) {
	.phb-message .phb-desktop {
		display: block;
	}

	.phb-message .phb-mobile {
		display: none;
	}
}

/* Le thème utilise un décalage fixe, insuffisant pour un message multiligne. */
html[data-phb-menu] .mobile-menu-overlay {
	top: var(--phb-menu-top) !important;
	height: calc(100% - var(--phb-menu-top));
}
