.doc-video:where(.astro-qg3rcppy) {
  width: 100%;
  max-height: 620px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}
.doc-row:where(.astro-lrildiqg) + br {
  display: none;
}

.doc-row:where(.astro-lrildiqg) {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 26px 0 32px;
}

.doc-row:where(.astro-lrildiqg) > * {
  flex: 1;
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.doc-row:where(.astro-lrildiqg) .doc-figure img {
  max-height: 600px;
}

.doc-row:where(.astro-lrildiqg):has(.code-panel) {
  flex-direction: column;
}

.doc-row:where(.astro-lrildiqg):has(.code-panel) > * {
  width: 100% !important;
}

.doc-row:where(.astro-lrildiqg):has(.code-panel) > .doc-figure {
  max-width: 520px;
  align-self: center;
}

@media (width <= 1000px) {
  .doc-row:where(.astro-lrildiqg) {
    flex-direction: column;
  }

  .doc-row:where(.astro-lrildiqg) > * {
    width: 100% !important;
  }

  .doc-row:where(.astro-lrildiqg) .doc-figure {
    max-width: 560px;
    align-self: center;
  }
}
