.course-block .lesson-video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 550px);
  aspect-ratio: auto;
  margin-inline: auto;
  background: transparent;
  object-fit: contain;
}
.course-block .lesson-video:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  background: #000;
}
.protected-content:has(> .lesson-quiz) {
  width: min(100%, 48rem);
  margin-inline: auto;
  padding: 2px;
  border-radius: 20px;
  box-shadow: none;
  background: #e9e1d6;
}
.protected-content > .lesson-quiz {
  width: 100%;
  margin: 0;
  background: var(--surface);
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}
.lesson-material {
  display: grid;
  justify-items: start;
  gap: 1rem;
  margin-block: 1rem 0;
  min-width: 0;
}
.lesson-material-preview {
  width: min(100%, 32rem);
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.lesson-material-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.lesson-material-preview:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
