﻿.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stats-card {
  background: #f7f7ff;
  border: 1px solid #ececf7;
  border-radius: 4px;
  padding: 14px 12px;
  text-align: center;
}

.stats-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2024;
  line-height: 1;
}

.stats-label {
  margin-top: 6px;
  font-size: 12px;
  color: #7d8696;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stats-note {
  margin: 14px 0 0;
  line-height: 1.8;
  color: #656565;
}

.notes-panel {
  padding: 14px 16px;
  border: 1px solid #ececf7;
  border-radius: 4px;
  background: #fbfbff;
}

.notes-item {
  padding: 12px 0;
  border-bottom: 1px solid #ececf7;
}

.notes-item:first-child {
  padding-top: 0;
}

.notes-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.notes-heading {
  display: block;
  font-size: 13px;
  color: #1f2024;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.notes-text {
  display: block;
  margin-top: 6px;
  line-height: 1.8;
  color: #656565;
}

.post-body table:not(.tr-caption-container) {
  border-radius: 4px;
  overflow: hidden;
  clip-path: inset(0 round 4px);
}

.code-copy-wrap {
  position: relative;
}

.code-copy-wrap pre.code-box {
  margin: 0;
}

.code-copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(15, 18, 24, 0.72);
  color: #f4f6fb;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 7px 11px;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, opacity .18s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.code-copy-button:hover {
  background: rgba(15, 18, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.code-copy-button:focus-visible {
  outline: 2px solid #19ddc4;
  outline-offset: 2px;
}

.code-copy-button.is-copied {
  background: rgba(25, 221, 196, 0.2);
  border-color: rgba(25, 221, 196, 0.5);
  color: #ffffff;
}
