/* Mascot diagram: original, low resolution, then three sliders (home page library). */
.pano-sm {
	margin: 0 0 24px;
	color: #4e5983;
	font-family: Nunito, sans-serif;
	font-weight: 300;
}
.pano-sm-chaine {
	display: grid;
	grid-template-columns: 1fr 38px 1fr 38px 1fr;
	align-items: start;
	container-type: inline-size;
}
.pano-sm-carte {
	min-width: 0;
}
.pano-sm-im {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	background: #eee;
}
.entry-content .pano-sm img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.pano-sm-c-or .pano-sm-im {
	box-shadow: 0 0 0 3px #526add inset;
}
.pano-sm-c-or .pano-sm-im,
.pano-sm-c-br .pano-sm-im {
	box-shadow: none;
	outline: 3px solid #526add;
	outline-offset: -3px;
}
.pano-sm-c-br .pano-sm-im {
	outline-color: #d87766;
}
.pano-sm-c-but .pano-sm-im {
	outline: 2.5px dashed #aab4d8;
	outline-offset: -2.5px;
}
.entry-content .pano-sm-c-but img {
	opacity: 0.28;
	filter: saturate(0.75);
}
.pano-sm-q {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #526add;
	font-size: 44px;
	font-weight: 800;
}
.entry-content .pano-sm-nom {
	margin: 8px 0 0;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
}
.pano-sm-nom small {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 300;
}
.pano-sm-fl {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 38 / 170;
}
.pano-sm-fl svg {
	display: block;
	width: 30px;
	height: 14px;
	overflow: visible;
}
.pano-sm-fl-d {
	color: #d87766;
}
.pano-sm-fl-e {
	color: #526add;
}
.pano-sm-liaison {
	display: block;
	width: 2px;
	height: 20px;
	margin: 6px auto;
	background: #c4cbe0;
}
.entry-content .pano-sm-consigne {
	margin: 0 0 16px;
	text-align: center;
	font-size: 16px;
	line-height: 1.4;
}
.pano-sm-essais {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.pano-sm-essai {
	min-width: 0;
}
.entry-content .pano-sm-titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	color: #526add;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}
.pano-sm-titre i {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
.pano-sm-e-cl .pano-sm-titre i {
	background: #d87766;
}
.pano-sm-e-sr .pano-sm-titre i {
	background: linear-gradient(135deg, #526add, #69d3c2);
}
.entry-content .pano-sm-texte {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.4;
}
img-comparison-slider.pano-sm-cm {
	display: block;
	width: 100%;
	--divider-width: 1.5px;
	--divider-color: rgba(255, 255, 255, 0.9);
	--divider-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
	outline: none;
	overflow: hidden;
	border-radius: 10px;
	touch-action: pan-y pinch-zoom;
	visibility: hidden;
}
img-comparison-slider.pano-sm-cm.rendered {
	visibility: inherit;
}
img-comparison-slider.pano-sm-cm [slot='second'] {
	display: none;
}
img-comparison-slider.pano-sm-cm.rendered [slot='second'] {
	display: block;
}
.entry-content .pano-sm-cm figure {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
}
.pano-sm-chip {
	position: absolute;
	top: 8px;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font: 600 11px/22px Nunito, sans-serif;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
	pointer-events: none;
}
.pano-sm-g {
	left: 8px;
}
.pano-sm-d {
	right: 8px;
}
.pano-sm-or {
	background: rgba(82, 106, 221, 0.42);
}
.pano-sm-cl {
	background: rgba(216, 119, 102, 0.46);
}
.pano-sm-sr {
	background: rgba(63, 181, 162, 0.42);
}
.pano-sm-poignee {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #fff;
	cursor: ew-resize;
	touch-action: none;
}
.pano-sm-poignee svg {
	overflow: visible;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
}
.pano-sm-f {
	animation: pano-cm-gauche 2.4s ease-in-out infinite;
}
.pano-sm-fd {
	animation-name: pano-cm-droite;
}
.pano-sm-cm:focus .pano-sm-f,
.pano-sm-cm:active .pano-sm-f {
	animation: none;
}
@media (max-width: 600px) {
	.pano-sm-chaine {
		grid-template-columns: 1fr 26px 1fr;
	}
	.pano-sm-fl {
		aspect-ratio: auto;
		height: calc((100cqw - 26px) / 2 * 0.75);
	}
	.pano-sm-fl svg {
		width: 22px;
	}
	.pano-sm-fl.pano-sm-fl-e {
		grid-column: 1 / -1;
		height: 36px;
	}
	.pano-sm-fl-e svg {
		transform: rotate(90deg);
	}
	.pano-sm-c-but {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100cqw - 26px) / 2);
	}
	.pano-sm-q {
		font-size: 28px;
	}
	.entry-content .pano-sm-nom {
		margin-top: 6px;
		font-size: 12.5px;
	}
	.pano-sm-nom small {
		font-size: 11.5px;
	}
	.pano-sm-liaison {
		display: none;
	}
	.entry-content .pano-sm-consigne {
		margin: 22px 0 0;
	}
	.pano-sm-essais {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 18px;
	}
	.pano-sm-chip {
		height: 24px;
		font-size: 12px;
		line-height: 24px;
	}
}
.entry-content .pano-sm-texte {
	text-align: left;
}

/* Harmonisation : un bloc moins haut, le même ordre de grandeur que le reste de l'article. */
.pano-sm-chaine .pano-sm-im {
	aspect-ratio: 16 / 9;
}
.entry-content .pano-sm-chaine img {
	object-position: 50% 50%;
}
.pano-sm-liaison {
	display: none;
}
.entry-content .pano-sm-consigne {
	margin: 12px 0 12px;
}
.pano-sm-fl {
	aspect-ratio: 38 / 128;
}
.entry-content .pano-sm-texte {
	margin-top: 6px;
}
@media (max-width: 600px) {
	.pano-sm-c-but,
	.pano-sm-fl.pano-sm-fl-e {
		display: none;
	}
	.pano-sm-chaine .pano-sm-im {
		aspect-ratio: 4 / 3;
	}
	/* The picture is wider than its frame here: it fills it, which also brings the face closer. */
	.entry-content .pano-sm-chaine img {
		height: 100% !important;
		max-width: none;
		object-fit: cover;
		object-position: 50% 40%;
	}
	.pano-sm-fl {
		aspect-ratio: auto;
	}
	.entry-content .pano-sm-consigne {
		margin: 14px 0 0;
	}
	.pano-sm-essais {
		gap: 18px;
		margin-top: 12px;
	}
}

/* Phones: the aim of the comparison, in place of the sentence and of the third picture. */
.pano-sm-but {
	display: none;
}
@media (max-width: 600px) {
	.pano-sm-but {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: center;
		gap: 12px;
		margin: 16px 0 0;
		padding: 12px;
		border: 1px solid rgba(105, 211, 194, 0.45);
		border-radius: 12px;
		background: linear-gradient(135deg, rgba(105, 211, 194, 0.1) 0%, rgba(105, 211, 194, 0.22) 100%);
	}
	.pano-sm-but-q {
		position: relative;
		display: block;
		width: 96px;
		height: 96px;
		border-radius: 10px;
		outline: 2px dashed #2a9d8f;
		outline-offset: -2px;
		overflow: hidden;
	}
	.entry-content .pano-sm-but-q img {
		display: block;
		width: 100% !important;
		height: 100% !important;
		margin: 0;
		object-fit: cover;
		object-position: 50% 45%;
		opacity: 0.25;
	}
	.pano-sm-but-q b {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #1f6f70;
		font-size: 48px;
		font-weight: 600;
	}
	.entry-content .pano-sm-but-t {
		margin: 0;
		font-size: 14.5px;
		line-height: 1.4;
		text-align: left;
	}
	.entry-content .pano-sm-consigne {
		display: none;
	}
}
