.splide--experience-card-ttma {
  display: grid !important;
}

.experience-card-ttma {
  position: relative;
  width: 245px;
  height: 312px;
  padding: 1rem;
  background: #f0f6ef;
  border-radius: 1rem;
  overflow: visible;
  transition: width 0.35s ease;
  transform-origin: left center;
  z-index: 1;
}

.experience-card-ttma__header {
  display: none;
}

.experience-card-ttma__header .experience-card-ttma__quotes {
  display: none;
}

.experience-card-ttma__header .experience-card-ttma__quotes img,
.experience-card-ttma__header .experience-card-ttma__quotes svg {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.experience-card-ttma__header img,
.experience-card-ttma__header svg {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.experience-card-ttma__header .logo.logo--white.logo--iso {
  display: none;
}

.experience-card-ttma__summary-container {
  display: none;
}

.experience-card-ttma__summary-container .experience-card-ttma__rating {
  display: flex;
  align-self: center;
  margin-top: 0.5rem;
  gap: 5px;
}

.experience-card-ttma__star {
  width: 24px;
  height: 24px;
}

.experience-card-ttma__summary-text {
  display: -webkit-box;
  font-family: "Gilroy";
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.9rem;
  color: #427f51;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.experience-card-ttma__user-info {
  display: flex;
  flex-direction: column;
}

.experience-card-ttma__user-info img,
.experience-card-ttma__user-info svg {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.experience-card-ttma__user-info .logo.logo--white.logo--iso {
  display: none;
}

.experience-card-ttma__user-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.experience-card-ttma__user-name p:nth-child(1) {
  font-family: "Gilroy";
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #427f51;
}

.experience-card-ttma__user-name p:nth-child(2) {
  font-family: "Gilroy";
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #494c4a;
}

.experience-card-ttma__star {
  background-image: url("/modules/custom/fsfb_core/images/icons/Vector.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.experience-card-ttma__quotes {
  position: relative;
  width: 80px;
  height: 80px;
}

.experience-card-ttma__quotes::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 50px;
  top: 15px;
  left: 5px;
  background-image: url("/modules/custom/fsfb_core/images/icons/comillas.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

.experience-card-ttma__quotes::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  top: 2px;
  right: -4px;
  background-image: url("/modules/custom/fsfb_core/images/icons/circulo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.experience-card-ttma__hover-content {
  inset: 0;
  background: #f0f6ef;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 1;
  pointer-events: none;
  transition: all 0.3s ease;
  height: 100%;
  border-radius: 12px;
}

.experience-card-ttma__hover-content .experience-card-ttma__condition {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 2rem;
  color: #494c4a;
}

.experience-card-ttma__hover-content .experience-card-ttma__comment-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #494c4a;
}

.experience-card-ttma__hover-content .experience-card-ttma__comment {
  display: -webkit-box;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 15px;
  color: #494c4a;
  margin: 0 auto;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 0.5rem;
  max-width: 412px;
}

.experience-card-ttma__hover-content .experience-card-ttma__date {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  color: #283645;
  align-self: flex-end;
}

.experience-card-ttma__hover-content .experience-card-ttma__rating {
  display: flex;
  align-self: center;
  gap: 5px;
}

.experience-card-ttma__hover-content .experience-card-ttma__star {
  width: 1.5rem;
  height: 1.5rem;
}

.experience-card-ttma__footer-card {
  display: flex;
  justify-content: center;
}

.experience-card-ttma.is-hovered-ttma .experience-card-ttma__hover-content {
  opacity: 1;
  pointer-events: auto;
}

.ec-list {
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 5px 0;
}
.ec-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.ec-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
}

.ec-list {
  scroll-behavior: smooth;
  will-change: scroll-position;
}

.ec-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  overflow: visible;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

body.user-is-tabbing-ttma .experience-card-ttma:focus-within,
body.user-is-tabbing-ttma .experience-card-ttma:focus-visible,
.experience-card-ttma:focus-visible {
  outline: none;
  z-index: 30;
  border-radius: 1rem;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    0 0 0 4px rgba(66, 127, 81, 0.16);
}

@media (min-width: 768px) {
  .experience-card-ttma {
    padding: 1rem;
    width: 311px;
    height: 312px;
  }

  .splide--experience-card-ttma {
    padding: 0 20px;
  }

  .ec-list {
    cursor: grab;
  }

  .experience-card-ttma__summary-text {
    font-size: 28px;
    line-height: 31px;
    color: #427f51;
  }

  .experience-card-ttma.is-hovered-ttma {
    width: 509px;
    z-index: 10;
    height: 312px;
  }

  .experience-card-ttma__header img,
  .experience-card-ttma__header svg {
    width: 100px;
    height: 100px;
  }

  .experience-card-ttma__user-name p:nth-child(1) {
    font-size: 32px;
    line-height: 31px;
  }

  .experience-card-ttma__user-name p:nth-child(2) {
    font-size: 20px;
    line-height: 31px;
  }

  .experience-card-ttma__hover-content .experience-card-ttma__comment {
    -webkit-line-clamp: 5;
    line-clamp: 5;
    font-size: 16px;
    line-height: 20px;
  }

  .experience-card-ttma__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .experience-card-ttma__header .experience-card-ttma__quotes {
    display: initial;
    width: 80px;
    height: 80px;
  }

  .experience-card-ttma__summary-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 1.42rem;
    padding: 0 1rem;
    height: calc(100% - 130px);
  }

  .experience-card-ttma__user-info {
    flex-direction: row;
    margin-bottom: 0.5rem;
  }

  .experience-card-ttma__user-info img,
  .experience-card-ttma__user-info svg {
    width: 100px;
    height: 100px;
    border-radius: 12px;
  }

  .experience-card-ttma__user-name {
    margin-top: 0;
    margin-left: 1rem;
  }

  .experience-card-ttma__hover-content {
    opacity: 0;
    position: absolute;
    padding: 1rem 1rem 1.4rem;
  }

  .experience-card-ttma__hover-content .experience-card-ttma__date {
    position: initial;
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .experience-card-ttma__hover-content .experience-card-ttma__star {
    width: 24px;
    height: 24px;
  }

  .experience-card-ttma__footer-card {
    justify-content: space-between;
    margin: 0 10px;
    width: 412px;
  }
}

@media (min-width: 1440px) {
  .splide--experience-card-ttma {
    padding: 0 40px;
  }

  .ec-list {
    scroll-snap-type: none;
  }

  .ec-item {
    scroll-snap-align: start;
  }

  .ec-track {
    padding: 0 0 0 66px;
  }

  .ec-list::before,
  .ec-list::after {
    content: "";
    flex: 0 0 40px;
  }
}
