/* The video course: /videos (the home) and /videos/<slug> (a chapter), and /en/… (server/videos/render.ts).
   Loaded after /css/site.css and /css/legal.css: the pages are the legal pages' shell (header, footer, fonts,
   tokens as --lg-*) around the course's own layout, all prefixed vc-. Logical properties throughout, so the same
   rules serve Arabic (RTL) and English (LTR). Light theme only, like the rest of the site. */

.vc {
  --vc-radius: 18px;
  --vc-aside: 340px;
  --vc-done: #15803d;
  --vc-done-bg: #dcfce7;
  --vc-done-line: #86efac;
  --vc-shadow-sm: var(--sh-sm, 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06));
  --vc-shadow-md: var(--sh-md, 0 8px 20px -8px rgba(15, 23, 42, .12), 0 2px 6px -2px rgba(15, 23, 42, .05));
  --vc-shadow-lg: var(--sh-lg, 0 24px 48px -18px rgba(15, 23, 42, .2), 0 8px 16px -8px rgba(15, 23, 42, .07));
  --vc-grad: var(--btn-grad, linear-gradient(135deg, #0c847c 0%, #0a6e68 100%));
}
.vc .ic {
  width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* visually hidden (site.css's .sr-only, repeated for a build without it) */
.vc .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.vc [hidden] { display: none !important; }
.vc-btn { gap: .6em; }
.vc-btn .ic { width: 1.25em; height: 1.25em; }

/* ---- the home: title band ------------------------------------------------------------------------------------- */
.vc-hero {
  padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px);
  background: radial-gradient(60% 90% at 100% 0%, rgba(20, 184, 166, .16), transparent 60%), linear-gradient(180deg, var(--lg-mint) 0%, #fff 100%);
}
[dir="rtl"] .vc-hero { background: radial-gradient(60% 90% at 0% 0%, rgba(20, 184, 166, .16), transparent 60%), linear-gradient(180deg, var(--lg-mint) 0%, #fff 100%); }
.vc-hero-in { display: grid; gap: 28px; }
@media (min-width: 960px) { .vc-hero-in { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 56px; } }
.vc-hero-copy { max-width: 720px; }
.vc-lead { max-width: 62ch; margin: 14px 0 0; color: var(--lg-text); font-size: clamp(1rem, .96rem + .3vw, 1.125rem); line-height: 1.7; }
.legal-page:lang(ar) .vc-lead { line-height: 1.9; }
.vc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vc-recording { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; color: var(--lg-muted); font-size: .9375rem; }
.vc-recording .ic { width: 18px; height: 18px; margin-top: .2em; color: var(--lg-brand-strong); }
.legal-page:lang(ar) .vc-recording .ic { margin-top: .35em; }

.vc-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 960px) { .vc-stats { grid-template-columns: 1fr; } }
.vc-stats li {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--lg-line); border-radius: 14px; box-shadow: var(--vc-shadow-sm);
}
.vc-stats strong { display: flex; align-items: center; gap: 8px; color: var(--lg-ink); font-size: 1.25rem; font-weight: 750; line-height: 1.3; }
.vc-stats strong .ic { width: 22px; height: 22px; color: var(--lg-brand-strong); }
.vc-stats span { color: var(--lg-muted); font-size: .8125rem; font-weight: 600; }

/* ---- the home: the chapter cards ------------------------------------------------------------------------------ */
.vc-home-body { padding-block: clamp(28px, 4vw, 48px) 72px; }
.legal-page .vc-h2 { margin: 0 0 18px; color: var(--lg-ink); font-size: 1.375rem; font-weight: 750; line-height: 1.3; }
.legal-page:lang(ar) .vc-h2 { font-weight: 700; line-height: 1.5; }
.vc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--lg-line); border-radius: var(--vc-radius); overflow: hidden; box-shadow: var(--vc-shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.vc-card:hover { border-color: var(--teal-300, #74d7c6); box-shadow: var(--vc-shadow-md); }
@media (prefers-reduced-motion: no-preference) { .vc-card:hover { transform: translateY(-2px); } }
/* the title's link covers the whole card; the card shows the focus ring for it */
.vc-card:focus-within { outline: 2px solid var(--lg-brand-strong); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(14, 143, 134, .22); }
.vc-card-title a:focus-visible { outline: none; box-shadow: none; }
.vc-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #14b8a6 0%, #0e8f86 100%); }
.vc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-dur {
  position: absolute; inset-inline-end: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
  border-radius: 8px; background: rgba(15, 23, 42, .78); color: #fff; font-size: .75rem; font-weight: 650; font-variant-numeric: tabular-nums;
}
.vc-dur .ic { width: 14px; height: 14px; }
.vc-play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--lg-brand-strong); box-shadow: 0 8px 20px -6px rgba(15, 23, 42, .45);
  opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s;
}
.vc-card:hover .vc-play, .vc-card:focus-within .vc-play { opacity: 1; transform: none; }
.vc-play .ic { width: 24px; height: 24px; margin-inline-start: 3px; fill: currentColor; }
.vc-thumb-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .16); color: #fff; }
.vc-thumb-icon .ic { width: 32px; height: 32px; }
.vc-card-soon .vc-thumb { background: linear-gradient(135deg, #0b4f4b 0%, #0e8f86 100%); }
.vc-soon { position: absolute; inset-inline-start: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--lg-brand-deep); font-size: .75rem; font-weight: 700; }
.vc-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.vc-card-num { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--lg-brand-strong); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
/* the tick of a watched chapter (the script adds .is-watched); .vc .ic above sets display, so same specificity here */
.vc .vc-tick { display: none; width: 16px; height: 16px; color: var(--vc-done); }
.vc .is-watched .vc-tick { display: inline-block; }
.legal-page .vc-card-title { margin: 0; color: var(--lg-ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.vc-card-title a { color: inherit; text-decoration: none; }
.vc-card-title a::after { content: ""; position: absolute; inset: 0; }
.vc-card-sum { margin: 0; color: var(--lg-muted); font-size: .9375rem; line-height: 1.6; }
.legal-page:lang(ar) .vc-card-sum { line-height: 1.8; }
.vc-card-soon .vc-card-title { color: var(--lg-text); }
/* on a phone the cards are rows (the picture at the side), so the course fits a few screens */
@media (max-width: 599px) {
  .vc-cards { gap: 12px; }
  .vc-card { flex-direction: row; align-items: stretch; border-radius: 16px; }
  .vc-thumb { flex: 0 0 128px; aspect-ratio: auto; min-height: 96px; }
  .vc-play { width: 40px; height: 40px; }
  .vc-play .ic { width: 18px; height: 18px; margin-inline-start: 2px; }
  .vc-dur { inset-inline-end: 6px; bottom: 6px; padding: 2px 6px; font-size: .6875rem; }
  .vc-dur .ic { display: none; }
  .vc-thumb-icon { width: 44px; height: 44px; border-radius: 14px; }
  .vc-thumb-icon .ic { width: 22px; height: 22px; }
  .vc-soon { inset-inline-start: 6px; top: 6px; padding: 2px 8px; font-size: .6875rem; }
  .vc-card-body { gap: 3px; padding: 12px 14px; min-width: 0; }
  .vc-card-num { font-size: .75rem; }
  .legal-page .vc-card-title { font-size: 1rem; }
  .vc-card-sum { font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---- the home: the guide and help at the end ------------------------------------------------------------------ */
.vc-strip { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .vc-strip { grid-template-columns: 1fr 1fr; } }
.vc-strip-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding: 20px 22px;
  border: 1px solid var(--lg-line); border-radius: var(--vc-radius); background: var(--lg-soft);
}
.vc-strip-card > div { flex: 1 1 180px; }
.legal-page .vc-strip-card h2 { margin: 0 0 4px; color: var(--lg-ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.vc-strip-card p { margin: 0; color: var(--lg-muted); font-size: .9375rem; line-height: 1.6; }
.vc-strip-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--lg-tint); color: var(--lg-brand-strong); }
.vc-strip-icon .ic { width: 22px; height: 22px; }
.vc-strip-help { background: var(--lg-mint); }
.vc-strip-help .vc-strip-icon { color: var(--vc-done); background: var(--vc-done-bg); }

/* ---- a chapter: the grid -------------------------------------------------------------------------------------- */
.vc-grid {
  display: grid; gap: 20px; padding-block: 18px 72px; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "crumbs" "player" "head" "aside" "actions" "pager" "transcript";
}
.vc-crumbs { grid-area: crumbs; }
.vc-player { grid-area: player; }
.vc-head { grid-area: head; }
.vc-aside { grid-area: aside; min-width: 0; }
.vc-actions { grid-area: actions; }
.vc-pager { grid-area: pager; }
.vc-transcript { grid-area: transcript; }
@media (min-width: 1024px) {
  .vc-grid {
    grid-template-columns: minmax(0, 1fr) var(--vc-aside); column-gap: 40px; align-items: start;
    grid-template-rows: auto auto auto auto auto 1fr;
    grid-template-areas: "crumbs crumbs" "player aside" "head aside" "actions aside" "pager aside" "transcript aside";
  }
  .vc-aside { position: sticky; top: calc(var(--header-h, 68px) + 20px); }
}

.vc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--lg-muted); font-size: .875rem; }
.vc-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.vc-crumbs li + li::before { content: "›"; color: var(--ink-4, #94a3b8); }
[dir="rtl"] .vc-crumbs li + li::before { content: "‹"; }
.vc-crumbs a { color: var(--lg-muted); text-decoration: none; }
.vc-crumbs a:hover { color: var(--lg-brand-strong); }
.vc-crumbs [aria-current] { color: var(--lg-ink); font-weight: 600; }

/* ---- the player ------------------------------------------------------------------------------------------------ */
.vc-player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--vc-radius);
  background: #0b1f1e; box-shadow: var(--vc-shadow-lg); scroll-margin-top: calc(var(--header-h, 68px) + 12px);
}
/* edge to edge on a phone: every pixel of width goes to the picture */
@media (max-width: 599px) { .vc-player { margin-inline: calc(-1 * var(--gutter, 20px)); border-radius: 0; } }
.vc-player video { display: block; width: 100%; height: 100%; background: #000; }
.vc-player video::cue { background-color: rgba(8, 18, 18, .82); color: #fff; font-family: "Noto Kufi Arabic", "Dentora Kufi", "Inter", "Dentora Inter", "Segoe UI", Tahoma, sans-serif; }
.vc-noplay { padding: 20px; color: #fff; }
.vc-noplay a { color: #fff; }

/* a chapter not recorded yet: a panel in the player's place */
.vc-player-soon { aspect-ratio: auto; background: linear-gradient(135deg, #0b4f4b 0%, #0e8f86 100%); box-shadow: var(--vc-shadow-md); }
.vc-soon-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: clamp(28px, 6vw, 60px) 24px; text-align: center; color: #fff; }
.vc-soon-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .14); }
.vc-soon-icon .ic { width: 32px; height: 32px; }
.vc-soon-title { margin: 6px 0 0; color: #fff; font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); font-weight: 750; line-height: 1.35; }
.legal-page:lang(ar) .vc-soon-title { font-weight: 700; line-height: 1.5; }
.vc-soon-text { margin: 0; max-width: 48ch; color: rgba(255, 255, 255, .88); font-size: .9375rem; line-height: 1.7; }
.vc-soon-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin: 10px 0 0; }
.vc-soon-other { color: #fff; font-weight: 600; }
.vc-soon-other:hover { color: #fff; }

/* ---- the title and the facts ---------------------------------------------------------------------------------- */
.vc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--lg-brand-strong); font-size: .875rem; font-weight: 700; }
.vc-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.vc-meta > span + span::before { content: "·"; margin-inline-end: 10px; color: var(--ink-4, #94a3b8); }
.vc-meta-dur { display: inline-flex; align-items: center; gap: 4px; }
.vc-meta-dur .ic { width: 16px; height: 16px; }
.vc-meta-soon { padding: 1px 10px; border-radius: 999px; background: var(--lg-tint); color: var(--lg-brand-deep); }
.legal-page .vc-head h1 { margin: 6px 0 0; color: var(--lg-ink); font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.125rem); font-weight: 750; line-height: 1.25; letter-spacing: -.02em; }
.legal-page:lang(ar) .vc-head h1 { font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.vc-head .vc-lead { margin-top: 10px; font-size: 1.0625rem; }

/* ---- the actions under the title ------------------------------------------------------------------------------ */
.vc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vc-action, .vc-keys summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--lg-line); border-radius: 999px; background: #fff; color: var(--lg-ink);
  font-weight: 600; font-size: .9375rem; line-height: 1.3; text-decoration: none; box-shadow: var(--vc-shadow-sm);
}
.vc-action:hover, .vc-keys summary:hover { border-color: var(--teal-300, #74d7c6); background: var(--lg-tint); color: var(--lg-brand-deep); }
.vc-action .ic, .vc-keys summary .ic { width: 18px; height: 18px; color: var(--lg-brand-strong); }
.vc-action-wa .ic { color: var(--vc-done); }
.vc-keys summary { cursor: pointer; list-style: none; }
.vc-keys summary::-webkit-details-marker { display: none; }
.vc-keys[open] { flex-basis: 100%; }
.vc-keys[open] summary { background: var(--lg-tint); border-color: var(--teal-300, #74d7c6); }
.vc-keys dl { display: grid; gap: 8px; margin: 10px 0 0; padding: 14px 16px; background: var(--lg-soft); border: 1px solid var(--lg-line); border-radius: 14px; }
@media (min-width: 600px) { .vc-keys dl { grid-template-columns: 1fr 1fr; } }
.vc-keys dl div { display: flex; align-items: baseline; gap: 10px; }
.vc-keys dt { flex: none; }
.vc-keys kbd {
  display: inline-block; padding: 2px 8px; border: 1px solid var(--line-2, #d7dee8); border-bottom-width: 2px; border-radius: 6px;
  background: #fff; color: var(--lg-ink); font-family: inherit; font-size: .8125rem; font-weight: 700; direction: ltr; white-space: nowrap;
}
.vc-keys dd { margin: 0; color: var(--lg-text); font-size: .9375rem; }

/* ---- previous and next ---------------------------------------------------------------------------------------- */
.vc-pager { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 599px) { .vc-pager { grid-template-columns: 1fr; } .vc-pager-none { display: none; } }
.vc-pager a {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px;
  border: 1px solid var(--lg-line); border-radius: 14px; background: #fff; color: var(--lg-ink); text-decoration: none; box-shadow: var(--vc-shadow-sm);
}
.vc-pager a:hover { border-color: var(--teal-300, #74d7c6); background: var(--lg-tint); color: var(--lg-brand-deep); }
.vc-pager .ic { width: 20px; height: 20px; color: var(--lg-brand-strong); }
.vc-pager-next { justify-content: flex-end; text-align: end; }
.vc-pager-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vc-pager-k { color: var(--lg-muted); font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.vc-pager-t { font-weight: 650; font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }

/* ---- the chapter list: a column beside the player, a strip under it on a phone -------------------------------- */
.vc-list { border: 1px solid var(--lg-line); border-radius: var(--vc-radius); background: #fff; box-shadow: var(--vc-shadow-sm); overflow: hidden; }
.vc-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--lg-line); background: var(--lg-soft); }
.legal-page .vc-list-title { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--lg-ink); font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.vc-list-title .ic { width: 20px; height: 20px; color: var(--lg-brand-strong); }
.vc-list-count { margin-inline-start: 2px; padding: 1px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--lg-line); color: var(--lg-muted); font-size: .75rem; font-weight: 700; }
.vc-items { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; overscroll-behavior: contain; }
@media (min-width: 1024px) { .vc-items { max-height: calc(100vh - var(--header-h, 68px) - 150px); overflow-y: auto; } }
@media (max-width: 1023px) {
  .vc-items { flex-direction: row; gap: 8px; padding: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: 12px; -webkit-overflow-scrolling: touch; }
  .vc-item { flex: 0 0 min(72vw, 260px); scroll-snap-align: start; }
}
.vc-item a {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border: 1px solid transparent; border-radius: 12px;
  color: var(--lg-ink); text-decoration: none;
}
.vc-item a:hover { background: var(--lg-tint); }
.vc-item.is-current a { background: var(--lg-tint); border-color: var(--teal-200, #abe9dd); }
.vc-item-num {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--lg-soft); border: 1px solid var(--lg-line); color: var(--lg-muted); font-size: .8125rem; font-weight: 750;
}
.vc-item-num .vc-tick { display: none; }
.vc-item.is-watched .vc-item-num { background: var(--vc-done-bg); border-color: var(--vc-done-line); color: var(--vc-done); }
.vc-item.is-watched .vc-item-num > span { display: none; }
.vc-item.is-watched .vc-item-num .vc-tick { display: block; width: 16px; height: 16px; color: inherit; }
.vc-item.is-current .vc-item-num { background: var(--vc-grad); border-color: transparent; color: #fff; }
.vc-item-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vc-item-title { font-size: .9375rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-item.is-current .vc-item-title { color: var(--lg-brand-deep); }
.vc-item-dur { color: var(--lg-muted); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.vc-item-soon .vc-item-title { color: var(--lg-muted); }
.vc-item-soon .vc-item-dur { color: var(--lg-brand-strong); }

/* the "play all" switch (shown by the script) */
.vc-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--lg-text); font-size: .875rem; font-weight: 600; -webkit-user-select: none; user-select: none; }
.vc-switch-input { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.vc-switch-track { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: #cbd5e1; transition: background .2s; }
.vc-switch-track::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .35); transition: transform .2s;
}
.vc-switch-input:checked + .vc-switch-track { background: var(--lg-brand-strong); }
.vc-switch-input:checked + .vc-switch-track::after { transform: translateX(16px); }
[dir="rtl"] .vc-switch-input:checked + .vc-switch-track::after { transform: translateX(-16px); }
.vc-switch-input:focus-visible + .vc-switch-track { outline: 2px solid var(--lg-brand-strong); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(14, 143, 134, .22); }

/* ---- the transcript ------------------------------------------------------------------------------------------- */
.vc-transcript { padding-top: 10px; border-top: 1px solid var(--lg-line); }
.vc-transcript-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 16px 0 14px; }
.legal-page .vc-transcript h2 { margin: 0; color: var(--lg-ink); font-size: 1.25rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.vc-transcript-hint { margin: 0; color: var(--lg-muted); font-size: .875rem; }
.vc-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-width: 76ch; }
.vc-line { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 10px; border-radius: 12px; transition: background .2s; }
.vc-line.is-active { background: var(--lg-tint); }
.vc-time {
  display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 28px; padding: 0 8px;
  border: 1px solid var(--lg-line); border-radius: 8px; background: var(--lg-soft); color: var(--lg-brand-strong);
  font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; direction: ltr;
}
.vc-time:hover { background: var(--lg-tint); border-color: var(--teal-300, #74d7c6); color: var(--lg-brand-deep); }
.vc-line.is-active .vc-time { background: var(--lg-brand-strong); border-color: var(--lg-brand-strong); color: #fff; }
.vc-line-text { padding-top: 2px; color: var(--lg-text); line-height: 1.7; overflow-wrap: anywhere; }
.legal-page:lang(ar) .vc-line-text { line-height: 1.9; }

/* ---- motion, high contrast, print ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vc *, .vc *::after { transition: none !important; }
}
@media (forced-colors: active) {
  .vc-switch-track { border: 1px solid ButtonText; }
  .vc-switch-input:checked + .vc-switch-track { background: Highlight; }
  .vc-item.is-current a, .vc-line.is-active { outline: 2px solid Highlight; }
  .vc-action, .vc-pager a, .vc-card { border: 1px solid CanvasText; }
}
@media print {
  .vc-player, .vc-aside, .vc-actions, .vc-pager, .vc-crumbs, .vc-hero-actions, .vc-strip, .vc-play, .vc-transcript-hint, .vc-recording { display: none !important; }
  .vc-grid, .vc-hero-in { display: block; padding: 0; }
  .vc-hero { background: none; padding: 0 0 12pt; }
  .vc-head { margin-bottom: 14pt; }
  .vc-transcript { border: 0; }
  .vc-lines { max-width: none; }
  .vc-line { break-inside: avoid; padding: 2pt 0; }
  .vc-time { border: 0; background: none; color: #000; padding: 0; }
  .vc-cards { display: block; }
  .vc-card { break-inside: avoid; box-shadow: none; margin-bottom: 10pt; }
  .vc-thumb { display: none; }
  .vc-stats { display: flex; gap: 16pt; margin-top: 8pt; }
  .vc-stats li { box-shadow: none; }
}
