
/* Testimonial cards share the team portrait and frosted-glass treatment. */
#testimonials .testimonial-card{position:relative;aspect-ratio:1122 / 1402;min-height:0;padding:0;border:0;border-radius:26px;overflow:hidden;isolation:isolate;background:#dce1d7}
#testimonials .testimonial-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#testimonials .testimonial-card .creator-body,
#testimonials .testimonial-card .creator-overlay{position:absolute;inset:auto 14px 14px;margin:0;padding:20px;border-radius:20px;border:1px solid rgba(255,255,255,.25);background:linear-gradient(135deg,rgba(25,31,28,.72),rgba(45,48,44,.5));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff;box-shadow:none}
#testimonials .testimonial-card .creator-body{transition:opacity .22s ease}
#testimonials .testimonial-card h3{font-size:clamp(22px,2vw,28px);line-height:1.15;letter-spacing:-.02em;text-transform:none;margin:8px 0 14px;color:#fff}
#testimonials .testimonial-card .creator-meta{font-size:14px;font-weight:400;color:rgba(255,255,255,.86)}
#testimonials .testimonial-card .tag{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:#fff;font-weight:500;font-size:12px;text-transform:none}
#testimonials .testimonial-card .creator-overlay{pointer-events:none}
#testimonials .testimonial-card .creator-overlay p{color:#fff;font-weight:400;font-size:16px;line-height:1.65;margin:0 0 20px}
#testimonials .testimonial-card:hover .creator-body,#testimonials .testimonial-card:focus-within .creator-body{opacity:0}
#testimonials .testimonial-card:hover .creator-overlay,#testimonials .testimonial-card:focus-within .creator-overlay{opacity:1;transform:translateY(0);pointer-events:auto}
#testimonials .testimonial-view-btn{border-radius:999px;background:var(--logo-green)}
@media(hover:none){#testimonials .testimonial-card .creator-body{opacity:0}#testimonials .testimonial-card .creator-overlay{opacity:1;transform:none;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){#testimonials .testimonial-card .creator-body,#testimonials .testimonial-card .creator-overlay,#testimonials .testimonial-card>img{transition:none}}

#testimonial-profile:has(.testimonial-profile-template){background:#062c21 url('assets/testimonial-green-background.png') center/cover no-repeat;color:#fff}
#testimonial-profile:has(.testimonial-profile-template) :is(.profile-header>div,.metric-card,.testimonial-story-box,.profile-back-link,.testimonial-gallery-link){background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.25);border-radius:20px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff;box-shadow:0 18px 42px rgba(0,0,0,.12)}
#testimonial-profile:has(.testimonial-profile-template) :is(h1,h2,.eyebrow,.metric-card p,.metric-card strong,.testimonial-story-box p,.testimonial-story-box blockquote){color:#fff}
#testimonial-profile:has(.testimonial-profile-template) .testimonial-gallery-link{padding:10px 16px;border-radius:999px;text-decoration:none}
#testimonial-profile:has(.testimonial-profile-template) :is(.profile-back-link,.testimonial-gallery-link):hover{background:rgba(255,255,255,.22);color:#fff}
#testimonial-profile:has(.testimonial-profile-template) .profile-header>div{padding-top:90px}
#testimonial-profile:has(.testimonial-profile-template) .profile-masonry{display:flex;justify-content:center}
#testimonial-profile:has(.testimonial-profile-template) .profile-masonry>.profile-gallery-video{width:min(100%,640px);margin:0}

/* Use one blur surface in the header to avoid nested backdrop repaint artifacts. */
#testimonial-profile:has(.testimonial-profile-template) .profile-header>div{isolation:isolate;overflow:hidden}
#testimonial-profile:has(.testimonial-profile-template) .profile-header :is(.metric-card,.testimonial-gallery-link){backdrop-filter:none;-webkit-backdrop-filter:none}
#testimonial-profile:has(.testimonial-profile-template) .profile-header .metric-card::before{content:none}

#testimonial-profile:has(.testimonial-quote-review) .profile-header h1{font-size:clamp(24px,2.5vw,38px);line-height:1.3;text-transform:none;letter-spacing:-.02em}
#testimonial-profile .testimonial-quote-review .profile-header>div{padding-top:clamp(24px,4vw,46px)}
#testimonial-profile .testimonial-quote-review .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}

#testimonial-profile .testimonial-quote-review .profile-header>img{object-position:center;object-fit:contain;background:#959595}
#testimonial-profile .testimonial-photo-fill .profile-header>img{object-fit:cover;background:transparent}

/* Consistent testimonial summaries, including customer review cards. */
#testimonials .testimonial-card .creator-body{height:160px;box-sizing:border-box}
#testimonials .testimonial-card .creator-body h3,
#testimonials .testimonial-card .creator-overlay h3{font-size:clamp(22px,2vw,28px);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#testimonials .testimonial-card .creator-overlay{min-height:160px;box-sizing:border-box}
