:root {
	--bbs-navy: #142f54;
	--bbs-red: #c9212e;
	--bbs-ink: #27303f;
	--bbs-muted: #697386;
	--bbs-line: #e2e7ee;
	--bbs-surface: #f5f7fa;
}

.bbs-ib-news,
.bbs-ib-single {
	color: var(--bbs-ink);
	font-family: inherit;
}

.bbs-ib-news {
	max-width: 1180px;
	margin: 0 auto;
	padding: 72px 24px 88px;
}

.bbs-ib-news__intro {
	max-width: 760px;
	margin-bottom: 40px;
}

.bbs-ib-news__eyebrow {
	margin: 0 0 8px;
	color: var(--bbs-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bbs-ib-news__intro h2,
.bbs-ib-single__header h1 {
	margin: 0 0 14px;
	color: var(--bbs-navy);
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 700;
	line-height: 1.05;
}

.bbs-ib-news__intro > p:last-child {
	margin: 0;
	color: var(--bbs-muted);
	font-size: 18px;
	line-height: 1.7;
}

.bbs-ib-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.bbs-ib-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--bbs-line);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(20, 47, 84, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.bbs-ib-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(20, 47, 84, .13);
}

.bbs-ib-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bbs-navy);
}

.bbs-ib-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.bbs-ib-card:hover .bbs-ib-card__image img {
	transform: scale(1.035);
}

.bbs-ib-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	letter-spacing: .08em;
}

.bbs-ib-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.bbs-ib-card time,
.bbs-ib-single time {
	color: var(--bbs-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.bbs-ib-card h2 {
	margin: 10px 0 12px;
	font-size: 23px;
	line-height: 1.25;
}

.bbs-ib-card h2 a {
	color: var(--bbs-navy);
	text-decoration: none;
}

.bbs-ib-card__body > p {
	margin: 0 0 22px;
	color: var(--bbs-muted);
	line-height: 1.65;
}

.bbs-ib-card__more {
	margin-top: auto;
	color: var(--bbs-red);
	font-weight: 700;
	text-decoration: none;
}

.bbs-ib-news__empty {
	padding: 52px 28px;
	border: 1px solid var(--bbs-line);
	background: var(--bbs-surface);
	text-align: center;
}

.bbs-ib-home-preview {
	padding: 84px 24px;
	background: var(--bbs-surface);
}

.bbs-ib-home-preview__section-title {
	max-width: 1180px;
	margin: 0 auto 42px;
	color: var(--bbs-navy);
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
}

.bbs-ib-home-preview__inner {
	display: grid;
	max-width: 1180px;
	margin: 0 auto;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
	align-items: center;
	gap: clamp(36px, 6vw, 76px);
}

.bbs-ib-home-preview__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bbs-navy);
	box-shadow: 0 18px 42px rgba(20, 47, 84, .15);
}

.bbs-ib-home-preview__media > a,
.bbs-ib-home-preview__media img {
	display: block;
	width: 100%;
	height: 100%;
}

.bbs-ib-home-preview__media img {
	object-fit: cover;
	transition: transform .35s ease;
}

.bbs-ib-home-preview__media:hover img {
	transform: scale(1.025);
}

.bbs-ib-home-preview__content time {
	color: var(--bbs-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.bbs-ib-home-preview__content h2 {
	margin: 12px 0 18px;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.12;
}

.bbs-ib-home-preview__content h2 a {
	color: var(--bbs-navy);
	text-decoration: none;
}

.bbs-ib-home-preview__content > p:not(.bbs-ib-news__eyebrow) {
	margin: 0 0 28px;
	color: var(--bbs-muted);
	font-size: 17px;
	line-height: 1.75;
}

.bbs-ib-home-preview__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 24px;
}

.bbs-ib-home-preview__primary {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	padding: 0 22px;
	background: var(--bbs-red);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.bbs-ib-home-preview__primary:hover,
.bbs-ib-home-preview__primary:focus {
	background: var(--bbs-navy);
	color: #fff;
}

.bbs-ib-home-preview__all {
	color: var(--bbs-navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bbs-ib-news__pagination {
	margin-top: 48px;
}

.bbs-ib-news__pagination .page-numbers {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.bbs-ib-news__pagination a,
.bbs-ib-news__pagination span {
	display: grid;
	min-width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid var(--bbs-line);
	color: var(--bbs-navy);
	text-decoration: none;
}

.bbs-ib-news__pagination .current {
	border-color: var(--bbs-navy);
	background: var(--bbs-navy);
	color: #fff;
}

.bbs-ib-single {
	padding: 92px 24px 88px;
}

.bbs-ib-single__article {
	max-width: 900px;
	margin: 0 auto;
}

.bbs-ib-single__back {
	display: inline-block;
	margin-bottom: 32px;
	color: var(--bbs-red);
	font-weight: 700;
	text-decoration: none;
}

.bbs-ib-single__header {
	margin-bottom: 32px;
}

.bbs-ib-single__header h1 {
	font-size: clamp(34px, 5vw, 58px);
}

.bbs-ib-single__image {
	margin: 0 0 40px;
}

.bbs-ib-single__image img {
	display: block;
	width: 100%;
	height: auto;
}

.bbs-ib-single__content {
	font-size: 18px;
	line-height: 1.8;
}

.bbs-ib-single__content > * {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 900px) {
	.bbs-ib-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bbs-ib-home-preview__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.bbs-ib-news,
	.bbs-ib-single,
	.bbs-ib-home-preview {
		padding: 48px 18px 64px;
	}

	.bbs-ib-news__grid {
		grid-template-columns: 1fr;
	}

	.bbs-ib-card__body {
		padding: 20px;
	}
}
