.cards,
.cards__item {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
}
.cards__item.button a.button svg{
	width: 20px;
	height: 20px;
}
.cards .hs_cos_wrapper_type_inline_rich_text *:last-child {
	margin-bottom: 0;
}

.cards--image-top {
	margin-bottom: 20px;
}

.cards--text-on-image .cards__item {
	overflow: hidden;
}

.cards__content {
	display: flex;
	flex-flow: column;
	flex-wrap: wrap;
	height: 100%;
	position: relative;
	z-index: 2;
}

.cards__content-image {
	display: inline-block;
}

.cards__content-text *{
	margin-bottom: 20px;
}

.cards__content-text-on-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	transition: transform 0.3s;
	width: 100%;
}
.cards__item .cards__content-button a svg g path{
	fill: inherit;
}
.cards__item.button div.cards__content-text p{
	text-transform: initial;
	font-weight: initial;
	line-height: initial;
}
.cards__item {
	flex-flow: column;
	position: relative;
}

.cards__item-link {
	background-color: transparent;
	display: flex;
	flex-flow: column;
	text-decoration: none !important;
}

.cards__item .cards__content-button a.button--icon-right span{
	order: 1;
}

.cards--hover-content .cards__content.cards__content--animation{
	transform: translateY(70px);	
	transition: transform 0.5s ease;
}

.cards--hover-content .cards__content-button.cards__content-button--animation{
	opacity: 0;
	transition: opacity 0.5s ease;
}

.cards--hover-content:hover .cards__content.cards__content--animation{
	transform: translateY(0px);	
}

.cards--hover-content:hover .cards__content-button.cards__content-button--animation{
	opacity: 1;
}

.cards__content-text-on-image::before{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;	
	}

@media (max-width: 992px) {

	{% if module.styles.button.add_hover_button_animation %}
	.cards--hover-content .cards__content.cards__content--animation{
		transform: translateY(0px);	
	}

	.cards--hover-content .cards__content-button.cards__content-button--animation{
		opacity: 1;
	}

}