.blog-article .r[data-record-type="127"] p {
  margin: 0 0 24px;
}

.blog-article .r[data-record-type="127"] p:last-child {
  margin-bottom: 0;
}

.node-brush-shortcuts {
  margin-bottom: 24px;
  border: 1px solid #dfe2e5;
  border-radius: 8px;
  overflow: hidden;
}

.node-brush-shortcuts table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 17px;
  line-height: 1.5;
}

.node-brush-shortcuts :is(th, td) {
  padding: 12px 16px;
  border-bottom: 1px solid #e7e9eb;
  vertical-align: top;
}

.node-brush-shortcuts thead {
  background: #f0f1f2;
}

.node-brush-shortcuts tbody th {
  width: 40%;
  font-weight: 500;
}

.node-brush-shortcuts tbody tr:last-child > * {
  border-bottom: 0;
}

.blog-article kbd {
  display: inline;
  padding: 1px 4px;
  border: 1px solid #e0e2e5;
  border-radius: 4px;
  background: #f5f6f7;
  font: inherit;
  font-size: .9em;
  box-decoration-break: clone;
}

@media (max-width: 640px) {
  .node-brush-shortcuts table { font-size: 14px; }
  .node-brush-shortcuts :is(th, td) { padding: 9px; }
}

.blog-article .node-brush-intro {
  margin: 24px 0 0;
  max-width: 760px;
}

.blog-article .node-brush-demo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 20 / 13;
  margin: 36px 0 0;
  border-radius: 8px;
  background: #f0f1f2;
}


@media (max-width: 640px) {
  .blog-article :is(.node-brush-demo,.node-brush-player) { margin-top: 28px; }
}

.blog-article .node-brush-player {
  position: relative;
  margin-top: 36px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-article .node-brush-player .node-brush-demo {
  margin: 0;
  border: 0;
  clip-path: inset(1px round 8px);
}

.node-brush-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgb(88 88 88 / 45%);
  color: white;
  cursor: pointer;
}

.node-brush-toggle::before {
  content: '';
  width: 5px;
  height: 16px;
  margin-right: 8px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 8px 0 currentColor;
}

.node-brush-toggle[data-paused="true"]::before {
  width: 14px;
  height: 16px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(12% 0, 100% 50%, 12% 100%);
}

.node-brush-toggle:focus-visible {
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .node-brush-toggle { opacity: 0; pointer-events: none; }
  .node-brush-player:hover .node-brush-toggle,
  .node-brush-player:focus-within .node-brush-toggle { opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
  .blog-article .node-brush-player { margin-top: 28px; }
}

.blog-article .node-brush-youtube {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

#node-brush-download {
  text-align: center;
}

.blog-article a.node-brush-download {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  background: #3d7af6;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.blog-article:has(.node-brush-youtube) :is(.blog-article-meta, .r p) a {
  color: var(--bp-color-accent);
}
