.learndash-course-grid {
    display: flex;
    flex-wrap: wrap;
	gap: 20px;
}
.course-item {
	width: 14.6%;
    border-radius: 30px 0 30px 0;
}


/* Old Design-1 */
/*.course-item {
    border: 2px solid #ac2b2e;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	width: 14.6%;
	border-radius: 30px 0 30px 0;
}*/

.read-more-button {
   /* display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;*/
}

#selected-course-description {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
}

.c-head {background-color:rgb(157, 10, 14) !important;padding: 5px 10px;color: orange;text-align: center;font-size: 20px;border-radius: 5px 5px 0 0;}
.c-head-new {
	padding: 5px 10px;
	color: rgb(157, 10, 14) !important;
	text-align: center;
	font-size: 16px;
	border-radius: 5px 5px 0 0;
}
.c-text {
	font-size: 0.8rem !important;
    color: #2C2D3F;
	font-weight: 700;
    width: 110px;
    line-height: 16px;
    text-align: center;
    margin: 0px auto 20px auto;
}


.c-inner {
	padding: 25px 10px 15px 10px;
    text-align: center;
	background-image: url("https://yogalifeglobal.com/wp-content/uploads/2024/09/logo-bg-half.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Old Design-1 */
/*.c-inner {
	background-color:white;
	padding: 10px 10px 15px 10px;
	text-align: center;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
	border-radius: 30px 0px 30px 0px;
}*/

.min-h {
	min-height: 65px;
}

.btn1 {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-family: inherit;
  font-size: 12px;
}
.btn1.btn-detail {
  font-weight: 600;
  color: #FBECC7;
  text-transform: uppercase;
  padding: .15em .75em;
  background: #ac2b2e;
  border-radius: 0.25em;
 
}

.btn1.btn-detail:hover {
	 text-decoration: none;
}
/*
.btn1.btn-detail {
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  padding: .25em .75em;
  background: #9d0a0e;
  border: 2px solid #f3be26;
  border-radius: 0.5em;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: background 50ms cubic-bezier(0, 0, 0.58, 1),
    -webkit-transform 50ms cubic-bezier(0, 0, 0.58, 1);
  transition: transform 50ms cubic-bezier(0, 0, 0.58, 1),
    background 50ms cubic-bezier(0, 0, 0.58, 1),
    -webkit-transform 50ms cubic-bezier(0, 0, 0.58, 1);
}

.btn1.btn-detail::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f3be26;
  border-radius: inherit;
  -webkit-box-shadow: 0 0 0 2px #b18597;
  box-shadow: 0 0 0 2px #b18597;
  -webkit-transform: translate3d(0, 0.25em, -.5em);
  transform: translate3d(0, 0.25em, -.5em);
  transition: transform 50ms cubic-bezier(0, 0, 0.58, 1),
    box-shadow 150ms cubic-bezier(0, 0, 0.58, 1),
    -webkit-transform 50ms cubic-bezier(0, 0, 0.58, 1),
    -webkit-box-shadow 50ms cubic-bezier(0, 0, 0.58, 1);
}

.btn1.btn-detail:hover {
  background: #fff;
  color: #9d0a0e;
  -webkit-transform: translate(0, 0.25em);
  transform: translate(0, 0.25em);
}

.btn1.btn-detail:hover::before {
  -webkit-box-shadow: 0 0 0 2px #b18597, 0 0.25em 0 0 #9d0a0e;
  box-shadow: 0 0 0 2px #b18597;
  -webkit-transform: translate3d(0, 0.25em, -.25em);
  transform: translate3d(0, 0.25em, -.25em);
}

.btn1.btn-detail:active {
  background: #fff;
  color: #9d0a0e;
  -webkit-transform: translate(0em, 0.75em);
  transform: translate(0em, 0.75em);
}

.btn1.btn-detail:active::before {
  -webkit-box-shadow: 0 0 0 2px #b18597, 0 0 #9d0a0e;
  box-shadow: 0 0 0 2px #b18597, 0 0 #9d0a0e;
  -webkit-transform: translate3d(0, 0, -0.5em);
  transform: translate3d(0, 0, -0.5em);
}
*/

@media only screen and (max-width: 850px) {
.course-item {
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	width: 22%;
}
	
.f-size {
		font-size: 14px;
}
.min-h {
	min-height: 40px;
}

@media only screen and (max-width: 450px) {
.course-item {
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	width: 44%;
}

.f-size {
		font-size: 14px;
}
.min-h {
	min-height: 40px;
}
	
}