/* BBA Article template only. The post's native Gutenberg blocks stay editable. */
body.bba-article-template #page,
body.bba-article-template .site.grid-container,
body.bba-article-template #content,
body.bba-article-template .site-content {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 0;
}
body.bba-article-template #content { display: block; }
body.bba-article-template .bba-news-page {
	--bba-news-navy: #0b2a45;
	--bba-news-text: #172332;
	--bba-news-line: #b9cbd9;
	background: #eef3f7;
	color: var(--bba-news-text);
	font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.bba-news-page *,
.bba-news-page *::before,
.bba-news-page *::after { box-sizing: border-box; }
.bba-news-container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 24px;
}
.bba-news-hero {
	padding: 18px 0 22px;
	background: var(--bba-news-navy);
	color: #fff;
}
.bba-news-hero .bba-news-breadcrumbs {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
}
.bba-news-hero .bba-news-breadcrumbs a { color: #dbeaf6; text-decoration: none; }
.bba-news-hero .bba-news-breadcrumbs a:hover { text-decoration: underline; }
.bba-news-page .bba-news-title {
	max-width: 1120px;
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(25px, 2.55vw, 35px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: normal;
}
.bba-news-hero .bba-news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 10px;
	row-gap: 4px;
	margin: 12px 0 0;
	color: #e1ecf6;
	font-size: 15px;
	line-height: 1.5;
}
.bba-news-hero .bba-news-meta a {
	color: #e1ecf6;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bba-news-hero .bba-news-meta a:hover { color: #fff; }
.bba-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	align-items: start;
	gap: 26px;
	padding-block: 26px 40px;
}
.bba-news-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.bba-news-main,
.bba-news-sidebar { min-width: 0; width: 100%; }
body.bba-article-template .bba-news-article {
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--bba-news-line);
	border-radius: 8px;
}
/* Override the site's legacy mobile .entry-content negative margins. */
body.bba-article-template .bba-news-article > .entry-content {
	display: flow-root;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0 !important;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}
/* Existing Summary boxes include an inline top margin. */
body.bba-article-template .bba-news-article > .entry-content > :first-child { margin-top: 0 !important; }
.bba-news-article .entry-content > :last-child { margin-bottom: 0; }
.bba-news-article p { margin: 0 0 18px; }
.bba-news-page :is(h2, h3, h4, h5, h6) {
	color: var(--bba-news-navy);
	font-family: inherit;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
}
.bba-news-article h2 { margin: 28px 0 12px; font-size: clamp(23px, 2.1vw, 28px); }
.bba-news-article :is(h3, h4, h5, h6) { margin: 24px 0 10px; font-size: 21px; }
.bba-news-article a { color: #0a58a0; text-underline-offset: 3px; }
.bba-news-article :is(ul, ol) { margin: 0 0 20px; padding-left: 25px; }
.bba-news-article li + li { margin-top: 7px; }
.bba-news-article :is(img, video, iframe, svg) { max-width: 100%; }
.bba-news-article :is(img, video) { height: auto; }
.bba-news-article :is(.wp-block-image, .bba-news-featured) { margin: 22px 0; }
.bba-news-article .bba-news-featured:first-child { margin-top: 0; }
.bba-news-article :is(.wp-block-image img, .bba-news-featured__image) {
	display: block;
	border-radius: 6px;
}
.bba-news-article .bba-news-featured__image { width: 100%; }
.bba-news-article figcaption { font-size: 14px; color: #4b5d6d; }
.bba-news-article :is(.wp-block-table, pre) { max-width: 100%; overflow-x: auto; }
.bba-news-article table { width: 100%; border-collapse: collapse; }
.bba-news-article :is(th, td) { padding: 10px 12px; border: 1px solid #c4d3df; vertical-align: top; }
.bba-news-article th { background: #eaf2f8; text-align: left; }
.bba-news-latest {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--bba-news-line);
	border-radius: 8px;
}
.bba-news-latest h2 {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #75b9e6;
	font-size: 24px;
}
.bba-news-latest ul { margin: 0; padding: 0; list-style: none; }
.bba-news-latest li + li { margin-top: 16px; padding-top: 16px; border-top: 1px solid #d6e0e8; }
.bba-news-latest__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--bba-news-navy);
	text-decoration: none;
}
.bba-news-latest__image {
	flex: 0 0 80px;
	width: 80px;
	height: 66px;
	object-fit: cover;
	border-radius: 4px;
}
.bba-news-latest__text { flex: 1; min-width: 0; }
.bba-news-latest__title { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
.bba-news-latest__item:hover .bba-news-latest__title { text-decoration: underline; }
.bba-news-latest time { display: block; margin-top: 6px; color: #566572; font-size: 13px; line-height: 1.4; }
.bba-news-page a:focus-visible { outline: 2px solid #3187c3; outline-offset: 3px; }
.bba-news-hero a:focus-visible { outline-color: #fff; }
@media (max-width: 900px) {
	.bba-news-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.bba-news-latest__image { flex-basis: 90px; width: 90px; height: 70px; }
}
@media (max-width: 600px) {
	.bba-news-container { padding-inline: 16px; }
	.bba-news-hero { padding-block: 14px 18px; }
	.bba-news-hero .bba-news-breadcrumbs { margin-bottom: 10px; font-size: 13px; }
	.bba-news-page .bba-news-title { font-size: 25px; }
	.bba-news-hero .bba-news-meta { font-size: 14px; column-gap: 8px; }
	.bba-news-layout { padding-block: 18px 28px; }
	body.bba-article-template .bba-news-article { padding: 18px 16px; }
	.bba-news-page { font-size: 16px; }
	.bba-news-article h2 { margin-top: 24px; }
	.bba-news-article :is(th, td) { padding: 8px; }
}
@media (max-width: 380px) {
	.bba-news-hero .bba-news-meta { display: block; }
	.bba-news-meta > span { display: block; }
	.bba-news-meta .bba-news-meta__separator { display: none; }
}
