/* BaAlawi bounded UX polish release, 16 Sep 2026. */
.ba-page-intro::after,
.ba-archive-intro::after,
.ba-search-intro::after,
.ba-article-header::after {
	content: none !important;
	display: none !important;
}

.ba-about-shell .ba-page-intro,
.ba-contact-shell .ba-page-intro,
.ba-contribute-shell .ba-page-intro,
.ba-places-shell .ba-page-intro,
.ba-archive-intro,
.ba-search-intro,
.ba-article-header {
	border-left: 0;
}

.ba-account-utility {
	display: flex;
	align-items: center;
}

.ba-account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--forest-dark) 22%, transparent);
	border-radius: 999px;
	color: var(--wp--preset--color--forest-dark);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.ba-account-link:hover,
.ba-account-link:focus-visible {
	border-color: var(--wp--preset--color--clay);
	color: var(--wp--preset--color--clay);
}

body:not(.logged-in) .ba-account-link--account,
body.logged-in .ba-account-link--signin {
	display: none;
}

.ba-rotating-biographies .wp-block-post-template > :nth-child(n+4),
.ba-rotating-families .wp-block-post-template > :nth-child(n+5),
.ba-home-video__rail > .ba-home-video__card:nth-child(n+5) {
	display: none;
}

.ba-contribute-live-panel {
	box-sizing: border-box;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--forest-dark) 13%, transparent);
	border-radius: 1rem;
	background: color-mix(in srgb, var(--wp--preset--color--white) 94%, var(--wp--preset--color--ivory));
	box-shadow: var(--ba-shadow-soft);
}

.ba-contribute-live-panel .wp-block-buttons {
	justify-content: flex-start;
}

body.logged-in .ba-contribute-action--join,
body.logged-in .ba-contribute-signin {
	display: none;
}

@media (max-width: 1100px) {
	.ba-account-link {
		min-height: 2.75rem;
		padding: 0.5rem 0.72rem;
		font-size: 0.82rem;
	}
}
