.news {
	margin-bottom: 140px;
}

.news__heading {
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.news__row {
	margin-top: 64px;
	row-gap: 40px;
}

.news__card {
	position: relative;
	background: var(--gradient3);
	border-radius: 36px;
	padding: 17px 20px 20px;
	overflow: hidden;
	transition: max-height 0.2s, background 0.2s;
	height: 100%;
}

.news__card > .d-flex {
	height: 100%;
}

.news__card:hover {
	background: var(--color3);
}

.news__card::before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	border: 1px solid var(--color7);
	pointer-events: none;
	inset: 0;
	border-radius: 36px;
}

@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
	.news__card:not(.show)::before {
		border: 1px solid transparent;
		background: var(--gradient2) border-box;
		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
		-webkit-mask-composite: xor;
		mask-composite: exclude;
	}
}

.news__image {
	position: relative;
	padding-top: 44.14%;
	width: 32.415%;
	height: 0;
	overflow: hidden;
	display: block;
	margin-top: 3px;
}

.news__image img {
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 36px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.news__card-content {
	max-width: 460px;
	margin-left: 30px;
	flex-grow: 1;
}

.news__card-header {
	margin-top: 16px;
	min-height: 64px;
}

.news__card-info {
	width: 100%;
}

.news__card-text {
	margin-top: 23px;
}

.news__card-text p+p {
	margin-top: 4px;
}

.news__card-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 235px;
}

.news__empty {
	margin-top: 30px;
}

@media (max-width: 1399px) {
	.news {
		margin-bottom: 120px;
	}

	.news__row {
		row-gap: 35px;
	}

	.news__image {
		padding-top: 63.35%;
		width: 100%;
	}

	.news__card-content {
		max-width: 206px;
	}

	.news__card-header {
		min-height: 37px;
	}

	.news__card-text {
		margin-top: 16px;
	}

	.news__card-btn {
		min-width: 183px;
		margin-top: 20px;
	}
}

@media (max-width: 1023px) {
	.news {
		margin-bottom: 100px;
	}

	.news__row {
		row-gap: 32px;
		margin-top: 53px;
	}

	.news__image {
		padding-top: 62.28%;
	}

	.news__image img {
		border-radius: 24px;
	}

	.news__card {
		padding-left: 10px;
		padding-right: 10px;
	}

	.news__card-content {
		max-width: 151px;
	}

	.news__card-header {
		min-height: 30px;
		line-height: 0.94;
		margin-top: 19px;
	}

	.news__card-text {
		margin-top: 20px;
	}

	.news__card-btn {
		margin-top: 29px;
	}
}

@media (max-width: 767px) {
	.news__row {
		margin-top: 42px;
		row-gap: 30px;
	}

	.news__image {
		padding-top: 96.555%;
		max-width: 71%;
		margin: 0 auto;
	}

	.news__card {
		padding: 20px;
	}

	.news__card-content {
		max-width: 100%;
		margin-left: 0;
		margin-top: 27px;
	}

	.news__card-header {
		min-height: 13px;
	}

	.news__card-text {
		margin-top: 19px;
	}

	.news__card-btn {
		margin-top: 21px;
		min-width: 100%;
	}
}