.desktop-testimonials__channel-title {
  margin: 0;
  color: #fff;
  font: 500 min(clamp(20px, 1.7vw, 26px), 5.5cqi)/1.38 Bourgeois, Arial, sans-serif;
  text-transform: uppercase;
}
.desktop-testimonials__channel-ending { white-space: nowrap; }
.desktop-testimonials__channel-link {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 24px;
  margin-inline-start: .1em;
  vertical-align: middle;
  color: var(--yellow, #d8b473);
}
.desktop-testimonials__channel-link svg { display: block; width: .85em; height: .85em; }
.desktop-testimonials__channel-link:hover { color: #f4d49b; }

/* Shared mobile content, presented as one desktop screen. */
@media (min-width: 992px) {
  .is--desktop-community[data-desktop-testimonials-current] > .container,
  .has-desktop-campaign-only .is--desktop-community > .container { visibility: hidden !important; pointer-events: none; }
  .desktop-testimonials {
    --testimonial-gap: clamp(16px, 3vh, 28px);
    position: absolute; inset: 8vh 13vh; z-index: 101;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    grid-template-rows: auto minmax(0, 1fr) 240px;
    gap: var(--testimonial-gap) clamp(32px, 4vw, 64px);
    margin: 0; padding: 0; border: 0; width: auto;
    font-family: Bourgeois, Arial, sans-serif; color: #fff; overflow-anchor: none;
  }
  .desktop-testimonials[hidden] { display: none !important; }
  .desktop-testimonials .mobile-testimonials__opening { display: contents; }
  .desktop-testimonials .mobile-testimonials__opening > header { grid-column: 1 / -1; }
  .desktop-testimonials .mobile-testimonials__title { margin: 0; font-size: 66.5px; font-weight: 500; line-height: 1; text-transform: uppercase; }
  .desktop-testimonials .mobile-testimonials__title span { color: var(--yellow); }
  .desktop-testimonials .mobile-testimonials__podcast-divider { grid-column: 1; grid-row: 1; margin: 0; }
  .desktop-testimonials .mobile-testimonials__trust-slot { display: block; width: clamp(110px, 10vw, 150px); }
  .desktop-testimonials .mobile-testimonials__trust-slot img { display: block; width: 100%; height: auto; }
  .desktop-testimonials__videos { position: relative; grid-column: 1 / -1; min-height: 0; }
  .desktop-testimonials .mobile-testimonials__carousel {
    position: relative; display: flex; align-items: center; gap: var(--desktop-portrait-gap, 16px);
    width: 100%; height: 100%; min-height: 0; padding: 6px 0;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: none; scrollbar-width: none; overflow-anchor: none;
  }
  .desktop-testimonials .mobile-testimonials__carousel::-webkit-scrollbar,
  .desktop-testimonials .mobile-testimonials__quotes::-webkit-scrollbar,
  .desktop-testimonials .mobile-testimonials__episodes::-webkit-scrollbar { display: none; }
  .desktop-testimonials .mobile-testimonials__carousel:focus-visible { outline: 1px solid #a0a0a0; outline-offset: -2px; }
  .desktop-testimonials .mobile-testimonials__portrait {
    flex: 0 0 calc(var(--desktop-portrait-height) * 9 / 16 * .97405);
    height: calc(var(--desktop-portrait-height) * .97405);
    transition: flex-basis 420ms cubic-bezier(.22, 1, .36, 1), height 420ms cubic-bezier(.22, 1, .36, 1);
  }
  .desktop-testimonials .mobile-testimonials__portrait[data-selected] { flex-basis: calc(var(--desktop-portrait-height) * 9 / 16 * 1.15); height: calc(var(--desktop-portrait-height) * 1.15); }
  .desktop-testimonials .mobile-testimonials__portrait-frame {
    position: relative; width: 100%; height: 100%; overflow: hidden;
    border: 1px solid #ffffffa6; border-radius: 5px; background: #111;
    transform: scale(1); transition: transform 420ms cubic-bezier(.22, 1, .36, 1), border-color 280ms ease;
  }
  .desktop-testimonials[data-video-active] .mobile-testimonials__portrait-frame { transform: scale(.78); border-color: #ffffff66; }
  .desktop-testimonials[data-video-active] .mobile-testimonials__portrait[data-selected] .mobile-testimonials__portrait-frame { transform: scale(1); border-color: #ffffffd9; }
  .desktop-testimonials .mobile-testimonials__portrait video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; filter: grayscale(1); }
  .desktop-testimonials .mobile-testimonials__portrait[data-selected] video { filter: none; }
  .desktop-testimonials .mobile-testimonials__video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
  .desktop-testimonials .mobile-testimonials__video-play > span,
  .desktop-testimonials .mobile-testimonials__episode-play { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 18px; height: 20px; color: #fff; opacity: .9; filter: drop-shadow(0 1px 2px #0008); pointer-events: none; }
  .desktop-testimonials .mobile-testimonials__video-play svg,
  .desktop-testimonials .mobile-testimonials__episode-play svg { display: block; width: 14px; height: 18px; }
  .desktop-testimonials .mobile-testimonials__portrait[data-selected] .mobile-testimonials__video-play { bottom: 44px; height: calc(100% - 44px); }
  .desktop-testimonials .mobile-testimonials__portrait[data-playing] .mobile-testimonials__video-play > span { visibility: hidden; }
  .desktop-testimonials__video-arrow,
  .desktop-testimonials .mobile-testimonials__podcast-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--yellow); cursor: pointer; }
  .desktop-testimonials__video-arrow.is--previous { left: -38px; }
  .desktop-testimonials__video-arrow.is--next { right: -38px; }
  .desktop-testimonials__video-arrow svg,
  .desktop-testimonials .mobile-testimonials__podcast-arrow svg { width: 12px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .desktop-testimonials .mobile-testimonials__written {
    min-width: 0; align-self: start; display: grid; grid-template-columns: auto minmax(0, 1fr);
    gap: 12px clamp(14px, 1.4vw, 22px); align-items: center;
  }
  .desktop-testimonials .mobile-testimonials__quotes { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .desktop-testimonials .mobile-testimonials__quotes-track { position: relative; display: flex; align-items: flex-start; gap: 12px; width: 100%; }
  .desktop-testimonials .mobile-testimonials__quote { display: flex; flex-direction: column; flex: 0 0 100%; min-width: 0; margin: 0; padding: 16px 20px; border-radius: 5px; background: #1b1b1b; scroll-snap-align: start; scroll-snap-stop: always; }
  .desktop-testimonials .mobile-testimonials__quote blockquote { margin: 0; padding: 0; border: 0; color: #a0a0a0; font-size: 18.9px; font-weight: 400; font-style: normal; line-height: 1.4; text-align: left; text-transform: none; overflow-wrap: anywhere; }
  .desktop-testimonials .mobile-testimonials__quote-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
  .desktop-testimonials .mobile-testimonials__quote figcaption { color: #fff; font-size: 18.9px; line-height: 1.35; text-transform: none; white-space: nowrap; }
  .desktop-testimonials__review-progress {
    --review-gap: clamp(4px, .5vw, 8px);
    position: relative; grid-column: 2; grid-row: 1; display: flex; gap: var(--review-gap);
  }
  .desktop-testimonials__review-progress button {
    display: grid; place-items: center; flex: 1 1 0; min-width: 0; min-height: 44px;
    margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  }
  .desktop-testimonials__review-progress button::before {
    content: ''; width: 100%; height: 4px; border-radius: 2px; background: #404040;
  }
  .desktop-testimonials__review-progress button:hover::before { background: #6b6b6b; }
  .desktop-testimonials__review-progress::after {
    content: ''; position: absolute; top: 50%; left: 0; pointer-events: none;
    width: calc((100% - (var(--review-count) - 1) * var(--review-gap)) / var(--review-count));
    height: 4px; border-radius: 2px; background: #fff;
    transform: translate(calc(var(--review-index, 0) * (100% + var(--review-gap))), -50%);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  }
  .desktop-testimonials .mobile-testimonials__footer { min-width: 0; align-self: start; }
  .desktop-testimonials .mobile-testimonials__podcast-stage { position: relative; min-width: 0; }
  .desktop-testimonials .mobile-testimonials__podcast-window { display: grid; gap: 16px; min-width: 0; }
  .desktop-testimonials .mobile-testimonials__podcast-title { margin: 0; color: #fff; font-size: 26px; font-weight: 500; line-height: 1.15; }
  .desktop-testimonials .mobile-testimonials__podcast-title-accent { color: var(--yellow); }
  .desktop-testimonials .mobile-testimonials__podcast-copy { display: block; margin-top: 6px; color: #a0a0a0; font-size: 18.9px; line-height: 1.35; text-transform: uppercase; }
  .desktop-testimonials .mobile-testimonials__podcast-inner { position: relative; padding: 0 24px; }
  .desktop-testimonials .mobile-testimonials__episodes { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
  .desktop-testimonials .mobile-testimonials__episode-page { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .desktop-testimonials .mobile-testimonials__episode { position: relative; display: block; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #1b1b1b; }
  .desktop-testimonials .mobile-testimonials__episode img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .desktop-testimonials .mobile-testimonials__podcast-previous { left: -14px; }
  .desktop-testimonials .mobile-testimonials__podcast-next { right: -14px; }
  .desktop-testimonials .mobile-testimonials__podcast-arrow:disabled { opacity: .3; cursor: default; }
  .desktop-testimonials .mobile-testimonials__podcast-arrow[hidden] { display: none; }
  .desktop-testimonials :is(button, a, [tabindex]):focus-visible { outline: 1px solid var(--yellow); outline-offset: -2px; }
  @media (max-width: 1150px) {
    .desktop-testimonials { grid-template-rows: auto minmax(0, 1fr) 270px; }
  }
  @media (max-height: 680px) {
    .desktop-testimonials { inset: 8vh 10vh; grid-template-rows: auto minmax(160px, 1fr) auto; overflow-y: auto; padding: 0 32px 16px; }
  }

  .has-desktop-campaign-only .desktop-testimonials {
    inset: 13vh 13vh clamp(18px, 5vh, 48px);
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(215px, 1fr);
    gap: clamp(16px, 2.5vh, 24px) clamp(32px, 4vw, 64px);
    overflow-y: auto; padding: 0;
  }
  .has-desktop-campaign-only .desktop-testimonials .mobile-testimonials__opening > header { grid-area: 1 / 1; }
  .desktop-testimonials__aside {
    grid-area: 1 / 2 / -1; min-width: 0;
    display: flex; flex-direction: column;
  }
  .desktop-testimonials__aside .mobile-testimonials__written,
  .desktop-testimonials__aside .mobile-testimonials__footer { align-self: stretch; }
  .desktop-testimonials__aside .mobile-testimonials__footer {
    container-type: inline-size;
    flex: 1 0 auto;
    display: grid;
    /* The first row fills the space between the review and the YouTube title. */
    grid-template-rows: minmax(min-content, 1fr) auto;
    margin-block-end: clamp(12px, calc(30vh - 166px), 84px);
    padding-block-end: clamp(12px, 1.3vw, 20px);
  }
  .desktop-testimonials__aside .mobile-testimonials__podcast-divider {
    --trustpilot-width: calc(1.3 * clamp(110px, 10.2vw, 158px));
    align-self: center;
    margin-block: clamp(12px, 2vh, 18px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--trustpilot-width) minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
  }
  .desktop-testimonials__aside .mobile-testimonials__podcast-divider::before,
  .desktop-testimonials__aside .mobile-testimonials__podcast-divider::after {
    content: '';
    position: relative;
    top: calc(var(--trustpilot-width) * 140 / 466 - .5px);
    height: 1px;
    background: var(--yellow, #d8b473);
    opacity: .45;
  }
  .desktop-testimonials__aside .mobile-testimonials__trust-slot { width: var(--trustpilot-width); }
  .desktop-testimonials__aside .mobile-testimonials__written {
    --review-padding: clamp(16px, 1.7vw, 26px);
    --review-top-padding: clamp(8px, .8vw, 14px);
    --review-font-size: clamp(20px, 1.45vw, 23px);
    position: relative; margin-block-start: clamp(24px, calc(25vh - 129px), 84px);
    min-height: clamp(158px, 12.7vw, 204px);
    grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 0;
    border-radius: 5px; background: #1b1b1b;
  }
  .desktop-testimonials__aside .mobile-testimonials__quotes {
    --review-fade-out: 140ms;
    --review-fade-in: 200ms;
    grid-area: 1 / 1; overflow: clip;
  }
  .desktop-testimonials__aside .mobile-testimonials__quotes-track { display: grid; align-items: stretch; min-height: 100%; }
  .desktop-testimonials__aside .mobile-testimonials__quote {
    /* Reserve space below the review for its navigation. */
    grid-area: 1 / 1;
    padding: var(--review-top-padding) var(--review-padding) calc(2 * var(--review-padding) - var(--review-top-padding));
    border-radius: 0; background: transparent;
    transition: opacity var(--review-fade-in) ease-out var(--review-fade-out);
  }
  .desktop-testimonials__aside .mobile-testimonials__quote[inert] {
    opacity: 0; transition: opacity var(--review-fade-out) ease-in;
  }
  .desktop-testimonials__aside .mobile-testimonials__quote-footer { margin-top: auto; }
  .desktop-testimonials__aside .desktop-testimonials__review-progress {
    position: absolute;
    inset: auto var(--review-padding) 8px auto;
    grid-area: auto;
    width: min(280px, calc(100% - 2 * var(--review-padding)));
  }
  .desktop-testimonials__aside .desktop-testimonials__review-progress button { min-height: 26px; }
  .desktop-testimonials__aside .desktop-testimonials__review-progress button::before {
    align-self: end; margin-bottom: 4px;
  }
  .desktop-testimonials__aside .desktop-testimonials__review-progress::after {
    --review-segment: calc((100% - (var(--review-count) - 1) * var(--review-gap)) / var(--review-count));
    top: auto; bottom: 4px; width: 100%; transform: none;
    background: linear-gradient(#fff, #fff) no-repeat;
    background-size: var(--review-segment) 100%;
    background-position: calc(var(--review-index, 0) * 100% / max(1, var(--review-count) - 1)) 0;
    mask-image: repeating-linear-gradient(to right, #000 0 var(--review-segment), transparent var(--review-segment) calc(var(--review-segment) + var(--review-gap)));
    transition: background-position .32s cubic-bezier(.22, 1, .36, 1);
  }
  .desktop-testimonials__aside .mobile-testimonials__quote :is(blockquote, figcaption) { font-size: var(--review-font-size); }
  .has-desktop-campaign-only .desktop-testimonials__videos {
    grid-area: 2 / 1;
    container-type: size;
    display: grid; align-content: center;
  }
  .desktop-testimonials__portraits {
    --desktop-portrait-gap: clamp(12px, 2.8cqw, 24px);
    --desktop-portrait-height: min(210px, max(68px, (100cqh - 100px) / 2));
    --desktop-portrait-row-gap: 12px;
    --desktop-portrait-strip-width: calc(4 * var(--desktop-portrait-height) * 9 / 16 + 3 * var(--desktop-portrait-gap));
    position: relative; overflow: clip;
    display: grid; gap: var(--desktop-portrait-row-gap);
  }
  .desktop-testimonials .desktop-testimonials__portrait-row {
    width: min(100%, var(--desktop-portrait-strip-width));
    height: var(--desktop-portrait-height); padding: 0;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }
  .desktop-testimonials__portrait-row .mobile-testimonials__portrait {
    flex-basis: calc(var(--desktop-portrait-height) * 9 / 16);
    height: 100%;
    transition: opacity var(--portrait-transition-duration) var(--portrait-transition-easing),
      translate var(--portrait-transition-duration) var(--portrait-transition-easing);
  }
  .desktop-testimonials .desktop-testimonials__portraits[data-portrait-open] .desktop-testimonials__portrait-row { overflow-x: hidden; }
  .desktop-testimonials__portraits[data-portrait-open]:not([data-portrait-returning]) .mobile-testimonials__portrait {
    opacity: 0; translate: var(--portrait-displacement, 0px) 0;
  }
  .desktop-testimonials__portraits [data-portrait-origin] { visibility: hidden; }
  .desktop-testimonials__portraits[data-portrait-returning] [data-portrait-origin] {
    visibility: visible;
    transition-delay: calc(var(--portrait-transition-duration) * .6), 0ms;
    transition-duration: calc(var(--portrait-transition-duration) * .4), var(--portrait-transition-duration);
  }
  .desktop-testimonials__portrait-focus {
    --portrait-full-width: calc((2 * var(--desktop-portrait-height) + var(--desktop-portrait-row-gap)) * 9 / 16);
    --portrait-focus-gap: clamp(8px, 2cqw, 18px);
    position: absolute; z-index: 1; inset: 0 auto 0 0;
    width: clamp(88%, var(--desktop-portrait-strip-width), 100%);
    display: grid; align-items: center; gap: var(--portrait-focus-gap);
    grid-template-columns: minmax(0, 1fr) min(var(--portrait-full-width), calc(100% - 2 * (44px + var(--portrait-focus-gap)))) minmax(0, 1fr);
    pointer-events: none;
  }
  .desktop-testimonials__portrait-focus[hidden] { display: none; }
  .desktop-testimonials__portrait-focus > * { pointer-events: auto; transform-origin: top left; }
  .desktop-testimonials__portrait-preview {
    position: relative; width: min(100%, max(44px, calc(var(--portrait-full-width) * .42))); aspect-ratio: 9 / 16;
    padding: 0; border: 1px solid #ffffff66; border-radius: 5px; overflow: hidden;
    background: #111; opacity: .76; cursor: pointer;
    transition: opacity 200ms ease;
  }
  .desktop-testimonials__portrait-preview:first-child { justify-self: end; }
  .desktop-testimonials__portrait-preview:last-child { justify-self: start; }
  .desktop-testimonials__portrait-preview:is(:hover, :focus-visible) { opacity: 1; }
  .desktop-testimonials__portrait-preview img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
  .desktop-testimonials__player {
    position: relative; z-index: 1; width: 100%; aspect-ratio: 9 / 16;
    overflow: hidden; border-radius: 5px; color: #fff; background: #080808;
  }
  .desktop-testimonials__player video { display: block; width: 100%; height: 100%; object-fit: contain; }
  .desktop-testimonials__player button {
    position: absolute; top: 4px; right: 4px;
    display: grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 0; border-radius: 4px; background: #080808c9; color: inherit; cursor: pointer;
  }
  .desktop-testimonials__player button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  @media (max-height: 680px) {
    .has-desktop-campaign-only .desktop-testimonials { inset-block: 8vh 3.5vh; }
  }
  @media (prefers-reduced-motion: reduce) {
    .desktop-testimonials__aside .mobile-testimonials__quotes { --review-fade-out: 0ms; --review-fade-in: 0ms; }
    .desktop-testimonials .mobile-testimonials__portrait,
    .desktop-testimonials .mobile-testimonials__portrait-frame,
    .desktop-testimonials__portrait-preview,
    .desktop-testimonials__review-progress::after,
    .desktop-testimonials__aside .desktop-testimonials__review-progress::after { transition: none; }
  }
}
