.knowledge-demo {
  width: 100%;
  max-width: 360px;
  margin: 0;
  justify-self: center;
}

.knowledge-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  background: #e5eee6;
  object-fit: contain;
}

.knowledge-video-player {
  position: relative;
}

.knowledge-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 48px;
  height: max-content;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #183427;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.knowledge-play[hidden] {
  display: none;
}

.knowledge-play:hover {
  background: #224830;
}

.knowledge-play:focus-visible {
  outline: 3px solid #183427;
  outline-offset: 4px;
}

.knowledge-demo figcaption {
  margin-top: 12px;
  color: #345642;
  font-size: 14px;
  line-height: 1.5;
}
