/* GRID FULL */ 

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

/* Styles for each leistungen card */
.kurse-card {
    display: grid;
    grid-template-columns: 15% 55% 25%; /* 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:10px;
}

/* Styles for the left inner grid item */
.kurse-card-inner-left {
    width: 100%;
	text-align:center;
	
}

.kurse-card-inner-middle {
display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;

	
}




/* Styles for the right inner grid item */
.kurse-card-inner-right {
   width: 100%;
	padding:10px;
	display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;

}

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

.kurse-image img {

	text-align:center;
}

/* You may add more styles as needed for the title, excerpt, and read more button */
.kurse-title h3 {
    margin: 0;
	font-weight:700;
	font-size:22px;
}

.kurse-excerpt {
    margin-top: 10px;
	font-size: 16px;
    color: #000;
}

.kurse-read-more-btn {
    color: #fff!important; /* Change button text color here */
    background-color: #000; /* Change button background color here */
    font-size: 16px!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 30px!important;

	 display: inline-block;
		    letter-spacing: 2px;
}

.kurse-read-more-btn:hover {
    background-color: #D4A50D;
}

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

.kurse-excerpt {
    margin-bottom: 20px;


}

@media all and (max-width: 980px) {
 .kurse-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    grid-column-gap: 20px; /* Adjust as needed */
    
}
	

	
	.kurse-excerpt {
    margin-bottom: 10px;
    min-height: 140px;

    text-align: center;
}
	
	.kurse-title h3 {
    text-align:center;
}
}





/* Grid container */
/* Grid container */
.erste-hilfe-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 */
.erste-hilfe-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:10px;
}

/* Image within grid item */
.erste-hilfe-image {
  width: 200px; /* Set a fixed width for the image */
    height: 200px; /* Set a fixed height for the image */
    display: block;
    margin: 0 auto; /* Center the image horizontally */
    border-radius: 50%; /* Make the image round */
    overflow: hidden; /* Hide overflowing parts of the image */
    object-fit: cover; /* Ensure the image covers the container while preserving aspect ratio */
}

.erste-hilfe-image img {
   width: 200px; /* Set a fixed width for the image */
    height: 200px; /* Set a fixed height for the image */
    display: block;
    margin: 0 auto; /* Center the image horizontally */
    border-radius: 50%; /* Make the image round */
    overflow: hidden; /* Hide overflowing parts of the image */
    object-fit: cover; /* Ensure the image covers the container while preserving aspect ratio */
}

/* Title within grid item */
.erste-hilfe-title h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
	letter-spacing: 2px;
	     
}



/* Excerpt/content within grid item */
.erste-hilfe-excerpt {
    margin-bottom: 10px;
    min-height: 85px;
	font-size: 18px;
	text-align:center;
}

/* Read more button within grid item */
.erste-hilfe-read-more-btn {
   color: #fff!important; /* Change button text color here */
    background-color: #62B5E5; /* 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;
}

.erste-hilfe-read-more-btn:hover {
    background-color: #375d76;
}

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

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

@media all and (max-width: 980px) {
    .erste-hilfe-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 */
    }

    .erste-hilfe-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;
    }

    .erste-hilfe-image {
        max-width: auto;
    }

    .erste-hilfe-excerpt {
        margin-bottom: 10px;
        min-height: 85px;
    }

    .erste-hilfe-title {
        min-height: 50px;
        font-weight: 700;
        text-align: center;
    }

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


.erste-hilfe-custom-excerpt { 
    margin-bottom: 10px;
    min-height: 160px;
	font-size: 16px;
	text-align:center;
}


/* Image container */
.erste-hilfe-image-container {
  position: relative;
    display: block;
    width: 240px;
    text-align: center;
    margin: 0 auto;

}

/* Icon within the image container */
.erste-hilfe-icon {
    position: absolute;
    top: 0;
    right: 0;
   /* transform: translate(50%, -50%);*/ /* Center the icon within its container */
    width: 55px;
    height: 55px;
}

.erste-hilfe-title { 
min-height:50px;
}
