/* DIF-630 §Main — "We're trusted global partner" video-review band (DES-59).
   Kept in a standalone stylesheet (linked from app/page.tsx) so these new
   class names survive the styles.min.css purge. */

.g-trusted-partner {
  background: #f6f7fb;
  padding: 80px 0;
}
.g-trusted-partner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.g-trusted-partner__head .title {
  font-family: Gilroy, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: #131426;
  margin: 0;
}
.g-trusted-partner__nav {
  display: flex;
  gap: 12px;
  flex: none;
}
.g-tp-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e6e7ef;
  color: #131426;
  cursor: pointer;
}
.g-tp-arrow.-disabled,
.g-tp-arrow:disabled {
  color: #c4c6d4;
  cursor: default;
}
.g-tp-arrow svg {
  width: 18px;
  height: 18px;
}

/* Carousel: one review slide visible at a time, arrows page through the rest. */
.g-trusted-partner__viewport {
  overflow: hidden;
}
.g-trusted-partner__track {
  display: flex;
}
.g-tp-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* Left panel for the text-only review slides (no video): a branded gradient
   card with a quote mark, star rating, and the review-source badge. */
.g-trusted-partner__media.-review {
  background: linear-gradient(158deg, #2a1667 0%, #5d21d1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-tp-reviewpanel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px;
  text-align: center;
}
.g-tp-reviewpanel .g-tp-qmark {
  color: #fff;
  opacity: 0.9;
  margin: 0;
}
.g-tp-reviewpanel .g-tp-qmark svg {
  width: 54px;
  height: 40px;
}
.g-tp-stars {
  display: flex;
  gap: 6px;
}
.g-tp-reviewpanel__score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-tp-reviewpanel__score img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.g-tp-reviewpanel__score span {
  font-family: Gilroy, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.g-trusted-partner__body {
  display: flex;
  gap: 32px;
  align-items: stretch;
}
.g-trusted-partner__media {
  position: relative;
  flex: 0 0 48%;
  max-width: 48%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 695 / 440;
  background: #000;
}
.g-trusted-partner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Click-to-play affordance: the poster + play glyph is a real <button> that
   swaps to the inline <video> on click (DES-59). */
.g-trusted-partner__media .g-tp-playbtn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.g-trusted-partner__media .g-tp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.g-tp-playbtn:hover .g-tp-play {
  background: #fff;
}
.g-tp-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.g-tp-play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  color: #131426;
}

.g-trusted-partner__card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid #eef0f6;
  box-shadow: 0 10px 40px rgba(20, 20, 38, 0.06);
  margin: 0;
}
.g-tp-qmark {
  color: #5d21d1;
  opacity: 0.35;
  margin-bottom: 16px;
}
.g-tp-qmark svg {
  width: 40px;
  height: 30px;
}
.g-trusted-partner__card blockquote {
  font-family: Gilroy, sans-serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  color: #131426;
  margin: 0 0 auto;
  padding: 0;
  border: 0;
}
.g-tp-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.g-tp-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.g-tp-author__meta {
  display: flex;
  flex-direction: column;
}
.g-tp-author__meta strong {
  font-family: Gilroy, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #131426;
}
.g-tp-author__meta span {
  font-size: 14px;
  color: #6a6d80;
}

@media (max-width: 900px) {
  .g-trusted-partner {
    padding: 56px 0;
  }
  .g-trusted-partner__head .title {
    font-size: 28px;
  }
  .g-trusted-partner__body {
    flex-direction: column;
    gap: 20px;
  }
  .g-trusted-partner__media {
    flex-basis: auto;
    max-width: 100%;
    width: 100%;
  }
  .g-trusted-partner__card {
    padding: 28px;
  }
  .g-trusted-partner__card blockquote {
    font-size: 20px;
  }
}
