/* ============================================================
   Syntopia Digital Human Manual — modern docs theme
   Dark by default (HeyGen-style), with a light toggle.
   All theming lives here + site.js; page HTML is untouched.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* light / white (default) — clean, modern */
  --bg: #ffffff;
  --bg-elev: #f7f8fa;
  --sidebar-bg: #fbfbfc;
  --panel: #ffffff;
  --panel-hover: #f5f6f8;
  --border: #e7e8ec;
  --border-soft: #eef0f3;
  --text: #101018;
  --text-dim: #48495a;
  --text-faint: #8a8b98;
  --accent: #2f6bff;
  --accent-strong: #1f5bff;
  --accent-soft: rgba(47, 107, 255, 0.07);
  --accent-border: rgba(47, 107, 255, 0.28);
  --grad-a: #22d3ee;
  --grad-b: #3b82f6;
  --code-bg: #f4f5f7;
  --shadow: 0 6px 24px rgba(20, 22, 40, 0.07);
  --sidebar-w: 300px;
  --toc-w: 210px;
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #08080a;
  --bg-elev: #0e0e11;
  --sidebar-bg: #0a0a0c;
  --panel: #121216;
  --panel-hover: #17171c;
  --border: #232329;
  --border-soft: #1a1a1f;
  --text: #f4f4f5;
  --text-dim: #a8a8b3;
  --text-faint: #6d6d78;
  --accent: #4d8dff;
  --accent-strong: #2e90fa;
  --accent-soft: rgba(77, 141, 255, 0.14);
  --accent-border: rgba(77, 141, 255, 0.4);
  --code-bg: #16161b;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-soft); }

/* thin, themed scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

.layout { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border-soft);
  padding: 18px 12px 60px;
  overflow-y: auto;
  height: 100vh;
  position: sticky;
  top: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 6px 8px 4px;
}
.brand::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 4px 12px rgba(77,141,255,0.35);
}

/* sidebar tools (search + theme toggle) injected by JS */
.sidebar-tools { display: flex; gap: 8px; padding: 12px 8px 10px; }

/* language switcher */
.sidebar-lang { padding: 0 8px 12px; }
.lang-select {
  width: 100%; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--panel); color: var(--text-dim);
  font-size: 13px; font-family: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position: right 14px center, right 9px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.lang-select:hover { border-color: var(--accent-border); color: var(--text); }
/* hide the Google Translate chrome; keep only the translation itself */
.goog-te-banner-frame, .goog-te-gadget-icon, #goog-gt-tt, .goog-tooltip { display: none !important; }
.goog-te-gadget { height: 0; overflow: hidden; }
body { top: 0 !important; position: static !important; }
.skiptranslate > iframe { display: none !important; visibility: hidden !important; height: 0 !important; }

/* section-09 (and similar) injected explainer callout */
.added-intro {
  border: 1px solid var(--accent-border); background: var(--accent-soft);
  border-radius: var(--radius); padding: 2px 20px 16px; margin: 6px 0 24px;
}
.added-intro h3 { margin-top: 16px; color: var(--text); }
.added-intro p { color: var(--text-dim); }
.added-intro p strong { color: var(--text); }
.search-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-faint);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.search-btn:hover { border-color: var(--accent-border); background: var(--panel-hover); }
.search-btn .search-ico { width: 15px; height: 15px; opacity: .7; }
.search-btn .kbd {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
  background: var(--bg-elev);
}
.theme-btn {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.theme-btn:hover { border-color: var(--accent-border); color: var(--text); background: var(--panel-hover); }
.theme-btn svg { width: 17px; height: 17px; }

.nav-scroll { margin-top: 4px; }
.nav-section { margin-bottom: 1px; }
.nav-section-title {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color .12s, background .12s;
}
.nav-section-title:hover { background: var(--panel-hover); color: var(--text); }
.nav-section-title.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  border-left-color: var(--accent);
}
.nav-sub { margin: 2px 0 6px 16px; border-left: 1px solid var(--border-soft); padding-left: 8px; }
.nav-sub-link {
  display: block;
  padding: 5px 8px;
  font-size: 12.5px;
  color: var(--text-faint);
  text-decoration: none;
  border-radius: 6px;
  transition: color .12s, background .12s;
}
.nav-sub-link:hover { background: var(--panel-hover); color: var(--text-dim); }
.nav-sub-link.active { color: var(--accent); font-weight: 600; }

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 12px; left: 12px;
  z-index: 30;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* ---------- Content ---------- */
.content { flex: 1; min-width: 0; display: flex; gap: 40px; max-width: 1180px; margin: 0 auto; padding: 0 40px; width: 100%; }
.content-inner {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 0 110px;
}
.breadcrumb {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 12px;
}
h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 18px; }
h1, h2, h3 { line-height: 1.25; color: var(--text); scroll-margin-top: 24px; }
h2 { font-size: 22px; font-weight: 650; margin: 44px 0 14px; padding-top: 6px; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 600; margin: 30px 0 10px; }
.lead { font-size: 17px; color: var(--text-dim); margin: -6px 0 8px; max-width: 66ch; }

.content-inner p { margin: 12px 0; color: var(--text-dim); }
.content-inner li { color: var(--text-dim); margin: 4px 0; }
.content-inner strong { color: var(--text); font-weight: 650; }
.content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 18px 0;
  pointer-events: none;
  display: block;
  box-shadow: var(--shadow);
}
.content-inner table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 20px 0;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.content-inner th, .content-inner td { border-bottom: 1px solid var(--border-soft); padding: 9px 14px; text-align: left; }
.content-inner thead th, .content-inner th { background: var(--bg-elev); color: var(--text); font-weight: 600; }
.content-inner tr:last-child td { border-bottom: none; }
.content-inner td { color: var(--text-dim); }
.content-inner a { color: var(--accent); text-decoration: none; }
.content-inner a:hover { text-decoration: underline; }
.content-inner a.xref {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-border);
}
.content-inner a.xref:hover { border-bottom-color: var(--accent); text-decoration: none; }
.content-inner a.autolink { color: var(--accent); font-weight: 500; word-break: break-word; text-decoration: none; border-bottom: 1px solid var(--accent-border); }
.content-inner a.autolink:hover { border-bottom-color: var(--accent); }
.content-inner code {
  background: var(--code-bg);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.9em;
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text);
}
.content-inner pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow-x: auto; }
.content-inner pre code { background: none; border: none; padding: 0; }
.content-inner hr { border: none; border-top: 1px solid var(--border-soft); margin: 32px 0; }
blockquote {
  margin: 18px 0;
  padding: 2px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
}

/* ---------- Related media ---------- */
.related-media { margin-top: 56px; border-top: 1px solid var(--border); padding-top: 28px; }
.related-media h2, .related-media h3 { margin-top: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.media-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--panel); }
.media-label { font-size: 12px; color: var(--text-faint); margin-bottom: 8px; word-break: break-word; }
.video-embed { aspect-ratio: 16/9; background: #000; border-radius: var(--radius-sm); overflow: hidden; position: relative; border: 1px solid var(--border); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-embed:empty::after,
.video-placeholder {
  content: "Video will appear here once published";
  color: var(--text-faint);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding: 8px; text-align: center;
}
.video-embed:empty {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(77,141,255,0.10), transparent 60%),
    var(--code-bg);
}
.video-embed:empty::after {
  content: "▶  video available once published";
  letter-spacing: .02em;
}
.stream-audio { width: 100%; margin-top: 4px; }

/* inline tool-download links (StreamCap etc.) auto-wired by site.js */
.content-inner a.dl-inline { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent-border); word-break: break-word; }
.content-inner a.dl-inline::before { content: "\2913\00a0"; } /* ⤓ */
.content-inner a.dl-inline:hover { border-bottom-color: var(--accent); }

/* multi-video comparison tables -> roomy responsive grid so players are big enough to use */
.content-inner table.video-grid { display: flex; flex-wrap: wrap; gap: 16px; border: 0; margin: 18px 0; background: none; }
.content-inner table.video-grid thead { display: none; }
.content-inner table.video-grid tbody, .content-inner table.video-grid tr { display: contents; }
.content-inner table.video-grid td, .content-inner table.video-grid th {
  display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0;
  flex: 1 1 300px; min-width: 250px; max-width: 400px; font-size: 13px; color: var(--text-dim); background: none;
}
.content-inner table.video-grid .video-embed { aspect-ratio: auto; height: 420px; width: 100%; }
@media (max-width: 520px) { .content-inner table.video-grid td { flex-basis: 100%; max-width: none; } .content-inner table.video-grid .video-embed { height: 380px; } }

/* ---------- Home hero + card grid ---------- */
.home-hero { margin: 4px 0 34px; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 10px; }
.home-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  transition: border-color .16s, background .16s, transform .16s;
  overflow: hidden;
}
.home-card::after {
  content: "→";
  position: absolute; right: 16px;
  color: var(--text-faint);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .16s, transform .16s;
}
.home-card:hover { border-color: var(--accent-border); background: var(--panel-hover); transform: translateY(-2px); }
.home-card:hover::after { opacity: 1; transform: translateX(0); color: var(--accent); }
.home-card-num {
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  min-width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 9px;
  flex-shrink: 0;
}
.home-card-title { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text); padding-right: 14px; }

/* ---------- Checklist + tool downloads ---------- */
.checklist-table { font-size: 13.5px; }
.checklist-table th { background: var(--bg-elev); }
.checklist-table td:first-child { white-space: nowrap; font-weight: 600; color: var(--text-faint); }
.checklist-table input[type="checkbox"] { margin-right: 6px; accent-color: var(--accent); }

.tool-downloads { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.tool-downloads li { margin: 0; }
.tool-downloads a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.tool-downloads a:hover { border-color: var(--accent-border); background: var(--panel-hover); text-decoration: none; }
.tool-downloads a::before {
  content: "⤓";
  font-size: 18px;
  color: var(--accent);
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 9px;
  flex-shrink: 0;
}

/* ---------- On this page (TOC) ---------- */
.toc-rail {
  flex: 0 0 var(--toc-w);
  width: var(--toc-w);
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  padding: 62px 0 40px;
}
.toc-rail .toc-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-faint);
  margin: 0 0 12px 12px;
}
.toc-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc-list a {
  display: block;
  padding: 5px 12px;
  margin-left: -1px;
  font-size: 12.5px;
  color: var(--text-faint);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .12s;
}
.toc-list a.h3 { padding-left: 24px; }
.toc-list a:hover { color: var(--text-dim); }
.toc-list a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

/* ---------- ⌘K search modal ---------- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 60;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-modal {
  width: min(600px, 92vw);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-input-wrap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border-soft); }
.search-input-wrap svg { width: 18px; height: 18px; color: var(--text-faint); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: none; border: none; outline: none;
  color: var(--text);
  font-size: 16px; font-family: inherit;
}
.search-input::placeholder { color: var(--text-faint); }
.search-esc { font-size: 11px; color: var(--text-faint); border: 1px solid var(--border); border-radius: 5px; padding: 2px 6px; }
.search-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-result {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.search-result .sr-sub { display: block; font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.search-result.active, .search-result:hover { background: var(--accent-soft); }
.search-result.active { outline: 1px solid var(--accent-border); }
.search-empty { padding: 24px; text-align: center; color: var(--text-faint); font-size: 13px; }

/* ---------- view-only hardening ---------- */
.no-select { -webkit-user-select: none; user-select: none; }
.content-inner p, .content-inner li, .content-inner td, .content-inner th, .content-inner h1, .content-inner h2, .content-inner h3 { user-select: text; }
img { -webkit-user-drag: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .toc-rail { display: none; }
  .content { max-width: 900px; }
}
@media (max-width: 860px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 25;
    transform: translateX(-100%);
    transition: transform .22s ease;
    box-shadow: 4px 0 30px rgba(0,0,0,.4);
    width: min(86vw, var(--sidebar-w));
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
  .content { padding: 0 18px; }
  .content-inner { padding: 74px 0 72px; }
  h1 { font-size: 27px; }
  h2 { font-size: 20px; }
}
/* Startup guide box (homepage) — enterprise restyle (re-apply each deploy) */
.startup-guide { border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; margin-bottom: 24px; background: var(--bg-elev); }
.startup-guide-eyebrow { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin: 0 0 7px; }
.startup-guide-title { font-size: 18px; line-height: 1.2; margin: 0 0 5px; font-weight: 600; }
.startup-guide-sub { font-size: 13.5px; color: var(--text-dim); margin: 0 0 16px; max-width: 62ch; }
.startup-guide-steps { list-style: none; counter-reset: sg; margin: 0; padding: 0; }
.startup-guide-steps li { counter-increment: sg; position: relative; padding: 12px 14px 12px 50px; font-size: 14px; border-radius: 8px; transition: background .12s ease; }
.startup-guide-steps li + li { border-top: 1px solid var(--border-soft); }
.startup-guide-steps li::before { content: counter(sg); position: absolute; left: 12px; top: 11px; width: 25px; height: 25px; border-radius: 7px; border: 1px solid var(--border); background: var(--bg); color: var(--text-dim); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; transition: border-color .12s ease, color .12s ease; }
.startup-guide-steps li:hover { background: var(--bg); }
.startup-guide-steps li:hover::before { border-color: var(--accent); color: var(--accent); }
.startup-guide-steps li a { font-weight: 600; text-decoration: none; color: var(--text); }
.startup-guide-steps li a:hover { color: var(--accent); }
.startup-guide-steps .sg-hint { color: var(--text-dim); font-weight: 400; }
.startup-guide-foot { font-size: 13px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text-dim); }
.startup-guide-foot a { color: var(--accent); text-decoration: none; }
.startup-guide-foot a:hover { text-decoration: underline; }

/* Runtime content formatter — appended (re-apply each deploy) */
.content-inner ul.fmt-ul { margin: 10px 0 18px; padding-left: 20px; }
.content-inner ul.fmt-ul li { margin: 5px 0; line-height: 1.6; }
.content-inner p.fmt-label { font-weight: 600; font-size: 15px; margin: 20px 0 8px; color: var(--text); }
.content-inner p.fmt-ref { margin: 6px 0; padding-left: 16px; position: relative; }
.content-inner p.fmt-ref::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 1px; background: var(--border); }
.content-inner p.fmt-ref a.xref { font-weight: 500; }
/* locked media placeholder (Cloudflare Stream signed-URL protected) */
.video-embed.locked { position: relative; aspect-ratio: 16 / 9; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.video-embed.audio.locked { aspect-ratio: auto; min-height: 56px; }
.media-lock { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13px; font-weight: 500; }
.media-lock-ico { display: inline-flex; color: var(--text-faint); }
/* restricted download badge */
a.dl-locked { position: relative; }
a.dl-locked::after { content: "\1F512"; margin-left: 6px; font-size: 0.85em; opacity: .8; }

/* ---------- English video tutorials ---------- */
.nav-videos { font-weight: 600; color: var(--accent, #6a4cf5) !important; }
.tut-videos { margin: 28px 0 32px; padding: 20px 22px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elev); }
.tut-videos-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.tut-videos-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #6a4cf5); }
.tut-videos-title { font-size: 18px; margin: 0 !important; padding: 0 !important; border: 0 !important; flex: 1 1 auto; }
.tut-videos-all { font-size: 13px; font-weight: 600; white-space: nowrap; }
.tut-videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tut-videos-grid.one { grid-template-columns: minmax(0, 760px); }
.tut-video { margin: 0; }
.tut-video .video-embed { aspect-ratio: 16 / 9; }
.tut-video figcaption { font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.vt-section { margin-top: 34px; }
.vt-section h2 { margin-bottom: 6px; }
.vt-section > p { color: var(--muted, #6b6b7b); margin-top: 0; }
.vt-num { display: inline-block; min-width: 28px; font-variant-numeric: tabular-nums; color: var(--accent, #6a4cf5); }
.vt-desc { font-weight: 400; color: var(--muted, #6b6b7b); font-size: 13px; margin-top: 3px; }
