/**
 * Testimonials (index) — NEFSA theme refinements.
 * Scoped to .testimonials-two--nefsa
 */

.testimonials-two.testimonials-two--nefsa {
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(22px, 2.8vw, 36px);
  background: linear-gradient(
    178deg,
    #fdfcfa 0%,
    #ffffff 48%,
    #faf9f7 100%
  );
  border-top: 1px solid rgba(202, 68, 69, 0.06);
  overflow: hidden;
}

@media (max-width: 767px) {
  .testimonials-two.testimonials-two--nefsa {
    padding-top: 24px;
    padding-bottom: 20px;
  }
}

/* Section heading */
.testimonials-two--nefsa .sec-title {
  margin-bottom: clamp(16px, 2vw, 26px);
  padding-bottom: 0;
}

.testimonials-two--nefsa .sec-title__tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 18px;
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--firdip-base, #ca4445);
  line-height: 1.4;
}

.testimonials-two--nefsa .sec-title__tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #e8c96a 0%,
    var(--firdip-base, #ca4445) 100%
  );
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.testimonials-two--nefsa .sec-title__title {
  font-family: "Oswald", var(--firdip-font, "Roboto", sans-serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.25vw + 0.95rem, 1.85rem);
  line-height: 1.16;
  letter-spacing: 0.042em;
  text-transform: uppercase;
  color: var(--firdip-secondary, #232728);
  margin-top: 4px;
}

.testimonials-two--nefsa .sec-title__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  max-width: 38%;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #e8c96a 0%,
    var(--firdip-base, #ca4445) 60%,
    #9e2a2b 100%
  );
}

/* Slide card */
.testimonials-two--nefsa .testimonials-two__item {
  /* Extra top space for top-right nav buttons (~54px tall) */
  padding: clamp(56px, 4.8vw, 62px) clamp(16px, 2.2vw, 28px) 20px;
  background: #faf9f7;
  border-radius: 12px;
  border: 1px solid rgba(35, 39, 40, 0.06);
  box-shadow:
    0 10px 32px rgba(35, 39, 40, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
  overflow: hidden;
}

.testimonials-two--nefsa .testimonials-two__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 2px;
  clip-path: none;
  background: linear-gradient(
    90deg,
    #e8c96a 0%,
    var(--firdip-base, #ca4445) 52%,
    #9e2a2b 100%
  );
  z-index: 4;
}

.testimonials-two--nefsa .testimonials-two__item::after {
  display: none;
}

.testimonials-two--nefsa .testimonials-two__item__box {
  display: none;
}

.testimonials-two--nefsa .testimonials-two__item__thumb {
  display: flex;
  justify-content: center;
  margin-right: 0;
}

.testimonials-two--nefsa .testimonials-two__item__thumb__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  max-width: 100%;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.testimonials-two--nefsa .testimonials-two__item__thumb__item img {
  width: clamp(96px, 12vw, 122px) !important;
  height: clamp(96px, 12vw, 122px) !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 6px 22px rgba(35, 39, 40, 0.12),
    0 0 0 1px rgba(202, 68, 69, 0.1);
}

.testimonials-two--nefsa .testimonials-two__item__content {
  position: static;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 12px 8px 0;
  text-align: center;
  background: transparent;
  border-top: none;
}

.testimonials-two--nefsa .testimonials-two__item__content__title {
  font-family: "Oswald", var(--firdip-font, "Roboto", sans-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.22;
  margin-bottom: 2px;
  color: var(--firdip-secondary, #232728);
  text-transform: none;
}

.testimonials-two--nefsa .testimonials-two__item__content__dec {
  color: rgba(90, 94, 96, 0.9);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonials-two--nefsa .testimonials-two__content {
  padding-left: clamp(14px, 2.2vw, 32px);
  padding-top: clamp(10px, 1.4vw, 28px);
  position: relative;
}

@media (max-width: 1199px) {
  .testimonials-two--nefsa .testimonials-two__content {
    padding-left: clamp(12px, 2vw, 24px);
    padding-top: clamp(10px, 1.6vw, 22px);
  }
}

@media (max-width: 991px) {
  .testimonials-two--nefsa .testimonials-two__content {
    padding-left: 0;
    padding-top: 18px;
    padding-bottom: 12px;
  }
}

.testimonials-two--nefsa .testimonials-two__content__star {
  font-size: 17px;
  color: #b8942e;
  letter-spacing: 3px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.testimonials-two--nefsa .testimonials-two__content__text {
  font-size: 14px;
  line-height: 1.68;
  color: #585c5e;
  max-width: 58rem;
}

.testimonials-two--nefsa .testimonials-two__content__quite {
  color: rgba(202, 68, 69, 0.1);
  font-size: clamp(30px, 3.8vw, 40px);
  top: clamp(22px, 3.5vw, 52px);
  right: clamp(6px, 1.5vw, 28px);
}

@media (max-width: 991px) {
  .testimonials-two--nefsa .testimonials-two__content__quite {
    top: 4px;
    right: 0;
    font-size: 28px;
  }
}

/* Prev/next — top-right of carousel (theme hides <1200px; re-enable for NEFSA) */
/* Buttons live inside .testimonials-two__carousel (not a .testimonials-two child) */
.testimonials-two--nefsa .testimonials-two__carousel {
  position: relative;
}

.testimonials-two--nefsa .testimonials-two__carousel .slick-button {
  position: absolute;
  top: 12px;
  bottom: auto !important;
  left: auto !important;
  margin: 0;
  z-index: 5;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.testimonials-two--nefsa .testimonials-two__carousel .slick-button--prev {
  right: 62px;
  left: auto !important;
}

.testimonials-two--nefsa .testimonials-two__carousel .slick-button--next {
  right: 12px;
  left: auto !important;
}

@media (max-width: 1199px) {
  .testimonials-two--nefsa .testimonials-two__carousel .slick-button {
    display: flex !important;
  }
}

@media (max-width: 575px) {
  .testimonials-two--nefsa .testimonials-two__carousel .slick-button {
    top: 8px;
  }

  .testimonials-two--nefsa .testimonials-two__carousel .slick-button--prev {
    right: 58px;
  }

  .testimonials-two--nefsa .testimonials-two__carousel .slick-button--next {
    right: 8px;
  }
}

.testimonials-two--nefsa .testimonials-two__carousel .slick-button i {
  width: 42px;
  height: 42px;
  font-size: 14px;
  border: 1px solid rgba(35, 39, 40, 0.07);
  box-shadow: 0 4px 16px rgba(35, 39, 40, 0.08);
  background: var(--firdip-white, #fff);
}

.testimonials-two--nefsa .testimonials-two__carousel .slick-button i:hover {
  background: var(--firdip-base, #ca4445);
  color: var(--firdip-white, #fff);
  border-color: var(--firdip-base, #ca4445);
}
