/* Testimonials Wrapper */
.cms-testimonials-wrap { padding: 3rem 0; position: relative; z-index: 1 }
.cms-testimonials-wrap .container { max-width: 100rem; display: flex; flex-wrap: wrap; justify-content: center; }
.cms-testimonials-wrap .testimonials-swiper-wrap { position: relative; }

/* Testimonials Swiper */
.testimonials-swiper { width: 100%; max-width: 75rem; }
.testimonials-controls { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; max-width: 10rem; margin: 1.3125rem auto 0; position: relative; z-index: 1; }
.testimonials-controls .testimonials-btn-next,
.testimonials-controls .testimonials-btn-prev { width: 3rem; height: 3rem; margin: auto; position: relative; top: auto; right: auto; left: auto; background: transparent; border-radius: 50vw; box-shadow: none; border: 0.0625rem solid hsl(var(--siteColor1)); color: hsl(var(--siteColor1)); transition: all 0.4s ease-in-out; }
.testimonials-controls .testimonials-btn-next:hover,
.testimonials-controls .testimonials-btn-prev:hover { background: hsl(var(--siteColor1)); box-shadow: var(--dropShadow); color: hsl(var(--white)); }
.testimonials-controls .testimonials-btn-next:focus,
.testimonials-controls .testimonials-btn-prev:focus { outline: none; box-shadow: var(--focusShadow); }
.testimonials-controls .testimonials-btn-next:after,
.testimonials-controls .testimonials-btn-prev:after { display: none; }
.testimonials-controls .testimonials-btn-next .icon,
.testimonials-controls .testimonials-btn-prev .icon { width: 1.25rem; height: 1.25rem; color: inherit; }
.testimonials-controls .testimonials-pagination { display: flex; align-items: center; position: relative; top: auto; right: auto; left: auto; }
@media (min-width: 667px) {
  .testimonials-controls { margin: 1.875rem auto 0; }
}

/* Testimonial Blocks */
.testimonial-block { overflow: hidden; display: block; position: relative; padding: 0 1rem; }
.testimonial-block blockquote { width: 100%; position: relative; margin: 1.5rem 0; padding: 2.5rem 2rem; background: hsl(var(--white)); border-radius: var(--borderRadiusSM); box-shadow: var(--dropShadow); color: hsl(var(--bodyFontColor)); }
.testimonial-block blockquote:after { content: ''; width: 0; height: 0; position: absolute; top: calc(100% - 0.0625rem); left: 3.5rem; border-style: solid; border-width: 0.625rem 0.625rem 0 0.625rem; border-color: hsl(var(--white)) transparent transparent transparent; }
.testimonial-block blockquote .icon-open-quote,
.testimonial-block blockquote .icon-end-quote { width: 2.5rem; height: 2.5rem; position: absolute; color: hsla(var(--siteColor1), 50%); }
.testimonial-block blockquote .icon-open-quote { top: 0.75rem; left: 1rem; }
.testimonial-block blockquote .icon-end-quote { right: 1rem; bottom: 0.75rem; }
.testimonial-block blockquote p:only-child,
.testimonial-block blockquote p:last-child { margin-bottom: 0; }
.testimonial-block .testimonial-signature { margin: 0; padding-left: 2.5rem; font-size: 1.125rem; font-weight: var(--wMedium); color: hsl(var(--bodyFontColor)); text-align: left; text-transform: uppercase; }
@media (min-width: 768px) {
  .testimonial-block blockquote { padding: 2.5rem; }
}

/* === Layout Options === */
/* ====================== */
/* Home Option 1 */
.cms-testimonials-option-1 { --testimonialsImgWidth: 35rem; }
.cms-testimonials-option-1 .container { flex-direction: column; justify-content: center; align-items: center; }
.cms-testimonials-option-1 .testimonials-img-wrap { order: 1; flex-shrink: 0; aspect-ratio: 1 / 1; width: 100%; max-width: var(--testimonialsImgWidth); padding: 0.875rem; background: hsl(var(--siteColor6)); border-radius: var(--borderRadiusCircle); }
.cms-testimonials-option-1 .testimonials-img { object-fit: cover; width: 100%; height: 100%; border-radius: inherit; }
.cms-testimonials-option-1 .title-wrap { display: flex; flex-wrap: wrap; align-items: center; }
.cms-testimonials-option-1 .title-wrap .title { margin: 0 2rem 0 0; font-size: var(--titleFontSize3); color: hsl(var(--siteColor1)); }
.cms-testimonials-option-1 .title-wrap .subtitle { margin: 0; font-size: 1.5rem; color: hsl(var(--gray40)); text-transform: capitalize; }
.cms-testimonials-option-1 .testimonials-swiper-wrap { order: 2; width: 100%; padding-top: 2.5rem; }
.cms-testimonials-option-1 .testimonials-swiper-container { width: 100%; }
.cms-testimonials-option-1 .testimonials-swiper { max-width: unset; margin: 0; }
.cms-testimonials-option-1 .testimonials-controls .testimonials-pagination { display: none; }
.cms-testimonials-option-1 .testimonial-block { padding: 0; }
.cms-testimonials-option-1 .testimonial-block blockquote { margin: 2rem 0; padding: 0; box-shadow: none; }
.cms-testimonials-option-1 .testimonial-block blockquote:after { display: none; }
.cms-testimonials-option-1 .testimonial-block .testimonial-signature { padding: 0; color: hsl(var(--siteColor2)); }
@media (min-width: 1025px) {
  .cms-testimonials-option-1 { --testimonialsImgWidth: 28rem; padding: 5rem 0; }
  .cms-testimonials-option-1 .container { flex-direction: row; }
  .cms-testimonials-option-1 .testimonials-controls { margin: 1rem auto 0; }
  .cms-testimonials-option-1 .testimonials-img-wrap { order: 2; }
  .cms-testimonials-option-1 .testimonials-swiper-wrap { order: 1; flex-basis: calc(100% - var(--testimonialsImgWidth)); max-width: calc(100% - var(--testimonialsImgWidth)); padding-top: 0; padding-right: 3rem; }
}
@media (min-width: 1400px) {
  .cms-testimonials-option-1 { --testimonialsImgWidth: 35rem; }
  .cms-testimonials-option-1 .testimonials-swiper-wrap { padding-right: 5rem; }
}

/* Home Option 2 */
.cms-testimonials-option-2 { color: hsl(var(--white)); }
.cms-testimonials-option-2 .container { max-width: 85rem; flex-direction: column; align-items: center; padding: 0; }
.cms-testimonials-option-2 .title-wrap { max-width: 75%; margin-right: auto; margin-left: auto; position: relative; z-index: 2; }
.cms-testimonials-option-2 .title-wrap .title { font-size: var(--titleFontSize3); font-weight: var(--wBold); text-align: center; }
.cms-testimonials-option-2 .title-wrap .subtitle { font-size: var(--titleFontSize5); }
.cms-testimonials-option-2 .testimonials-swiper-wrap { width: 100%; position: relative; padding: 3rem; background: hsl(var(--siteColor2)) url('/images/layout/testimonials-bg-option-2.jpg') no-repeat center center; background-size: cover; }
.cms-testimonials-option-2 .testimonials-swiper-wrap:before { content: ""; width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; background: hsla(var(--siteColor1), 50%); border-radius: var(--borderRadiusMD); }
.cms-testimonials-option-2 .testimonials-swiper-wrap:after { content: ""; width: 100vw; height: 75%; position: absolute; inset: 50%; z-index: -1; transform: translate(-50%, -50%); background: hsl(var(--siteColor6)) url('/images/layout/testimonials-bg-pattern-white.png') repeat center center; background-size: auto; border-radius: var(--borderRadiusMD); }
.cms-testimonials-option-2 .testimonials-swiper-container { width: 100%; }
.cms-testimonials-option-2 .testimonial-block { padding: 0; color: inherit; }
.cms-testimonials-option-2 .testimonial-block blockquote { margin: 2rem 0 3rem; padding: 0; background: transparent; box-shadow: none; color: inherit; font-weight: var(--wBold); text-align: center; }
.cms-testimonials-option-2 .testimonial-block blockquote:after { display: none; }
.cms-testimonials-option-2 .testimonial-block .testimonial-signature { padding: 0; color: inherit; text-align: center; font-weight: var(--wBold); }
.cms-testimonials-option-2 .testimonials-controls { position: relative; margin-top: 2rem; }
@media (min-width: 1025px) {
  .cms-testimonials-option-2 .title-wrap { margin-bottom: 3rem; }
  .cms-testimonials-option-2 .testimonials-swiper-wrap { padding: 8rem 10rem; }
  .cms-testimonials-option-2 .testimonial-block { font-size: 1.125rem; }
  .cms-testimonials-option-2 .testimonial-block .testimonial-signature { font-size: 1.75rem; }
}

/* Home Option 3 */
.cms-testimonials-option-3 { margin: 1.5rem 0; padding: 3rem 0; background: hsl(var(--siteColor1)) url('/images/layout/testimonials-bg-option-3.png') repeat center center; background-size: 100%; color: hsl(var(--white)); }
.cms-testimonials-option-3 .container { max-width: 75rem; z-index: 2; }
.cms-testimonials-option-3 .title-wrap { max-width: 100%; flex-basis: 100%; }
.cms-testimonials-option-3 .title-wrap .title { margin-bottom: 1rem; }
.cms-testimonials-option-3 .title-wrap .title-desc { font-weight: var(--wMedium); }
.cms-testimonials-option-3 .testimonials-swiper-wrap { width: 100%; position: relative; text-align: center; }
.cms-testimonials-option-3 .testimonials-swiper-container { width: 100%; }
.cms-testimonials-option-3 .testimonial-block { margin: 1.875rem 0 0; padding: 1rem; background: hsla(var(--white), 25%); color: inherit; }
.cms-testimonials-option-3 .testimonial-block blockquote { margin: 0 0 1rem; padding: 0; background: transparent; box-shadow: none; color: inherit; font-weight: var(--wMedium); font-style: italic; text-align: center; }
.cms-testimonials-option-3 .testimonial-block blockquote:after { display: none; }
.cms-testimonials-option-3 .testimonial-block .testimonial-signature { padding: 0; color: inherit; font-size: 1rem; font-weight: var(--wBold); text-align: center; text-transform: uppercase; }
.cms-testimonials-option-3 .testimonials-controls .testimonials-btn-next,
.cms-testimonials-option-3 .testimonials-controls .testimonials-btn-prev { color: hsl(var(--white)); border: none; }
.cms-testimonials-option-3 .testimonials-controls .testimonials-btn-next:hover,
.cms-testimonials-option-3 .testimonials-controls .testimonials-btn-prev:hover { background: hsl(var(--white)); color: hsl(var(--siteColor1)); }
@media (min-width: 768px) {
  .cms-testimonials-option-3 .testimonials-swiper-wrap { margin: 0 -0.9375rem; display: flex; flex-wrap: wrap; justify-content: space-between; text-align: left; }
  .cms-testimonials-option-3 .testimonials-swiper-wrap:after { content: ""; display: block; height: 100%; width: 0.0625rem; background-color: hsla(var(--white), 50%); position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
  .cms-testimonials-option-3 .title-wrap,
  .cms-testimonials-option-3 .testimonials-swiper-container { padding: 0 0.9375rem; max-width: min(28rem, 50%); flex-basis: min(28rem, 50%); position: relative; }
  .cms-testimonials-option-3 .testimonial-block { margin: 0; padding: 0; background: transparent; }
  .cms-testimonials-option-3 .testimonial-block blockquote { margin: 1.875rem 0; }
}
@media (min-width: 1025px) {
  .cms-testimonials-option-3 { margin: 2.5rem 0; padding: 5rem 0; }
}

/* Testimonial List Blocks */
.testimonial-item-block { margin-bottom: 2rem; padding: 0; }
.testimonial-item-block blockquote { margin: 0; padding: 2.25rem 1.5rem 2.25rem 3rem; background: hsl(var(--white)); border-left: 0.125rem hsla(var(--siteColor1), 0.25) solid; border-radius: 0; box-shadow: none; color: hsl(var(--bodyFontColor)); }
.testimonial-item-block blockquote:after { display: none; border-color: hsl(0, 0%, 95%) transparent transparent transparent; }
.testimonial-item-block .testimonial-signature { text-shadow: none; }
.testimonial-item-block blockquote .icon-open-quote,
.testimonial-item-block blockquote .icon-end-quote { width: 1.5rem; height: 1.5rem; }
.testimonial-item-block blockquote .icon-end-quote { display: none; }

/* Sidebar Options - Default Look Only */
.cms-testimonials-sidebar-wrap { padding: 2rem 0 0; }
@media (min-width: 992px) {
  /* List Block Styles */
  .cms-testimonials-sidebar-wrap { padding: 0; }
  .cms-testimonials-sidebar-wrap .testimonial-item-block blockquote { padding: 2.25rem 1.5rem 1rem; }
  .cms-testimonials-sidebar-wrap .testimonial-item-block blockquote .icon-open-quote,
  .cms-testimonials-sidebar-wrap .testimonial-item-block blockquote .icon-end-quote { width: 1.125rem; height: 1.125rem; top: 0.5rem; left: 0.75rem; }
  .cms-testimonials-sidebar-wrap .testimonial-item-block .testimonial-signature { padding-left: 1.5rem; }
  /* Carousel Styles */
  .cms-testimonials-sidebar-wrap .testimonial-block blockquote { padding: 2rem 1.5rem; }
}
