/* Boomerly Creators Ticker — scoped styles (bct- prefix avoids theme clashes) */

.bct-creators {
	--bct-ink: #0E0E11;
	--bct-bone: #F4F2ED;
	--bct-ember: #FF5A1F;
	--bct-rule: rgba(14, 14, 17, .12);

	padding: 32px 0;
	box-sizing: border-box;
}
.bct-creators.bct-bg-dark {
	background: var(--bct-ink);
	--bct-rule: rgba(244, 242, 237, .14);
}
.bct-creators.bct-bg-transparent {
	background: transparent;
}
.bct-creators *,
.bct-creators *::before,
.bct-creators *::after {
	box-sizing: border-box;
}

.bct-wrap {
	width: min(1120px, 90vw);
	margin-inline: auto;
}

.bct-creators-in {
	padding-top: 0;
}
.bct-creators.bct-has-divider .bct-creators-in {
	border-top: 1px solid var(--bct-rule);
	padding-top: 30px;
}

/* ---------- heading / caption ---------- */
.bct-who {
	display: block;
	margin: 0 0 22px;
	font-family: 'Karla', system-ui, sans-serif;
	font-size: .9rem;
	font-weight: 500;
	color: rgba(120, 120, 128, .72);
	letter-spacing: 0;
}
/* Elementor editor: signal this text is directly editable, same affordance as native widgets */
.elementor-editor-active .bct-who.elementor-inline-editing {
	cursor: text;
	outline: 1px dashed transparent;
	transition: outline-color .15s ease;
}
.elementor-editor-active .bct-who.elementor-inline-editing:hover {
	outline-color: rgba(255, 90, 31, .5);
}

/* ---------- ticker ---------- */
.bct-ticker {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.bct-ticker-track {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	margin: 0;
	padding: 0;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	/* animation-name + animation-duration are set inline per-instance by the renderer */
}

.bct-ticker:hover .bct-ticker-track {
	animation-play-state: paused;
}

.bct-ticker-track li {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	white-space: nowrap;
}

/* the dot sits directly against its own item — not floating in the gap */
.bct-ticker-track li::before {
	content: '';
	width: 6px;
	height: 6px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--bct-ember);
}

.bct-ticker-track li a {
	display: inline-flex;
	align-items: center;
	gap: inherit;
	color: inherit;
	text-decoration: none;
}

.bct-item-text {
	font-family: 'Archivo', system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(1.1rem, 2.1vw, 1.5rem);
	color: var(--bct-ink);
	letter-spacing: -.02em;
	transition: color .15s ease;
}
.bct-bg-dark .bct-item-text {
	color: var(--bct-bone);
}

.bct-item-media {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.bct-item-icon {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: var(--bct-ember);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.bct-item-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.bct-item-image {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

/* The track is the same list twice back-to-back; translating exactly -50%
   (or from -50% back to 0 for left-to-right) moves it by one full
   list-width, so the loop point is invisible. */
@keyframes bct-scroll-rtl {
	to {
		transform: translateX(-50%);
	}
}
@keyframes bct-scroll-ltr {
	from {
		transform: translateX(-50%);
	}
	to {
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bct-ticker-track {
		animation: none !important;
	}
}
