/* ════════════════════════════════════════
   FREE-LESSON.CSS — Free Videos / YouTube Section
════════════════════════════════════════ */

#videos { background: var(--bg); }

.videos-intro {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.5rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Video Card */
.video-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; transition: all .3s;
}
.video-card:hover { border-color: rgba(0,229,255,.2); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.video-card.featured { grid-column: 1 / -1; }

/* YouTube Embed */
.yt-embed {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: #000;
}
.yt-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none;
}

/* Video Metadata */
.video-meta { padding: 1rem 1.2rem; }
.video-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .3rem;
}
.video-title { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .25rem; }
.video-info { font-size: .8rem; color: var(--text3); display: flex; gap: .75rem; align-items: center; }
.video-info svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 700px) {
  .videos-grid { grid-template-columns: 1fr; }
  .video-card.featured { grid-column: 1; }
  .videos-intro { flex-direction: column; align-items: flex-start; }
}
