/* =========================================================================
   Testimonials redesign (testimonials2.html → /about/testimonials/). Loaded after gable.css + home2.css, only on this page.
   Wrapper: .gbl.gbl-home2.tm (PayHOA blue accent, home2 section rhythm). Prefix: tm-.
   Reuses from home2.css: the hero card, .hx-story / .hx-video / .hx-play (and its video player), .hx-stars, .hx-eyebrow,
   .hx-more, .hx-who-line.
   ========================================================================= */

.tm { --tm-head: 96px; --tm-star: #f5b400; --tm-star-off: #d7deea; }
/* ship: page 2757's layout becomes one BB row holding [testimonials_page]; BB's cached node CSS can be stale, so the
   row, column and module spacing is pinned here (same as the contact and home pages). Nothing matches locally. */
body.page-id-2757 .fl-builder-content-primary .fl-col { width: 100%; }
body.page-id-2757 .fl-builder-content-primary > .fl-row > .fl-row-content-wrap { padding: 0; }
body.page-id-2757 .fl-builder-content-primary .fl-module-html > .fl-module-content { margin: 0; }
/* keyboard focus and jump links never land under the sticky site header (2.4.11) */
.tm :is(a, button, input, [tabindex]), .tm section[id], .tm .tm-vid { scroll-margin-top: calc(var(--tm-head) + 16px); }
.tm-ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- shared: star rating to one decimal (--r), drawn as a mask so 4.5 shows half a star ---------- */
.tm-stars {
  --s: 16px; display: inline-block; flex: none; width: calc(var(--s) * 5 + 8px); height: var(--s);
  background: linear-gradient(90deg, var(--tm-star) calc(var(--r, 5) / 5 * 100%), var(--tm-star-off) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8 0l2.35 4.76 5.25.77-3.8 3.7.9 5.23L8 11.99l-4.7 2.47.9-5.23L.4 5.53l5.25-.77z'/%3E%3C/svg%3E") 0 0 / calc(var(--s) + 2px) var(--s) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8 0l2.35 4.76 5.25.77-3.8 3.7.9 5.23L8 11.99l-4.7 2.47.9-5.23L.4 5.53l5.25-.77z'/%3E%3C/svg%3E") 0 0 / calc(var(--s) + 2px) var(--s) repeat-x;
}
.tm-stars.is-lg { --s: 22px; width: calc(var(--s) * 5 + 10px); -webkit-mask-size: calc(var(--s) + 2px) var(--s); mask-size: calc(var(--s) + 2px) var(--s); }
.gbl .tm-btn { min-height: 52px; gap: 8px; }
/* <button>s with .gbl-btn: gable.css's `.gbl button` reset (0,1,1) outranks .gbl-btn's padding and radius */
.gbl button.gbl-btn { padding: 0 24px 0 28px; border-radius: var(--r-sm); line-height: 1; text-align: center; }
.gbl button.gbl-btn-soft { background: #fff; color: var(--ink); border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; }
.gbl button.gbl-btn-soft:hover { border-color: var(--pb-200); color: var(--pb-700); background: #fff; }
.gbl button.gbl-btn-soft:focus { border: 1px solid var(--line); }
.gbl button.gbl-btn-soft:focus-visible, .gbl button.gbl-btn-soft:hover:focus { border-color: var(--pb-200); }
.tm-caret { width: 18px; height: 18px; fill: currentColor; transition: transform .25s var(--ease); }
.tm [aria-expanded="true"] .tm-caret { transform: rotate(180deg); }

/* =========================================================================
   Hero: the light feature/solutions hero; a mosaic of customer videos where the product scene would be
   ========================================================================= */
.tm-hero .hx-hero-card { color: var(--ink); background: linear-gradient(160deg, #f5f9ff 0%, var(--pb-50) 45%, var(--pb-100) 100%); box-shadow: inset 0 0 0 1px var(--pb-100); }
.tm-hero .hx-hero-glow { background: radial-gradient(42% 60% at 82% 8%, rgba(42, 107, 230, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(255, 255, 255, .9), transparent 70%); }
.tm-hero .hx-hero-glow::after { background-image: radial-gradient(rgba(34, 86, 211, .16) 1px, transparent 1px); }
.tm-hero .hx-hero-grid { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); column-gap: 56px; min-height: 680px; align-items: center; }
.tm-hero .hx-hero-copy { padding: 80px 0; }
.gbl.tm .tm-hero .hx-h1 { color: var(--ink); margin-top: 22px; font-size: clamp(38px, 3.4vw, 50px); }
.tm-hero .hx-h1 span { color: var(--pb-600); }
.tm-hero .hx-hero-sub { color: var(--body); }

.tm-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--pb-100); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2; }
.tm-eyebrow .tm-ico { color: var(--pb-600); }

/* "On this page": three jump links that double as the page's table of contents */
.tm-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.gbl .tm-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--pb-100); color: var(--ink); font-size: 15px; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s; }
.gbl .tm-jump a:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--pb-200), 0 14px 28px -18px rgba(24, 50, 140, .5); }
.tm-jump b { font-weight: 600; }
.tm-jump-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--pb-50); color: var(--pb-700); }
.tm-jump-ico svg { width: 20px; height: 20px; fill: currentColor; }

/* the mosaic: three columns of thumbnails, the middle one offset; tiles rise in on load */
.tm-hero-stage { position: relative; align-self: stretch; min-width: 0; }
.tm-mosaic { position: absolute; inset: -28px 48px -28px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: center; }
.tm-mosaic li:nth-child(3n + 2) { transform: translateY(56px); }
.gbl a.tm-tile { position: relative; display: block; aspect-ratio: 5 / 6; border-radius: 22px; overflow: hidden; background: #0d1b2a; color: #fff; box-shadow: 0 24px 48px -28px rgba(24, 50, 140, .55); isolation: isolate; }
.tm-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.tm-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 18, 45, .78)); z-index: 0; }
.gbl a.tm-tile:hover img { transform: scale(1.05); }
.tm-tile-play { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--pb-700); transition: transform .3s var(--ease); }
.tm-tile-play svg { width: 16px; height: 16px; margin-left: 2px; }
.gbl a.tm-tile:hover .tm-tile-play { transform: scale(1.1); }
.tm-tile-who { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: 14px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.gbl-js .tm-mosaic li { opacity: 0; animation: tm-rise .8s var(--ease) both; animation-delay: calc(.1s + var(--k) * 70ms); }
.gbl-js .tm-mosaic li:nth-child(3n + 2) { animation-name: tm-rise-mid; }
@keyframes tm-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tm-rise-mid { from { opacity: 0; transform: translateY(84px); } to { opacity: 1; transform: translateY(56px); } }

/* the quote cell: same size as a tile, white card */
.tm-mq { height: 100%; aspect-ratio: 5 / 6; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--pb-100), 0 24px 48px -28px rgba(24, 50, 140, .45); }
.tm-mq .hx-stars i { width: 14px; height: 14px; }
.tm-mq blockquote { margin: 0; padding: 0; border: 0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.35; font-weight: 600; color: var(--ink); quotes: none; font-style: normal; }
.tm-mq blockquote::before, .tm-mq blockquote::after { content: none; }
.tm-mq figcaption { font-size: 14px; line-height: 1.35; color: var(--muted); }

/* =========================================================================
   Awards marquee (pausable; hover or focus pauses it too)
   ========================================================================= */
.tm-awards { padding: 72px 0 8px; overflow: hidden; }
.tm-awards-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; }
.gbl .tm-awards-title { font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.gbl button.tm-pause { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.gbl button.tm-pause:hover { border-color: var(--pb-200); color: var(--pb-700); }
.tm-pause-ico svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.tm-pause .is-play, .tm-pause[aria-pressed="true"] .is-pause { display: none; }
.tm-pause[aria-pressed="true"] .is-play { display: block; }
.tm-marq { position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* two rows, half the badges each, the second moving the other way (V2, Earl 2026-10-19) */
.tm-marq { display: grid; gap: 16px; }
.tm-marq-track { display: flex; width: max-content; animation: tm-marq 60s linear infinite; }
.tm-marq-track.is-rev { animation-direction: reverse; }
.tm-marq.is-paused .tm-marq-track, .tm-marq:hover .tm-marq-track, .tm-marq:focus-within .tm-marq-track { animation-play-state: paused; }
.tm-marq-list { display: flex; gap: 16px; padding: 4px 8px 4px 8px; }
/* every tile the same square; the logo fills a fixed inner box, centred (object-fit), whatever its own proportions (X4:
   tall G2 badges used to hang off the bottom, max-height:100% didn't resolve) — same rule as about2.css's badge grid */
.tm-marq-list li { flex: none; position: relative; width: 144px; height: 144px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 24px -20px rgba(28, 39, 55, .4); --pad: 16px; }
.tm-marq-list img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
@keyframes tm-marq { to { transform: translateX(-50%); } }
/* without JS or with reduced motion: no movement, one row you can scroll */
html:not(.gbl-js) .gbl button.tm-pause, html:not(.gbl-js) .tm-marq-list[aria-hidden] { display: none; }
html:not(.gbl-js) .tm-marq-track { animation: none; }
html:not(.gbl-js) .tm-marq { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }

/* =========================================================================
   Case studies
   ========================================================================= */
.tm-stories { padding-top: 96px; }
.tm-cs .tm-cs-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--pb-50); }
.tm-cs .tm-cs-media img { width: 100%; height: 100%; object-fit: cover; transform: none; transition: transform .6s var(--ease); }
.tm-cs .hx-video:hover img { transform: scale(1.04); }
.tm-cs-media.is-still img { object-fit: contain; background: #fff; padding: 12%; }
.tm-cs-len { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(8, 18, 45, .72); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; }
.tm-cs-len svg { width: 15px; height: 15px; fill: currentColor; }
.tm-cs .hx-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.tm-cs-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 8px 0; flex: 1; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; line-height: 1.3; }
.tm-chips li.is-kind { background: var(--pb-50); color: var(--pb-800); font-weight: 600; }
.tm-chips svg { width: 14px; height: 14px; fill: currentColor; }
.gbl .tm-cs-title { font-size: 20px; line-height: 1.35; }
.tm-stat { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--pb-50); margin-top: auto; }
.tm-stat b { font-size: 26px; line-height: 1.15; font-weight: 600; color: var(--pb-800); }
.tm-stat span { font-size: 14px; line-height: 1.45; color: var(--body); }
.tm-cs .hx-more { margin-top: 4px; }
/* the featured story: media left, the story right */
.tm-cs.is-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding: 16px; margin-bottom: 24px; }
.tm-cs.is-feature .tm-cs-media { aspect-ratio: auto; height: 100%; min-height: 380px; }
.tm-cs.is-feature .hx-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.tm-cs.is-feature .tm-cs-body { padding: 32px 24px 24px 0; gap: 16px; }
.gbl .tm-cs.is-feature .tm-cs-title { font-size: 30px; line-height: 1.25; }
.tm-cs.is-feature blockquote { padding: 0; font-size: 20px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.tm-cs.is-feature .hx-who-line { padding: 0; margin-top: 0; }
.tm-cs.is-feature .tm-stat { margin-top: 4px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.tm-cs.is-feature .tm-stat b { font-size: 32px; }
.tm-cs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tm-cs-grid .tm-cs { padding: 12px 12px 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tm-cs-grid .tm-cs:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(24, 50, 140, .45); }
.gbl-js .tm-cs-grid .tm-cs.gbl-reveal { transition-delay: calc(var(--k, 0) * 80ms); }
.gbl-js .tm-cs-grid .tm-cs.gbl-reveal.is-in { transition: opacity .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }

/* =========================================================================
   Video wall
   ========================================================================= */
.tm-videos { background: #fff; }
.tm-vid-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tm-vid { padding: 12px 12px 20px; gap: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tm-vid:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(24, 50, 140, .45); }
.tm-vid blockquote { font-size: 17px; line-height: 1.45; }
.tm-vid .hx-video { aspect-ratio: 1 / 1; }
.tm .tm-vid .hx-video img { transform: none; object-position: 50% 30%; }
.tm .tm-vid .hx-video:hover img { transform: scale(1.04); }
.tm-vid.is-flash { animation: tm-flash 1.6s var(--ease); }
@keyframes tm-flash { 0%, 60% { box-shadow: 0 0 0 3px var(--pb-600); } 100% { box-shadow: 0 0 0 0 transparent; } }
.gbl-js .tm-vid-grid:not(.is-open) .tm-vid.is-more { display: none; }
.tm-vid-more { margin-top: 40px; }

/* =========================================================================
   Reviews: summary + filters on the left (sticky), cards on the right
   ========================================================================= */
.tm-rv-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
/* sticky, but never taller than the window: on a 900px-high screen the summary + filters run ~1,030px, and the last topic
   chips sat below the fold for the whole section (Tab focus too). Past that height the column scrolls inside itself (Z, 2026-10-19) */
.tm-rv-side { position: sticky; top: calc(var(--tm-head) + 24px); display: grid; gap: 16px; max-height: calc(100vh - var(--tm-head) - 48px); overflow-y: auto; scrollbar-width: thin; }
.tm-sum { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: grid; justify-items: start; gap: 10px; }
.tm-sum-score { display: flex; align-items: baseline; gap: 8px; }
.tm-sum-score b { font-size: 56px; line-height: 1; font-weight: 600; color: var(--ink); }
.tm-sum-score span { font-size: 16px; color: var(--muted); }
.gbl .tm-sum-note { font-size: 15px; line-height: 1.45; color: var(--body); }
.tm-sum-links { display: grid; gap: 6px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); width: 100%; }
.gbl .tm-sum-links a { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; font-size: 15px; font-weight: 600; color: var(--pb-700); }
.gbl .tm-sum-links a:hover { color: var(--pb-900); }
.tm-ext { width: 16px; height: 16px; fill: currentColor; flex: none; }

.tm-filters { display: grid; gap: 20px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.tm-filters[hidden] { display: none; }
.tm-search { position: relative; display: block; }
.tm-search-ico { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: var(--muted); pointer-events: none; }
.gbl .tm-search input { width: 100%; height: 48px; padding: 0 44px 0 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.gbl .tm-search input::placeholder { color: var(--muted); opacity: 1; }
.gbl .tm-search input:focus { outline: none; border-color: var(--pb-600); background: #fff; box-shadow: 0 0 0 3px var(--pb-100); }
.tm-search input::-webkit-search-cancel-button { display: none; }
.gbl button.tm-search-x { position: absolute; right: 6px; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.gbl button.tm-search-x:hover { background: var(--line-2); color: var(--ink); }
.tm-search-x svg { width: 16px; height: 16px; fill: currentColor; }
.tm-search-x[hidden] { display: none; }
.tm-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.tm-fs legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tm-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-seg label { position: relative; cursor: pointer; }
.tm-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tm-seg span, .gbl button.tm-topic { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; transition: border-color .2s, background .2s, color .2s; }
.tm-seg small, .tm-topic span { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tm-seg label:hover span, .gbl button.tm-topic:hover { border-color: var(--pb-200); }
.tm-seg input:checked + span, .gbl button.tm-topic[aria-pressed="true"] { border-color: var(--pb-600); background: var(--pb-50); color: var(--pb-800); box-shadow: inset 0 0 0 1px var(--pb-600); }
.tm-seg input:checked + span small, .tm-topic[aria-pressed="true"] span { color: var(--pb-700); }
.tm-seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.tm-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.gbl button.tm-topic { cursor: pointer; }

.tm-rv-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; margin-bottom: 16px; }
.tm-rv-bar[hidden] { display: none; }
.gbl .tm-rv-count { font-size: 15px; color: var(--muted); }
.tm-rv-count b { color: var(--ink); font-weight: 600; }
.gbl button.tm-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--pb-700); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.gbl button.tm-reset:hover { background: var(--pb-50); }
.tm-reset svg { width: 14px; height: 14px; fill: currentColor; }
.tm-reset[hidden] { display: none; }

.tm-rv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tm-rv { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s var(--ease); }
.tm-rv:hover { border-color: var(--pb-200); box-shadow: 0 24px 48px -36px rgba(24, 50, 140, .5); }
.tm-rv[hidden] { display: none; }
.gbl-js .tm-rv.is-new { animation: tm-rise .5s var(--ease) both; }
.tm-rv-top { display: flex; align-items: center; gap: 8px; }
.tm-rv-score { font-size: 15px; font-weight: 600; color: var(--ink); }
.tm-src { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; background: var(--bg); color: var(--muted); }
.tm-src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tm-src.is-capterra { color: #1b4d9c; background: #edf3fc; }
.tm-src.is-g2 { color: #b9391a; background: #fdf0ec; }
.tm-src.is-story { color: var(--pb-800); background: var(--pb-50); }
.gbl .tm-rv-date { margin-top: -6px; font-size: 13px; color: var(--muted); }
.gbl .tm-rv-title { font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; }
.gbl .tm-rv-text { font-size: 16px; line-height: 1.6; color: var(--body); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tm-rv-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.tm-av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pb-100); color: var(--pb-800); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.tm-av.is-anon { background: var(--line-2); color: var(--muted); }
.tm-av svg { width: 20px; height: 20px; fill: currentColor; }
.tm-rv-who { display: flex; flex-direction: column; min-width: 0; font-size: 15px; line-height: 1.35; }
.tm-rv-who b { color: var(--ink); font-weight: 600; }
.tm-rv-who small { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.gbl a.tm-rv-more { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--pb-700); transition: background .2s, color .2s; }
.gbl a.tm-rv-more:hover { background: var(--pb-50); color: var(--pb-900); }
.gbl a.tm-rv-more:hover .gbl-ico-sm { transform: translateX(3px); }
.tm-rv-more .gbl-ico-sm { transition: transform .2s var(--ease); }

.tm-empty { display: grid; justify-items: center; gap: 14px; padding: 56px 24px; border-radius: 24px; border: 1px dashed var(--pb-200); background: #fff; text-align: center; }
.tm-empty[hidden] { display: none; }
.tm-empty-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--pb-50); color: var(--pb-700); }
.tm-empty-ico svg { width: 26px; height: 26px; fill: currentColor; }
.gbl .tm-empty p { font-size: 16px; max-width: 420px; }
.tm-empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.tm-rv-morewrap { margin-top: 32px; }

/* ---------- the full review (native <dialog>, built by gable/testimonials2.js) ---------- */
.tm-dlg-lock, .tm-dlg-lock body { overflow: hidden; }
.gbl .tm-dlg { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(88dvh, 900px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--body); box-shadow: 0 40px 100px -30px rgba(8, 18, 45, .6); overflow: hidden; }
.tm-dlg[open] { display: flex; flex-direction: column; animation: tm-dlg-in .3s var(--ease); }
.tm-dlg::backdrop { background: rgba(12, 22, 48, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes tm-dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.tm-dlg-bar { display: flex; align-items: center; gap: 8px; padding: 14px 14px 14px 28px; border-bottom: 1px solid var(--line-2); }
.tm-dlg-count { margin-right: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gbl button.tm-dlg-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.gbl button.tm-dlg-btn:hover { border-color: var(--pb-200); background: var(--pb-50); }
.gbl button.tm-dlg-btn:disabled { opacity: .4; cursor: default; background: #fff; border-color: var(--line); }
.tm-dlg-btn svg { width: 20px; height: 20px; }
.tm-dlg-body { overflow-y: auto; padding: 28px 28px 32px; display: grid; gap: 20px; overscroll-behavior: contain; }
.tm-dlg-top { display: flex; align-items: center; gap: 8px; }
.gbl .tm-dlg-title { font-size: 26px; line-height: 1.3; overflow-wrap: anywhere; }
.tm-dlg-who { display: flex; align-items: center; gap: 12px; }
.tm-dlg-who .tm-av { width: 48px; height: 48px; font-size: 16px; }
.tm-dlg-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-dlg-meta li { display: grid; padding: 8px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.35; color: var(--ink); }
.tm-dlg-meta small { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tm-dlg-sec { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; }
.tm-dlg-sec .tm-dlg-sec-ico { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--pb-50); color: var(--pb-700); }
.tm-dlg-sec.is-pro .tm-dlg-sec-ico { background: var(--green-50); color: #0a725a; }
.tm-dlg-sec.is-con .tm-dlg-sec-ico { background: var(--amber-50); color: #9a5b00; }
.tm-dlg-sec-ico svg { width: 20px; height: 20px; fill: currentColor; }
.gbl .tm-dlg-sec h3 { font-size: 16px; line-height: 1.4; }
.gbl .tm-dlg-sec p { font-size: 17px; line-height: 1.65; color: var(--body); white-space: pre-line; overflow-wrap: anywhere; }
.tm-dlg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.gbl .tm-dlg-foot a { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; font-weight: 600; color: var(--pb-700); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1300px) {
  .tm-cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-vid-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .tm-hero .hx-hero-grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); column-gap: 40px; }
  .tm-rv-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
  .tm-rv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  /* the hero stacks: copy centred, then a two-row strip of the videos */
  .tm-hero .hx-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .tm-hero .hx-hero-copy { padding: 72px 0 40px; }
  .tm-jump { justify-content: center; }
  .tm-hero-stage { align-self: auto; overflow: visible; padding: 0 0 56px; margin: 0; }
  .tm-mosaic { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 880px; margin: 0 auto; }
  .tm-mosaic li:nth-child(3n + 2) { transform: none; }
  .gbl-js .tm-mosaic li:nth-child(3n + 2) { animation-name: tm-rise; }
  .tm-mosaic li:nth-child(n + 6) { display: none; }
  .tm-mosaic-quote { display: none; }
  .tm-cs.is-feature { grid-template-columns: 1fr; gap: 20px; padding: 12px 12px 24px; }
  .tm-cs.is-feature .tm-cs-media { min-height: 0; aspect-ratio: 16 / 9; }
  .tm-cs.is-feature .tm-cs-body { padding: 8px 12px 0; }
  .tm-rv-layout { grid-template-columns: 1fr; }
  .tm-rv-side { position: static; max-height: none; overflow: visible; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
  .tm-rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tm { --tm-head: 72px; }
  .gbl.tm .tm-hero .hx-h1 { font-size: 34px; }
  .tm-hero .hx-hero-copy { padding: 44px 4px 28px; }
  .tm-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .gbl .tm-jump a { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 6px; text-align: center; font-size: 14px; }
  .tm-jump a > span:last-child { display: grid; }
  .tm-jump b { font-size: 20px; }
  .tm-hero-stage { padding-bottom: 20px; }
  /* phones: one swipeable row of thumbnails, bleeding to the card's edges */
  .tm-mosaic { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 12px; scrollbar-width: none; }
  .tm-mosaic::-webkit-scrollbar { display: none; }
  .tm-mosaic li, .tm-mosaic li:nth-child(n + 6) { display: block; flex: 0 0 38%; scroll-snap-align: start; }
  .tm-mosaic li.tm-mosaic-quote { display: none; }
  .gbl a.tm-tile { border-radius: 18px; }
  .tm-tile-who { font-size: 13px; }

  .tm-awards { padding-top: 48px; }
  .tm-awards-head { margin-bottom: 20px; }
  .tm-marq { gap: 12px; }
  .tm-marq-list li { width: 112px; height: 112px; border-radius: 20px; --pad: 12px; }
  .tm-marq-list { gap: 12px; padding: 4px 6px; }

  .tm-stories { padding-top: 64px; }
  .gbl .tm-cs.is-feature .tm-cs-title { font-size: 24px; }
  .tm-cs.is-feature blockquote { font-size: 18px; }
  .tm-cs.is-feature .tm-stat { grid-template-columns: 1fr; gap: 2px; }
  .tm-cs.is-feature .hx-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .tm-cs-grid { grid-template-columns: 1fr; gap: 16px; }
  .tm-cs-grid .tm-cs .tm-cs-media { aspect-ratio: 16 / 9; }

  .tm-vid-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tm-vid { padding: 8px 8px 16px; gap: 10px; border-radius: 20px; }
  .tm-vid .hx-video { border-radius: 14px; }
  .tm-vid blockquote { font-size: 15px; padding: 0 4px; }
  .tm-vid .hx-who-line { padding: 0 4px; }
  .tm-vid .hx-who-line strong { font-size: 14px; }
  .tm-vid .hx-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .tm-vid .hx-play svg { width: 20px; height: 20px; }
  .tm-vid-more { margin-top: 28px; }
  .gbl-js .tm-vid-grid:not(.is-open) .tm-vid:nth-child(n + 5) { display: none; }

  .tm-rv-side { grid-template-columns: 1fr; }
  .tm-sum { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 20px; align-items: center; }
  .tm-sum-score { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 0; }
  .tm-sum-score b { font-size: 44px; }
  .tm-sum-score span { font-size: 14px; }
  .tm-sum-links { grid-column: 1 / -1; }
  .tm-filters { padding: 18px; gap: 16px; }
  /* the chip rows scroll sideways instead of wrapping into a tall block */
  .tm-seg, .tm-topics { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .tm-seg::-webkit-scrollbar, .tm-topics::-webkit-scrollbar { display: none; }
  .tm-seg label, .tm-topics li { flex: none; }
  .tm-rv-grid { grid-template-columns: 1fr; gap: 14px; }
  .tm-rv { padding: 20px; border-radius: 20px; }
  .gbl .tm-rv-title { font-size: 18px; }
  .tm-rv-foot { flex-wrap: wrap; }
  .gbl a.tm-rv-more { padding: 0 8px; margin-right: -8px; }
  .tm-rv-morewrap .gbl-btn, .tm-vid-more .gbl-btn { width: 100%; }

  .gbl .tm-dlg { width: 100vw; max-height: 92dvh; margin: auto auto 0; border-radius: 24px 24px 0 0; }
  .tm-dlg[open] { animation-name: tm-dlg-up; }
  .tm-dlg-bar { padding: 10px 10px 10px 20px; }
  .tm-dlg-body { padding: 22px 20px 28px; gap: 18px; }
  .gbl .tm-dlg-title { font-size: 22px; }
  .gbl .tm-dlg-sec p { font-size: 16px; }
}
@keyframes tm-dlg-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 420px) {
  .tm-vid-grid { grid-template-columns: 1fr; }
  .tm-vid blockquote { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-marq-track { animation: none; }
  .tm-marq { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .tm-marq-list[aria-hidden], .gbl button.tm-pause { display: none; } /* nothing moves, so no pause button */
  .gbl-js .tm-mosaic li, .gbl-js .tm-rv.is-new, .tm-dlg[open], .tm-vid.is-flash { animation: none; opacity: 1; }
  .tm-cs-grid .tm-cs:hover, .tm-vid:hover, .gbl .tm-jump a:hover { transform: none; }
}
