/* ═══════════════════════════════
   COURSE ABOUT PROGRAM
   Desktop: photo left | content right
   Mobile: stacked
═══════════════════════════════ */
.course-about {
  background: #111111;
}

/* ── TOP: Photo + Text side by side on desktop ── */
.course-about-top {
  display: flex;
  flex-direction: column;
}

.course-about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background-image: url('/images/layered/ScissorsNew.JPEG');
  background-size: cover;
  background-position: top center;
  flex-shrink: 0;
}

.course-about-content {
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.course-about-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 10vw, 80px);
  line-height: 0.92;
  color: #ffffff;
  letter-spacing: 0.01em;
}

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

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

/* ── FEATURE ── */
.course-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

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

.course-feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(16px, 4vw, 22px);
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

/* Slide arrows */
.course-about-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 8px;
}

.course-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;
}

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

/* ── BOTTOM: Details + Video ── */
.course-about-bottom {
  display: flex;
  flex-direction: column;
  border-top: 2px solid rgba(255,255,255,0.06);
}

.course-details {
  padding: 40px 20px;
  background: #1a1a1a;
}

.course-details-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 7vw, 44px);
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

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

.course-detail-label {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  font-size: 13px;
  white-space: nowrap;
}

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

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

/* iframe or video fills the container */
.course-video-preview iframe,
.course-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 */
.course-video-preview:has(iframe) .course-video-play,
.course-video-preview:has(video) .course-video-play {
  display: none;
}

.course-video-play {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.course-video-play:hover {
  background: rgba(255,255,255,0.15);
}

.course-video-play::after {
  content: '';
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid rgba(255,255,255,0.9);
  margin-left: 6px;
}

/* ── TABLET ── */
@media (min-width: 768px) {
  .course-about-content { padding: 48px 40px; }
  .course-details { padding: 40px; }
  .course-video-preview {
    aspect-ratio: 16/9;
    width: auto;
    margin: 0 24px 24px;
  }
}

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

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

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

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

/* ── DESKTOP ── */
@media (min-width: 1200px) {
  .course-about-top {
    min-height: 560px;
  }
  .course-about-content {
    display: grid;
    grid-template-columns: 480px 1fr;
    padding: 0;
    gap: 0;
  }
  .course-about-photo {
    grid-column: 1;
    grid-row: 1 / 6;
    aspect-ratio: auto;
    width: auto;
    min-height: 0;
    margin-bottom: 0;
  }
  .course-about-title {
    grid-column: 2;
    grid-row: 1;
    padding: 72px 80px 0;
    margin-bottom: 0;
  }
  .course-about-desc {
    grid-column: 2;
    grid-row: 2;
    padding: 20px 80px 0;
    margin-bottom: 0;
  }
  .course-feature {
    grid-column: 2;
    grid-row: 3;
    padding: 24px 80px 0;
  }
  .course-about-nav {
    grid-column: 2;
    grid-row: 4;
    padding: 8px 80px 72px;
  }
  .course-about-bottom {
    flex-direction: row;
    min-height: 360px;
  }
  .course-details {
    width: 380px;
    flex-shrink: 0;
    padding: 48px 48px;
    border-right: 2px solid rgba(255,255,255,0.06);
  }
  .course-video-preview {
    flex: 1;
    aspect-ratio: 14/7;
    min-height: unset;
    width: auto;
    margin: 40px;
    align-self: center;
  }

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

/* ── Small desktop ── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .course-about-top { min-height: 480px; }
  .course-about-content { grid-template-columns: 380px 1fr; }
  .course-about-title { padding: 56px 60px 0; }
  .course-about-desc { padding: 16px 60px 0; }
  .course-feature { padding: 20px 60px 0; }
  .course-about-nav { padding: 8px 60px 56px; }
  .course-details { width: 340px; padding: 36px; }
  .course-video-preview { margin: 32px; }
}
