/* =====================================================================
 * Launch-offer announcement bar — v0.11.63
 *
 * Rendered at wp_body_open by inc/hooks-promo.php, above the site
 * header. Gold band with navy text — the brand "action" colour, kept
 * distinct from the navy header directly below it. Loaded only while a
 * promo is live (conditional enqueue in inc/enqueue.php).
 * ===================================================================== */
.ca-promo-bar {
	background: var(--gold, #FF9B03);
	color: var(--navy, #122B69);
	font-family: var(--font-body, system-ui, sans-serif);
}
.ca-promo-bar[hidden] {
	display: none;
}
.ca-promo-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	padding: 9px 44px 9px 16px; /* right padding keeps text clear of the dismiss button */
	position: relative;
}
.ca-promo-bar-text {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}
.ca-promo-bar-tag {
	display: inline-block;
	margin-right: 8px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--navy, #122B69);
	color: #fff; /* white > gold here: crisper on the navy chip, matches the CTA */
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.ca-promo-bar-cta {
	flex: 0 0 auto;
	padding: 7px 16px;
	border-radius: var(--radius-sm, 8px);
	background: var(--navy, #122B69);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}
.ca-promo-bar-cta:hover,
.ca-promo-bar-cta:focus-visible {
	background: var(--navy-light, #1A3A8A);
	color: #fff;
}
.ca-promo-bar-dismiss {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(18, 43, 105, 0.12); /* faint navy tint — gives the X a button shape */
	color: var(--navy, #122B69);
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.9;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}
.ca-promo-bar-dismiss:hover,
.ca-promo-bar-dismiss:focus-visible {
	opacity: 1;
	background: rgba(18, 43, 105, 0.22);
}

@media (max-width: 600px) {
	.ca-promo-bar-inner {
		gap: 8px;
		padding: 8px 44px 8px 12px; /* right padding clears the 28px dismiss button */
	}
	.ca-promo-bar-text {
		font-size: 0.8rem;
	}
	.ca-promo-bar-cta {
		font-size: 0.8rem;
		padding: 6px 13px;
	}
}
