.ldp-galerie {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.ldp-galerie__main {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 8px;
	background: #eef0f1;
}

.ldp-galerie__main-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ldp-galerie__thumbs-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ldp-galerie__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	padding-bottom: 2px;
}

.ldp-galerie__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: none;
	line-height: 0;
	width: 92px;
	height: 68px;
	flex: 0 0 auto;
	opacity: 0.7;
	scroll-snap-align: start;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.ldp-galerie__nav {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0 0 2px;
	box-sizing: border-box;
	border: none;
	border-radius: 50%;
	background: #2e3336;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ldp-galerie__nav:hover {
	background: #0574b9;
}

.ldp-galerie__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ldp-galerie__thumb:hover {
	opacity: 1;
}

.ldp-galerie__thumb.is-active {
	opacity: 1;
	border-color: #0574b9;
}

.e-con-inner > .elementor-widget-shortcode:has( .ldp-galerie ) {
	width: 100%;
}
