/**
 * Pretpot PRO – Scroll Activated Marquee
 * scroll-activated-marquee.css
 */

/* ── Outer wrapper ── */
.pp-sam-outer {
	position: relative;
	width: 100%;
}

/* Overflow mode: negative margins bleed past section edges.
   The actual overflow value is set inline via PHP (data-driven). */
.pp-sam-outer.pp-sam-overflow {
	/* margin-left / margin-right are applied inline by the widget render */
}

/* ── Clip ── */
.pp-sam-clip {
	overflow: hidden;
	width: 100%;
}

.pp-sam-outer.pp-sam-overflow .pp-sam-clip {
	overflow: visible;
}

/* ── Track wrapper (bordered band) ── */
.pp-sam-track-wrap {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #ffffff;
	overflow: hidden;
}

/* ── Scrolling track ── */
.pp-sam-track {
	display: flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	padding: 14px 0;
	/* transform is applied via JS */
}

/* ── Individual item ── */
.pp-sam-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 28px;
	border-right: 1px solid rgba(0, 0, 0, 0.07);
	flex-shrink: 0;
	cursor: default;
}

.pp-sam-item:last-child {
	border-right: none;
}

/* ── Linked item ── */
.pp-sam-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

/* ── Icon / image wrap ── */
.pp-sam-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	flex-shrink: 0;
	overflow: hidden;
}

.pp-sam-icon-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.pp-sam-icon-wrap i,
.pp-sam-icon-wrap svg {
	display: block;
	flex-shrink: 0;
}

/* ── Text block ── */
.pp-sam-text-block {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.pp-sam-title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	color: inherit;
}

.pp-sam-subtitle {
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
	color: rgba(0, 0, 0, 0.45);
}

/* ── Elementor editor placeholder ── */
.elementor-editor-active .pp-sam-track {
	animation: none !important;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.pp-sam-track {
		will-change: auto;
	}
}