:root {
	--mgs-3969-speed: 50s;
}

.mgs-3969-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	width: 100%;
}

.mgs-3969-header {
	text-align: center;
	margin-bottom: 40px;
	padding: 0 20px;
}

.mgs-3969-title {
	margin-bottom: 15px;
}

.mgs-3969-subtitle {
	max-width: 800px;
	margin: 0 auto;
}

.mgs-3969-gallery-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 10px 0;
}

.mgs-3969-gallery-track {
	display: flex;
	gap: 20px;
	width: max-content;
}

.mgs-3969-track-left {
	animation: mgs-3969-scroll-left var(--mgs-3969-speed, 50s) linear infinite;
}

.mgs-3969-track-right {
	animation: mgs-3969-scroll-right var(--mgs-3969-speed, 50s) linear infinite;
}

.mgs-3969-gallery-track:hover {
	animation-play-state: paused;
}

.mgs-3969-image-box {
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mgs-3969-image {
	width: auto;
	object-fit: cover;
	display: block;
}

.mgs-3969-placeholder {
	padding: 40px;
	background: #eee;
	border-radius: 8px;
	color: #666;
	width: 100%;
	text-align: center;
}

@keyframes mgs-3969-scroll-left {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(calc(-50% - 10px));
	}
}

@keyframes mgs-3969-scroll-right {
	0% {
		transform: translateX(calc(-50% - 10px));
	}
	100% {
		transform: translateX(0);
	}
}
