.pc-2519-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding-left: 5vw; /* Optional padding for better edge spacing */
	padding-right: 5vw;
}

.pc-2519-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
	padding: 0 20px; /* Internal padding so header doesn't stick to extreme edges */
}

.pc-2519-headline {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3em; /* Default gap, controllable via Elementor */
}

.pc-2519-caption-wrapper {
	flex: 0 1 300px;
}

.pc-2519-caption {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
}

.pc-2519-carousel-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 40px; /* Add padding so arrows aren't clipped */
}

.pc-2519-viewport {
	overflow-x: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	width: 100%;
	padding: 10px 0; /* slight vertical padding */
}

.pc-2519-viewport::-webkit-scrollbar {
	display: none;
}

.pc-2519-track {
	display: flex;
	transition: transform 0.3s ease-out;
}

.pc-2519-card {
	flex: 0 0 80%; /* Show part of next card on mobile */
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.pc-2519-card {
		flex: 0 0 calc(33.333% - 13.33px); /* 3 columns minus gap */
	}
}

.pc-2519-card-img {
	width: 100%;
	height: auto;
	display: block;
}

.pc-2519-card-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
}

.pc-2519-nav-btn {
	position: absolute;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s, transform 0.2s;
	top: 50%;
	transform: translateY(-50%);
}

.pc-2519-nav-btn:hover {
	opacity: 0.9;
	transform: translateY(-50%) scale(1.05);
}

.pc-2519-prev {
	left: 10px; /* Kept inside wrapper padding */
}

.pc-2519-next {
	right: 10px; /* Kept inside wrapper padding */
}

@media (max-width: 767px) {
	.pc-2519-nav-btn {
		display: none; /* Hide arrows on small screens, rely on swipe */
	}
	.pc-2519-carousel-wrapper {
		padding: 0; /* Remove side padding on mobile for full edge-to-edge swipe */
	}
}
