/* =========================================================
   FOUNDRY INTELLIGENCE BULLETIN
   Global, dismissible signal bar above the GeneratePress header.
   ========================================================= */

.fds-intelligence-bulletin[hidden] {
	display: none !important;
}

.fds-intelligence-bulletin {
	position: relative;
	z-index: 999;
	width: 100%;
	min-height: 42px;
	background: var(--fds-patina, #5e8b80);
	color: #fff;
	font-family: var(--fds-font-body, "Archivo", Arial, sans-serif);
}

.fds-intelligence-bulletin__inner {
	width: min(calc(100% - 3rem), var(--fds-header-width, 1320px));
	min-height: 42px;
	margin-inline: auto;
	padding: 8px 44px 8px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.fds-intelligence-bulletin__label {
	font-family: var(--fds-font-heading, Archivo, Arial, sans-serif);
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.fds-intelligence-bulletin__dot {
	width: 4px;
	height: 4px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: rgba(255, 255, 255, .65);
}

.fds-intelligence-bulletin__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: .72rem;
	line-height: 1.35;
	text-decoration: none;
}

.fds-intelligence-bulletin__link:hover,
.fds-intelligence-bulletin__link:focus {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.fds-intelligence-bulletin__link strong {
	font-weight: 700;
}

.fds-intelligence-bulletin__arrow {
	font-size: .9rem;
	transition: transform var(--fds-transition-fast, 160ms ease);
}

.fds-intelligence-bulletin__link:hover .fds-intelligence-bulletin__arrow {
	transform: translateX(3px);
}

.fds-intelligence-bulletin__dismiss {
	position: absolute;
	right: max(1rem, calc((100vw - var(--fds-header-width, 1320px)) / 2));
	top: 50%;
	width: 30px;
	height: 30px;
	padding: 0;
	display: grid;
	place-items: center;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background var(--fds-transition-fast, 160ms ease);
}

.fds-intelligence-bulletin__dismiss:hover,
.fds-intelligence-bulletin__dismiss:focus {
	border-color: rgba(255, 255, 255, .65);
	background: rgba(30, 32, 31, .16);
	color: #fff;
}

@media (max-width: 760px) {
	.fds-intelligence-bulletin__inner {
		width: 100%;
		padding: 9px 52px 9px 16px;
		justify-content: flex-start;
	}

	.fds-intelligence-bulletin__label,
	.fds-intelligence-bulletin__dot {
		display: none;
	}

	.fds-intelligence-bulletin__link {
		font-size: .68rem;
	}

	.fds-intelligence-bulletin__dismiss {
		right: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fds-intelligence-bulletin * {
		transition: none !important;
	}
}
