/* Classic Blender Tutorial Remakes — Editorial Extensions for /css/blender-basics.css */

.workflow-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}
.workflow-node {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .86rem;
  line-height: 1.45;
}
.workflow-node strong {
  display: block;
  color: var(--plum);
  font-size: .84rem;
  margin-bottom: 2px;
}
.workflow-node span {
  color: var(--muted);
  display: block;
}

/* Top Hero Comparison Showcase: Original YouTube Video vs R3 Demo Video */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 8px;
}
.showcase-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.showcase-card.result-card {
  border-color: #d2c2e8;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f4fc 100%);
}
.showcase-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 10px;
}
.showcase-label h2 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--ink);
}
.badge-ref {
  font-size: .76rem;
  font-weight: 700;
  padding: .12rem .58rem;
  border-radius: 999px;
  background: var(--goal-bg);
  color: var(--orange);
  border: 1px solid #ecc6aa;
}
.badge-ai {
  font-size: .76rem;
  font-weight: 700;
  padding: .12rem .58rem;
  border-radius: 999px;
  background: var(--purple-wash);
  color: var(--plum);
  border: 1px solid #d2c2e8;
}
.embed-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #14171f;
}
.embed-16x9 iframe,
.embed-16x9 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.showcase-meta {
  margin-top: 10px;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
}
.showcase-meta a {
  font-weight: 600;
}

#rebuild-recording,
.recording-guide video {
  scroll-margin-top: var(--recording-scroll-offset, 96px);
}
.recording-guide {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 18px;
}
.recording-guide video {
  position: sticky;
  top: var(--recording-scroll-offset, 96px);
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #14171f;
}
.step .recording-chapters {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recording-chapters li {
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
}
.recording-chapters li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.recording-chapters a {
  font-weight: 700;
}
.recording-chapters time {
  margin-right: .35rem;
  font-variant-numeric: tabular-nums;
}
.recording-chapters p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

/* Section Headers & Tables */
.section-kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange);
  margin-bottom: 4px;
}
.table-wrap {
  overflow-x: auto;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  line-height: 1.55;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background: var(--surface);
  color: var(--plum);
  font-weight: 700;
  white-space: nowrap;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table td.ts-col {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .84rem;
}

/* Full 5-Panel Progression Strip */
.progression-box {
  margin: 14px 0 18px;
  padding: 14px;
  background: #14161f;
  border-radius: 12px;
  color: #f3f1ec;
}
.progression-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
  color: #e6dfd4;
}
.progression-labels span.ref-col { color: #f6b685; }
.progression-labels span.final-col { color: #9ee0c2; }
.progression-box .evidence {
  grid-template-columns: 1fr;
  margin-top: 0;
}
.progression-box figcaption {
  color: #cbc5bc;
  margin-top: 8px;
  font-size: .84rem;
}
.progression-box figcaption a {
  color: #d6c5f5;
}

/* Per-Round Comparison Card */
.round-card {
  margin: 18px 0;
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--plum);
  border-radius: 12px;
}
.round-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.round-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
}
.round-receipt {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .14rem .68rem;
}

.compare-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.compare-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0;
}
.compare-trio figure,
.compare-duo figure {
  margin: 0;
}
.compare-trio figcaption strong,
.compare-duo figcaption strong {
  display: block;
  color: var(--ink);
  font-size: .86rem;
}

.agent-diff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.diff-panel {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .92rem;
  line-height: 1.62;
}
.diff-panel.gemini-panel {
  background: #f5f2fb;
  border: 1px solid #d9cce9;
}
.diff-panel.sol-panel {
  background: #fcf5ec;
  border: 1px solid #ecd2b8;
}
.diff-panel h4 {
  margin: 0 0 8px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.diff-panel.gemini-panel h4 { color: var(--plum); }
.diff-panel.sol-panel h4 { color: var(--orange); }
.diff-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}
.diff-panel li {
  margin-bottom: 6px;
}
.diff-panel li:last-child {
  margin-bottom: 0;
}

/* Verification KPIs & Gap Callout */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.kpi-card {
  background: var(--check-bg);
  border: 1px solid #c6e0d4;
  border-radius: 10px;
  padding: 12px 14px;
}
.kpi-card strong {
  display: block;
  font-size: 1.18rem;
  color: var(--check-ink);
  line-height: 1.25;
}
.kpi-card span {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 3px;
}
.gap-box {
  background: #fdf6ef;
  border: 1px solid #ebd0b5;
  border-left: 4px solid var(--orange);
  border-radius: 8px 10px 10px 8px;
  padding: 14px 16px;
  margin: 14px 0 0;
}
.gap-box strong {
  display: block;
  color: var(--orange);
  margin-bottom: 6px;
}
.gap-box ul {
  margin: 0;
  padding-left: 1.25rem;
}
.gap-box li {
  margin-bottom: 4px;
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.dl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dl-card strong {
  display: block;
  color: var(--ink);
  font-size: .94rem;
}
.dl-card span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}

/* FAQ Section */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.faq-card h3 {
  font-size: 1rem;
  color: var(--plum);
  margin: 0 0 6px;
}
.faq-card p {
  margin: 0;
  color: var(--ink);
  font-size: .93rem;
}

/* Collapsible Details Enhancement */
.shot-details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 0;
}
.shot-details summary {
  width: 100%;
  font-weight: 700;
  color: var(--plum);
  padding: 2px 0;
}

/* Classic Series Showcase on /blog/ & /zh/blog/ */
.classic-remakes-spotlight {
  background: linear-gradient(135deg, #fffdf9 0%, #f5f0fb 100%);
  border: 1px solid #d5c7e8;
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 36px;
  box-shadow: 0 6px 20px rgba(68, 50, 104, 0.07);
}
.classic-remakes-header {
  margin-bottom: 18px;
}
.classic-remakes-header h2 {
  font-size: 1.55rem;
  margin: 4px 0 8px;
  color: #242222;
}
.classic-remakes-header p {
  color: #555;
  margin: 0;
  line-height: 1.65;
}
.classic-remakes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .workflow-ribbon,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .showcase-grid,
  .recording-guide,
  .agent-diff,
  .download-grid,
  .classic-remakes-grid {
    grid-template-columns: 1fr;
  }
  .recording-guide video {
    position: static;
  }
}

@media (max-width: 720px) {
  .compare-trio,
  .compare-duo {
    grid-template-columns: 1fr;
  }
  .progression-labels {
    font-size: .68rem;
  }
  .workflow-ribbon,
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}
