div.info-section-1 {
	--is1-gap: 20px;
	--is1-radius: 6px;
	--is1-ratio: 0.74 / 1;
	--is1-cols: 5;

	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

div.info-section-1 *,
div.info-section-1 *::before,
div.info-section-1 *::after {
	box-sizing: border-box;
}

div.info-section-1 .info-section-1__grid {
	display: grid;
	grid-template-columns: repeat(var(--is1-cols), minmax(0, 1fr));
	gap: var(--is1-gap);
	width: 100%;
	align-items: stretch;
}

div.info-section-1 .info-section-1__card {
	display: block;
	width: 100%;
	min-width: 0;
	height: 100%;
	color: inherit;
}

div.info-section-1 .info-section-1__media {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	aspect-ratio: var(--is1-ratio);
	border-radius: var(--is1-radius);
	overflow: hidden;
	background: #2a2a2a;
}

div.info-section-1 .info-section-1__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: #3a3a3a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1);
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

div.info-section-1 .info-section-1__image--placeholder {
	background-color: #3a3a3a;
}

div.info-section-1 .info-section-1__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 45%,
		rgba(0, 0, 0, 0.35) 72%,
		rgba(0, 0, 0, 0.62) 100%
	);
}

div.info-section-1 .info-section-1__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	gap: 0;
	width: 100%;
	height: 100%;
	padding: 22px 16px 20px;
	text-align: center;
	transition: gap 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

div.info-section-1 .info-section-1__title {
	margin: 0;
	max-width: 130px;
	font-family: "TikTok Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
	transform: translateY(0);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

div.info-section-1 .info-section-1__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	max-height: 0;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(12px);
	pointer-events: none;
	font-family: "TikTok Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
	transition:
		max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.35s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		margin 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

div.info-section-1 .info-section-1__btn-arrow {
	display: block;
	width: 16px;
	height: 12px;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

div.info-section-1 .info-section-1__card:hover .info-section-1__image,
div.info-section-1 .info-section-1__card:focus-within .info-section-1__image {
	transform: scale(1.05);
}

div.info-section-1 .info-section-1__card:hover .info-section-1__body,
div.info-section-1 .info-section-1__card:focus-within .info-section-1__body {
	gap: 12px;
}

div.info-section-1 .info-section-1__card:hover .info-section-1__title,
div.info-section-1 .info-section-1__card:focus-within .info-section-1__title {
	transform: translateY(-4px);
}

div.info-section-1 .info-section-1__card:hover .info-section-1__btn,
div.info-section-1 .info-section-1__card:focus-within .info-section-1__btn {
	max-height: 40px;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

div.info-section-1 .info-section-1__btn:hover .info-section-1__btn-arrow,
div.info-section-1 .info-section-1__btn:focus-visible .info-section-1__btn-arrow {
	transform: translateX(3px);
}

@media (max-width: 1199px) {
	div.info-section-1 {
		--is1-cols: 3;
	}
}

@media (max-width: 767px) {
	div.info-section-1 {
		--is1-cols: 1;
		--is1-gap: 20px;
		--is1-ratio: 1.53 / 1;
	}

	div.info-section-1 .info-section-1__card {
		height: auto;
	}

	div.info-section-1 .info-section-1__media {
		aspect-ratio: 1.53 / 1;
		height: auto;
		min-height: 180px;
	}

	div.info-section-1 .info-section-1__title {
		font-size: 14px;
		max-width: 100%;
		transform: none;
	}

	div.info-section-1 .info-section-1__body {
		align-items: flex-start;
		gap: 9px;
		padding: 20px 15px 17px;
		height: auto;
	}

	div.info-section-1 .info-section-1__btn {
		max-height: none;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		overflow: visible;
	}
}

@media (prefers-reduced-motion: reduce) {
	div.info-section-1 .info-section-1__image,
	div.info-section-1 .info-section-1__body,
	div.info-section-1 .info-section-1__title,
	div.info-section-1 .info-section-1__btn,
	div.info-section-1 .info-section-1__btn-arrow {
		transition: none;
	}
}
