/* فيديو كيفية استخدام المنصة — أسفل الصفوف الدراسية */
.howto-video { padding: 12px 0 52px; }
.howto-video__head { text-align: center; margin-bottom: 26px; }
.howto-video__badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-700, #0b7b7a); font-weight: 800; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; background: var(--surface-soft, rgba(11,123,122,.08));
}
.howto-video__title {
  font-family: var(--font-display, inherit); font-weight: 800;
  font-size: clamp(24px, 3vw, 34px); color: var(--text-strong, #10262c); margin: 10px 0 8px;
}
.howto-video__sub {
  color: var(--muted-strong, #4b5f66); max-width: 40rem; margin: 14px auto 0; line-height: 1.85;
}
.howto-video__frame {
  position: relative;
  width: min(100%, 960px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg, 18px) + 4px);
  overflow: hidden;
  background: #07141a;
  border: 1px solid var(--border, rgba(0,0,0,.08));
  box-shadow: var(--shadow-soft, 0 18px 40px rgba(7,20,26,.18));
}
.howto-video__frame iframe,
.howto-video__frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  background: #000;
  object-fit: contain;
}
@supports not (aspect-ratio: 16 / 9) {
  .howto-video__frame { height: 0; padding-top: 56.25%; }
}
@media (max-width: 640px) {
  .howto-video { padding: 4px 0 40px; }
  .howto-video__frame { border-radius: 14px; }
}
