{%- import '../../css/variable/_variables.css' -%}

{# =============================================
   Testimonial Section — RoamGuard Theme
   Node: 15695-1726  |  Slick Slider
   Left: H2 + body + custom arrow nav
   Right: 2-up card slider
   Mobile-first: base → mobilept → md → lg → xl
   ============================================= #}

{# ── Annotation-driven padding utilities ── #}
.py-lg-130   { padding-top: 80px; padding-bottom: 80px; }
.py-md-80    { padding-top: 80px; padding-bottom: 80px; }
.mobilemy-60 { padding-top: 60px; padding-bottom: 60px; }
.pt-30  { padding-top: 30px; }
.pt-50  { padding-top: 50px; }


{# ══════════════════════════════════════════════
   MAIN ROW — annotation: .row
   col-md-5 left / col-md-7 right
   ══════════════════════════════════════════════ #}
.testimonial-section__row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  align-items: flex-start;
}

{# ── Left column ── #}
.testimonial-section__left {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

{# Heading + body block #}
.testimonial-section__heading-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonial-section__heading-block h2 {
  color: ;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.testimonial-section__body p {
  color: #616161;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

{# ── Custom navigation arrows ── #}
.testimonial-section__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-section__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 32px;
  background-color: ;
  border: none;
  cursor: pointer;
  padding: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.testimonial-section__nav-btn:hover {
  opacity: 0.88;
}

.testimonial-section__nav-btn:focus {
  outline: 2px solid ;
  outline-offset: 2px;
}

.testimonial-section__nav-btn svg {
  display: block;
  flex-shrink: 0;
}

{# ── Right column — slider container ── #}
.testimonial-section__right {
  width: 100%;
  overflow: hidden;
  min-width: 0;
}

.testimonial-section__slider {
  width: 100%;
}

{# Hide default Slick arrows and dots #}
.testimonial-section__slider .slick-prev,
.testimonial-section__slider .slick-next {
  display: none !important;
}

.testimonial-section__slider .slick-dots {
  display: none !important;
}

{# Slide wrapper — add horizontal gutter #}
.testimonial-section__slide {
  padding: 0 15px;
  outline: none;
  box-sizing: border-box;
}

{# ══════════════════════════════════════════════
   TESTIMONIAL CARD
   White, rounded-24px, p-24px
   ══════════════════════════════════════════════ #}
.testimonial-section__card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

{# Rating row: stars + score #}
.testimonial-section__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.testimonial-section__rating-wrap {
  display: flex;
  align-items: center;
}

.testimonial-section__stars-img {
  width: 100px;
  height: 16px;
  object-fit: contain;
  display: block;
}

{# CSS star fallback #}
.testimonial-section__stars-fallback {
  display: flex;
  gap: 2px;
}

.testimonial-section__star {
  font-size: 16px;
  line-height: 1;
  color: #cccccc;
}

.testimonial-section__star--full {
  color: ;
}

.testimonial-section__rating-text {
  color: ;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

{# Quote text — annotation: pt-30 #}
.testimonial-section__quote {
  flex: 1;
}

.testimonial-section__quote p {
  color: #616161;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

{# User row — annotation: pt-50 #}
.testimonial-section__user {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

{# Avatar — 55×55, border-radius 8px #}
.testimonial-section__avatar-wrap {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
}

.testimonial-section__avatar {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.testimonial-section__avatar-placeholder {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  background-color: rgba(211, 212, 217, 0.4);
}

{# User info text block #}
.testimonial-section__user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

{# Name — H6 semibold, dark green #}
.testimonial-section__user-name {
  color: ;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

{# Role — body S medium, 80% dark green #}
.testimonial-section__user-role {
  color: rgba(2, 64, 61, 0.8);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  margin: 0;
}


{# ══════════════════════════════════════════════
   MOBILE  (max-width: 767px)
   ══════════════════════════════════════════════ #}
@media (max-width: 767px) {
  .testimonial-section__heading-block h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .testimonial-section__row {
    gap: 32px;
  }

  .testimonial-section__slide {
    padding: 0 8px;
  }

  .testimonial-section__card {
    border-radius: 16px;
    padding: 20px;
  }
}


{# ══════════════════════════════════════════════
   TABLET  (min-width: 768px)
   ══════════════════════════════════════════════ #}
@media (min-width: 768px) {
  .testimonial-section__row {
    flex-direction: row;
    align-items: stretch;
    gap: 30px;
  }

  .testimonial-section__left {
    width: calc(100% * 5 / 12);
    flex: 0 0 calc(100% * 5 / 12);
    gap: 0;
    justify-content: space-between;
  }

  .testimonial-section__right {
    flex: 1;
    min-width: 0;
    width: calc(100% * 7 / 12);
  }

  .testimonial-section__heading-block h2 {
    font-size: 36px;
  }

  .testimonial-section__body p {
    font-size: 17px;
  }
}


{# ══════════════════════════════════════════════
   LG  (min-width: 992px)
   ══════════════════════════════════════════════ #}
@media (min-width: 992px) {
  .py-lg-130 { padding-top: 130px; padding-bottom: 130px; }

  .testimonial-section__heading-block h2 {
    font-size: 42px;
    line-height: 50px;
  }

  .testimonial-section__body p {
    font-size: 18px;
    line-height: 25px;
  }

  .testimonial-section__card {
    border-radius: 24px;
  }
}


{# ══════════════════════════════════════════════
   XL  (min-width: 1200px)
   ══════════════════════════════════════════════ #}
@media (min-width: 1200px) {
  .testimonial-section__slide {
    padding: 0 15px;
  }
}
