@charset "UTF-8";
/**
 * Styles for template-pages/page-testimonials.php ("Testimonials" page template).
 *
 * Source file — do not edit css/page-testimonials.css directly, it is generated.
 * Build: npm run build:testimonials-css
 * Watch: npm run watch:testimonials-css
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;900&family=Poppins:wght@700&display=swap");
.testimonials-page,
.testimonials-page * {
  box-sizing: border-box;
}

.testimonials-page {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: #1E3C62;
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
}
.testimonials-page h1,
.testimonials-page h2,
.testimonials-page h3,
.testimonials-page p {
  margin: 0;
  padding: 0;
}
.testimonials-page p {
  color: inherit;
}
.testimonials-page img {
  max-width: 100%;
  display: block;
}
.testimonials-page a {
  color: inherit;
  text-decoration: none;
}
.testimonials-page h1,
.testimonials-page h2,
.testimonials-page h3 {
  font-family: "Source Sans 3", sans-serif;
  text-transform: uppercase;
  line-height: 1.1;
}
.testimonials-page .tm-wrap {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.testimonials-page .tm-accent {
  color: #FE4500;
}
.testimonials-page .tm-eyebrow {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
}
.testimonials-page .tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: 0;
  min-height: 52px;
  padding: 16px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.testimonials-page .tm-btn svg {
  width: 9px;
  height: 17px;
  flex-shrink: 0;
}
.testimonials-page .tm-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.testimonials-page .tm-btn-solid {
  background: #FE4500;
  color: #fff;
}
.testimonials-page .tm-stars {
  color: #FABB05;
  letter-spacing: 2px;
  font-size: 14px;
  line-height: 1;
}
.testimonials-page .tm-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: #FE4500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.testimonials-page .tm-play::after {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.testimonials-page .tm-play:hover {
  opacity: 0.92;
  transform: translate(-50%, -50%) scale(1.05);
}
.testimonials-page {
  /* HERO — same bg treatment as referral page */
}
.testimonials-page .tm-hero {
  position: relative;
  color: #fff;
  padding: 26px 0 30px;
  background: url("/wp-content/themes/Caldwill-wenzel-asthana/images/referral/hero-bg.png");
  background-size: cover;
  background-position: center;
}
.testimonials-page .tm-hero .tm-eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  opacity: 1;
  color: #fff;
  margin-bottom: 16px;
  text-transform: none;
}
.testimonials-page .tm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.testimonials-page .tm-hero-copy p {
  font-size: 18px;
  line-height: 1.55;
  color: #fff;
  max-width: 720px;
  margin-bottom: 32px;
}
.testimonials-page .tm-hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 12px;
  max-width: 100%;
}
.testimonials-page .tm-hero-media {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  padding: 48px 20px 48px 40px;
}
.testimonials-page .tm-hero-video {
  position: relative;
  z-index: 1;
  outline: 2px solid #fff;
  box-shadow: 0 14px 54px #11263F;
  background: #112743;
}
.testimonials-page .tm-hero-video::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: -14px;
  bottom: -14px;
  border: 2px solid #FE4500;
  z-index: -1;
  pointer-events: none;
}
.testimonials-page .tm-hero-video img {
  width: 100%;
  height: auto;
  aspect-ratio: 384/443;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  display: block;
}
.testimonials-page .tm-float-review {
  position: absolute;
  top: 80px;
  left: -78px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 250px;
  background: rgba(17, 39, 67, 0.82);
  color: #fff;
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  animation: tm-float-in 0.6s ease both;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
@media (max-width: 700px) {
  .testimonials-page .tm-float-review {
    display: none;
  }
}
.testimonials-page .tm-float-review .tm-float-review__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.testimonials-page .tm-float-review .tm-float-review__body {
  min-width: 0;
}
.testimonials-page .tm-float-review .tm-float-review__body strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 3px;
}
.testimonials-page .tm-float-review .tm-float-review__body p {
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.85;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonials-page .tm-float-review .tm-float-review__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.testimonials-page .tm-float-review .tm-float-review__meta span:first-child {
  font-size: 12px;
  opacity: 0.7;
}
.testimonials-page .tm-float-review .tm-float-review__meta .tm-stars {
  font-size: 12px;
  letter-spacing: 1px;
}
.testimonials-page .tm-float-rating {
  position: absolute;
  left: -78px;
  bottom: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: #fff;
  color: #1E3C62;
  padding: 16px 8px 14px;
  width: min(180px, 100% - 8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  animation: tm-float-in 0.7s ease 0.15s both;
}
.testimonials-page .tm-float-rating .tm-float-rating__g {
  width: 28px;
  height: 28px;
  display: block;
}
.testimonials-page .tm-float-rating .tm-stars {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}
.testimonials-page .tm-float-rating strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #1E3C62;
  max-width: 160px;
}
.testimonials-page .tm-float-rating .tm-float-rating__avatars {
  width: 101px;
  height: auto;
  margin: 2px auto 0;
}
.testimonials-page {
  /* SECTIONS */
}
.testimonials-page .tm-section {
  padding: 88px 0;
}
.testimonials-page .tm-section-head {
  margin-bottom: 48px;
}
.testimonials-page .tm-section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}
.testimonials-page .tm-section-head p {
  font-size: 18px;
  line-height: 1.55;
  color: #535353;
  max-width: 720px;
}
.testimonials-page .tm-section-head p a {
  color: #FE4500;
  text-decoration: underline;
}
.testimonials-page .tm-section-head--center {
  text-align: center;
}
.testimonials-page .tm-section-head--center p {
  margin: 0 auto;
}
.testimonials-page .tm-section-cta {
  margin-top: 48px;
  text-align: center;
}
.testimonials-page {
  /* VIDEO GRID */
}
.testimonials-page .tm-videos {
  background: #FFFFFF;
}
.testimonials-page .tm-videos .tm-section-head {
  margin-bottom: 40px;
}
.testimonials-page .tm-videos .tm-section-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
}
.testimonials-page .tm-videos .tm-section-head p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 760px;
  color: #6B6B6B;
}
.testimonials-page .tm-video-slider {
  position: relative;
  margin: 0;
  padding: 0 0 72px;
}
.testimonials-page .tm-video-slider .slick-list {
  margin: 0 -14px;
  height: auto !important;
  overflow: hidden;
}
.testimonials-page .tm-video-slider .slick-track {
  display: flex !important;
  align-items: stretch;
  height: auto !important;
}
.testimonials-page .tm-video-slider .slick-slide {
  height: auto !important;
  float: none;
  padding: 0 14px;
}
.testimonials-page .tm-video-slider .slick-slide > div {
  height: auto !important;
  display: flex;
}
.testimonials-page .tm-video-slider button.slick-arrow,
.testimonials-page .tm-video-slider button.slick-prev,
.testimonials-page .tm-video-slider button.slick-next {
  position: absolute;
  top: auto;
  bottom: 0;
  z-index: 5;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(30, 60, 98, 0.25) !important;
  background: #fff !important;
  background-image: none !important;
  border-radius: 0;
  cursor: pointer;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  padding: 0 !important;
  transform: none !important;
  box-shadow: none;
}
.testimonials-page .tm-video-slider button.slick-arrow::before,
.testimonials-page .tm-video-slider button.slick-prev::before,
.testimonials-page .tm-video-slider button.slick-next::before {
  font-family: inherit !important;
  font-size: 0 !important;
  opacity: 1 !important;
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #1E3C62;
  border-right: 2px solid #1E3C62;
  color: transparent;
}
.testimonials-page .tm-video-slider button.slick-arrow:hover,
.testimonials-page .tm-video-slider button.slick-prev:hover,
.testimonials-page .tm-video-slider button.slick-next:hover {
  background: #1E3C62 !important;
}
.testimonials-page .tm-video-slider button.slick-arrow:hover::before,
.testimonials-page .tm-video-slider button.slick-prev:hover::before,
.testimonials-page .tm-video-slider button.slick-next:hover::before {
  border-color: #fff;
}
.testimonials-page .tm-video-slider button.slick-prev {
  left: calc(50% - 56px) !important;
}
.testimonials-page .tm-video-slider button.slick-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.testimonials-page .tm-video-slider button.slick-next {
  right: calc(50% - 56px) !important;
}
.testimonials-page .tm-video-slider button.slick-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}
.testimonials-page .tm-video-card {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: transparent;
}
.testimonials-page .tm-video-card .tm-video-copy {
  display: block !important;
  margin: 16px 0 0;
  padding: 0;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #6B6B6B !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  max-height: none !important;
}
.testimonials-page .tm-video-thumb {
  position: relative;
  overflow: hidden;
  background: #112743;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/10;
}
.testimonials-page .tm-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}
.testimonials-page .tm-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.35s ease;
}
.testimonials-page .tm-video-thumb:hover img {
  transform: scale(1.04);
}
.testimonials-page .tm-video-thumb .tm-play {
  z-index: 3;
}
.testimonials-page .tm-video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(30, 60, 98, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
  padding: 7px 12px;
  border-radius: 0;
  border-left: 1px solid #FFFFFF;
}
.testimonials-page .tm-video-title {
  position: absolute !important;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  font-family: "Source Sans 3", sans-serif !important;
}
.testimonials-page {
  /* REVIEWS / TRUSTINDEX */
}
.testimonials-page .tm-reviews {
  background: #FFFFFF;
}
.testimonials-page .tm-reviews .tm-section-head {
  margin-bottom: 40px;
}
.testimonials-page .tm-reviews .tm-section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
}
.testimonials-page .tm-reviews-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.testimonials-page .tm-reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.testimonials-page .tm-reviews-summary__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  margin-bottom: 4px;
}
.testimonials-page .tm-reviews-summary .tm-google-word {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.testimonials-page .tm-reviews-summary .tm-rating-word {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #5F6368;
}
.testimonials-page .tm-reviews-summary__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.testimonials-page .tm-reviews-summary__score {
  font-size: 52px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}
.testimonials-page .tm-reviews-summary__stars-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 6px;
}
.testimonials-page .tm-reviews-summary__count {
  font-size: 14px;
  color: #9A9A9A;
  line-height: 1.2;
}
.testimonials-page .tm-reviews-summary .tm-stars {
  font-size: 24px;
  letter-spacing: 3px;
  color: #FABB05;
  line-height: 1;
}
.testimonials-page .tm-trustindex {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.testimonials-page {
  /* BOTTOM CTA */
}
.testimonials-page .tm-cta {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 110px 0;
  background: #112743 url("/wp-content/themes/Caldwill-wenzel-asthana/images/testimonials/Background.png") center/cover no-repeat;
  overflow: hidden;
}
.testimonials-page .tm-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.testimonials-page .tm-cta-inner h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}
.testimonials-page .tm-cta-inner p {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 28px;
}
@keyframes tm-float-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .testimonials-page .tm-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .testimonials-page .tm-hero-media {
    margin: 0 auto;
    max-width: 520px;
  }
  .testimonials-page .tm-video-title {
    font-size: 15px !important;
  }
}
@media (max-width: 700px) {
  .testimonials-page .tm-hero {
    padding: 64px 0 56px;
  }
  .testimonials-page .tm-hero-media {
    max-width: 320px;
    padding: 36px 12px 40px 28px;
  }
  .testimonials-page .tm-float-review {
    top: -4px;
    left: -12px;
    max-width: min(240px, 100% - 8px);
  }
  .testimonials-page .tm-float-rating {
    left: -28px;
    width: min(150px, 100% - 8px);
    padding: 12px 12px 10px;
    bottom: 50px;
  }
  .testimonials-page .tm-play {
    width: 52px;
    height: 52px;
  }
  .testimonials-page .tm-play::after {
    border-width: 8px 0 8px 13px;
  }
  .testimonials-page .tm-section {
    padding: 64px 0;
  }
  .testimonials-page .tm-videos .tm-section-cta {
    margin-top: 24px;
  }
  .testimonials-page .tm-reviews-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonials-page .tm-cta {
    padding: 72px 0;
  }
}