/*
 * Flash News ticker — colors/border pulled directly from the original
 * tp-dynamic-smart-showcase widget's own saved settings (label #FABC2A
 * on #4C5594, content text #4C5594, border 2px #656EAF, radius 5px),
 * not invented. See wp-content/PATCHES/2026-08-11-flash-news-ticker.md
 *
 * Revised 2026-08-12 (round 1): switched from one-at-a-time crossfade to
 * a continuous horizontal left-to-right scroll (same treatment as
 * Recent Appointments) — see
 * wp-content/PATCHES/2026-08-12-happenings-row-and-flash-scroll.md.
 *
 * Revised 2026-08-12 (round 2): added visible manual left/right arrow
 * buttons — see wp-content/PATCHES/2026-08-12-scroll-arrows.md. Now
 * wrapped in the shared `.pu-scroll-nav` container (pu-scroll-nav.css/
 * .js) instead of the old CSS-transform-loop viewport/track, since
 * arrow buttons need a real scroll position to act on. Only the chip/
 * label styling below is Flash-News-specific; the scroll/arrow
 * mechanics live in pu-scroll-nav.css.
 */

.pu-flash-ticker {
	display: flex;
	align-items: stretch;
	border: 2px solid #656EAF;
	border-radius: 5px;
	overflow: hidden;
	background: transparent;
	min-height: 38px;
}

.pu-flash-ticker .pu-scroll-nav {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 8px;
}

.pu-flash-ticker-label {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: #4C5594;
	color: #FABC2A;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.pu-flash-ticker-row {
	display: flex;
	flex-direction: row;
	flex: 0 0 auto; /* don't let the track's flex compress this — it needs
	                   to keep its natural width so the track can scroll */
	align-items: center;
	gap: 28px;
}

.pu-flash-ticker-chip {
	display: inline-flex;
	align-items: center;
	color: #4C5594;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.pu-flash-ticker-chip::before {
	content: "\25CF"; /* small bullet separator, matches the site's existing indigo/gold dot motifs */
	font-size: 6px;
	color: #FABC2A;
	margin-right: 10px;
}

.pu-flash-ticker-chip:first-child::before {
	display: none;
}

.pu-flash-ticker-chip:hover,
.pu-flash-ticker-chip:focus {
	text-decoration: underline;
}

@media (max-width: 480px) {
	.pu-flash-ticker-label {
		padding: 0 10px;
		font-size: 11px;
	}
	.pu-flash-ticker-chip {
		font-size: 12px;
	}
	.pu-flash-ticker-row {
		gap: 20px;
	}
}
