/*
Theme Name: Hello Elementor Child – CF Corbetta
Template: hello-elementor
Version: 1.0.0
Description: Child theme per CF Medical Group Corbetta (barra Novità, toggle bio staff, import immagini).
*/

/* Barra Novità del footer (markup dello shortcode [cf_novita]) */
.cf-ticker {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%);
}
.cf-ticker__track {
	display: flex;
	width: max-content;
	padding: 15px 0;
	animation: cfTicker 48s linear infinite;
}
.cf-ticker:hover .cf-ticker__track { animation-play-state: paused; }
.cf-ticker .cf-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 0 34px;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
	white-space: nowrap;
	border-right: 1px solid rgba(255, 255, 255, .14);
}
.cf-ticker a.cf-ticker__item:hover, .cf-ticker a.cf-ticker__item:focus { color: #fff; }
a.cf-ticker__item:hover .cf-ticker__text { text-decoration: underline; }
.cf-ticker__tag {
	font-size: 11.5px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--e-global-color-secondary, #2fa6de);
}
.cf-ticker__arr { color: var(--e-global-color-cfsky, #7fc6ec); }
@keyframes cfTicker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .cf-ticker__track { animation: none; } }
