/* =============================================================================
   Dateka – Bandeau Défilant / Ticker Widget Styles
   Ultra-refined infinite marquee ribbon with icon badges, smooth gold hover glows
   & edge fade mask.
   ============================================================================= */

.dateka-ticker {
	background-color: #ffffff;
	width: 100%;
	padding: 22px 0;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}

/* Edge gradient mask for smooth continuous fade in/out */
.dateka-ticker__mask {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.dateka-ticker__mask--fade {
	mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

/* Marquee track */
.dateka-ticker__track {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	animation: dateka-ticker-marquee-left 28s linear infinite;
	will-change: transform;
}

.dateka-ticker__track--reverse {
	animation: dateka-ticker-marquee-right 28s linear infinite;
}

/* Pause on hover */
.dateka-ticker--pause-hover:hover .dateka-ticker__track {
	animation-play-state: paused;
}

@keyframes dateka-ticker-marquee-left {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@keyframes dateka-ticker-marquee-right {
	0% {
		transform: translateX(-50%);
	}
	100% {
		transform: translateX(0);
	}
}

/* Individual Item Pill / Card */
.dateka-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 22px;
	border-radius: 30px;
	background-color: #ffffff;
	border: 1px solid rgba(0, 39, 85, 0.08);
	box-shadow: 0 4px 16px rgba(0, 39, 85, 0.04);
	color: var(--dateka-navy, #002755);
	text-decoration: none !important;
	box-sizing: border-box;
	flex-shrink: 0;
	transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
	will-change: transform;
}

.dateka-ticker__item--link {
	cursor: pointer;
}

.dateka-ticker__item:hover {
	border-color: rgba(201, 144, 72, 0.5);
	background-color: #ffffff;
	box-shadow: 0 10px 28px rgba(0, 39, 85, 0.08), 0 0 12px rgba(201, 144, 72, 0.2);
	transform: translateY(-3px) scale(1.02);
}

/* Icon Badge */
.dateka-ticker__icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 50%;
	transition: transform 220ms ease;
}

.dateka-ticker__icon {
	color: var(--dateka-navy, #002755);
	font-size: 1.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 220ms ease, transform 220ms ease;
}

.dateka-ticker__icon svg {
	width: 1.35rem;
	height: 1.35rem;
	fill: currentColor;
}

.dateka-ticker__item:hover .dateka-ticker__icon {
	color: var(--dateka-gold, #C99048);
	transform: scale(1.15);
}

/* Text Content */
.dateka-ticker__content-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.dateka-ticker__text {
	color: var(--dateka-navy, #002755);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	transition: color 220ms ease;
	white-space: nowrap;
}

.dateka-ticker__item:hover .dateka-ticker__text {
	color: var(--dateka-gold, #C99048);
}

.dateka-ticker__subtext {
	color: var(--dateka-blue, #456183);
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	margin-top: 2px;
	white-space: nowrap;
}

/* ─────────────────────────────────────
   RESPONSIVE — Tablet & Mobile
───────────────────────────────────── */
@media (max-width: 1024px) {
	.dateka-ticker {
		padding: 18px 0;
	}
	.dateka-ticker__track {
		gap: 36px;
	}
	.dateka-ticker__item {
		padding: 8px 18px;
	}
	.dateka-ticker__text {
		font-size: 0.8125rem;
	}
}

@media (max-width: 767px) {
	.dateka-ticker {
		padding: 16px 0;
	}
	.dateka-ticker__track {
		gap: 24px;
	}
	.dateka-ticker__item {
		padding: 7px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dateka-ticker__track {
		animation: none !important;
	}
	.dateka-ticker__item {
		transition: none !important;
	}
}
