/* ==========================================================================
   Springbok video hub — /videos-watch/
   Everything is scoped under .sbv so it can sit inside the global site
   layout without clashing with existing styles.
   Brand colours: change them here once and every page follows.
   ========================================================================== */

.sbv {
  --sbv-yellow: #FFF100;          /* buttons, play icons, highlights */
  --sbv-yellow-hover: #F2E500;
  --sbv-teal: #408080;            /* links, labels, accents */
  --sbv-teal-light: #87D7D9;      /* soft backgrounds, badges, borders */
  --sbv-ink: #033137;             /* headings, dark thumbnails */
  --sbv-text: #535353;            /* body copy */
  --sbv-line: #E6E6E6;            /* dividers */
  --sbv-border: #CCCCCC;          /* inputs, chips */
  --sbv-soft: #F8F8FA;            /* light grey panels */
  --sbv-white: #FFFFFF;

  --sbv-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sbv-font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --sbv-radius-card: 18.6px;
  --sbv-radius-sm: 12px;
  --sbv-radius-pill: 25px;
  --sbv-max: 1240px;
  --sbv-read: 960px;

  font-family: var(--sbv-font-body);
  color: var(--sbv-ink);
  background: var(--sbv-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.sbv *, .sbv *::before, .sbv *::after { box-sizing: border-box; }
.sbv h1, .sbv h2, .sbv h3 { font-family: var(--sbv-font-head); font-weight: 700; color: var(--sbv-ink); margin: 0; letter-spacing: -0.015em; }
.sbv p { margin: 0; }
.sbv a { color: var(--sbv-teal); text-decoration: none; }
.sbv a:hover { color: var(--sbv-ink); }
.sbv img { max-width: 100%; display: block; }
.sbv :focus-visible { outline: 3px solid var(--sbv-teal); outline-offset: 2px; border-radius: 4px; }
.sbv-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.sbv-wrap { max-width: var(--sbv-max); margin: 0 auto; padding: 0 24px; }
.sbv-read { max-width: var(--sbv-read); margin: 0 auto; padding: 0 24px; }
.sbv-section { padding: 56px 0 8px; }
.sbv-section--last { padding-bottom: 72px; }
.sbv-section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.sbv-section-head h2 { font-size: 28px; letter-spacing: -0.02em; }
.sbv-section-head p { font-size: 16px; color: var(--sbv-text); width: 100%; margin-top: -4px; }
.sbv-muted { color: var(--sbv-text); font-size: 15px; }

/* ---------- Breadcrumb ---------- */
.sbv-crumbs { font-size: 14px; color: var(--sbv-text); }
.sbv-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sbv-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sbv-border); }
.sbv-crumbs [aria-current] { color: var(--sbv-ink); }

/* ---------- Buttons, chips, badges ---------- */
.sbv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sbv-yellow); color: #000 !important; font-weight: 700; font-size: 16px; font-family: inherit;
  padding: 14px 26px; min-height: 48px; border-radius: var(--sbv-radius-pill); border: 0; cursor: pointer;
  transition: background .15s ease;
}
.sbv-btn:hover { background: var(--sbv-yellow-hover); }
.sbv-btn--sm { font-size: 15px; padding: 10px 20px; min-height: 44px; }
.sbv-btn-ghost {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--sbv-ink); background: var(--sbv-white);
  border: 1px solid var(--sbv-border); border-radius: var(--sbv-radius-pill); padding: 8px 16px; min-height: 40px; cursor: pointer;
}
.sbv-btn-ghost:hover { border-color: var(--sbv-teal); }
.sbv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sbv-chip {
  display: inline-block; background: var(--sbv-white); border: 1px solid var(--sbv-border); color: var(--sbv-ink) !important;
  padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; min-height: 44px; line-height: 24px;
}
.sbv-chip:hover { border-color: var(--sbv-teal); }
.sbv-chip[aria-current="page"] { background: var(--sbv-teal-light); border-color: var(--sbv-teal-light); }
.sbv-badge { display: inline-block; background: var(--sbv-teal-light); color: var(--sbv-ink) !important; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.sbv-label { font-size: 13px; font-weight: 600; color: var(--sbv-teal); }
.sbv-eyebrow { font-size: 14px; font-weight: 600; color: var(--sbv-teal); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }

/* ---------- Thumbnails ---------- */
.sbv-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--sbv-ink); border-radius: var(--sbv-radius-sm); overflow: hidden; }
.sbv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sbv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--sbv-yellow);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.sbv-play svg { width: 40%; height: 40%; margin-left: 8%; fill: var(--sbv-ink); }
.sbv-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 7px; border-radius: 5px; }
.sbv-flag { position: absolute; left: 14px; top: 12px; background: var(--sbv-yellow); color: #000; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 6px; }

/* ---------- Video cards ---------- */
.sbv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; list-style: none; margin: 0; padding: 0; }
.sbv-card { display: flex; flex-direction: column; gap: 10px; color: var(--sbv-ink) !important; height: 100%; }
.sbv-card:hover .sbv-thumb img { transform: scale(1.03); }
.sbv-card:hover .sbv-card-title { color: var(--sbv-teal); }
.sbv-card-title { font-family: var(--sbv-font-head); font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
.sbv-card-text { font-size: 15px; line-height: 1.5; color: var(--sbv-text); }

/* ---------- Hero (hub + topic) ---------- */
.sbv-hero { border-bottom: 1px solid var(--sbv-line); }
.sbv-hero .sbv-wrap { padding-top: 32px; padding-bottom: 56px; }
.sbv-hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-top: 24px; }
.sbv-hero-copy { flex: 1 1 420px; min-width: 0; }
.sbv-hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 16px; }
.sbv-hero-intro { font-size: 18px; line-height: 1.6; color: var(--sbv-text); margin-bottom: 24px; }
.sbv-hero-meta { font-size: 15px; font-weight: 600; }
.sbv-feature {
  flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; color: var(--sbv-ink) !important;
  background: var(--sbv-white); border-radius: var(--sbv-radius-card); padding: 14px 14px 22px; box-shadow: 0 10px 30px rgba(64,128,128,.14);
}
.sbv-feature .sbv-play { width: 76px; height: 76px; }
.sbv-feature-body { padding: 0 8px; display: flex; flex-direction: column; gap: 6px; }
.sbv-feature-title { font-family: var(--sbv-font-head); font-size: 24px; line-height: 1.25; font-weight: 700; }
.sbv-feature:hover .sbv-feature-title { color: var(--sbv-teal); }
.sbv-feature:hover .sbv-thumb img { transform: scale(1.02); }

/* ---------- Search ---------- */
.sbv-search { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.sbv-search input {
  flex: 1 1 260px; font: inherit; font-size: 16px; padding: 12px 16px; min-height: 52px;
  border: 1px solid var(--sbv-border); border-radius: 10px; background: var(--sbv-white); color: var(--sbv-ink);
}
.sbv-search input:focus { outline: 2px solid var(--sbv-teal); outline-offset: 1px; border-color: var(--sbv-teal); }
.sbv-search-status { font-size: 15px; color: var(--sbv-text); margin-bottom: 16px; min-height: 1px; }
.sbv-empty { padding: 32px; background: var(--sbv-soft); border-radius: var(--sbv-radius-sm); text-align: center; color: var(--sbv-text); }

/* ---------- Topic tiles ---------- */
.sbv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sbv-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--sbv-line); border-radius: 14px; background: var(--sbv-white); color: var(--sbv-ink) !important; height: 100%; }
.sbv-tile:hover { border-color: var(--sbv-teal); }
.sbv-tile-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--sbv-teal-light); display: flex; align-items: center; justify-content: center; font-family: var(--sbv-font-head); font-weight: 700; font-size: 18px; }
.sbv-tile-name { font-family: var(--sbv-font-head); font-size: 21px; font-weight: 700; }
.sbv-tile-text { font-size: 15px; line-height: 1.55; color: var(--sbv-text); }
.sbv-tile-count { font-size: 14px; font-weight: 600; color: var(--sbv-teal); margin-top: auto; }

/* ---------- Question cards (hub) ---------- */
.sbv-questions { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sbv-question { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--sbv-line); border-radius: 14px; background: var(--sbv-white); color: var(--sbv-ink) !important; height: 100%; }
.sbv-question:hover { border-color: var(--sbv-teal); }
.sbv-question h3 { font-size: 18px; line-height: 1.35; }
.sbv-question p { font-size: 15px; line-height: 1.6; color: var(--sbv-text); }
.sbv-question-link { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sbv-teal); margin-top: auto; padding-top: 4px; }
.sbv-question-link .sbv-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--sbv-yellow); display: inline-flex; align-items: center; justify-content: center; }
.sbv-question-link .sbv-dot svg { width: 10px; height: 10px; fill: var(--sbv-ink); margin-left: 2px; }

/* ---------- Panels and CTA band ---------- */
.sbv-panel { background: var(--sbv-soft); border-radius: var(--sbv-radius-card); padding: 32px; max-width: 860px; }
.sbv-panel h2 { font-size: 24px; margin-bottom: 12px; }
.sbv-panel p { font-size: 16px; line-height: 1.75; color: var(--sbv-text); }
.sbv-panel p + p { margin-top: 12px; }
.sbv-more { border-top: 1px solid var(--sbv-line); padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sbv-more-label { font-size: 16px; font-weight: 600; margin-right: 8px; }
.sbv-cta { background: var(--sbv-teal-light); }
.sbv-cta .sbv-wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.sbv-cta-copy { flex: 1 1 520px; min-width: 0; }
.sbv-cta h2 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 10px; }
.sbv-cta p { font-size: 17px; color: var(--sbv-ink); }
.sbv-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 15px; }
.sbv-cta-actions a:not(.sbv-btn) { color: var(--sbv-ink); font-weight: 700; }

/* ---------- Video page ---------- */
.sbv-video-head { padding-top: 24px; }
.sbv-video-head h1 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; margin: 28px 0 18px; }
.sbv-video-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.sbv-video-meta .sbv-muted { flex: 1 1 260px; }
.sbv-player { position: relative; aspect-ratio: 16 / 9; background: var(--sbv-ink); border-radius: var(--sbv-radius-card); overflow: hidden; }
.sbv-player button { all: unset; position: absolute; inset: 0; cursor: pointer; }
.sbv-player button:focus-visible { outline: 3px solid var(--sbv-yellow); outline-offset: -3px; }
.sbv-player img { width: 100%; height: 100%; object-fit: cover; }
.sbv-player .sbv-play { width: 96px; height: 96px; }
.sbv-player .sbv-duration { font-size: 14px; right: 18px; bottom: 16px; padding: 5px 9px; }
.sbv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sbv-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 20px 0 8px; }
.sbv-share-label { font-size: 14px; color: var(--sbv-text); margin-right: 4px; }
.sbv-share-done { font-size: 14px; color: var(--sbv-teal); font-weight: 600; }
.sbv-block { padding-top: 40px; }
.sbv-block--first { border-top: 1px solid var(--sbv-line); margin-top: 20px; padding-top: 36px; }
.sbv-block > h2 { font-size: 26px; margin-bottom: 14px; }
.sbv-block > .sbv-muted { margin: -6px 0 14px; }
.sbv-prose p { font-size: 17px; line-height: 1.75; color: var(--sbv-text); }
.sbv-prose p + p { margin-top: 14px; }

.sbv-takeaways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: sbv-take; }
.sbv-takeaways li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.6; counter-increment: sbv-take; }
.sbv-takeaways li::before {
  content: counter(sbv-take); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sbv-yellow); color: #000;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.sbv-takeaways strong { color: var(--sbv-ink); }
.sbv-takeaways span { color: var(--sbv-text); }

.sbv-chapters { list-style: none; margin: 0; padding: 0; border: 1px solid var(--sbv-line); border-radius: 13px; overflow: hidden; }
.sbv-chapters li + li { border-top: 1px solid var(--sbv-line); }
.sbv-chapter { all: unset; box-sizing: border-box; display: flex; gap: 16px; align-items: center; width: 100%; padding: 14px 18px; min-height: 52px; font-size: 16px; color: var(--sbv-ink); }
button.sbv-chapter { cursor: pointer; }
button.sbv-chapter:hover { background: var(--sbv-soft); }
button.sbv-chapter:focus-visible { outline: 3px solid var(--sbv-teal); outline-offset: -3px; }
.sbv-chapter-time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--sbv-teal); min-width: 48px; }
.sbv-chapter-num { font-weight: 700; color: var(--sbv-teal); min-width: 24px; }

.sbv-transcript { border: 1px solid var(--sbv-line); border-radius: 13px; padding: 22px 24px; }
.sbv-transcript-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sbv-transcript-head h2 { font-size: 22px; }
.sbv-linkbtn { font: inherit; font-size: 15px; font-weight: 600; color: var(--sbv-teal); background: none; border: 0; cursor: pointer; min-height: 44px; padding: 0 4px; }
.sbv-linkbtn:hover { color: var(--sbv-ink); }
.sbv-transcript-body { position: relative; margin-top: 12px; }
.sbv-transcript-body h3 { font-size: 17px; margin: 22px 0 8px; }
.sbv-transcript-body h3:first-child { margin-top: 4px; }
.sbv-transcript-body p { font-size: 16px; line-height: 1.75; color: var(--sbv-text); }
.sbv-transcript-body p + p { margin-top: 10px; }
.sbv-speaker { font-weight: 600; color: var(--sbv-ink); }
.sbv-transcript.is-collapsed .sbv-transcript-body { max-height: 220px; overflow: hidden; }
.sbv-transcript.is-collapsed .sbv-transcript-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.sbv-transcript-note { font-size: 13px; color: var(--sbv-text); margin-top: 14px; }

.sbv-faqs { display: flex; flex-direction: column; gap: 10px; }
.sbv-faq { border: 1px solid var(--sbv-line); border-radius: 13px; padding: 0 20px; }
.sbv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 12px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.sbv-faq summary::-webkit-details-marker { display: none; }
.sbv-faq summary svg { flex: none; width: 18px; height: 18px; stroke: var(--sbv-teal); transition: transform .2s ease; }
.sbv-faq[open] summary svg { transform: rotate(180deg); }
.sbv-faq p { font-size: 16px; line-height: 1.7; color: var(--sbv-text); padding-bottom: 18px; }

.sbv-related { background: var(--sbv-soft); border-top: 1px solid var(--sbv-line); margin-top: 56px; }
.sbv-related .sbv-wrap { padding-top: 56px; padding-bottom: 64px; }

/* ---------- Offer form ---------- */
.sbv-offer .sbv-wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.sbv-offer-copy { flex: 1 1 380px; min-width: 0; }
.sbv-offer-copy h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.sbv-offer-copy p { font-size: 17px; line-height: 1.65; color: var(--sbv-text); margin-bottom: 20px; }
.sbv-offer-copy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--sbv-text); }
.sbv-offer-copy strong, .sbv-offer-copy ul a { color: var(--sbv-ink); font-weight: 700; }
.sbv-form {
  flex: 1 1 460px; min-width: 0; background: var(--sbv-white); border: 2px solid var(--sbv-teal-light); border-radius: var(--sbv-radius-card);
  padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px;
}
.sbv-field { display: flex; flex-direction: column; gap: 6px; }
.sbv-field label { font-size: 14px; font-weight: 600; }
.sbv-field input {
  font: inherit; font-size: 16px; width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--sbv-border); border-radius: 10px; background: var(--sbv-white); color: var(--sbv-ink);
}
.sbv-field input:focus { outline: 2px solid var(--sbv-teal); outline-offset: 1px; border-color: var(--sbv-teal); }
.sbv-form .sbv-btn { grid-column: 1 / -1; width: 100%; font-size: 17px; min-height: 54px; margin-top: 4px; }
.sbv-form-consent { grid-column: 1 / -1; font-size: 13px; line-height: 1.55; color: var(--sbv-text); }

/* ---------- Placeholders shown only in the standalone build ---------- */
.sbv-global-placeholder { height: 72px; border-bottom: 1px dashed var(--sbv-border); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #6B7C7C; font-family: var(--sbv-font-body); }
.sbv-global-placeholder--footer { height: 120px; border-bottom: 0; border-top: 1px dashed var(--sbv-border); }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .sbv-hero h1 { font-size: 34px; }
  .sbv-video-head h1 { font-size: 30px; }
  .sbv-section-head h2, .sbv-cta h2, .sbv-offer-copy h2 { font-size: 26px; }
  .sbv-questions { grid-template-columns: 1fr; }
  .sbv-form { padding: 20px; }
  .sbv-panel { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sbv *, .sbv *::before, .sbv *::after { transition: none !important; }
}
