/*!
 * fa-timeline - a headline strip, not a card.
 * Palette from the live site's Elementor globals: primary #0A3D62,
 * accent #245897, plus the flag red and gold already in use.
 */
.fatl {
	--fatl-navy:      #0A3D62;
	--fatl-navy-deep: #072c47;
	--fatl-navy-ink:  #05223a;
	--fatl-blue:      #245897;
	--fatl-gold:      #f2a814;
	--fatl-red:       #b22234;
	--fatl-ink:       #0f2236;

	font-family: inherit;
	position: relative;
	background: linear-gradient(100deg, var(--fatl-navy) 0%, var(--fatl-navy-deep) 55%, var(--fatl-navy-ink) 100%);
	color: #fff;
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--fatl-red) 0 33%, #fff 33% 66%, var(--fatl-blue) 66% 100%) 1;
	container-type: inline-size;
}
.fatl *, .fatl *::before, .fatl *::after { box-sizing: border-box; }

.fatl__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 11px 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

/* ---- the clock ---- */
.fatl__clock { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.fatl__dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--fatl-gold);
	flex: 0 0 7px; animation: fatl-pulse 2.4s infinite;
}
@keyframes fatl-pulse { 0%{box-shadow:0 0 0 0 rgba(242,168,20,.65)} 70%{box-shadow:0 0 0 8px rgba(242,168,20,0)} 100%{box-shadow:0 0 0 0 rgba(242,168,20,0)} }
@media (prefers-reduced-motion: reduce) { .fatl__dot { animation: none; } }
.fatl__klab {
	font-size: .62rem; letter-spacing: .13em; text-transform: uppercase;
	opacity: .72; white-space: nowrap; font-weight: 600;
}
.fatl__time {
	font-size: 1.02rem; font-weight: 800; color: var(--fatl-gold);
	font-variant-numeric: tabular-nums; white-space: nowrap;
	font-feature-settings: "tnum" 1; letter-spacing: .01em;
}

/* ---- the detail line ---- */
.fatl__detail {
	flex: 1 1 320px; min-width: 240px; margin: 0;
	font-size: .86rem; line-height: 1.45; opacity: .95;
}
.fatl__detail b, .fatl__detail strong { color: #fff; font-weight: 700; }
.fatl__detail .fatl__sep { opacity: .48; padding: 0 5px; font-weight: 400; }
.fatl__detail.is-warn   { color: #ffd9a1; }
.fatl__detail.is-warn b { color: #ffd9a1; }
.fatl__detail.is-bad    { color: #ffc0c6; }
.fatl__detail.is-bad b  { color: #fff; }

/* ---- the controls ---- */
.fatl__ctl { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; flex-wrap: wrap; }
.fatl__ctl select, .fatl__ctl input[type="date"] {
	font: inherit; font-size: .82rem; color: #fff;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.26);
	border-radius: 7px; padding: 7px 10px; min-height: 36px;
	-webkit-appearance: none; appearance: none;
}
.fatl__ctl select {
	padding-right: 26px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23ffffff' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 9px center;
}
.fatl__ctl select option { color: #11263c; background: #fff; }
.fatl__ctl input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .8; cursor: pointer; }
.fatl__ctl select:focus-visible, .fatl__ctl input:focus-visible {
	outline: 2px solid var(--fatl-gold); outline-offset: 1px;
}
.fatl__ctl select:hover, .fatl__ctl input[type="date"]:hover { background: rgba(255,255,255,.16); }

/* screen-reader-only labels: the strip is too tight for visible ones */
.fatl__sr {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---- narrow ---- */
@container (max-width: 860px) {
	.fatl__inner { gap: 10px 14px; padding: 11px 16px; }
	.fatl__detail { flex-basis: 100%; order: 3; font-size: .82rem; }
	.fatl__ctl { order: 2; margin-left: auto; }
}
/* Phone. The strip sits between the phone bar and the logo bar, so every
   pixel here pushes the real header down the screen. Three tight rows:
   clock, detail, controls - aiming for well under half what the desktop
   layout costs when it simply wraps. */
@container (max-width: 520px) {
	.fatl__inner { padding: 8px 14px; gap: 6px; }
	.fatl__clock { flex-basis: 100%; gap: 7px; }
	.fatl__klab  { font-size: .56rem; letter-spacing: .1em; }
	.fatl__time  { font-size: .94rem; margin-left: auto; }
	.fatl__detail { flex-basis: 100%; font-size: .76rem; line-height: 1.4; }
	.fatl__detail .fatl__sep { padding: 0 3px; }
	.fatl__ctl { margin-left: 0; width: 100%; gap: 6px; }
	.fatl__ctl select, .fatl__ctl input[type="date"] {
		flex: 1 1 0; min-width: 0; font-size: .76rem;
		padding: 6px 9px; min-height: 32px;
	}
	.fatl__ctl select { padding-right: 22px; background-position: right 7px center; }
	/* The service select only ever says Federal or State, so it needs far less
	   room than the mode one. */
	.fatl__ctl select[data-fatl-service] { flex: 0 0 auto; width: auto; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 860px) {
		.fatl__detail { flex-basis: 100%; order: 3; font-size: .82rem; }
		.fatl__ctl { order: 2; margin-left: auto; }
	}
	@media (max-width: 520px) {
		.fatl__inner { padding: 8px 14px; gap: 6px; }
		.fatl__clock { flex-basis: 100%; gap: 7px; }
		.fatl__klab  { font-size: .56rem; letter-spacing: .1em; }
		.fatl__time  { font-size: .94rem; margin-left: auto; }
		.fatl__detail { flex-basis: 100%; font-size: .76rem; line-height: 1.4; }
		.fatl__ctl { margin-left: 0; width: 100%; gap: 6px; }
		.fatl__ctl select, .fatl__ctl input[type="date"] {
			flex: 1 1 0; min-width: 0; font-size: .76rem; padding: 6px 9px; min-height: 32px;
		}
		.fatl__ctl select[data-fatl-service] { flex: 0 0 auto; width: auto; }
	}
}
