.testimony h3 {
	font-weight: bold;
	font-size: 1.25rem;
	line-height: 1.5rem;
}

.testimony .testimony-course > h3 {
	text-transform: uppercase;
}

.card.testimony-card {
	height: 100%;
}

.testimonies-title {
	/* color: var(--primary1); */
}

.testimony {
	background-color: var(--base-3);
	border: 0.107rem solid var(--contrast-4);
	border-radius: 0.625rem;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	width: auto;
	margin-bottom: 0.625rem;
	height: 100%;
}

.card-item {
	flex: 1;
	box-sizing: border-box;
	display: block;
}

.magic_card {
	height: 100%;
}

.testimony-course {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
}

/* Image */
.testimony .featured-image {
	margin: 0 !important;
	width: 3.75rem;
	height: 3.75rem;
	background-repeat: no-repeat;
	background-size: cover;
	flex-shrink: 0;
}

.testimonies .card-item.hide-image .featured-image {
	display: none;
}

.card.testimony-card {
	height: 100%;
}

.testimony-content {
	overflow: hidden;
	display: -webkit-box;
	/*-webkit-line-clamp: 3;*/
	/*-webkit-box-orient: vertical;*/
	font-weight: 400;
}

.testimony-designation {
	gap: 0.313rem;
	margin-top: auto;
}

.testimony .fa-quote-left {
	color: var(--primary1);
	padding: 0.094rem;
	gap: 0.131rem;
	display: flex;
	font-size: 1.3rem;
}

.testimony h3 {
	margin: 0;
	color: #000000;
}

.testimony-quote {
	display: flex;
	gap: 14px;
	flex-direction: column;
}

.testimony-designation p {
	margin-bottom: 0;
	font-size: 1rem;
}

.testimony-designation .testimony-designation-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5rem;
	margin: 0;
}

/* 2nd card */

.card-grid-item:nth-child(even) .testimony {
	background-color: var(--primary2);
	border: 0;
}

.card-grid-item:nth-child(even) .testimony :is(h5, p, i) {
	color: var(--base-3) !important;
}

/* LinkedIn */

.designation-linkedin-url {
	display: flex;
	gap: 0.3rem;
	margin-top: 0.5rem;
}

.hide-icon a {
	display: none;
}

.fa-linkedin {
	color: var(--primary1);
}

@media screen and (min-width: 769px) {
	div.testimonies {
		display: flex;
		flex-direction: row;
		gap: 0.875rem;
	}

	.testimony {
		display: flex;
		flex-direction: column;
		gap: 2.5rem;
	}
}
