/* --------------------------
   Responsive Testimonials Slider (PC text bigger + narrower)
   -------------------------- */

/* Make sure html/body have no margin/padding and no horizontal scroll */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Make .ts-slider-wrapper full viewport width */
.ts-slider-wrapper {
  position: relative;
  width: 100vw;             /* full viewport width */
  max-width: 100vw;         /* prevent max-width limits */
  margin-left: calc(-50vw + 50%); /* shift left to align exactly */
  margin-right: calc(-50vw + 50%); /* shift right to align exactly */
  padding: 80px 0;
  background: #E6F1F7;
  box-sizing: border-box;
  text-align: center;
  overflow-x: hidden;
}

/* Keep inner container centered and readable */
.ts-slider-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}





.ts-slider-wrapper .slick-track {
    display: flex !important;
    align-items: stretch;
}

/* Each slide */
.ts-slide,
.ts-slider-wrapper .slick-slide {
    padding: 20px;
    box-sizing: border-box;
    width: 100% !important;
    display: block;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}



/* Remove the quote marks */
.ts-content::before,
.ts-content::after {
    content: none !important;
}

/* Name & image */
.ts-name {
    font-weight: bold;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    color: #000000; /* black */
    margin-top: 10px;
}

.ts-image img {
    border-radius: 50%;
    width: clamp(48px, 8.5vw, 80px);
    height: clamp(48px, 8.5vw, 80px);
    object-fit: cover;
    margin-top: 10px;
}

/* Slick arrows - keep original icons */
/* Move arrows position inward and fix arrow icon color */
.slick-prev,
.slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
}

/* Make the arrow icons color #132573 */
.slick-prev:before,
.slick-next:before {
    color: #132573 !important;
    font-size: clamp(18px, 4vw, 30px);
}

/* Adjust arrows position */
.slick-prev {
    left: 5px;
}

.slick-next {
    right: 5px;
}

/* Dots */
.slick-dots {
    margin-top: 10px;
}
.slick-dots li button:before {
    font-size: clamp(8px, 2vw, 12px);
    color: #ff6600;
    opacity: 0.5;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #ff6600;
}

/* Desktop-only text bigger + narrower */
@media (min-width: 1025px) {
    .ts-content,
    .ts-slider-wrapper .slick-slide .ts-content {
        font-size: clamp(1.3rem, 1.8vw, 1.6rem);
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Mobile */
/* On smaller screens, restrict text width to avoid arrow overlap */
@media (max-width: 768px) {
    .ts-slider-wrapper { padding: 40px 0; }
    .ts-slider-inner {
        padding: 0 12px;
        max-width: 100%;
    }
    .ts-slide { padding: 12px; }
    .ts-content,
    .ts-slider-wrapper .slick-slide .ts-content {
        font-size: clamp(0.95rem, 4.5vw, 1.05rem) !important;
        line-height: 1.45 !important;
        margin-bottom: 14px;
        max-width: calc(100% - 80px);
        margin-left: auto;
        margin-right: auto;
        color: #555 !important;
    }
    .ts-content::before,
    .ts-content::after { font-size: 1.05em; }
    .slick-prev, .slick-next { display: none; }

    /* Ensure date is non-italic and black on mobile */
    .ts-date {
        font-style: normal !important;
        color: #000000 !important;
        margin-top: 8px !important; /* smaller spacing */
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .ts-slider-wrapper { padding: 30px 0; }
    .ts-slider-inner { padding: 0 10px; }
    .ts-slide { padding: 10px; }
    .ts-content,
    .ts-slider-wrapper .slick-slide .ts-content {
        font-size: clamp(0.9rem, 5.0vw, 1rem) !important;
        line-height: 1.4 !important;
        color: #555 !important;
    }
    .ts-image img { width: 48px; height: 48px; }
}




/* Make the "Avis" heading text #132573 and bigger */
.ts-slider-heading {
    color: #132573;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
}

/* Move client picture under the date and center it */
.ts-slide {
    display: flex;
    flex-direction: column;
    align-items: center; /* center all content horizontally */
    text-align: center;
}

/* Put image below date with spacing */
.ts-image {
    margin-top: 10px;
}
.ts-image img {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    width: clamp(48px, 8.5vw, 80px);
    height: clamp(48px, 8.5vw, 80px);
    object-fit: cover;
}


.ts-content {
  color: #555; /* to match your other text */
}

/* Mobile fix: remove italic */
@media (max-width: 768px) {
  .ts-content {
    font-style: normal !important;
  }
}


.ts-slider-wrapper {
  border-radius: 0 !important;
}

.ts-content {
  font-style: normal !important;
}


.ts-content {
  color: #000 !important;
}

