.rich-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rich-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.rich-content th,
.rich-content td {
  padding: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  vertical-align: top;
}

.rich-content td p,
.rich-content th p {
  margin: 0;
}

.rich-content pre,
.rich-content video,
.rich-content iframe {
  max-width: 100%;
}

.content-video {
  margin: 24px 0;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
}

.content-video-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.content-video-head h2 {
  margin: 0 0 8px;
}

.content-video-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-video-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.content-video-nav button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 18px;
  cursor: pointer;
}

.content-video-nav span {
  color: var(--muted);
  font-size: 13px;
}

.content-video-track {
  display: block;
}

.content-video-item {
  display: none !important;
}

.content-video-item.is-active {
  display: block !important;
}

.content-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 16px;
  touch-action: pan-y;
  -webkit-touch-callout: none;
}

.content-video-item:not(.is-active) video {
  display: none;
}

.detail-product .detail-cover img,
.detail-case .detail-cover img {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 899px) {
  .detail-product .detail-article h1 {
    margin: 7px 0 9px;
    font-size: 22px;
    line-height: 1.4;
  }

  .content-video-head {
    flex-direction: column;
  }

  .content-video-nav {
    width: 100%;
    justify-content: space-between;
  }
}
