/* Phase 6 — homepage magazine. Prefix: bk-phase06. Front page only. No JS. */

.home .bk-phase06 {
	--bk-phase06-green: #176d02;
	--bk-phase06-green-dark: #16382a;
	--bk-phase06-text: #202723;
	--bk-phase06-muted: #66736c;
	--bk-phase06-border: #e8ece9;
	background: #fff;
	padding: 8px 16px 48px;
	overflow-x: hidden;
}

.home .bk-phase06__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.home .bk-phase06__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 22px;
}

.home .bk-phase06__title {
	margin: 0 0 8px;
	color: var(--bk-phase06-text);
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	font-weight: 800;
	line-height: 1.5;
}

.home .bk-phase06__lead {
	margin: 0;
	color: var(--bk-phase06-muted);
	font-size: 14px;
	line-height: 1.8;
}

.home .bk-phase06__all {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--bk-phase06-green);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.home .bk-phase06__all:hover,
.home .bk-phase06__all:focus-visible {
	color: var(--bk-phase06-green-dark);
	text-decoration: underline;
}

.home .bk-phase06__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-auto-rows: 1fr;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.home .bk-phase06__item {
	min-width: 0;
	display: flex;
	align-self: stretch;
	margin: 0;
}

.home .bk-phase06-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	background: #fff;
	border: 1px solid var(--bk-phase06-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgb(22 56 42 / 5%);
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home .bk-phase06-card:hover {
	border-color: #d9e1dc;
	box-shadow: 0 8px 18px rgb(22 56 42 / 8%);
	transform: translateY(-2px);
}

.home .bk-phase06-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: #eef2ef;
	overflow: hidden;
}

.home .bk-phase06-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home .bk-phase06-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 8px;
	padding: 16px;
}

.home .bk-phase06-card__tag {
	margin: 0;
	color: var(--bk-phase06-green);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.home .bk-phase06-card__date {
	display: block;
	color: var(--bk-phase06-muted);
	font-size: 12.5px;
	line-height: 1.4;
}

.home .bk-phase06-card__title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.55;
	min-height: calc(1.55em * 3);
}

.home .bk-phase06-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--bk-phase06-text);
	text-decoration: none;
}

.home .bk-phase06-card__excerpt {
	margin: 0;
	color: var(--bk-phase06-muted);
	font-size: 13.5px;
	line-height: 1.8;
	min-height: calc(1.8em * 3);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home .bk-phase06-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
	min-height: 44px;
	color: var(--bk-phase06-green);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
}

.home .bk-phase06-card__cta:hover,
.home .bk-phase06-card__cta:focus-visible {
	color: var(--bk-phase06-green-dark);
}

.home .bk-phase06-card__icon {
	display: inline-flex;
}

.home .bk-phase06__all:focus-visible,
.home .bk-phase06-card__media:focus-visible,
.home .bk-phase06-card__title a:focus-visible,
.home .bk-phase06-card__cta:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgb(23 109 2 / 28%);
}

@media (min-width: 768px) {
	.home .bk-phase06__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.home .bk-phase06__list--three .bk-phase06__item:last-child {
		grid-column: 1 / -1;
		width: calc((100% - 18px) / 2);
		justify-self: center;
	}

	.home .bk-phase06-card__body {
		padding: 18px;
	}
}

@media (min-width: 1024px) {
	.home .bk-phase06__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home .bk-phase06__list--three .bk-phase06__item:last-child {
		grid-column: auto;
		width: auto;
		justify-self: stretch;
	}

}

@media (prefers-reduced-motion: reduce) {
	.home .bk-phase06-card {
		transition: none;
	}

	.home .bk-phase06-card:hover {
		transform: none;
	}
}
