@charset "utf-8";

.ImgLinksBlock > ul {
	--column-gap-horz: var(--spacing-sm);
	--column-gap-vert: var(--spacing-sm);
}
.ImgLink {
	position: relative;
	display: block;
}
.Columns2 .ImgLink {
	min-height: 200px;
}
.Columns4 .ImgLink {
	min-height: 300px;
}
.ImgLink::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.36);
	object-fit: cover;
	z-index: 2;
}
.ImgLink img,
.ImgLink picture {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}
.ImgLink span {
	position: absolute;
	display: flex;
	align-items: center;
	width: calc(100% - (var(--spacing-sm) * 2));
	left: var(--spacing-sm);
	bottom: 30px;
	font-size: 20px;
	font-weight: 500;
	color: var(--color-white);
	line-height: 1.2;
	z-index: 3;
}
.ImgLink span .ArrowUpRightSVG {
	margin-left: 10px;
	fill: var(--color-white);
	transition: all .3s;
}
.ImgLink:hover span .ArrowUpRightSVG,
.ImgLink:active span .ArrowUpRightSVG,
.ImgLink:focus span .ArrowUpRightSVG {
	margin-left: 15px;
	margin-bottom: 10px;
}

@media only screen and (min-width: 1400px) {
	.Columns2 .ImgLink {
		min-height: 0;
		aspect-ratio: 900 / 260;
	}
	.Columns4 .ImgLink {
		min-height: 0;
		aspect-ratio: 430 / 540;
	}
	.ImgLink span {
		font-size: 36px;
	}
	.Columns2 .ImgLink span {
		bottom: initial;
		top: 50%;
		transform: translateY(-50%);
	}
}
