/* Clarity FT student reviews carousel (matches main site .cft-reviews-home) */
.cft-reviews-home {
  background: #F0F7F8 !important;
  color: #1a2b32;
  text-align: center;
  width: 100%;
}

.cft-reviews-home .cft-wrap {
  width: min(1360px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 56px 0;
  box-sizing: border-box;
}

.cft-reviews-home h1,
.cft-reviews-home h2 {
  margin: 0 0 8px !important;
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  color: #000000 !important;
  background: none !important;
}

.cft-reviews-home .cft-lead {
  color: #077B86 !important;
  margin: 0 0 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.cft-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
}

.cft-trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  text-decoration: none !important;
  text-align: left;
}

.cft-trust-g,
.cft-love-source--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #4285F4;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 0 1px #e5e5e5;
}

.cft-trust-fi,
.cft-love-source--freeindex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #2E8B3A;
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 800;
}

.cft-trust-name {
  display: block;
  color: #000000 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.cft-trust-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000000 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.cft-stars-gold {
  color: #F4B400 !important;
  letter-spacing: 1px;
  font-size: 14px !important;
  margin: 0 !important;
}

.cft-stars-fi {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.cft-stars-fi span {
  width: 14px;
  height: 14px;
  background: #2E8B3A;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.cft-love-viewport {
  overflow: hidden;
  width: 100%;
}

.cft-love-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  align-items: flex-start;
}

.cft-love-card {
  box-sizing: border-box;
  background: #FFFFFF !important;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  padding: 20px 18px 22px;
  text-align: left;
}

.cft-love-card--mid {
  margin-top: 28px;
}

.cft-love-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cft-love-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #6B4C9A;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
  font-family: "Nunito Sans", sans-serif;
}

.cft-love-who {
  flex: 1;
  min-width: 0;
}

.cft-love-who strong {
  display: block;
  color: #000000 !important;
  font-size: 15px !important;
  font-family: "Nunito Sans", sans-serif !important;
}

.cft-love-who small {
  color: #6b6b6b !important;
  font-size: 12px !important;
}

.cft-love-source {
  margin-left: auto;
}

.cft-love-text {
  color: #424242 !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  margin: 8px 0 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden !important;
  font-family: "Nunito Sans", sans-serif !important;
}

.cft-love-text.is-open {
  display: block !important;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible !important;
}

.cft-love-more {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #FF4C8F;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: "Nunito Sans", sans-serif;
}

.cft-love-more[hidden] {
  display: none;
}

.cft-love-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.cft-love-prev,
.cft-love-next {
  box-sizing: border-box;
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  border: 0;
  border-radius: 50% !important;
  background: #2A2A2A;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.cft-love-dots {
  display: flex;
  gap: 8px;
}

.cft-love-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #C5DADC;
  cursor: pointer;
}

.cft-love-dot.is-active {
  background: #2A2A2A;
}

@media (max-width: 767px) {
  .cft-reviews-home h1,
  .cft-reviews-home h2 {
    font-size: 28px !important;
  }

  .cft-reviews-home .cft-wrap {
    width: calc(100% - 32px);
    padding: 40px 0;
  }

  .cft-love-card--mid {
    margin-top: 0;
  }
}
