.mcdf-news-boxes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	width: min(100%, 1320px);
	margin: 0 auto;
}

.mcdf-news-box {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 471px;
	overflow: hidden;
	border-radius: 15px;
	background-color: #191919;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0 24px 42px rgba(0, 0, 0, 0.28);
	color: #fff;
	text-decoration: none;
}

.mcdf-news-box:visited,
.mcdf-news-box:hover,
.mcdf-news-box:focus,
.mcdf-news-box:active {
	color: #fff;
	text-decoration: none;
}

.mcdf-news-box:focus-visible {
	outline: 3px solid #6b8d73;
	outline-offset: 4px;
}

.mcdf-news-box--no-image {
	background: linear-gradient(135deg, #333 0%, #111 100%);
}

.mcdf-news-box__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.88) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 70%);
	transition: opacity 220ms ease;
}

.mcdf-news-box:hover .mcdf-news-box__shade,
.mcdf-news-box:focus-visible .mcdf-news-box__shade {
	opacity: 0.93;
}

.mcdf-news-box__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	min-height: 175px;
	padding: 0 44px 32px;
}

.mcdf-news-box__title {
	display: block;
	margin-bottom: 36px;
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	transition: margin-bottom 220ms ease;
}

.mcdf-news-box__description {
	display: -webkit-box;
	max-width: 560px;
	max-height: 0;
	margin: 0;
	overflow: hidden;
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0;
	opacity: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transform: translateY(12px);
	transition: max-height 220ms ease, margin-bottom 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.mcdf-news-box:hover .mcdf-news-box__title,
.mcdf-news-box:focus-visible .mcdf-news-box__title {
	margin-bottom: 6px;
}

.mcdf-news-box:hover .mcdf-news-box__description,
.mcdf-news-box:focus-visible .mcdf-news-box__description {
	max-height: 58px;
	margin-bottom: 24px;
	opacity: 1;
	transform: translateY(0);
}

.mcdf-news-box__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.mcdf-news-box__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 120px;
	min-height: 45px;
	padding: 10px 24px;
	border-radius: 999px;
	background: #6b8d73;
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	transition: background-color 180ms ease;
}

.mcdf-news-box:hover .mcdf-news-box__button,
.mcdf-news-box:focus-visible .mcdf-news-box__button {
	background: #497b55;
}

.mcdf-news-box__play {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.mcdf-news-box__play::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid currentColor;
	content: "";
	transform: translate(-35%, -50%);
}

.mcdf-news-box__label {
	color: #fff;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: right;
}

@media (max-width: 1024px) {
	.mcdf-news-boxes {
		gap: 24px;
		padding: 0 24px;
	}

	.mcdf-news-box {
		min-height: 360px;
	}

	.mcdf-news-box__content {
		padding: 0 28px 28px;
	}
}

@media (max-width: 767px) {
	.mcdf-news-boxes {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 0;
	}

	.mcdf-news-box {
		width: 100%;
		min-height: 306px;
	}

	.mcdf-news-box__content {
		min-height: 140px;
		padding: 0 18px 24px;
	}

	.mcdf-news-box__title {
		margin-bottom: 24px;
		font-size: 22px;
	}

	.mcdf-news-box__description {
		display: none;
	}

	.mcdf-news-box__button {
		min-width: 112px;
		min-height: 42px;
		padding: 10px 20px;
		font-size: 15px;
	}

	.mcdf-news-box__label {
		font-size: 15px;
	}
}
