.image-button-flex {
	row-gap: 34px;
}

.image-button {
	display: block;
	position: relative;
	height: 358px;
	background: none;
	overflow: hidden;
	
	

	.scrollbar {
		--gradient-start: #940c2405;
		--gradient-end: #b6132ce3;
		--bar-background-color: #940b23;
		--bar-progress: #4b000d;
		--max-height: 160px;
		--margin-bottom: 0;
	}
}

.image-button::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.85) 88.6%
	);
}

.image-button__details {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: 28px;
	color: var(--color-white);
	z-index: 1;
}

.image-button__title {
	font-size: 25px;
	color: var(--color-white);
	margin-bottom: 0;
	padding-right: 50px;
	position: relative;
}

.image-button__title::after {
	content: "\e908";
	font-family: var(--font-icon);
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translate(0, -50%);
	width: 38px;
	height: 34px;
	background: var(--primary-color);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
	font-size: 23px;
}

.image-button__cta {
	display: inline-block;
	margin-top: 32px;
}

@media (min-width: 768px) {
	.image-button__title::after {
		right: 0px;
	}
}

@media (min-width: 1200px) {
	.image-button-flex {
		row-gap: 32px;
	}

	.image-button {
		height: 450px;
	}

	.image-button__details {
		padding: 35px;
	}

	.image-button__title {
		font-size: 32px;
		padding-right: 101px;
	}

	.image-button__title::after {
		width: 48px;
		height: 43px;
		font-size: 28px;
		bottom: 0;
		top: auto;
		transform: translate(0, 0);
	}

	.image-button__hover {
		padding-top: 0;
		margin-top: 0;
		border-top: 1px solid var(--color-white);
		opacity: 0;
		visibility: hidden;
		height: 0;
		transform: translateY(10px);
		transition: none;
	}

	.image-button:hover .image-button__hover {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		height: auto;
		padding-top: 15px;
		margin-top: 15px;
		transition: opacity 0.3s ease-in-out 0.1s, visibility 0.3s ease-in-out 0.1s, transform 0.3s ease-in-out 0.1s, height 0.3s ease-in-out 0.1s;
	}

	.image-button__description {
		font-size: 18px;
		font-family: var(--body-font-family);
	}

	.image-button__description span {
		font-family: var(--title-font-family);
	}

	.image-button__cta,
	.image-button__cta:hover {
		color: var(--color-white);
	}

.image-button::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(
		0deg,
		rgba(208, 16, 48, 0.81) 0%,
		rgba(208, 16, 48, 0.81) 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.image-button:hover::after {
	opacity: 1;
}

	.image-button:hover .image-button__title::after {
		display: none;
	}

	.image-button:hover .image-button__title {
		padding-right: 0;
	}
}
