/* /research/youtube-breakout-videos (templates/landing/youtube-breakout-videos.twig)

   Layout only. Every part is the system's: the ink surface, display type,
   stats, the tool page kit's reading column, contents rail, callouts and
   questions, .fnd-meter (its --lead pair was added to the system for this
   page) and the closing band. 2026-12-04. */

/* ---- The top: the trail (a bar on the top edge), the tag, the question, three numbers ---- */
.rb-hero__in { text-align: center; }
.fnd .rb-hero__tag { margin: 0 0 var(--fnd-s4); }
.fnd .rb-hero__h { max-width: 15ch; }
.fnd .rb-hero__sub { max-width: 40ch; margin-bottom: var(--fnd-s6); text-wrap: pretty; }
.fnd .rb-hero__stats {
  max-width: 760px; margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}
.fnd .rb-hero__stats .fnd-stat { padding: var(--fnd-s5) var(--fnd-s4); }
.fnd .rb-hero__stats .fnd-stat-n { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.fnd .rb-hero__stats .fnd-stat-l { text-wrap: pretty; }

/* ---- The study ---- */
/* Short blocks wrap evenly, so no line ends on one or two words. */
.fnd .rb-read .fnd-tool-read__sub,
.fnd .rb-read .fnd-stat-l,
.fnd.rb-page .fnd-tool-qa__body p,
.fnd.rb-page .fnd-tool-qa summary { text-wrap: balance; }
.fnd .rb-keys li span { text-wrap: pretty; }
.fnd .rb-read .rb-first { margin-top: 0; }
.fnd .rb-keys li { margin-bottom: var(--fnd-s2); }

/* A finding's chart: each feature names itself, then two meters, the
   breakout one first. Two columns from 640px, one on a phone. */
.rb-pairs {
  list-style: none; margin: var(--fnd-s4) 0 var(--fnd-s5); padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: var(--fnd-s5) var(--fnd-s6);
}
@media (min-width: 640px) { .rb-pairs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.rb-pair { display: flex; flex-direction: column; gap: var(--fnd-s2); min-width: 0; }
.fnd .rb-read .rb-pair__t {
  margin: 0 0 2px;
  font-family: var(--fnd-display-font); font-weight: 700;
  font-size: 15px; line-height: 1.35; color: var(--fnd-text);
  text-wrap: balance;
}
.fnd .rb-read .rb-pair__n { margin: -6px 0 2px; font-size: var(--fnd-t-meta); color: var(--fnd-text-faint); }

/* A line to quote, or the citation: the text keeps its full width on a
   phone and the button drops under it (the callout does that itself). */
.fnd .rb-quote p { flex: 1 1 0%; min-width: 0; text-wrap: balance; }
.fnd .rb-quote #rb-cite-text { overflow-wrap: anywhere; }
/* The web address takes its own line, so the sentence above it wraps evenly. */
.fnd .rb-quote .rb-cite-url { display: block; }

.fnd .rb-link { width: 100%; max-width: 100%; margin: var(--fnd-s1) 0 var(--fnd-s4); }
.fnd .rb-link .fnd-copy-v { flex: 1 1 auto; text-align: left; }
.fnd .rb-read .rb-ask { font-size: var(--fnd-t-sm); }

@media (max-width: 767px) {
  .fnd .rb-hero__stats { grid-template-columns: minmax(0, 1fr); }
  .fnd .rb-hero__stats .fnd-stat { display: flex; align-items: baseline; gap: var(--fnd-s3); padding: var(--fnd-s3) var(--fnd-s4); }
  /* One number column, so the three labels start at the same point. */
  .fnd .rb-hero__stats .fnd-stat-n { flex: 0 0 auto; min-width: 4.6em; font-size: 1.6rem; }
  .fnd .rb-hero__stats .fnd-stat-l { margin-top: 0; }
}
