/* Testimony Card Container */
.McJvo5peHTRMKcFFJe6q {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  background-color: var(--_theme---background-2);
  border: var(--border-width--main) solid color-mix(in srgb, transparent calc(100% * var(--_trigger---on)), var(--_theme---text) calc(100% * var(--_trigger---off)));
  padding: var(--_spacing---space--6);
  gap: var(--_spacing---space--5);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 200ms ease;
}

@media (hover: hover) {
  .McJvo5peHTRMKcFFJe6q:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
}


/* Header */
.vuvOa8ntASu8VzVxGw3H {
  font-family: var(--_typography---font--heading-family);
  font-size: var(--_typography---font-size--h4);
  font-weight: var(--_typography---font--primary-bold);
  text-transform: uppercase;
  line-height: var(--_typography---line-height--small);
  letter-spacing: var(--_typography---letter-spacing--normal);
  color: var(--_theme---text);
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
}

.McJvo5peHTRMKcFFJe6q.LEztIqoEWFh7hEBeK_V_ .vuvOa8ntASu8VzVxGw3H {
  animation: WNnnYUFfGpDSZuvHKzpt 0.6s ease-out 0.1s forwards;
}

/* Body */
.TiV24rCYX3CuPLKbB6Fq {
  display: flex;
  flex-direction: column;
  gap: var(--_spacing---space--3);
  flex: 1;
  min-height: 0;
}

/* Rating */
.OcOvHU66rEqxcfwNBd9_ {
  display: flex;
  gap: var(--_spacing---space--1);
  margin-bottom: var(--_spacing---space--2);
  opacity: 0;
  transform: translateY(20px);
}

.McJvo5peHTRMKcFFJe6q.LEztIqoEWFh7hEBeK_V_ .OcOvHU66rEqxcfwNBd9_ {
  animation: WNnnYUFfGpDSZuvHKzpt 0.6s ease-out 0.2s forwards;
}

.CScfjXFJb2i2JIQv4i1k {
  font-size: 18px;
  color: var(--_theme---text);
  opacity: 0.2;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.p5GIx7qf2ehNtNcMxDSw {
  opacity: 1;
  color: var(--_theme---text);
}

/* Quote - Clamp by default */
.IjJCubTjUlZv92dAv3hO {
  margin: 0 !important;
  padding: 0 !important;
  font-size: var(--_typography---font-size--text-main) !important;
  line-height: var(--_typography---line-height--large) !important;
  color: var(--_theme---text) !important;
  font-weight: var(--_typography---font--primary-regular) !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  /* Ensure content is visible */
  visibility: visible !important;
  /* Reset any global paragraph styles */
  text-align: left !important;
  text-transform: none !important;
}

.McJvo5peHTRMKcFFJe6q.LEztIqoEWFh7hEBeK_V_ .IjJCubTjUlZv92dAv3hO {
  animation: WNnnYUFfGpDSZuvHKzpt 0.6s ease-out 0.3s forwards;
}

/* Expanded state: quote becomes scrollable, NOT card-growing */
.McJvo5peHTRMKcFFJe6q[data-expanded="true"] .IjJCubTjUlZv92dAv3hO {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: auto;
  padding-right: 0.25rem; /* breathing room for scrollbar */
  max-height: 100%;
}

/* Toggle Button */
.ZSb3AzFniX5vucSiJDEc {
  align-self: flex-start;
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--_theme---text);
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.ZSb3AzFniX5vucSiJDEc:hover {
  opacity: 1;
}

.ZSb3AzFniX5vucSiJDEc:focus-visible {
  outline: 2px solid var(--_theme---text);
  outline-offset: 4px;
}

/* Footer */
.dDCEaXlP1F9OplxbGfkx {
  padding-top: var(--_spacing---space--4);
  border-top: var(--border-width--main) solid var(--_theme---text);
  opacity: 0;
  transform: translateY(20px);
}

.McJvo5peHTRMKcFFJe6q.LEztIqoEWFh7hEBeK_V_ .dDCEaXlP1F9OplxbGfkx {
  animation: WNnnYUFfGpDSZuvHKzpt 0.6s ease-out 0.4s forwards;
}

/* Author */
.VcAIaecqiqcMOxbrZkgU {
  display: flex;
  flex-direction: column;
  gap: var(--_spacing---space--1);
}

.xvnroLCGO8gEHgjSs1gT {
  font-family: var(--_typography---font--heading-family);
  font-size: var(--_typography---font-size--h5);
  font-weight: var(--_typography---font--primary-bold);
  line-height: var(--_typography---line-height--small);
  color: var(--_theme---text);
  letter-spacing: var(--_typography---letter-spacing--normal);
  text-transform: uppercase;
}

.GnW6MkiCS1c4hPM1Zv47 {
  opacity: 0.7;
  font-size: var(--_typography---font-size--text-small);
  line-height: var(--_typography---line-height--medium);
  color: var(--_theme---text);
}

/* Animations */
@keyframes WNnnYUFfGpDSZuvHKzpt {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .McJvo5peHTRMKcFFJe6q {
    padding: var(--_spacing---space--5);
    gap: var(--_spacing---space--4);
  }

  .vuvOa8ntASu8VzVxGw3H {
    font-size: var(--_typography---font-size--h5);
  }

  .IjJCubTjUlZv92dAv3hO {
    font-size: var(--_typography---font-size--text-main);
  }
}

