/* LC Text Marquee
   Theming: override these on .lctm-wrap (inline style, a parent selector,
   or your theme's CSS) to match your brand.
------------------------------------------------------------------ */
.lctm-wrap {
	--lctm-bg: #eef4f7;
	--lctm-item-bg: #ffffff;
	--lctm-item-color: #1c3a4a;
	--lctm-item-border: #d9e6ec;
	--lctm-accent: #2a899e;
	--lctm-fade: #eef4f7;
	--lctm-speed: 32s;
	--lctm-item-size: 1rem;

	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--lctm-bg);
	padding: 18px 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
	        mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.lctm-track {
	display: flex;
	align-items: center;
	width: max-content;
	will-change: transform;
	animation: lctm-scroll-left var(--lctm-speed) linear infinite;
}

.lctm-track.lctm-dir-right {
	animation-name: lctm-scroll-right;
}

.lctm-pause-on-hover:hover {
	animation-play-state: paused;
}

.lctm-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 14px;
	padding: 0 7px;
}

/* Each line is now a standalone pill/card instead of plain inline text */
.lctm-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	font-weight: 600;
	font-size: var(--lctm-item-size);
	line-height: 1.3;
	color: var(--lctm-item-color);
	background: var(--lctm-item-bg);
	border: 1px solid var(--lctm-item-border);
	border-radius: 999px;
	padding: 11px 22px 11px 14px;
	box-shadow: 0 2px 8px rgba(20, 40, 55, 0.07);
}

/* Small round accent badge in front of each line, in place of the old dot separator */
.lctm-item::before {
	content: "?";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--lctm-accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

/* Separator dots are retired in favour of the pill gaps above */
.lctm-sep {
	display: none;
}

@keyframes lctm-scroll-left {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes lctm-scroll-right {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.lctm-track {
		animation: none;
	}
}

@media (max-width: 640px) {
	.lctm-wrap {
		--lctm-item-size: 0.9rem;
		padding: 14px 0;
	}
	.lctm-item {
		padding: 9px 18px 9px 12px;
	}
}
