/*
 * VH — Consentement aux cookies (valhallaexpedition.com), 26/11/2026.
 * Couleurs du site, 3 boutons sur une seule ligne (bandeau et réglages), cibles tactiles de 44 px.
 */
html body #cc-main {
	--cc-bg: #ffffff;
	--cc-primary-color: #1a1a1a;
	--cc-secondary-color: #444444;
	--cc-link-color: #1a1a1a;
	--cc-btn-primary-bg: #ffde17;
	--cc-btn-primary-color: #1a1a1a;
	--cc-btn-primary-border-color: #ffde17;
	--cc-btn-primary-hover-bg: #f0cd00;
	--cc-btn-primary-hover-color: #1a1a1a;
	--cc-btn-primary-hover-border-color: #f0cd00;
	--cc-btn-secondary-bg: #ffffff;
	--cc-btn-secondary-color: #1a1a1a;
	--cc-btn-secondary-border-color: #1a1a1a;
	--cc-btn-secondary-hover-bg: #f2f2f2;
	--cc-btn-secondary-hover-color: #1a1a1a;
	--cc-btn-secondary-hover-border-color: #1a1a1a;
	--cc-toggle-on-bg: #1a1a1a;
	--cc-toggle-off-bg: #7a7f84;
	--cc-toggle-readonly-bg: #c9cdd1;
	--cc-separator-border-color: #ececec;
	--cc-cookie-category-block-bg: #f5f5f5;
	--cc-cookie-category-block-border: #f5f5f5;
	--cc-cookie-category-block-hover-bg: #eeeeee;
	--cc-cookie-category-block-hover-border: #eeeeee;
	--cc-modal-border-radius: 12px;
	--cc-btn-border-radius: 10px;
	font-family: inherit;
}

#cc-main .cm.cm--box {
	max-width: 30rem;
}

#cc-main .cm .cm__title {
	font-size: 17px;
}

#cc-main .cm .cm__desc {
	font-size: 14px;
}

#cc-main .cm .cm__desc a,
#cc-main .pm .pm__section-desc a {
	text-decoration: underline;
}

/* Bandeau : « Accept all », « Reject all », « Customize » sur une ligne, à toutes les largeurs */
#cc-main .cm .cm__btns {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 8px;
}

#cc-main .cm .cm__btns .cm__btn-group {
	display: contents !important;
}

#cc-main .cm .cm__btns .cm__btn,
#cc-main .cm .cm__btns .cm__btn + .cm__btn {
	flex: 1 1 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	min-height: 44px;
	padding: 0.4em 0.35em;
	font-size: 14px;
	line-height: 1.2;
}

/* Réglages : « Accept all », « Reject all », « Save choices » sur une ligne */
#cc-main .pm .pm__footer {
	flex-direction: row !important;
	gap: 8px;
}

#cc-main .pm .pm__footer .pm__btn-group {
	display: contents !important;
}

#cc-main .pm .pm__footer .pm__btn,
#cc-main .pm .pm__footer .pm__btn + .pm__btn {
	flex: 1 1 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	min-height: 44px;
	padding: 0.4em 0.35em;
	font-size: 14px;
	line-height: 1.2;
}

#cc-main .pm .pm__close-btn {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
}

#cc-main .pm .pm__title {
	font-size: 17px;
}

/* Réglages sur ordinateur : hauteur ajustée au contenu (cadre fixe de 600 px, à moitié vide, sinon) */
@media screen and (min-width: 641px) {
	#cc-main .pm.pm--box {
		height: auto;
		max-height: calc(100vh - 2em);
	}
}

/* Réglages plus compacts : tout tient dans un écran de téléphone, même les 4 rubriques ouvertes */
#cc-main .pm .pm__section:first-child {
	margin-bottom: 0.9em;
}

#cc-main .pm .pm__section--toggle .pm__section-title {
	min-height: 46px;
	padding-top: 0.7em;
	padding-bottom: 0.7em;
}

#cc-main .pm .pm__section--toggle .pm__section-desc {
	padding: 0.5em 1em;
	font-size: 13.5px;
	line-height: 1.4;
}

/* Interrupteurs : zone tactile de 44 px autour de l'interrupteur visible (50 × 23) */
#cc-main .pm .section__toggle-wrapper .section__toggle {
	top: -11px;
	left: -5px;
	width: 60px;
	height: 45px;
}

/* Liens « Cookie settings » et « Privacy & Cookie Policy » en pied de page (gardés ensemble sur une ligne) */
.vh-cc-liens {
	white-space: nowrap;
}

.vh-cc-lien {
	cursor: pointer;
	text-decoration: underline;
	white-space: nowrap;
	/* zone tactile de 44 px de haut sans décaler la ligne */
	display: inline-block;
	padding: 15px 6px;
	margin: -15px -6px;
}

.vh-cc-liens--flottant {
	position: fixed;
	left: 8px;
	bottom: 8px;
	z-index: 9999;
	margin: 0;
	gap: 6px;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	background: #ffffff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	border-radius: 10px;
	font-size: 14px;
	text-decoration: none;
}

.vh-cc-liens--flottant .vh-cc-lien {
	margin: 0;
	padding: 0;
}

/* 1.2.0 — Vidéos YouTube / Vimeo en attente d'accord : vignette du site + « Click to load the video » */
.vh-video {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #12181f;
	color: #ffffff;
}

/* Dans un cadre réactif (bloc .embed-container du site, widget Vidéo d'Elementor) : occupe tout le cadre */
.embed-container > .vh-video,
.elementor-widget-video .elementor-wrapper > .vh-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.elementor-widget-video .elementor-wrapper {
	position: relative;
}

.vh-video .vh-video__vignette {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.vh-video .vh-video__voile {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 16px;
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.62));
	text-align: center;
	box-sizing: border-box;
}

.vh-video .vh-video__bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: #ffde17;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.vh-video .vh-video__bouton:hover,
.vh-video .vh-video__bouton:focus-visible {
	background: #f0cd00;
	color: #1a1a1a;
}

.vh-video .vh-video__bouton:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
}

.vh-video .vh-video__icone {
	flex: 0 0 auto;
}

.vh-video .vh-video__note {
	max-width: 32em;
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-size: 12.5px;
	line-height: 1.35;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
