.tc-clamp, .tg-clamp {
  line-height: 1.5 !important;
  max-height: calc(1.5em * 3) !important; /* 3 lines */
  overflow: hidden !important;
  display: block;
	font-size: 15px;
	text-align: center;
}

.tc-card, .tg-card {
  background: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 18px;
	display: flex;
  flex-direction: column;
  height: 100%;
}
.tc-content, .tg-content {
  font-size: 16px;
  line-height: 1.5;
}
.tc-name, .tg-name {
  margin-top: 12px;
  font-weight: 700;
	font-size: 18px;
	text-align: center;
}
.tc-company, .tg-company {
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #8cb233;
	line-height: 1.4;
}
.tc-card button, .tg-card button {
	background-color: transparent;
	color: #8cb233;
	text-transform: uppercase;
	display: block;
	margin: 12px auto 0;
	letter-spacing: 4px;
	font-size: 12px;
	text-decoration: underline
}
.tc-card button:hover, .tg-card button:hover {
	color: #3c4047;
	background-color: transparent;
}
.tc-card hr, .tg-card hr {
	margin: 10px auto;
}
.tg-meta {
  margin-bottom: 10px;
}

.tg-text {
  flex-grow: 1;   
}
.tg-clamp.is-expanded,
.tc-clamp.is-expanded {
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}

/* ---------- CAROUSEL ---------- */
.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
	 display: block !important;
}
.tc-viewport {
  overflow: hidden;
	width: 100% !important;
}
.tc-track {
  display: flex;
  transition: transform 250ms ease;
  will-change: transform;
}
.tc-slide {
  flex: 0 0 calc(100% / 3);
  padding: 8px;
  box-sizing: border-box;
}

.tc-nav {
  border: 0;
  background: #000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
}

/* Carousel dots */
.tc-dots {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  gap: 10px;
  margin-top: 14px;
}

.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #bbb;
  cursor: pointer;
  padding: 0;
}

.tc-dot.is-active {
  background: #000;
}


.tc-meta { margin-bottom: 10px; }
.tc-name { font-weight: 700; }
.tc-company { font-weight: 500; opacity: 0.85; }

.tc-hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 10px 0;
}




/* Responsive: 2 across, then 1 across */
@media (max-width: 900px) {
  .tc-slide { flex-basis: 50%; }
}
@media (max-width: 600px) {
  .tc-slide { flex-basis: 100%; }
}

/* ---------- GRID + LOAD MORE ---------- */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tg-item {
  width: calc((100% - 32px) / 3); /* 3 across with 2 gaps */
}

.tg-item.is-hidden {
  display: none;
}

.tg-load-more {
  padding: 12px 18px;
  border: 0;
  background: #000;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
	margin: 25px auto;
	display: block;
}

/* Responsive grid */
@media (max-width: 900px) {
  .tg-item { width: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .tg-item { width: 100%; }
}
