/**
 * Photo strip — full-bleed, no margins / paddings / gaps.
 */

.m306-ps {
	--m306-ps-h: 420px;
	--m306-ps-h-m: 260px;

	position: relative;
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 0 0 0 calc(50% - 50vw) !important;
	padding: 0 !important;
	overflow: hidden;
	box-sizing: border-box;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.m306-ps.is-dragging {
	cursor: grabbing;
}

.m306-ps__track {
	display: flex;
	gap: 0;
	width: max-content;
	height: var(--m306-ps-h);
	will-change: transform;
	transition: transform 1.2s cubic-bezier(0.45, 0, 0.25, 1);
}

.m306-ps.is-dragging .m306-ps__track {
	transition: none;
}

.m306-ps__item {
	flex: 0 0 auto;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.m306-ps__item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 0 !important;
	pointer-events: none;
}

@media (max-width: 720px) {
	.m306-ps__track {
		height: var(--m306-ps-h-m);
	}
}
