<!-- -->
/* ==========================================================================
   Testimonials page  -  gritblueprint standalone theme
   Loaded only on body.gb-testimonials-tpl (conditional enqueue in inc.php).
   The page's visual design lives in inline styles on each section (so every
   block stays editable in Gutenberg). This file holds: the header offset,
   the responsive behavior, hover micro-interactions (which inline styles
   cannot express), the filter chips, the FAQ accordion, and the video
   lightbox. Everything is scoped under the template body class.
   ========================================================================== */

/* ---- Header offset: pull content up under the transparent Elementor header */
body.gb-testimonials-tpl { --gb-header-h: 130px; }
@media (max-width:920px){ body.gb-testimonials-tpl { --gb-header-h: 120px; } }
@media (max-width:760px){ body.gb-testimonials-tpl { --gb-header-h: 100px; } }
body.gb-testimonials-tpl #content,
body.gb-testimonials-tpl .site-content { padding-top:0 !important; margin-top:0 !important; }
body.gb-testimonials-tpl .gb-app { margin-top: calc(-1 * var(--gb-header-h)) !important; }
/* Hero background fills behind the transparent header; its content clears it. */
body.gb-testimonials-tpl .gb-tst-hero-sec { padding-top: calc(var(--gb-header-h) + 36px) !important; }

/* The Wall's sticky filter bar sticks just below the header, not under it. */
body.gb-testimonials-tpl .gb-tst-wallbar { top: var(--gb-header-h) !important; }

/* ---- Base behavior ------------------------------------------------------- */
body.gb-testimonials-tpl { scroll-behavior:smooth; }
body.gb-testimonials-tpl ::selection { background:#FF1894; color:#fff; }
body.gb-testimonials-tpl a:focus-visible,
body.gb-testimonials-tpl button:focus-visible,
body.gb-testimonials-tpl summary:focus-visible,
body.gb-testimonials-tpl [role="button"]:focus-visible,
body.gb-testimonials-tpl [tabindex]:focus-visible { outline:3px solid #0092D6; outline-offset:2px; border-radius:0; }
body.gb-testimonials-tpl .search-wrap:focus-within { border-color:#0092D6 !important; box-shadow:0 0 0 3px rgba(0,146,214,.25); }

/* ---- Hover micro-interactions (replace the framework's style-hover) ------- */
body.gb-testimonials-tpl .gb-tst-hero:hover { transform:translateY(-4px); box-shadow:none; --tick:1; border-color:rgba(255,24,148,.45); }
body.gb-testimonials-tpl .gb-tst-video:hover { transform:translateY(-4px); box-shadow:none; --tick:1; border-color:rgba(255,24,148,.4); }
body.gb-testimonials-tpl .gb-tst-video:hover .gb-tst-playbtn { transform:scale(1.07); }
body.gb-testimonials-tpl .gb-tst-wall:hover { transform:translateY(-3px); box-shadow:none; --tick:1; border-color:rgba(255,24,148,.4); }
body.gb-testimonials-tpl .gb-tst-btn-pink:hover { transform:translateY(-2px); box-shadow:none; }
body.gb-testimonials-tpl .gb-tst-btn-ghost:hover { background:rgba(255,255,255,.08); border-color:#fff; }
body.gb-testimonials-tpl .gb-logo-cell:hover img { opacity:1; }

/* ---- Filter chips -------------------------------------------------------- */
body.gb-testimonials-tpl .gb-tst-chip {
  font-family:var(--font-sans); font-size:13px; font-weight:500; letter-spacing:.04em;
  padding:8px 14px; border-radius:0; border:1px solid #DCDBD4; background:#fff;
  color:#0E1E36; cursor:pointer; transition:border-color .18s, background .18s, color .18s;
  -webkit-appearance:none; appearance:none; line-height:1.1;
}
body.gb-testimonials-tpl .gb-tst-chip[aria-pressed="true"] { border-color:#FF1894; background:#FF1894; color:#fff; }
@media (max-width:760px) and (pointer:coarse){ body.gb-testimonials-tpl .gb-tst-chip { min-height:40px; } }

/* ---- FAQ accordion ------------------------------------------------------- */
body.gb-testimonials-tpl .gb-tst-faq-item { border-bottom:1px solid #DCDBD4; }
body.gb-testimonials-tpl .gb-tst-faq-item summary {
  font-family:var(--font-sans); font-weight:700; font-size:18px; color:#0E1E36;
  padding:22px 40px 22px 0; cursor:pointer; position:relative; list-style:none;
}
body.gb-testimonials-tpl .gb-tst-faq-item summary::-webkit-details-marker { display:none; }
body.gb-testimonials-tpl .gb-tst-faq-mark {
  position:absolute; right:4px; top:20px; color:#FF1894; font-size:24px; font-weight:400;
  line-height:1; transition:transform .2s;
}
body.gb-testimonials-tpl .gb-tst-faq-item[open] .gb-tst-faq-mark { transform:rotate(45deg); }
body.gb-testimonials-tpl .gb-tst-faqa { padding:0 0 22px; }

/* ---- Video lightbox (built by testimonials.js) --------------------------- */
body.gb-testimonials-tpl .gb-tst-lb {
  position:fixed; inset:0; z-index:80; background:rgba(14,30,54,.86);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  display:none; place-items:center; padding:24px;
}
body.gb-testimonials-tpl .gb-tst-lb.open { display:grid; }
body.gb-testimonials-tpl .gb-tst-lb-inner { position:relative; width:min(900px,92vw); }
body.gb-testimonials-tpl .gb-tst-lb-close {
  position:absolute; top:-48px; right:0; background:transparent; border:1px solid rgba(255,255,255,.4);
  color:#fff; width:40px; height:40px; border-radius:50%; cursor:pointer; font-size:20px;
  display:flex; align-items:center; justify-content:center; line-height:1; transition:background .18s, border-color .18s;
}
body.gb-testimonials-tpl .gb-tst-lb-close:hover { background:#FF1894; border-color:#FF1894; }
body.gb-testimonials-tpl .gb-tst-lb video { width:100%; border-radius:0; background:#0E1E36; box-shadow:none; }
body.gb-testimonials-tpl .gb-tst-lb-meta { font-family:var(--font-sans); color:#fff; margin-top:14px; font-size:12.5px; letter-spacing:.06em; }
body.gb-testimonials-tpl .gb-tst-lb-meta b { font-weight:700; font-size:16px; display:block; margin-bottom:4px; letter-spacing:0; }
body.gb-testimonials-tpl .gb-tst-lb-ktlabel { font-family:var(--font-sans); font-size:13px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#FF1894; }
body.gb-testimonials-tpl .gb-tst-lb-quote { font-family:var(--font-sans); font-size:15px; line-height:1.62; color:#EAF0F8; margin:8px 0 0; }

/* ---- Responsive: mobile rails, scrolling chips, tighter spacing ---------- */
@media (max-width:860px){
  body.gb-testimonials-tpl .hero-grid { grid-template-columns:1fr !important; }
  body.gb-testimonials-tpl .hero-mark-col { display:none !important; }
  body.gb-testimonials-tpl .hero-mark-mobile { display:block !important; }
  body.gb-testimonials-tpl #watch, body.gb-testimonials-tpl #faq { scroll-margin-top:58px; }
}
@media (max-width:760px){
  body.gb-testimonials-tpl .gb-tst-hero-sec { padding:calc(var(--gb-header-h) + 24px) 0 48px !important; }
  body.gb-testimonials-tpl section { padding-top:52px !important; padding-bottom:54px !important; }
  /* Headliners + Watch become swipeable snap rails */
  body.gb-testimonials-tpl .hl-rail,
  body.gb-testimonials-tpl .watch-rail {
    display:flex !important; grid-template-columns:none !important; overflow-x:auto;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; gap:14px !important;
    scroll-padding-left:32px; padding-bottom:10px; margin-left:-32px; margin-right:-32px;
    padding-left:32px; padding-right:32px; scrollbar-width:none;
  }
  body.gb-testimonials-tpl .hl-rail::-webkit-scrollbar,
  body.gb-testimonials-tpl .watch-rail::-webkit-scrollbar { display:none; }
  body.gb-testimonials-tpl .hl-rail > * { flex:0 0 86% !important; scroll-snap-align:start; grid-column:auto !important; }
  body.gb-testimonials-tpl .watch-rail > * { flex:0 0 78% !important; scroll-snap-align:start; }
  /* Category chips scroll sideways instead of stacking tall */
  body.gb-testimonials-tpl .chip-row {
    flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; margin-left:-32px; margin-right:-32px; padding:2px 32px 6px; scroll-padding-left:32px;
  }
  body.gb-testimonials-tpl .chip-row::-webkit-scrollbar { display:none; }
  body.gb-testimonials-tpl .chip-row > * { flex:0 0 auto; scroll-snap-align:start; }
}
@media (max-width:640px){
  body.gb-testimonials-tpl [data-screen-label="Trusted By"] .gb-logo-row { gap:20px 24px !important; }
  body.gb-testimonials-tpl [data-screen-label="Trusted By"] .gb-logo-cell { width:calc(33.333% - 16px) !important; height:40px !important; }
}
@media (max-width:380px){
  body.gb-testimonials-tpl [data-screen-label="Trusted By"] .gb-logo-cell { height:34px !important; }
}
@media (prefers-reduced-motion: reduce){
  body.gb-testimonials-tpl *, body.gb-testimonials-tpl *::before, body.gb-testimonials-tpl *::after { transition:none !important; animation:none !important; }
  body.gb-testimonials-tpl { scroll-behavior:auto !important; }
}

/* -------------------------------------------------------------------------
   Page ground. The site header is a sticky bar with a translucent background
   (rgba(11,24,46,.82)), so it composites over whatever sits behind it. This
   page never set a body background, so the header was compositing over the
   browser's white default and reading grey instead of navy -- the hero's own
   colour is a radial-gradient on the hero element, which does not sit behind
   the header. Other dark pages (speaking, stefanie-couch) set this same token.
   ---------------------------------------------------------------------- */
body.gb-testimonials-tpl { background: var(--gb-navy-900); }

/* ==========================================================================
   ACCESSIBILITY AND BRAND-RULE REPAIR (Nov 15 2026). Keep this block last.
   ========================================================================== */

/* 1. The real play buttons inside the video cards (inc.php turns the old role="button" cards into plain
      articles with a <button> inside). They keep the look of the spans they replace. */
body.gb-testimonials-tpl button.gb-tst-playgo{border:0;padding:0;margin-top:0;margin-left:0;margin-right:0;font:inherit;color:inherit;cursor:pointer;text-align:left;-webkit-appearance:none;appearance:none;}
body.gb-testimonials-tpl button.gb-tst-playgo:not(.gb-tst-playbtn){background:transparent;align-self:flex-start;min-height:46px;}
body.gb-testimonials-tpl button.gb-tst-playgo:focus-visible{outline:3px solid #18355E;outline-offset:3px;}
body.gb-testimonials-tpl .gb-tst-video button.gb-tst-playgo:focus-visible{outline-color:#fff;}
body.gb-testimonials-tpl .gb-tst-sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* 2. Contrast (axe color-contrast). White on her pink #FF1894 is 3.6:1: it passes only as large bold text, and
      there is no darker pink. So the buttons become large Zuume doors like the rest of the site, and small
      text on a pink fill (the result tags, the initials in the round avatars, the pressed filter chip) goes navy. */
html body.gb-testimonials-tpl main a:is(.gb-tst-btn-pink,.gb-tst-btn-ghost){font-family:var(--font-display) !important;font-weight:700 !important;font-size:22px !important;letter-spacing:.03em !important;line-height:1 !important;min-height:52px;padding:8px 28px 4px !important;justify-content:center;}
html body.gb-testimonials-tpl main .gb-tst-btn-pink:hover{box-shadow:0 10px 30px rgba(255,24,148,.5) !important;}
html body.gb-testimonials-tpl main article span[style*="background:#FF1894"][style*="color:#fff"]{color:#0E1E36 !important;}
html body.gb-testimonials-tpl main .gb-tst-chip[aria-pressed="true"]{color:#0E1E36 !important;}
/* small pink words on white go regular navy */
html body.gb-testimonials-tpl main button.gb-tst-playgo > span[style*="color:#FF1894"]{color:#18355E !important;}

/* 3. Nothing that carries information is under 15px (the sizes are written inline in the page). */
html body.gb-testimonials-tpl main .gb-tst-chip,
html body.gb-testimonials-tpl main [style*="font-size:11px"],
html body.gb-testimonials-tpl main [style*="font-size:11.5px"],
html body.gb-testimonials-tpl main [style*="font-size:12px"],
html body.gb-testimonials-tpl main [style*="font-size:12.5px"],
html body.gb-testimonials-tpl main [style*="font-size:13px"],
html body.gb-testimonials-tpl main [style*="font-size:13.5px"],
html body.gb-testimonials-tpl main [style*="font-size:14px"],
html body.gb-testimonials-tpl main [style*="font-size:14.5px"]{font-size:15px !important;}
/* The same sizes as a script writes them (with a space): cards built in the browser for phones. Nov 17 2026. */
html body.gb-testimonials-tpl main [style*="font-size: 11px"],
html body.gb-testimonials-tpl main [style*="font-size: 11.5px"],
html body.gb-testimonials-tpl main [style*="font-size: 12px"],
html body.gb-testimonials-tpl main [style*="font-size: 12.5px"],
html body.gb-testimonials-tpl main [style*="font-size: 13px"],
html body.gb-testimonials-tpl main [style*="font-size: 13.5px"],
html body.gb-testimonials-tpl main [style*="font-size: 14px"],
html body.gb-testimonials-tpl main [style*="font-size: 14.5px"]{font-size:15px !important;}

/* 4. No corner brackets: the hover ticks in the card corners are not shown. */
body.gb-testimonials-tpl main .tick{display:none !important;}

/* 5. Photo cards: the name and title over the photo are now 15px, so they get the full card width (the play
      button moves to the top corner of the photo) and a deeper navy fade behind them so they stay readable. */
/* Nov 17 2026, Stefanie: a play button never sits on a face ("never cover someones face like this"). The top corner
   still touched hair and faces on these head shots, so Play moves into a navy strip right under the photo, left
   aligned. The whole card still opens the video. */
html body.gb-testimonials-tpl main .gb-tst-video > div:first-child{box-sizing:content-box !important;padding-bottom:64px !important;background:#0E1E36 !important;}
html body.gb-testimonials-tpl main .gb-tst-video > div:first-child > [style*="position:absolute;inset:0"]{bottom:64px !important;height:calc(100% - 64px) !important;}
html body.gb-testimonials-tpl main .gb-tst-video .gb-tst-playbtn{top:auto !important;right:auto !important;bottom:8px !important;left:12px !important;}html body.gb-testimonials-tpl main .gb-tst-video > div:first-child > div[style*="z-index:2"]{padding-right:16px !important;text-shadow:0 1px 4px rgba(14,30,54,.95);}
html body.gb-testimonials-tpl main .gb-tst-video > div:first-child > div[style*="rgba(14,30,54,0) 48%"]{background:linear-gradient(180deg,rgba(14,30,54,0) 34%,rgba(14,30,54,.92) 100%) !important;}
/* the record code (GB-014) stays on one line */
html body.gb-testimonials-tpl main article span[style*="color:#90a0b5"]{white-space:nowrap !important;flex:none;}

/* ===== Nov 16 2026: Phil Odom video on his card (#GB-TUCKER-PRESIDENT), above his written quote.
   Click to play only, never by itself. The button starts it with sound, then leaves; the player's own controls take over. ===== */
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil{margin:0 0 24px;width:100%;max-width:720px;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__box{position:relative;border-radius:12px;overflow:hidden;background:#18355E;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__box video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:14px;min-height:60px;margin:0;padding:4px 26px 0 10px;border:0;border-radius:999px;
  background:#FF1894;color:#fff;font-family:var(--font-display);font-weight:700;font-size:24px;line-height:1;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;cursor:pointer;box-shadow:0 14px 34px -10px rgba(14,30,54,.6);transition:box-shadow .2s;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play[hidden]{display:none;} /* display:inline-flex beats the hidden attribute without this */
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play i{display:grid;place-items:center;width:44px;height:44px;margin-top:-4px;border-radius:50%;background:#0E1E36;color:#fff;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play i svg{width:16px;height:16px;margin-left:3px;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play:hover{box-shadow:0 0 0 3px #fff,0 0 34px rgba(255,24,148,.8);}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #FF1894;}
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil figcaption{margin-top:12px;font-family:var(--font-sans);font-size:17px;line-height:1.5;color:#18355E;}
@media (max-width:600px){
  html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play{min-height:52px;font-size:20px;padding:4px 20px 0 8px;gap:10px;}
  html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play i{width:38px;height:38px;}
}
@media (prefers-reduced-motion:reduce){html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play{transition:none;}}

/* 6. Nov 17 2026: text on white is navy #18355E (she reads #0E1E36 text as black). #0E1E36 stays as a dark ground
      and as small text on a pink fill, where it is needed for contrast (#18355E on pink is only 3.4:1). */
html body.gb-testimonials-tpl main{color:#18355E;}
html body.gb-testimonials-tpl main [style*="color:#0E1E36"]:not([style*="background:#FF1894"]){color:#18355E !important;}
html body.gb-testimonials-tpl main .gb-tst-chip:not([aria-pressed="true"]),
html body.gb-testimonials-tpl main .gb-tst-faq-item summary{color:#18355E;}

/* Nov 17 2026, second audit: on a phone the Book button sat under the long intro and both stats, so the free-call line
   ended at 1113px, below the first screen. On phones the Book button and its line come right after the intro; the
   second button and the stats follow. No words changed. */
@media (max-width:600px){
  .hero-grid ~ div:has(> div > .gb-tst-btn-pink){margin-top:20px !important;gap:24px !important;}
  .hero-grid ~ div > div:has(> .gb-tst-btn-pink){order:-1;flex-basis:100%;margin-left:0 !important;}
  div:has(> .gb-tst-btn-pink) > .gb-tst-btn-pink{order:1;}
  div:has(> .gb-tst-btn-pink) > .gb-tst-ask-note{order:2;margin:0 0 6px !important;}
  div:has(> .gb-tst-btn-pink) > .gb-tst-btn-ghost{order:3;}
  .hero-grid .intro-lead{margin-top:18px !important;}
}

/* Stefanie, Nov 17 2026: "never cover someones face like this". The Play the Video button sits under the picture,
   never on it. The whole picture is still not a button, so nothing is drawn over Phil Odom. */
html body.gb-testimonials-tpl #GB-TUCKER-PRESIDENT .gb-tst-phil__play{position:static;transform:none;margin:14px 0 0;}

/* Stefanie, Nov 17 2026: the headline reads "Real Stories. Real Results." on line one and the pink
   "Leave No Doubt." on line two. On a narrow phone each sentence stays whole. */
body.gb-testimonials-tpl h1 .gb-tst-h1a,body.gb-testimonials-tpl h1 .gb-tst-h1b{display:block;}
body.gb-testimonials-tpl h1 .gb-tst-h1a > span,body.gb-testimonials-tpl h1 .gb-tst-h1b{white-space:nowrap;}
/* The white line fits its column at every width, so the headline is always two lines: white, then pink. */
@media (max-width:389px){body.gb-testimonials-tpl h1:has(.gb-tst-h1a){font-size:8.9vw !important;}}
@media (min-width:821px) and (max-width:1240px){body.gb-testimonials-tpl h1:has(.gb-tst-h1a){font-size:clamp(48px,6.3vw,78px) !important;}}

/* Nov 18 (UX-12 / B-055): filter chips and the search box are at least 44px tall to tap, with 8px between chips */
html body.gb-testimonials-tpl main .chip-row{gap:8px !important;}
html body.gb-testimonials-tpl main .gb-tst-chip{min-height:44px;}
html body.gb-testimonials-tpl main #gb-tst-search{min-height:44px;box-sizing:border-box;}

/* ---- Headline cards: the tag in the top row (Nov 18 2026) ----
   The pink tag ("Nearly 3 years partnered", "ChatGPT recommends their site"...) could not shrink or wrap, so on tablets
   (768 to 1024 wide) it stuck out of its white card and past the screen edge, and on phones it made the whole card wider
   than the screen, which cut the quote off. Now: a card can never grow past its column; the top row wraps, so the tag
   drops under the category line when the two do not fit side by side; and in a card too narrow for the longest tag on
   one line, every tag is plain bold navy words with no box (a pink box never wraps onto two lines).
   Selectors are by position, not by the tag's style text: scripts re-spell that text. */
body.gb-testimonials-tpl .gb-tst-hero { container-type: inline-size; min-width: 0; }
body.gb-testimonials-tpl .gb-tst-hero > div:first-of-type { flex-wrap: wrap !important; row-gap: 10px; }
body.gb-testimonials-tpl .gb-tst-hero > div:first-of-type > span { min-width: 0; max-width: 100%; }
@container (max-width: 340px) {
  /* as specific as it is so it wins over yard-legacy/contrast.css, which pins this tag's pink with !important */
  body.gb-yl.gb-testimonials-tpl main article.gb-tst-hero[id] > div:nth-of-type(1) > span:nth-of-type(2):last-child,
  body.gb-testimonials-tpl main article.gb-tst-hero[id] > div:nth-of-type(1) > span:nth-of-type(2):last-child {
    background: none !important; color: #18355E !important; padding: 0 !important; border-radius: 0 !important;
    white-space: normal !important; font-weight: 700 !important; box-shadow: none !important;
  }
}
/*</head>*/
