/* Grossfachhandel - homepage Custom CSS moved from Elementor Pro (4 elements on page 2). */

/* from container cf20fd0 */
.to-hide{

    visibility: hidden;
}
.custom_block{
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.card-content h3 {
    width:95%;
}

@media (max-width: 1183px) and (min-width: 1023px) {
  .card-content {
    padding: 20px 20px !important;
  
  }
}


	.card {
		display: flex;
		overflow: hidden;
		min-height: 385px;
		background-color: #f3f3f3;
		position: relative;
		transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	}

	/* Left image */
	.card-image {
		flex: 0 0 50%;
		position: relative;
		overflow: hidden;
		clip-path: polygon(0 0, 85% 0, 70% 100%, 0% 100%);
	}

	.card-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 100% 100%;
		display: block;
		transition: transform 0.3s ease-in-out;
	}

	.card:hover .card-image img {
		transform: scale(1.07);
	}
	
    .card:hover svg path:first-child {
      fill: #fff; /* circle becomes white */
    }
    
    .card:hover svg path:last-child {
      stroke: #E5175D; /* checkmark becomes pink */
    }


	/* Right content */
	.card-content {
		flex: 1;
		padding: 40px 0px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		color: #333;
		z-index: 1;
	}

	.card-content h3 {
		font-size: 20px;
		font-weight: 600;
		line-height: 30px;
		/* 150% */
	
		margin: 0 0 28px;
	}

	ul {
		list-style: none;
		padding: 0;
		margin: 0 0 49px;
	}

	ul li {
		display: flex;
		align-items: center;
		margin-bottom: 10px;
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 26px;
		text-transform: capitalize;
	}

	ul li svg {
	    flex-shrink: 0;
		margin-right: 10px;
		font-size: 18px;
		color: #ec005b;
	}

	/* View more link */
	.view-more {
		display: inline-flex;
		align-items: center;
		color: #E5175D;
		text-decoration: none;
		font-size: 16px;
		font-style: normal;
		font-weight: 600;
		line-height: 26px;
		/* 162.5% */
		text-transform: capitalize;
		transition: color 0.3s ease-in-out;
	}

	.view-more .arrow {
		margin-left: 8px;
		font-size: 20px;
		transition: transform 0.3s ease-in-out;
	}

	.card:hover .view-more .arrow {
		transform: translateX(5px);
	}

	/* Hover effects */
	.card::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 0;
		height: 100%;
		background: linear-gradient(135deg, #ec005b 0%, #d1004a 100%);
		transition: width 0.3s ease-in-out;
		z-index: 0;
	}

	.card:hover::before {
		width: 100%;
	}

	.card-content::before {
		content: "";
		position: absolute;
		top: unset;
		right: 60%;
		width: 15px;
		height: 415px;
		background: linear-gradient(135deg, #ec005b 0%, #d1004a 100%);
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
		z-index: 2;
		transform: rotate(7deg);
	}

	.card:hover .card-content::before {
		background: #F3F3F3;
	}


	.card:hover .card-content,
	.card:hover .card-image {
		background: transparent;
		color: #fff;
	}


	.card:hover .card-content h3,
	.card:hover .card-content ul li,
	.card:hover .card-content .view-more,
	.card:hover .card-content ul li i {
		color: #fff;
	}

	/* Responsive */
	@media (max-width: 1255px) {
	    .card-content h3 {
    width:100%;
}
	    .card-image img {
	        height:400px;
	    }
	    .view-more {
	        display:flex;
	        justify-content:center;
	       
	        padding:5px;
	        background:#E5175D;
	        color:#fff;
	    }
	    
	    
	    	ul {
		list-style: none;
		padding: 0;
		margin: 0 0 20px;
	}
		.card {
			flex-direction: column;
			width: 100%;
		}


		.card-image {
			flex: 0 0 100%;
			width: 100%;
		
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
		}
		.card-content {
		    padding : 25px 20px;
		}
        .card-content::before {
            display: none;
            transform: rotate(87deg);
        }
        .card-image::after {
              content: "";
              position: absolute;
              bottom: 0;
              left: 0;
              width: 110%;
              height: 20px; /* thickness of the pink belt */
              background: linear-gradient(135deg, #ec005b 0%, #d1004a 100%);
              clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
           

        }
        
        .card:hover .card-image::after {
    		background: #F3F3F3;
    	}

	}
	
	
@media (max-width: 487.98px) {
    
    
	.card-image img{
		    	height:300px;
		}
		        .card-image::after {
		         height:25px;               transform: rotate(-5deg);
		        }
}

/* 488–770px */
@media (min-width: 488px) and (max-width: 595px) {
	.card-image img{
		    	height:600px;
		}
			        .card-image::after {
		         height:45px;               transform: rotate(-7deg);
		        }
}
@media (min-width: 596px) and (max-width: 770px) {
    	.card-image img{
		    	height:600px;
		}
     .card-image::after{
         height:45px;
transform: rotate(-5deg);
		        }
}


.texts{
    margin:0px }

/* from html dbf771a */
@media (max-width: 1024px) {
  .classImage2 {
    transform: translateX(0px) !important
    ;
  }
}

/* from html 420f593 */
.li-wrapper{
    display: flex;
    margin-top: -43px
}

/* from text-editor 37124e9 */
.differentText{
    font-weight: 600;
    color: #161616;
}
