.block-hotlinks {
	position: relative;
	display: flex;
	padding: 5%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	align-items: stretch;
	gap: 8px;
}

.block-hotlinks__overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(66, 48, 99, 0.8);
	border-radius: 8px;
	margin: 0 16px;
}

.block-hotlink {
	flex: 1;
	z-index: 1;
	border-radius: 10px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	min-height: 300px;
}

.block-hotlink:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.block-hotlink__thumbnail {
	background-position: center 25%;
	background-size: cover;
	background-repeat: no-repeat;
	max-height: 400px;
	min-height: 300px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	flex-shrink: 0;
}

.block-hotlink__content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.block-hotlink__content h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1rem;
}

.block-hotlink__content p {
	margin: 0;
	flex-grow: 1;
}

@media (max-width: 1024px) {

	.block-hotlinks {
		flex-wrap: wrap;
		justify-content: center;
	}

	.block-hotlink {
		flex: 0 0 calc(50% - 8px);
	}
}

@media (max-width: 768px) {

	.block-hotlinks {
		flex-direction: column;
		align-items: center;
		padding: 16px 32px;
		margin-top: 32px;
	}

	.block-hotlink {
		flex: 0 0 100%;
		max-width: 400px;
	}
}

@media (max-width: 480px) {

	.block-hotlinks {
		padding: 16px 32px;
	}

	.block-hotlink__thumbnail {
		height: 180px;
	}

	.block-hotlink__content {
		padding: 12px;
	}
}
