.cards_module .item {
    /* flex-basis: calc(25% - 3rem); */
	border-radius: var(--radius1);
	overflow: hidden;
	cursor: pointer;
	position: relative;
}
.cards_module h2{
	margin: 0;
}
.cards_module .items-top-content{
	margin: 0 0 var(--margin) 0;
}
.cards_module .items-top-content-text p{
	margin: 1.6rem 0 0;
}
.cards_module .call-to-action .item {
	position: relative;
	text-align: center;
}
.cards_module .call-to-action .item * {
	color: #FFF;
}
.cards_module .call-to-action .item:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(000, 000, 000, 0.2);
    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
	z-index: 2;
}
.cards_module .call-to-action .item:hover:before {
    background-color: rgba(000, 000, 000, 0.0);
}
.cards_module .item a { text-decoration: none;}
.cards_module .itemtext {
    padding: 3rem 0 0;
}
.cards_module .itemtext p{
	margin: 0;
}
.cards_module .call-to-action .itemtext {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%, -50%);
	padding: 1.5rem;
	z-index: 3;
    border: 0;
}
.cards_module .media,
.cards_module .media figure {
    width: 100%;
}
.cards_module .media::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(9.21deg, rgba(0, 0, 0, 0.63) 9.17%, rgba(0, 0, 0, 0) 47.74%);
	z-index: 2;
}
.cards_module .media{
	height: 36rem;
}

@media screen and (min-width: 1001px) {
	.cards_module .swiper-wrapper {
		padding: 0;
		display: grid;
		justify-content: space-between;
		width: 100%;
		row-gap: var(--small_spacing);
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap: 3rem;
	}
}
.cards_module .media figure{
	height: 100%;
}
.cards_module .call-to-action .media, 
.cards_module .call-to-action .media figure {
	height: 40rem;
}
.cards_module .media img,
.cards_module .media video{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;	
}
.items-top-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}
.items-top-content-text {
	max-width: 50%;
}

.cards_module.has-autoplay .swiper-wrapper{
	transition-timing-function: linear !important;
}
.cards_module .itemtext h3{
	margin-top: 0;
}
.cards_module .itemtext h3 + p{
	margin: 0.8rem 0 0;
}
.cards_module .itemtext a.btn{
	margin-top: 0.8rem;
}
.cards_module .itemtext .tag{
	color: var(--clr1)!important;
	border: 1px solid var(--clr1);
	padding: 0.4rem 0.8rem;
	font-size: calc(var(--fontsize_s) * var(--text-scaler));
	line-height: calc(var(--lineh_s) * var(--text-scaler)); 
	margin-bottom: 0.8rem;
	display: inline-block;
}
.cards_module h3 a{
	color: #fff;
}
.cards_module h3{
	font-size: calc(var(--fontsize_p) * var(--text-scaler));
	line-height: calc(var(--lineh_p) * var(--text-scaler)); 
	position: absolute;
	bottom: 1.8rem;
	left: 2.4rem;
	z-index: 2;
	margin: 0;
	color: #FFF;
}
h3.h4.top-text {
    bottom: unset;
    top: 2rem;
}
.item-media{
	position: relative;
	display: flex;
}
@media screen and (max-width: 1000px) {
	.cards_module .items-list {
		column-gap: 0;
	}
	.cards_module .media {
        height: 56vw;
    }
	.cards_module .item .media figure{
		height: 100%;
	}
	.items-top-content-text {
		max-width: 100%;
	}
	.items-top-content {
		flex-wrap: wrap;
	}
	.items-top-content a{
		margin-top: 1.6rem;
	}
	.cards_module .columns-4{
		gap: 2rem;
		grid-template-columns: 1fr 1fr;
	}
	.cards_module h3 {
		left: 2.1rem;
	}
	.cards_module .itemtext {
		padding: 2.5rem 0 0;
	}
}
@media screen and (max-width: 776px) {
    .cards_module .columns-4 {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
	.cards_module .media {
        height: 107vw;
    }
}
