/* ════════════════════════════════════════
   VIDEO (click-to-play, js/video.js)
   ════════════════════════════════════════ */

.video {
  max-width: 880px;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.video__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 32, 48, 0.78);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.video__mark svg {
  margin-left: 3px;
}

.video__play:hover .video__mark,
.video__play:focus-visible .video__mark {
  transform: scale(1.06);
  background: rgba(20, 32, 48, 0.92);
}

.video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.video__link {
  color: var(--text-2);
  margin-left: 0.35rem;
}

.video__link:hover {
  color: var(--text-1);
}
