.kw-covers {
	display: block;
	margin: 18px 0;
}

.kw-covers-intro {
	margin: 0 0 14px;
}

.kw-covers-intro > :first-child {
	margin-top: 0;
}

.kw-covers-intro > :last-child {
	margin-bottom: 0;
}

.kw-covers-jump {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 32px;
	padding: 8px 0;
	border-top: 1px solid #d7dde3;
	border-bottom: 1px solid #d7dde3;
	background: transparent;
}

.kw-covers-jump-title {
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	color: #111820;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.kw-covers-jump-links {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 10px 22px;
	min-width: 0;
}

.kw-covers-jump-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111820;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .16s ease;
}

.kw-covers-jump-link::before {
	content: "";
	flex: 0 0 auto;
	width: 5px;
	height: 5px;
	background: #c40016;
}

.kw-covers-jump-link:hover,
.kw-covers-jump-link:focus {
	background: transparent;
	color: #c40016;
	text-decoration: underline;
	text-decoration-color: #c40016;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.kw-covers-grid {
	display: grid;
	grid-template-columns: repeat(var(--kw-covers-cols, 4), minmax(0, 1fr));
	gap: max(14px, var(--kw-covers-gap, 14px));
	align-items: stretch;
}

.kw-covers-section-heading {
	grid-column: 1 / -1;
	scroll-margin-top: 84px;
	margin: 22px 0 4px;
	padding: 0 0 14px;
	border-bottom: 2px solid #c90812;
	color: #101820;
	font-size: 16px;
	line-height: 1.45;
}

.kw-covers-heading-text-below {
	padding: 14px 0 4px;
	border-top: 2px solid #c90812;
	border-bottom: 0;
}

.kw-covers-grid > .kw-covers-section-heading:first-child {
	margin-top: 0;
}

.kw-covers-grid > .kw-covers-heading-text-below:first-child {
	padding-top: 0;
	border-top: 0;
}

.kw-covers-section-heading > :first-child {
	margin-top: 0;
}

.kw-covers-section-heading > :last-child {
	margin-bottom: 0;
}

.kw-covers-section-heading h1,
.kw-covers-section-heading h2,
.kw-covers-section-heading h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
}

.kw-covers-item {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	padding: 0;
	border: 1px solid #d9e0e7;
	border-radius: 5px;
	background: #fff;
	color: inherit;
	overflow: hidden;
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

a.kw-covers-item:hover,
a.kw-covers-item:focus {
	border-color: #b6c1cb;
	box-shadow: 0 10px 24px rgba(16, 24, 32, .12);
	color: inherit;
	text-decoration: none;
	transform: translateY(-2px);
}

.kw-covers-imagebox {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: var(--kw-covers-ratio, 3/4);
	padding: 10px;
	border: 0;
	background: #f4f6f8;
	box-sizing: border-box;
	overflow: hidden;
}

.kw-covers-imagebox img {
	display: block;
	width: 100%;
	height: 100%;
	object-position: center;
	transition: transform .18s ease, opacity .18s ease;
}

.kw-covers-fit-contain .kw-covers-imagebox img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 3px 10px rgba(16, 24, 32, .12);
}

.kw-covers-fit-cover .kw-covers-imagebox img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a.kw-covers-item:hover .kw-covers-imagebox img,
a.kw-covers-item:focus .kw-covers-imagebox img {
	opacity: .9;
	transform: scale(1.015);
}

.kw-covers-title {
	display: block;
	min-height: 38px;
	margin: 9px 0 0;
	color: #101820;
	font-weight: 800;
	font-size: 15px;
	line-height: 1.22;
	overflow: hidden;
	text-align: center;
}

.kw-covers-title-align-left .kw-covers-title {
	text-align: left;
}

.kw-covers-title-align-center .kw-covers-title {
	text-align: center;
}

.kw-covers-title-align-right .kw-covers-title {
	text-align: right;
}

.kw-covers-title-top .kw-covers-title {
	display: -webkit-box;
	height: 56px;
	margin: 0;
	padding: 10px 10px 12px;
	border-top: 3px solid #c90812;
	border-bottom: 1px solid #e3e8ee;
	background: #fff;
	box-sizing: border-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.kw-covers-title-below .kw-covers-title {
	min-height: 0;
	margin: 0;
	padding: 10px 10px 12px;
	border-top: 1px solid #e3e8ee;
	background: #fff;
}

.kw-covers-title-below .kw-covers-item {
	border-top: 3px solid #c90812;
}

.kw-covers-title-overlay .kw-covers-title {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 9px 10px;
	background: rgba(16, 24, 32, .86);
	color: #fff;
}

.kw-covers.no-titles .kw-covers-title {
	display: none;
}

@media (max-width: 900px) {
	.kw-covers-grid {
		grid-template-columns: repeat(var(--kw-covers-tablet-cols, 3), minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.kw-covers {
		margin: 14px 0;
	}

	.kw-covers-grid {
		grid-template-columns: repeat(var(--kw-covers-mobile-cols, 2), minmax(0, 1fr));
		gap: max(8px, calc(var(--kw-covers-gap, 14px) * .75));
	}

	.kw-covers-jump {
		align-items: stretch;
		flex-direction: column;
		gap: 7px;
		margin-bottom: 22px;
		padding: 7px 0;
	}

	.kw-covers-jump-title {
		font-size: 12px;
	}

	.kw-covers-jump-links {
		flex-wrap: nowrap;
		gap: 8px 20px;
		overflow-x: auto;
		padding-bottom: 2px;
		-webkit-overflow-scrolling: touch;
	}

	.kw-covers-jump-link {
		flex: 0 0 auto;
		font-size: 13px;
		padding: 0;
	}

	.kw-covers-jump-link::before {
		width: 4px;
		height: 4px;
	}

	.kw-covers-section-heading {
		margin: 16px 0 2px;
		padding: 0 0 11px;
		font-size: 15px;
		line-height: 1.42;
	}

	.kw-covers-heading-text-below {
		padding: 11px 0 2px;
	}

	.kw-covers-title {
		min-height: 0;
		font-size: 14px;
		line-height: 1.25;
	}

	.kw-covers-item {
		border-radius: 4px;
	}

	.kw-covers-mobile-title-top .kw-covers-item,
	.kw-covers-mobile-title-below .kw-covers-item,
	.kw-covers-mobile-title-overlay .kw-covers-item {
		border-top: 3px solid #c90812;
	}

	.kw-covers-mobile-title-top .kw-covers-title,
	.kw-covers-mobile-title-below .kw-covers-title {
		position: static;
		display: block;
		height: auto;
		margin: 0;
		padding: 9px 9px 11px;
		background: #fff;
		color: #101820;
		overflow: visible;
		-webkit-box-orient: initial;
		-webkit-line-clamp: unset;
	}

	.kw-covers-mobile-title-top .kw-covers-title {
		order: 1;
		border-top: 0;
		border-bottom: 1px solid #e3e8ee;
	}

	.kw-covers-mobile-title-below .kw-covers-title {
		order: 2;
		border-top: 1px solid #e3e8ee;
		border-bottom: 0;
	}

	.kw-covers-mobile-title-overlay .kw-covers-title {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		order: 2;
		margin: 0;
		padding: 9px 10px;
		background: rgba(16, 24, 32, .86);
		color: #fff;
		border: 0;
	}

	.kw-covers-imagebox {
		padding: 7px;
	}

	.kw-covers-mobile-title-top .kw-covers-imagebox {
		order: 2;
	}

	.kw-covers-mobile-title-below .kw-covers-imagebox,
	.kw-covers-mobile-title-overlay .kw-covers-imagebox {
		order: 1;
	}
}
