/* Tiny slider CSS */
.tns-outer [hidden] {
  display: none !important;
}

.tns-outer [aria-controls],
.tns-outer [data-action] {
  cursor: pointer;
}

.tns-slider {
  transition: all 0s;
}

.tns-slider > .tns-item {
  box-sizing: border-box;
}

.tns-horizontal.tns-subpixel {
  white-space: nowrap;
}

.tns-gallery > .tns-item {
  left: -100%;
  position: absolute;
  transition: transform 0s, opacity 0s;
}

.tns-horizontal.tns-subpixel > .tns-item {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

.tns-horizontal.tns-no-subpixel:after {
  clear: both;
  content: '';
  display: table;
}

.tns-horizontal.tns-no-subpixel > .tns-item {
  float: left;
}

.tns-horizontal.tns-carousel.tns-no-subpixel > .tns-item {
  margin-right: -100%;
}

.tns-no-calc {
  left: 0;
  position: relative;
}

.tns-gallery {
  left: 0;
  min-height: 1px;
  position: relative;
}

.tns-gallery > .tns-slide-active {
  left: auto !important;
  position: relative;
}

.tns-gallery > .tns-moving {
  transition: all 0.25s;
}

.tns-autowidth {
  display: inline-block;
}

.tns-lazy-img {
  opacity: 0.6;
  transition: opacity 0.6s;
}

.tns-lazy-img.tns-complete {
  opacity: 1;
}

.tns-ah {
  transition: height 0s;
}

.tns-ovh {
  overflow: hidden;
}

.tns-visually-hidden {
  left: -10000em;
  position: absolute;
}

.tns-transparent {
  opacity: 0;
  visibility: hidden;
}

.tns-fadeIn {
  filter: alpha(opacity=100);
  opacity: 1;
  z-index: 0;
}

.tns-normal,
.tns-fadeOut {
  filter: alpha(opacity=0);
  opacity: 0;
  z-index: -1;
}

.tns-vpfix {
  white-space: nowrap;
}

.tns-vpfix > div,
.tns-vpfix > li {
  display: inline-block;
}

.tns-t-subp2 {
  height: 10px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 310px;
}

.tns-t-ct {
  position: absolute;
  right: 0;
  width: 2333.3333333%;
  width: calc(100% * 70 / 3);
}

.tns-t-ct:after {
  clear: both;
  content: '';
  display: table;
}

.tns-t-ct > div {
  float: left;
  height: 10px;
  width: 1.4285714%;
  width: calc(100% / 70);
}

/* Slider */

.tns-outer {
  margin-bottom: 1.4rem;
  padding: 0 !important;
  padding-bottom: 1.4rem !important;
  position: relative;
}

@media (max-width: 767px) {
  .tns-item {
    padding: 0;
  }
}

.tns-nav {
/*   bottom: -1.4rem; */
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  
  display: flex;
  flex-wrap: nowrap; /* Mantiene los botones en una sola línea */
  justify-content: center;
  gap: 10px; /* Espacio entre los botones */
  max-width: 350px; /* Ancho máximo para el contenedor de navegación */
  overflow-x: auto; /* Permite el desplazamiento horizontal */
  margin: auto;
  padding: 10px 0;
}

/* Personaliza la barra de desplazamiento */
.tns-nav::-webkit-scrollbar {
  height: 2px; /* Altura mínima de la barra de desplazamiento */
}

.tns-nav::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1); /* Color del fondo del track */
}

.tns-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2); /* Color del thumb */
  border-radius: 10px; /* Redondea las esquinas del thumb */
}

.tns-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3); /* Color del thumb al pasar el cursor */
}

.tns-nav button {
  background-color: #d0d0d0;
  border: 2px solid transparent;
/*   border-radius: var(--border-radius-full); */
  cursor: pointer;
  width: 50px !important;
  height: 6px;
  line-height: 0;
  margin: 0 0.25em;
  padding: 0;
  transition: all 300ms ease-in-out;
  width: 12px;
  
  flex: 0 0 50px; /* Ancho fijo para cada botón */
            
}

.tns-nav button:hover,
.tns-nav button:focus {
  border: 2px solid transparent;
}

.tns-nav .tns-nav-active {
  background-color: #34b5e5;
}

.testimonial-slider-container {
  max-width: 1400px;
  margin: auto;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}

.testimonial {
  width: fit-content;
}

.author-image {
  margin: auto;
  display: flex;
  justify-content: center;
}

.author-image img {
  width: calc(var(--spacing-1000-tablet-landscape) + var(--spacing-300) - (var(--spacing-200) / 4) ) !important;
  height: calc(var(--spacing-1000-tablet-landscape) + var(--spacing-300) - (var(--spacing-200) / 4) ) !important;
  object-fit: cover;

  border-radius: var(--border-radius-full);
}

.author-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.author-profession {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.testimonial-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.testimonial-content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  
  margin-top: var(--spacing-200);
}
.testimonial-content > p {
  color: var(--brand-navy) !important;
}

.read-full-content-button-container {
  margin: var(--spacing-300) auto;
}

.read-full-content-button-container button {
  padding: var(--padding-300-mobile) var(--padding-500-mobile);
}

{# STAR RATING #}
.star-rating {
  display: flex;
  justify-content: center;
}

.star-rating img {
  width: 26px !important;
  height: 26px !important;
}

/* Modal CSS */
.testimonial--modal,
.testimonial--modal--shadow {
  position: fixed;
  
  opacity: 0;
  pointer-events: none;
  transition: .3s ease-in-out;
}
.testimonial--modal.show,
.testimonial--modal--shadow.show {
  opacity: 1;
  pointer-events: all;
}

.testimonial--modal {
  z-index: 10;
  
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  
  width: 90vw;
  max-width: 600px;
  height: fit-content;
  
  background-color: var(--grey-0);
  padding: 2rem;
  border-radius: var(--border-radius-medium);
}
.testimonial--modal--shadow {
  z-index: 9;
  top: 0;
  left: 0;

  background-color: rgba(0, 0, 0, 0.35);
  width: 100vw;
  height: 100vh;
}

.testimonial--modal .column-2 {
  margin-top: var(--spacing-300);
}
.testimonial--modal .testimonial-title {
  text-align: center;
}
.testimonial--modal .testimonial-content {
  max-height: 200px !important;

  overflow: auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

.testimonial--modal .read-full-content-button-container {
  display: none;
}