/* Карточки технологий: слайдер 1 / 2 / 2 */

.tech-cards__card {
	display: flex;
	width: 100%;
	height: 100%;
	background: var(--c-white);
	border-radius: 10px;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tech-cards__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(48, 48, 48, 0.1);
}

.tech-cards__link {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	padding: 20px;
	color: inherit;
}

.tech-cards__media {
	display: block;
	aspect-ratio: 303 / 147;
	border-radius: 8px;
	overflow: hidden;
}

.tech-cards__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tech-cards__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tech-cards__title { color: var(--c-orange); }

.tech-cards__more { width: 100%; margin-top: auto; }

.tech-cards__card:hover .tech-cards__more { background-color: rgba(224, 186, 145, 0.14); }

@media (min-width: 768px) {
	.tech-cards__media { aspect-ratio: 610 / 284; }
	.tech-cards__more { width: auto; align-self: flex-start; }
}

@media (min-width: 1200px) {
	.tech-cards__more { min-height: 52px; }
}
