/* DJJ Testimonials Slider — v1.0.5
   - Unique slug to avoid update conflicts
   - Arrows BELOW, left/right edges, small (28px), semi-transparent white
   - Quote font-size 18px; footer smaller
   - Right-side only 3px border in RTL; no ::before/left border
   - No pagination dots
*/
.nbts-slider{max-width:100%;overflow:hidden}

/* Quote block */
.nbts-quote,
blockquote.nbts-quote{
  position:relative;
  margin:0;
  padding:1rem 1.5rem 1rem 1rem; /* extra space on the right in RTL */
  font-size:18px;
  line-height:1.6;
  color:inherit;
  border:none !important;
  border-left:0 !important;
}
.nbts-quote p{ font-size:18px; line-height:1.6; margin:0 0 .75rem 0; }

/* Kill any pseudo-elements originating from theme */
.nbts-quote::before,
.nbts-quote::after,
blockquote.nbts-quote::before,
blockquote.nbts-quote::after{
  content:none !important;
  display:none !important;
}

/* Right-side border ONLY in RTL */
html[dir="rtl"] .nbts-quote{
  text-align:right;
  padding-right:1.5rem;
  border-right:3px solid rgba(255,255,255,.85) !important;
}

/* Footer sizing */
.nbts-footer{ opacity:.9; font-size:16px } /* slightly smaller than 18px */
.nbts-title{ font-weight:600 }
.nbts-author,.nbts-role{ font-style:italic }

/* Keep slider math stable: container LTR, content RTL */
html[dir="rtl"] .splide{ direction:ltr }
html[dir="rtl"] .splide__track, 
html[dir="rtl"] .splide__list, 
html[dir="rtl"] .nbts-slide{ direction:rtl }

/* Arrows BELOW, left/right edges, small & light */
.nbts-arrows-below{
  position:static;
  display:flex;
  justify-content:space-between; /* left and right edges */
  align-items:center;
  margin-top:10px;
  padding:0 6px;
}
.nbts-slider .splide__arrow{
  position:static;
  width:28px;
  height:28px;
  border-radius:9999px;
  background:rgba(255,255,255,.4); /* semi-transparent white */
  box-shadow:0 2px 6px rgba(0,0,0,.08);
  opacity:1;
  transition:background .2s, transform .1s;
  border:none;
}
.nbts-slider .splide__arrow:hover{ background:rgba(255,255,255,.55) }
.nbts-slider .splide__arrow:active{ transform:scale(.98) }
/* Hide default SVG chevrons and draw simple ones via CSS borders */
.nbts-slider .splide__arrow::before{
  content:"";
  display:block;
  width:8px; height:8px;
  border-top:2px solid rgba(0,0,0,.6);
  border-right:2px solid rgba(0,0,0,.6);
  margin:auto;
  transform:rotate(45deg);
}
.nbts-slider .splide__arrow--prev::before{ transform:rotate(225deg); }

/* Hide pagination dots entirely */
.nbts-slider .splide__pagination{ display:none !important }

/* Ensure media fits container */
img,iframe,video{max-width:100%;height:auto}

/* v1.0.6 force footer text to white */
.nbts-footer, .nbts-footer .nbts-title, .nbts-footer .nbts-author, .nbts-footer .nbts-role {color:#ffffff!important;}
.nbts-author::before{color:#ffffff!important;}
