/*
 * Reviews carousel ("Είπαν για εμάς"): every rule that styles classes slick or the Trustindex
 * widget create at runtime (.slick-*, .prev-arrow/.next-arrow, .ti-*), moved here from fixit.css
 * on 2026-09-19. Linked with data-no-optimize (header.twig) so LiteSpeed UCSS keeps it: UCSS is
 * built from the static HTML, where none of these classes exist, so on a first visit it dropped
 * them and the carousel rendered with misplaced cards and arrows (ticket #1607).
 * Loaded directly after fixit.css, so its place in the cascade is unchanged. fixit.css carried two of
 * these rules twice, word for word; only the later copy is kept, which is the one that applied.
 */

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-stars {
  order: 0;
  display: flex;
  justify-content: end;
  align-items: center;
  position: relative;
  margin-bottom: 70px !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-stars .ti-star {
  width: 22px;
  height: 22px;
  margin-right: 5px !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-stars:before {
  content: '';
  background-image: url('/wp-content/themes/oragold/assets/images/testimonials/review-quotes-up.svg');
  display: block;
  width: 40px;
  height: 32px;
  background-repeat: no-repeat;
  justify-self: start;
  flex: 1 100%;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-content {
  order: 1;
  font-size: 16px !important;
  line-height: 30px;
  letter-spacing: 0;
  text-align: left !important;
  font-family: "BwModelicaLGC-Regular" !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header {
  order: 2;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-details {
  justify-content: start;
  align-items: start;
  width: 100%;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-details .ti-name {
  font-size: 16px !important;
  line-height: 19px;
  letter-spacing: 0;
  font-family: "WaldorfTLPro-Regular" !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-details .ti-date {
  font-family: "BwModelicaLGC-Regular";
  font-size: 14px !important;
  line-height: 17px;
  letter-spacing: 0;
  color: #faa71b !important;
  opacity: 1;
  margin-top: 5px;
  width: 100%;
  display: flex;
  justify-content: end;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-details .ti-date:after {
  content: '';
  background-image: url('/wp-content/themes/oragold/assets/images/testimonials/review-quotes-down.svg');
  display: flex;
  width: 40px;
  height: 32px;
  background-repeat: no-repeat;
  justify-self: end;
  margin-left: auto;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide .ti-inner {
  background: none !important;
  border: none !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide .ti-inner > * {
  display: none;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide .ti-inner > .ti-review-header {
  display: flex;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide .ti-inner > .ti-review-header .ti-profile-details {
  display: none;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide .ti-inner {
  background: none !important;
  border: none !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide .ti-inner > * {
  display: none;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide .ti-inner > .ti-review-header {
  display: flex;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide .ti-inner > .ti-review-header .ti-profile-details {
  display: none;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner {
  position: relative;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header {
  position: initial;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner .ti-review-header .ti-profile-img {
  position: absolute;
  left: -76px;
  top: 143px;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide .ti-inner {
  height: 450px;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide.prev-slide .ti-inner,
section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide.next-slide .ti-inner {
  justify-content: center;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center {
  max-width: 750px !important;
  height: 450px;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner {
  justify-content: space-between;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide, section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide {
  width: 100%;
  max-width: 470px !important;
  height: 450px;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner .ti-review-header .ti-profile-img img {
  width: 130px !important;
  height: 130px !important;
  object-fit: contain;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner:before {
  content: '';
  background-image: url('/wp-content/themes/oragold/assets/images/testimonials/image-container.svg');
  background-size: contain;
  display: block;
  position: absolute;
  left: -79px;
  top: 25%;
  background-repeat: no-repeat;
  width: 100%;
  height: 193px;
  max-width: 135px;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-details {
  padding-left: 85px;
  margin-top: auto !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-content {
  padding: 0 85px;
}

.testimonials .slick-arrow {
  width: 50px;
  height: 50px;
}

.testimonials .slick-prev {
  left: 5%;
}

.testimonials .slick-next {
  right: 5%;
}

section.testimonials .ti-inner .ti-read-more {
  display: none !important;
}

section.testimonials .ti-inner .slick-arrow {
  top: 49%;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide {
  min-width: auto !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner {
  justify-content: flex-start;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner .ti-review-header {
  margin-top: auto;
}

section.testimonials .ti-widget .ti-review-item:not(.slick-center) div.ti-profile-img img {
  width: 80px !important;
  height: 80px !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-stars:after {
  content: '5.0';
  position: absolute;
  left: 75.5%;
  color: #fff;
  font-size: 25px;
  line-height: 31px;
  letter-spacing: 0;
  font-family: "BwModelicaLGC-Regular";
  font-weight: 700;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center {
  min-width: 750px !important;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center .ti-inner {
  width: 100%;
}

section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner {
  display: flex;
  flex-direction: column;
  background-color: rgba(37, 39, 44, 0.8) !important;
  border: 1px solid rgba(55, 58, 64, 0.8) !important;
  border-radius: 20px !important;
  padding: 40px !important;
}

.testimonials .slick-prev{
  z-index: 99;
}

@media (max-width: 1700px) {
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide, section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide {
    max-width: 400px !important;
  }
}

@media (max-width: 1500px) {
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide, section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide {
    max-width: 350px !important;
  }
}

@media (max-width: 1440px) {
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .prev-slide, section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .next-slide {
    max-width: 300px !important;
  }
  /*testimonials homepage*/
  section.testimonials .ti-widget .ti-review-item:not(.slick-center) div.ti-profile-img img {
    width: 60px !important;
    height: 60px !important;
  }
  .testimonials .slick-next {
    right: 1%;
  }
  .testimonials .slick-prev {
    left: 1%;
  }
}

@media (max-width: 1300px) {
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-center {
    max-width: 100% !important;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide {
    position: relative;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-list {
    padding-top: 60px;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide:before {
    content: '';
    background-image: url('/wp-content/themes/oragold/assets/images/testimonials/img-bg-mobile.svg');
    background-size: contain;
    display: block;
    position: absolute;
    left: 0;
    top: -61px;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 120px;
    max-width: 100%;
    z-index: 99;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-img {
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto !important;
    display: flex;
    width: 100%;
    justify-content: center;
    top: -67px;
    position: absolute;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-img img {
    width: 113px !important;
    height: 113px !important;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-current.slick-active .ti-inner .ti-review-header .ti-profile-img img {
    width: 113px !important;
    height: 113px !important;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide .ti-inner {
    width: 100%;
  }
}

@media (max-width: 767px) {
  /*testimonials new design*/
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide {
    margin-bottom: 50px;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner {
    padding: 40px 20px !important;
    justify-content: flex-start;
    width: 100%;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-details {
    padding-left: 0;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-content {
    padding: 0;
  }
  .testimonials .slick-arrow {
    top: 98%;
  }
  .testimonials .prev-arrow {
    left: 35%;
  }
  .testimonials .next-arrow {
    right: 35%;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner:before {
    display: none;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide {
    position: relative;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-list {
    padding-top: 60px;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide:before {
    content: '';
    background-image: url('/wp-content/themes/oragold/assets/images/testimonials/img-bg-mobile.svg');
    background-size: contain;
    display: block;
    position: absolute;
    left: 0;
    top: -61px;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 120px;
    max-width: 100%;
    z-index: 99;
  }
  .testimonials .ti-widget {
    padding-top: 35px;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-img {
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto !important;
    display: flex;
    width: 100%;
    justify-content: center;
    top: -67px;
    position: absolute;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header .ti-profile-img img {
    width: 113px !important;
    height: 113px !important;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-current.slick-active .ti-inner .ti-review-header .ti-profile-img img {
    width: 113px !important;
    height: 113px !important;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-stars:after {
    left: 52.5%;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .ti-inner .ti-review-header {
    margin-top: auto;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide:before {
    display: none !important;
  }
  section.testimonials .ti-reviews-container .ti-reviews-container-wrapper .slick-slide .ti-profile-img:before {
    content: '';
    background-image: url(/wp-content/themes/oragold/assets/images/testimonials/img-bg-mobile.svg);
    background-size: contain;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 115px;
    max-width: 100%;
    z-index: 99;
  }
}

/*
 * Between 769px and 1299px slick runs without variableWidth and sizes every slide from the
 * width of .slick-list. The Trustindex wrapper is display:flex, so .slick-list, a flex item
 * with flex: 0 1 auto, shrank to its content and measured 0px: each card was 16px wide and the
 * section grew to 28,782px of empty dark strip, on every visit, not only the first one.
 */
section.testimonials .ti-reviews-container-wrapper.slick-initialized > .slick-list {
  width: 100%;
}
