/* Testimonials Wrapper */
.cms-testimonials-wrap { padding: 2rem 0 0; position: relative; z-index: 1 }
.cms-testimonials-wrap .testimonials-swiper-wrap { position: relative; }

/* Testimonials Swiper */
.testimonials-swiper { width: 100%; max-width: 75rem; }
.testimonials-controls { width: 100%; max-width: 11.25rem; margin: auto; display: flex; flex-wrap: wrap; justify-content: space-between; position: relative; z-index: 1; }
.testimonials-controls .testimonials-btn-next,
.testimonials-controls .testimonials-btn-prev { width: 3rem; height: 3rem; margin: 0; 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,
.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.75rem; height: 1.75rem; color: inherit; }
.testimonials-controls .testimonials-pagination { display: none !important; }

/* Testimonial Blocks */
.testimonial-block { overflow: hidden; display: block; position: relative; padding: 0 1rem 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), 25%); }
.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.25rem; text-align: left; text-transform: capitalize; }
@media (min-width: 768px) {
  .testimonial-block blockquote { padding: 2.5rem; }
}

.cms-testimonials-swiper-wrap .title-wrap { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; position: relative; }
.cms-testimonials-swiper-wrap .title-wrap .subtitle a { font-weight: var(--wMedium); text-decoration: underline; white-space: nowrap; }
.cms-testimonials-swiper-wrap .testimonials-swiper { max-width: var(--containerMaxWidth); margin: 0 auto; padding: 0 0.9375rem; position: relative; }
.cms-testimonials-swiper-wrap .swiper-slide { --marginRight: 1.875rem; --columns: 1; margin-right: var(--marginRight); height: auto; width: calc(calc(100% / var(--columns)) - var(--marginRight) + calc(var(--marginRight) / var(--columns))); }
.cms-testimonials-swiper-wrap .testimonial-block { height: 100%; padding: 3rem; display: flex; flex-direction: column; background-color: hsl(var(--siteColor6)); border-radius: var(--borderRadius); border: 0.0625rem solid hsl(var(--siteColor3)); }
.cms-testimonials-swiper-wrap .testimonial-block blockquote { margin: 1.5rem 0; padding: 0; border-radius: 0; background-color: transparent; box-shadow: none; }
.cms-testimonials-swiper-wrap .testimonial-block blockquote:after { display: none; }
.cms-testimonials-swiper-wrap .testimonial-block blockquote .text { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 2; -webkit-box-orient: vertical; position: relative; z-index: 1; }
.cms-testimonials-swiper-wrap .testimonial-block blockquote .icon-open-quote,
.cms-testimonials-swiper-wrap .testimonial-block blockquote .icon-end-quote { width: 2rem; height: 2rem; position: absolute; color: hsla(var(--siteColor2), 15%); }
.cms-testimonials-swiper-wrap .testimonial-block blockquote .icon-open-quote { top: -1rem; left: -1rem; }
.cms-testimonials-swiper-wrap .testimonial-block blockquote .icon-end-quote { bottom: -1rem; right: 0; }
.cms-testimonials-swiper-wrap .testimonial-block .testimonial-signature { padding: 0; font-family: var(--siteFont) !important; font-size: 1rem; font-weight: var(--wBold); font-style: italic; }
.cms-testimonials-swiper-wrap .testimonial-star-rating { margin-top: auto; }
.cms-testimonials-swiper-wrap .testimonial-star-rating .icon { color: hsl(var(--siteColor3)); }
.cms-testimonials-swiper-wrap .testimonials-controls:not(:has(.swiper-button-lock)) { margin-top: 1.5rem; }
@media (min-width: 667px) {
  .cms-testimonials-swiper-wrap .title-wrap { flex-direction: row; }
  .cms-testimonials-swiper-wrap .swiper-slide { --columns: 2; }
}
@media (min-width: 992px) {
  .cms-testimonials-swiper-wrap .title-wrap:before { content: ''; display: block; flex: 1; }
  .cms-testimonials-swiper-wrap .title-wrap .subtitle { flex: 1; text-align: right; }
  .cms-testimonials-swiper-wrap .swiper-slide { --columns: 3; }
}

/* === Layout Options === */
/* ====================== */
/* Home Option 1 */
.cms-testimonials-option-1 { padding: 4rem 0;  background-repeat: repeat !important; background-position: top left !important; background-size: clamp(20rem, 25rem, 100vw) !important; position: relative; }
.cms-testimonials-option-1:before { content: ""; width: 100%; height: 100%; background-color: hsla(var(--siteColor6), 50%); position: absolute; inset: 0; z-index: -1; }
.cms-testimonials-option-1:after { content: ""; width: 100%; height: 100%; background-image: url('/images/layout/palm-leaf-left.png'); background-position: top left !important; background-repeat: no-repeat !important; background-size: clamp(5rem, 14.1875rem, 25vw) !important; position: absolute; inset: 0; z-index: -1; }
.cms-testimonials-option-1 .title-wrap { margin-bottom: 2rem; }
.cms-testimonials-option-1 .title-img { max-width: 100%; height: auto; }
.cms-testimonials-option-1 .testimonials-img-wrap { aspect-ratio: 1 / 1; width: 100%; max-width: 50vw; height: auto; margin: 0 auto 2rem; border-radius: var(--borderRadiusCircle); position: relative; overflow: hidden; }
.cms-testimonials-option-1 .testimonials-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cms-testimonials-option-1 .testimonial-block { padding: 0; text-align: center; }
.cms-testimonials-option-1 .testimonial-block .testimonial-date .icon { min-width: 1.375rem; width: 1.375rem; height: 1.375rem; }
.cms-testimonials-option-1 .testimonial-block blockquote { margin: 1.5rem 0; padding: 0; background-color: transparent; box-shadow: none; text-align: center; }
.cms-testimonials-option-1 .testimonial-block blockquote:after { display: none; }
.cms-testimonials-option-1 .testimonial-block .testimonial-star-rating { display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
.cms-testimonials-option-1 .testimonial-block .testimonial-star-rating:has(.icon) { margin-bottom: 1rem; }
.cms-testimonials-option-1 .testimonial-block .testimonial-star-rating .icon { min-width: 0.75rem; width: 0.75rem; height: 0.75rem; }
.cms-testimonials-option-1 .testimonial-block .testimonial-signature { padding: 0; font-family: var(--siteFont); font-size: 1.5rem; font-weight: var(--wLight); color: hsl(var(--siteColor1)); text-align: center; }
.cms-testimonials-option-1 .testimonials-controls { margin: 2rem auto 0; }
@media (min-width: 768px) {
  .cms-testimonials-option-1 .testimonials-swiper-container { position: relative; padding-right: 5rem; }
  .cms-testimonials-option-1 .testimonial-block { text-align: left; }
  .cms-testimonials-option-1 .testimonial-block blockquote,
  .cms-testimonials-option-1 .testimonial-block .testimonial-signature { text-align: left; }
  .cms-testimonials-option-1 .testimonial-block .testimonial-star-rating { justify-content: flex-start; }
  .cms-testimonials-option-1 .testimonials-controls { width: auto; margin: 0; position: absolute; position: absolute; top: 50%; right: 0; left: auto; transform: translateY(-50%); }
  .cms-testimonials-option-1 .testimonials-btn-prev { display: none; }
  .cms-testimonials-option-1 .testimonials-btn-next { background-color: hsla(var(--siteColor4), 25%); border: none; box-shadow: none; color: hsl(var(--siteColor3)); }
  .cms-testimonials-option-1 .testimonials-btn-next:hover,
  .cms-testimonials-option-1 .testimonials-btn-next:focus { background-color: hsla(var(--siteColor4), 50%); box-shadow: 0 0 0 0.125rem hsla(var(--siteColor4), 0.25); }
}
@media (min-width: 1025px) {
  .cms-testimonials-option-1 { padding: 6rem 0; }
}
@media (min-width: 1200px) {
 .cms-testimonials-option-1 .container { max-width: 75rem; }
}

/* 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: 3rem 0; padding: 5rem 0; background: hsl(var(--siteColor1)) url('/images/layout/testimonials-bg-option-3.jpg') no-repeat center center; background-size: cover; color: hsl(var(--white)); }
.cms-testimonials-option-3:before { content: ""; width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; background: hsla(var(--siteColor1), 85%); }
.cms-testimonials-option-3 .container { max-width: 75rem; z-index: 2; }
.cms-testimonials-option-3 .title-wrap { max-width: 100%; flex-basis: 100%; letter-spacing: 0.125rem; font-weight: var(--wMedium); }
.cms-testimonials-option-3 .title-wrap .title { margin-bottom: 1.5rem; font-size: var(--titleFontSize3); }
.cms-testimonials-option-3 .title-wrap .subtitle { font-size: 1rem; color: inherit; font-weight: var(--wBold); }
.cms-testimonials-option-3 .testimonials-swiper-wrap { width: 100%; display: flex; flex-wrap: wrap; }
.cms-testimonials-option-3 .testimonials-swiper-container { width: 100%; }
.cms-testimonials-option-3 .testimonial-block { padding: 0; color: inherit; }
.cms-testimonials-option-3 .testimonial-block blockquote { margin: 2rem 0; padding: 0; background: transparent; box-shadow: none; color: inherit; font-weight: var(--wBold); 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; text-align: center; }
.cms-testimonials-option-3 .testimonials-controls .testimonials-btn-next,
.cms-testimonials-option-3 .testimonials-controls .testimonials-btn-prev { color: hsl(var(--white)); }
.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)); }
.cms-testimonials-option-3 .testimonials-controls .testimonials-pagination .swiper-pagination-bullet { background: hsla(var(--white), 50%); }
.cms-testimonials-option-3 .testimonials-controls .testimonials-pagination .swiper-pagination-bullet-active { background: hsl(var(--white)); }
@media (min-width: 1025px) {
  .cms-testimonials-option-3 .testimonials-swiper-container { max-width: 50%; flex-basis: 50%; padding-left: 3rem; }
  .cms-testimonials-option-3 .title-wrap { max-width: 50%; flex-basis: 50%; display: flex; flex-direction: column; justify-content: center; padding-right: 3rem; position: relative; }
  .cms-testimonials-option-3 .title-wrap:after { content: ""; display: block; height: 100%; position: absolute; top: 0; left: 100%; border-right: 0.0625rem solid hsla(var(--white), 50%); }
}
@media (min-width: 1400px) {
  .cms-testimonials-option-3 .testimonials-swiper-container { padding-left: 5rem; }
}

/* 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 { font-size: var(--titleFontSize6); color: hsl(var(--siteColor1)); 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; }
}
