.s-cards {
	color: rgb(5 10 35);
	padding: 80px 0;
	font-family: Segoe UI, sans-serif;
	font-size: 20px;
	font-weight: 400;
	background: #fff;
	position: relative;
}

.s-cards__wrapper {
	display: flex;
	flex-flow: column;
	width: 100%;
	max-width: 1160px;
	align-items: center;
	justify-content: center;
}

.s-cards__inner {
	display: flex;
	flex-flow: column;
	width: 100%;
	margin-bottom: 48px;
}

.s-cards__title {
	max-width: 896px;
	letter-spacing: -.025em;
	font-weight: 700;
	font-size: 36px;
	line-height: 40px;
	margin-bottom: 24px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;

}

.s-cards__subtitle {
	letter-spacing: -.025em;
	line-height: 1.625;
	font-size: 18px;
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;


}

.s-cards__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	gap: 32px;
}

.s-cards__item {
	width: 100%;
	padding: 32px;
	background: #f9ebf1;
	border-radius: 16px;
	display: flex;
	flex-flow: column;
	cursor: pointer;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
	transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

.s-cards__item:hover {
	transform: scale(1.05) translateY(-8px);
}

.s-cards__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.s-cards__top {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin-bottom: 24px;

}

.s-cards__top img {
	max-width: 70px;
}

.s-cards__heading {
	color: rgb(5 10 35);
	font-weight: 700;
	font-size: 20px;
	line-height: 28px;
}

.s-cards__image {
	max-width: 320px;
	overflow: hidden;
	margin-bottom: 24px;
}

.s-cards__text {
	line-height: 1.625;
	color: rgba(5, 10, 35, .8);
	flex-grow: 1;
	margin-bottom: 24px;
	font-size: 16px;
}

.s-cards__author {
	padding-top: 16px;
	margin-bottom: 24px;
	display: flex;
	flex-flow: column;
	grid-row-gap: 4px;
}

.s-cards__author-title {
	color: rgb(5 10 35);
	font-weight: 700;
	font-size: 16px;
}

.s-cards__author-text {
	color: rgba(5, 10, 35, .6);
	font-size: 14px;
	line-height: 20px;
}

.s-cards__btn {
	padding: 16px 24px;
	color: #fff;
	background: rgb(154 0 247);
	font-size: 16px;
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	line-height: 24px;
	font-weight: 600;
	border: 2px solid transparent;
	transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

.s-cards__btn:hover {
	background: #fff;
	color: rgb(154 0 247);
	border-color: rgb(154 0 247);
	transform: translateY(-2px);
}

@media (width <= 1024px) {
  .s-cards__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
  
  
@media (width <=768px) {

	.s-cards__list {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.s-cards__image {
		margin-right: auto;
		margin-left: auto;
	}
}
  
  @media (width <=479px) {
	.s-grid,
	.s-demo,
	.s-banner,
	.s-cards,
	.s-text-image {
		padding: 60px 0;
	}

	.s-grid__title,
	.s-demo__title,
	.s-banner__title,
	.s-cards__title,
	.s-text-image__title {
		font-size: 32px;
	}

	.s-grid__text,
	.s-demo__text,
	.s-cards__subtitle,
	.s-text-image__text {
		font-size: 16px;
	}

	.s-cards__text {
		font-size: 14px;
	}

}