.legacy-article-content {
  min-width: 0;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  color: #262723;
  overflow-wrap: anywhere;
}

.document-description-text {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3c3d38;
  overflow-wrap: anywhere;
}

.legacy-article-content p {
  margin: 0 0 1em;
}

.legacy-article-content h2,
.legacy-article-content h3 {
  font-family: 'Golos Text', Arial, sans-serif;
  line-height: 1.25;
}

.legacy-article-content ul,
.legacy-article-content ol {
  margin: .65em 0 1em;
  padding-left: 1.6em;
}

.legacy-article-content li {
  margin: 0;
  padding: 0;
}

.legacy-article-content li > p {
  margin: 0;
}

.legacy-article-content iframe {
  max-width: 100%;
}

.legacy-article-content .vm-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 28px 0 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #1b1c1a center / cover no-repeat;
  box-shadow: 0 10px 28px rgba(24, 31, 25, .12);
}

.legacy-article-content .vm-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: linear-gradient(transparent 55%, rgba(0, 0, 0, .48));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font: 600 14px 'Golos Text', Arial, sans-serif;
}

.legacy-article-content .vm-video-play-icon {
  width: 72px;
  height: 72px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: #1b1c1a;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
}

.legacy-article-content .vm-video-play:hover .vm-video-play-icon,
.legacy-article-content .vm-video-play:focus-visible .vm-video-play-icon {
  background: #83d00c;
}

.legacy-article-content .vm-video-play-label {
  text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}

.legacy-article-content .vm-video-open {
  margin: 0 0 28px;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.legacy-article-content .vm-video-open a {
  text-decoration: underline;
  text-decoration-color: #83d00c;
  text-underline-offset: 4px;
}

.legacy-article-content .vm-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.legacy-article-content .vm-video-unavailable {
  padding: 20px 24px;
  border-radius: 10px;
  background: #f0f0eb;
}

.legacy-article-content .vm-video-unavailable a {
  text-decoration: underline;
  text-decoration-color: #83d00c;
  text-underline-offset: 4px;
}

.legacy-article-content .vm-content-image {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  padding: clamp(8px, 1.8vw, 16px);
  background: #fff;
  border: 1px solid #dfe6e2;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(28, 45, 33, .07), 0 1px 3px rgba(28, 45, 33, .05);
}

.legacy-article-content .vm-image-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto;
  border-radius: 14px;
}

.legacy-article-content .vm-image-link .vm-content-image {
  margin: 0;
}

.legacy-article-content .vm-image-link:hover .vm-content-image,
.legacy-article-content .vm-image-link:focus-visible .vm-content-image {
  border-color: #a8c988;
  box-shadow: 0 10px 30px rgba(46, 96, 45, .11);
}

.legacy-article-content :not(pre) > code {
  padding: .12em .34em;
  border-radius: 4px;
  background: #edf3e9;
  color: #31543b;
  font: .82em/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.legacy-article-content .vm-table-wrap {
  max-width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #dce4da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(28, 45, 33, .05);
}

.legacy-article-content .vm-table-wrap:focus-visible {
  outline: 3px solid #83d00c;
  outline-offset: 3px;
}

.legacy-article-content .vm-table-wrap table {
  width: 100% !important;
  min-width: 620px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  table-layout: auto;
  background: #fff !important;
  color: #26312a;
  font-family: 'Golos Text', Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.legacy-article-content .vm-table-wrap th,
.legacy-article-content .vm-table-wrap td {
  min-width: 110px;
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8ede6 !important;
  background: transparent !important;
  color: inherit;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-align: left;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
}

.legacy-article-content .vm-table-wrap thead {
  background: #edf3e8;
  color: #263b23;
}

.legacy-article-content .vm-table-wrap thead th {
  font-weight: 700 !important;
  border-bottom: 1px solid #d4e0cf !important;
}

.legacy-article-content .vm-table-wrap thead th strong {
  font-weight: inherit;
}

.legacy-article-content .vm-table-wrap tbody tr:nth-child(even) {
  background: #f8faf7;
}

.legacy-article-content .vm-table-wrap tbody tr:hover {
  background: #f1f6ed;
}

.legacy-article-content .vm-table-wrap tbody tr:last-child td {
  border-bottom: 0 !important;
}

.legacy-article-content .vm-table-wrap .vm-token-cell {
  white-space: nowrap;
  color: #315b3c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 12.5px !important;
  font-weight: 600;
}

.legacy-article-content .vm-table-wrap a {
  color: #285b82;
  text-decoration: underline;
  text-decoration-color: #b4cbdb;
  text-underline-offset: 2px;
}

.legacy-article-content .vm-code-block {
  min-width: 0;
  margin: 24px 0 30px;
  overflow: hidden;
  border: 1px solid #33443a;
  border-radius: 14px;
  background: #202722;
  box-shadow: 0 8px 24px rgba(26, 40, 30, .10);
  font-family: 'Golos Text', Arial, sans-serif;
}

.vm-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 9px 12px 9px 16px;
  border-bottom: 1px solid #3a4c40;
  background: #2b382e;
}

.vm-code-label {
  color: #c7d9c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
}

.vm-code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vm-code-action {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #506354;
  border-radius: 6px;
  background: #354638;
  color: #f0f5ee;
  font: 600 11.5px/1.2 'Golos Text', Arial, sans-serif;
  cursor: pointer;
}

.vm-code-action:hover,
.vm-code-action[aria-pressed='true'] {
  border-color: #a7d779;
  background: #486447;
}

.vm-code-action:focus-visible {
  outline: 2px solid #b0df72;
  outline-offset: 2px;
}

.legacy-article-content .vm-code-block pre {
  max-width: 100%;
  margin: 0 !important;
  padding: 18px 20px 20px !important;
  overflow-x: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e9f1e8 !important;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  tab-size: 2;
  white-space: pre !important;
}

.legacy-article-content .vm-code-block.is-wrapped pre {
  overflow-wrap: anywhere;
  white-space: pre-wrap !important;
}

.legacy-article-content .vm-code-block pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.vm-code-plain {
  display: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 120px;
  padding: 18px 20px;
  resize: vertical;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: #202722;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  tab-size: 2;
}

.vm-code-block.is-plain pre {
  display: none;
}

.vm-code-block.is-plain .vm-code-plain {
  display: block;
}

@media (max-width: 640px) {
  .legacy-article-content .vm-table-wrap table { min-width: 620px; }
  .legacy-article-content .vm-content-image { padding: 8px; }
  .vm-code-toolbar { align-items: flex-start; }
  .vm-code-actions { width: 100%; }
  .legacy-article-content .vm-code-block pre,
  .vm-code-plain { font-size: 12.5px !important; }
}
