/* Grid container */
/* Grid container */
.therapie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 grid items per row on desktop */
    gap: 15px; /* Add some gap between grid items */
    
}

/* Grid item */
.therapie-card {
  /*  border: 2px solid #4C8400;*/
  /*  padding: 20px;*/
    background-color: #fff;
    box-shadow: 0 12px 18px -6px rgba(0,0,0,.3);
    cursor: pointer;
	/*border-radius:10px;*/
	border-radius:6px;
}

/* Image within grid item */
.therapie-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
	border-radius: 6px 6px 0px 0px;
	max-height: 170px;
    width: 100%;
    object-fit: cover;
}

/* Title within grid item */
.therapie-title h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
	letter-spacing: 2px;
	color: #171C35;
}



/* Excerpt/content within grid item */
.therapie-excerpt {
margin-bottom: 20px;
color: #171C35;
    font-size: 14px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}


.therapie-excerpt a {
color: #171C35;
  
}

/* Read more button within grid item */
.therapie-read-more-btn {
   color: #fff!important; /* Change button text color here */
    background-color: #50BCBD!important; /* Change button background color here */
    font-size: 14px!important; /* Change text size here */
    border-radius: 6px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    text-align: center;
   /* line-height: 9px;*/
   /* font-weight: 600;*/
    padding: 15px 32px!important;
    text-transform: uppercase;
	 display: block;
	    letter-spacing: 2px;
}

.therapie-read-more-btn:hover {
    background-color: #137075;
}

.therapie-content {
    font-size: 18px;
    color: #000;
}

.therapie-card:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
}

@media all and (max-width: 980px) {
    .therapie-grid-short {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 1 grid items per row on desktop */
        gap: 20px; /* Add some gap between grid items */
    }

    .therapie-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 1 grid items per row on desktop */
        gap: 20px; /* Add some gap between grid items */
        margin: 0 -20px;
    }

    .therapie-image {
        max-width: auto;
    }

    .therapie-excerpt {
        margin-bottom: 10px;
       /* min-height: 140px;*/
    }

    .therapie-title {
      /*  min-height: 50px;*/
        font-weight: 700;
        text-align: center;
    }

    .therapie-title h4 {
        font-weight: 700;
        margin-top: 10px;
		letter-spacing: 2px;
    }
}


.therapie-custom-excerpt { 
    margin-bottom: 10px;
    min-height: 110px;
	font-size: 18px;
	text-align:center;
}


/* GRID FULL */ 

/* Styles for the outer grid container */
.leistungen-grid {
    display: grid;
    grid-template-columns: 1fr; /* One grid item per row */
    width: 100%; /* Full width */
}

/* Styles for each leistungen card */
.leistungen-card {
    display: grid;
    grid-template-columns: 30% 70%; /* Two grid items per row */
    grid-column-gap: 20px; /* Adjust as needed */
    margin-bottom: 20px; /* Adjust as needed */
	  padding: 20px;
    background-color: #fff;
    box-shadow: 0 12px 18px 2px rgba(0,0,0,.3);
    cursor: pointer;
	border-radius:0px;
}

/* Styles for the left inner grid item */
.leistungen-card-inner-left {
    width: 100%;
}

/* Styles for the right inner grid item */
.leistungen-card-inner-right {
    width: 100%;

	padding:10px;
}

/* Additional styling for the image inside leistungen-card-inner-left */
.leistungen-image {
    max-width: 100%;
    height: auto;
}

/* You may add more styles as needed for the title, excerpt, and read more button */
.leistungen-title h2 {
    margin: 0;
}

.leistungen-excerpt {
    margin-top: 10px;
}

.leistungen-read-more-btn {
    color: #fff!important; /* Change button text color here */
    background-color: #50BCBD!important; /* Change button background color here */
    font-size: 18px!important; /* Change text size here */
    border-radius: 0px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    text-align: center;
   /* line-height: 9px;*/
   /* font-weight: 600;*/
    padding: 15px 32px!important;
    text-transform: uppercase;
	 display: inline-block;
		    letter-spacing: 2px;
}

.leistungen-read-more-btn:hover {
    background-color: #137075;
}

.leistungen-card:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
}

.leistungen-excerpt {
    margin-bottom: 20px;
	font-size: 18px;

}

@media all and (max-width: 980px) {
 .leistungen-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    grid-column-gap: 20px; /* Adjust as needed */
    
}
	
	.leistungen-read-more-btn {
  color: #fff!important; /* Change button text color here */
    background-color: #3b709e!important; /* Change button background color here */
    font-size: 16px!important; /* Change text size here */
    border-radius: 0px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    text-align: center;
   /* line-height: 9px;*/
   /* font-weight: 600;*/
    padding: 15px 32px!important;
    text-transform: uppercase;
	 display: block;
}
	
	.leistungen-excerpt {
    margin-bottom: 10px;
    min-height: 140px;
    font-size: 18px;
    text-align: center;
}
	
	.leistungen-title h2 {
    text-align:center;
}
}