/* ==========================================================================
   Testimonials
   ========================================================================== */

.de_testi {
  display: block;
  margin-bottom: 10px;
}

.de_testi blockquote p {
  margin-top: 10px;
}

.de_testi blockquote,
.de_testi blockquote p {
  font-size: 16px;
  line-height: 1.7em;
  font-weight: normal;
}

.de_testi_by {
  font-style: normal;
  font-size: 12px;
  display: flex;
  margin-top: -20px;
}

.de_testi_by span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.de_testi_by img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  margin-top: 20px;
  border-radius: 100%;
}

.de_testi blockquote {
  position: relative;
  display: block;
  font-family: var(--body-font);
  border: none;
  font-weight: 300;
  padding: 30px 40px 30px 40px;
  background: var(--bg-dark-2);
  border-radius: var(--radius-lg);
}

.de_testi blockquote:before {
  position: absolute;
  font-family: "FontAwesome";
  content: "\f10e";
  color: rgba(255, 255, 255, .05);
  z-index: 100;
  font-size: 84px;
  background: none;
  top: 20px;
  right: 0;
  padding: 20px;
  z-index: -1;
}

/* Type 2 - Review style */
.de_testi.type-2.review blockquote {
  padding: 50px;
}

.de_testi.type-2.review blockquote:before {
  display: none;
}

.de_testi.type-2.review p {
  padding-top: 0;
}

.de_testi.type-2.review h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 18px;
}

.text-light .de_testi.type-2 blockquote {
  color: #fff;
  background: var(--bg-color-odd);
  border: var(--border-default);
}

.de_testi.type-2 blockquote p {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7em;
  letter-spacing: -.1px;
}

.de_testi.type-2 .de_testi_by {
  font-size: 14px;
  font-weight: normal;
}

/* ==========================================================================
   Testimonial Card (Modern card-based style)
   ========================================================================== */

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 96px;
  color: rgba(var(--primary-color-rgb), 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  top: -8px;
  right: 8px;
  pointer-events: none;
}

.testimonial-card__content {
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-card__quote {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.testimonial-card__quote::after {
  content: "\201D";
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--primary-color-rgb), 0.3);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-muted);
}
