/* ═══════════════════════════════
   LESSON ABOUT PROGRAM
═══════════════════════════════ */
.lesson-about {
  background: #111111;
  padding: 48px 20px;
}

.lesson-about-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 10vw, 64px);
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.lesson-about-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 32px;
}

.lesson-about-desc strong {
  font-weight: 700;
  color: #ffffff;
}

/* ── PHOTO ── */
.lesson-about-photo {
  width: 100%;
  aspect-ratio: 1;
  background-image: url('/images/lessons/AboutPhotoNewLesson.JPEG');
  background-size: cover;
  background-position: top center;
  margin-bottom: 32px;
}

/* ── FEATURE BLOCK ── */
.lesson-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.lesson-feature-check {
  font-size: 20px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.lesson-feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 5vw, 24px);
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.lesson-feature-text {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ── SLIDER ARROWS ── */
.lesson-about-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.lesson-arrow {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.lesson-arrow:hover { background: rgba(255,255,255,0.1); border-color: #ffffff; }

/* ── COURSE DETAILS ── */
.lesson-details {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 32px;
}

.lesson-details-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 7vw, 44px);
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.lesson-detail-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  line-height: 1.5;
}

.lesson-detail-label {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  white-space: nowrap;
}

.lesson-detail-value {
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

/* ── VIDEO PREVIEW ── */
.lesson-video-preview {
  aspect-ratio: 16/9;
  background: #222222;
  background-image: url('../images/video-preview.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 16px;
  position: relative;
  cursor: pointer;
}

/* iframe or video fills the container */
.lesson-video-preview iframe,
.lesson-video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  z-index: 1;
}

/* hide play button when real video is present */
.lesson-video-preview:has(iframe) .lesson-video-play,
.lesson-video-preview:has(video) .lesson-video-play {
  display: none;
}

.lesson-video-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-video-play::after {
  content: '';
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #111111;
  margin-left: 4px;
}

/* ── Tablet ── */
@media (min-width: 768px) {
  .lesson-about { padding: 80px 60px; }
  .lesson-about-photo { aspect-ratio: 16/9; }
  .lesson-video-preview {
    aspect-ratio: 16/9;
    width: auto;
    margin: 0 24px 24px;
  }
}

/* ── 768px (iPad Mini portrait) ── */
@media (min-width: 768px) and (max-width: 799px) {
  .lesson-about {
    padding: 56px 32px;
  }
  .lesson-about-photo {
    aspect-ratio: 4/3;
  }
  .lesson-video-preview {
    margin: 0 0 0;
    aspect-ratio: 16/9;
  }
}

/* ── Mid ── */
@media (min-width: 769px) and (max-width: 1199px) {
  .lesson-about {
    padding: 80px 80px;
  }
  .lesson-about-photo {
    aspect-ratio: 3/2;
  }
  .lesson-video-preview {
    margin: 0 40px 40px;
    aspect-ratio: 16/9;
  }
}

/* ── 800–900 ── */
@media (min-width: 800px) and (max-width: 900px) {
  .lesson-about {
    padding: 72px 60px;
  }
  .lesson-about-photo {
    aspect-ratio: 16/9;
  }
  .lesson-video-preview {
    margin: 0 32px 32px;
  }
}

/* ── 1000–1199 (iPad landscape) ── */
@media (min-width: 1000px) and (max-width: 1199px) {
  .lesson-about {
    padding: 80px 80px;
  }
  .lesson-about-photo {
    aspect-ratio: 16/9;
    max-height: 480px;
  }
  .lesson-video-preview {
    margin: 0 48px 48px;
  }
}

/* ── Desktop ── */
@media (min-width: 1200px) {
  /* 2-col grid: photo left | content right (top), details | video (bottom) */
  .lesson-about {
    display: grid;
    grid-template-columns: 2fr 3fr;
    padding: 0;
    margin-left: 120px;
    margin-right: 119px;
  }

  .lesson-about-photo {
    grid-column: 1;
    grid-row: 1 / 6;
    aspect-ratio: 1;
    min-height: 0;
    margin-bottom: 0;
  }

  .lesson-about-title {
    grid-column: 2;
    grid-row: 1;
    padding: 72px 80px 0;
    margin-bottom: 0;
    font-size: 80px;
  }

  .lesson-about-desc {
    grid-column: 2;
    grid-row: 2;
    padding: 20px 80px 0;
    margin-bottom: 0;
    font-size: 15px;
    max-width: none;
  }

  .lesson-feature {
    grid-column: 2;
    grid-row: 3;
    padding: 24px 80px 0;
    margin-bottom: 0;
  }

  .lesson-feature-text {
    grid-column: 2;
    grid-row: 4;
    padding: 0 80px;
    margin-bottom: 0;
  }

  .lesson-about-nav {
    grid-column: 2;
    grid-row: 5;
    padding: 8px 80px 72px;
  }

  .lesson-details {
    grid-column: 1;
    grid-row: 6;
    max-width: none;
    margin-top: 0;
    padding: 48px;
    border-top: none;
    border-right: none;
  }

  .lesson-video-preview {
    grid-column: 2;
    grid-row: 6;
    aspect-ratio: 16/9;
    margin: 40px;
    min-height: unset;
    width: auto;
    align-self: center;
  }

  .lesson-video-preview iframe,
  .lesson-video-preview video {
    object-fit: cover;
  }
}

/* ── Small desktop ── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .lesson-about {
    margin-left: 60px;
    margin-right: 60px;
  }
  .lesson-about-title {
    font-size: 60px;
    padding: 56px 60px 0;
  }
  .lesson-about-desc {
    padding: 16px 60px 0;
  }
  .lesson-feature {
    padding: 20px 60px 0;
  }
  .lesson-feature-text {
    padding: 0 60px;
  }
  .lesson-about-nav {
    padding: 8px 60px 56px;
  }
  .lesson-details {
    padding: 36px;
  }
  .lesson-video-preview {
    margin: 32px;
  }
}
