/* ========================================
   Courses Landing Page
   ======================================== */

/* --- Hero --- */
.courses-hero {
  padding-top: 120px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .courses-hero {
    padding-top: 140px;
    padding-bottom: 64px;
  }
}

.courses-hero__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .courses-hero__title {
    font-size: 52px;
    margin-bottom: 20px;
  }
}

.courses-hero__subtitle {
  font-size: 18px;
  color: #6B6B6B;
  max-width: 600px;
  line-height: 1.6;
}

/* --- Course Cards --- */
.courses-list {
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .courses-list {
    padding-bottom: 140px;
  }
}

.course-card {
  border-bottom: 1px solid #E8E6E1;
  padding: 32px 0;
}

.course-card:first-child {
  border-top: 1px solid #E8E6E1;
}

/* Featured card highlight */
.course-card--featured {
  background-color: #FDF6F3;
  border: none;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 8px;
}

.course-card--featured + .course-card {
  border-top: none;
}

@media (min-width: 768px) {
  .course-card--featured {
    padding: 40px;
  }
}

/* Card header — always visible */
.course-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.course-card__top {
  flex: 1;
  min-width: 0;
}

.course-card__name {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .course-card__name {
    font-size: 26px;
  }
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.course-card__tag {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.course-card__tag--enrolling {
  background-color: rgba(194, 97, 58, 0.1);
  color: #C2613A;
}

.course-card__tag--upcoming {
  background-color: #E8E6E1;
  color: #6B6B6B;
}

.course-card__duration {
  font-size: 14px;
  color: #6B6B6B;
}

.course-card__location {
  font-size: 14px;
  color: #6B6B6B;
}

.course-card__price {
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
}

.course-card__tagline {
  font-size: 17px;
  color: #1A1A1A;
  line-height: 1.55;
  margin-top: 16px;
  max-width: 680px;
}

/* More button */
.course-card__toggle {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #C2613A;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  margin-top: 16px;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.course-card__toggle:hover {
  color: #A8522F;
}

.course-card__toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
  line-height: 1;
}

.course-card__toggle.open .course-card__toggle-arrow {
  transform: rotate(180deg);
}

/* Expandable details */
.course-card__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.course-card__details.open {
  opacity: 1;
}

.course-card__details-inner {
  padding-top: 24px;
}

/* Detail sections */
.course-detail {
  margin-bottom: 28px;
}

.course-detail:last-child {
  margin-bottom: 0;
}

.course-detail__label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B6B6B;
  margin-bottom: 8px;
}

.course-detail__text {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  max-width: 640px;
}

.course-detail__list {
  list-style: none;
  padding: 0;
}

.course-detail__list li {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.course-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background-color: #C2613A;
}

.course-detail__list li:last-child {
  margin-bottom: 0;
}

.course-detail__highlight {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  border-left: 3px solid #C2613A;
  padding-left: 20px;
  max-width: 640px;
  font-style: italic;
}

/* WhatsApp CTA */
.course-card__cta {
  margin-top: 32px;
}

.btn--whatsapp {
  background-color: #C2613A;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  padding: 16px 36px;
}

.btn--whatsapp:hover {
  background-color: #A8522F;
  transform: scale(1.02);
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.course-card__cta-note {
  font-size: 14px;
  color: #6B6B6B;
  margin-top: 10px;
}

/* Instructor line */
.course-card__instructor {
  font-size: 15px;
  color: #6B6B6B;
  margin-top: 24px;
  font-style: italic;
  max-width: 500px;
  line-height: 1.5;
}

/* Upcoming placeholder text */
.course-card__upcoming-note {
  font-size: 15px;
  color: #6B6B6B;
  margin-top: 8px;
  line-height: 1.5;
}
