/* ========================================
   COURSE PAGE — AI for Product Designers
   Dark theme, claude.ai-inspired minimal style.
   ======================================== */

.course-page {
  background-color: #1a1a18;
  color: #e8e6e1;
}

/* Header dark variant */
.site-header--dark .site-header__nav {
  background-color: rgba(26, 26, 24, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header--dark .nav-link {
  color: #b8b5ad;
}

.site-header--dark .nav-link:hover {
  color: #e8e6e1;
}

.site-header--dark .site-header__name {
  color: #b8b5ad;
}


/* Footer dark variant */
.site-footer--dark {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.site-footer--dark .site-footer__tagline,
.site-footer--dark .site-footer__email {
  color: #b8b5ad;
}

.site-footer--dark .site-footer__email:hover {
  color: #e8e6e1;
}

.site-footer--dark .site-footer__icon {
  color: #b8b5ad;
}

.site-footer--dark .site-footer__icon:hover {
  color: #e8e6e1;
}

/* ========================================
   COURSE LAYOUT
   ======================================== */

.course {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   HERO
   ======================================== */

.course__hero {
  min-height: 0;
  padding-top: 72px;
  padding-bottom: 48px;
}

.course__eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c4956e;
}

.course__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 1.25rem;
  color: #e8e6e1;
}

.course__accent {
  color: #c4956e;
}

.course__intro {
  max-width: 540px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #b8b5ad;
  margin: 0 0 1.5rem;
}

.course__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.course__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.course__meta-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #b8b5ad;
}

.course__meta-val {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: #e8e6e1;
}

/* ========================================
   DIVIDER
   ======================================== */

.course__divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 0;
}

/* ========================================
   SECTIONS
   ======================================== */

.course__section {
  min-height: 0;
  padding: 3rem 0;
}

.course__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #e8e6e1;
  margin: 0 0 0.75rem;
}

.course__body {
  max-width: 580px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #b8b5ad;
  margin: 0 0 1.5rem;
}

.course__body:last-child {
  margin-bottom: 0;
}

/* ========================================
   SESSIONS LIST
   ======================================== */

.course__sessions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course__session {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.course__session:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
}

.course__session-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background-color: rgba(196, 149, 110, 0.15);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #c4956e;
}

.course__session-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e8e6e1;
  margin: 0 0 0.375rem;
}

.course__session-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #b8b5ad;
  margin: 0;
}

/* ========================================
   INSTRUCTOR CARD
   ======================================== */

.course__card {
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.course__card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #e8e6e1;
  margin: 0 0 0.25rem;
}

.course__card-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #c4956e;
  margin-bottom: 1.25rem;
}

.course__card-bio {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #b8b5ad;
  margin: 0;
}

.course__card-bio strong {
  color: #e8e6e1;
  font-weight: 500;
}

/* ========================================
   DETAILS GRID
   ======================================== */

.course__details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.course__detail-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.course__detail-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #b8b5ad;
}

.course__detail-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #e8e6e1;
}

.course__detail-sub {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #b8b5ad;
}

/* ========================================
   CTA
   ======================================== */

.course__cta {
  text-align: center;
}

.course__cta .course__heading {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.course__cta .course__body {
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.course__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2.5rem;
  background-color: #c4956e;
  color: #1a1a18;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 149, 110, 0.3);
}

.course__contact {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #b8b5ad;
}

.course__contact a {
  color: #c4956e;
  text-decoration: underline;
  text-decoration-color: rgba(196, 149, 110, 0.3);
  text-underline-offset: 2px;
}

.course__contact a:hover {
  text-decoration-color: #c4956e;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .course__hero {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  .course__section {
    padding: 2rem 0;
  }

  .course__details-grid {
    grid-template-columns: 1fr;
  }

  .course__meta-row {
    flex-direction: column;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .course__title {
    letter-spacing: -0.5px;
  }

  .course__card {
    padding: 1.5rem;
  }
}
