/*
 * Announcement banner (functions/content/announcement.php) — brand-yellow
 * campaign strip at the very top of the page, above the header's dark USP bar.
 * Yellow surface keeps ink text in BOTH themes (brand rule, tokens.css).
 * Sharp corners throughout; CTA = compact ink chip in the top-bar mono
 * grammar; close = quiet ghost square at the right edge.
 */

.sisa-banner {
	background: var(--sisa-yellow);
	color: var(--sisa-yellow-ink);
	overflow: hidden;
	transition: height .25s ease, opacity .25s ease;
}
.sisa-banner.is-dismissing { opacity: 0; }

.sisa-banner__in {
	position: relative;
	max-width: var(--sisa-container);
	margin-inline: auto;
	box-sizing: border-box;
	min-height: 42px;
	padding: 8px var(--sisa-pad);
	padding-right: calc(var(--sisa-pad) + 40px); /* room for the close button */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 16px;
	text-align: center;
}

.sisa-banner__text {
	margin: 0;
	font-family: var(--sisa-body);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .1px;
	color: var(--sisa-yellow-ink);
}
.sisa-banner__text strong,
.sisa-banner__text b { font-weight: 700; }

/* Text-as-link variant (link set, no button label). */
a.sisa-banner__text--link {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(26, 26, 26, .45);
}
a.sisa-banner__text--link:hover {
	color: var(--sisa-yellow-ink);
	text-decoration-color: var(--sisa-yellow-ink);
}

/* CTA — compact ink chip, mono uppercase (top-bar grammar). */
.sisa-banner__cta {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	background: var(--sisa-emphasis);
	color: var(--sisa-on-emphasis);
	font-family: var(--sisa-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	border-radius: 0;
}
.sisa-banner__cta:hover { background: var(--sisa-emphasis-line); color: var(--sisa-on-emphasis); }

/* Close — ghost square, right edge. */
.sisa-banner__close {
	position: absolute;
	top: 50%;
	right: calc(var(--sisa-pad) - 6px);
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
	color: var(--sisa-yellow-ink);
	opacity: .6;
	transition: opacity .12s;
}
.sisa-banner__close:hover { opacity: 1; background: transparent; }
.sisa-banner__close svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

@media (max-width: 689.98px) {
	.sisa-banner__in {
		justify-content: flex-start;
		text-align: left;
	}
	.sisa-banner__text { font-size: 12.5px; }
}
