.bdh-editorial-grid {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.bdh-editorial-grid__item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
}

.bdh-editorial-grid--stacked .bdh-editorial-grid__item {
	grid-template-columns: 1fr;
}

.bdh-editorial-grid--compact .bdh-editorial-grid__item {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.bdh-editorial-grid__item--reverse {
	direction: rtl;
}

.bdh-editorial-grid__item--reverse > * {
	direction: ltr;
}

.bdh-editorial-grid__image {
	min-height: 280px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bdh-editorial-grid__image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: inherit;
}

.bdh-editorial-grid__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bdh-editorial-grid__eyebrow,
.bdh-editorial-grid__title,
.bdh-editorial-grid__description,
.bdh-editorial-grid__link {
	margin: 0;
}

.bdh-editorial-grid__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: fit-content;
	transition-property: color, background-color, border-color, box-shadow, transform;
}

.bdh-editorial-grid__link:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.bdh-editorial-grid__item {
		grid-template-columns: 1fr;
	}

	.bdh-editorial-grid--mobile-image-bottom .bdh-editorial-grid__image {
		order: 2;
	}

	.bdh-editorial-grid__image {
		min-height: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bdh-editorial-grid__link {
		transition-duration: 0s !important;
	}
}
