/* =============================================================
   COURSE PAGE (Ankara Bağlama Kursu) — CSS
   ============================================================= */

.course-hero .page-header-desc {
  max-width: 720px;
}

.course-section {
  padding: 96px 0;
}

.course-section--dark {
  background: #090909;
  border-block: 1px solid var(--gold-border, rgba(198, 163, 87, 0.16));
}

.course-section--accent {
  background: linear-gradient(
    135deg,
    rgba(198, 163, 87, 0.1),
    rgba(198, 163, 87, 0.02)
  );
}

.course-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.course-heading {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
  line-height: 1.05;
  margin: 18px 0 0;
}

.course-heading em {
  color: var(--gold);
  font-weight: 400;
}

.course-copy {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.course-copy p {
  margin: 0 0 22px;
}

.course-copy .btn {
  margin-top: 8px;
}

.course-section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.course-section-head h2 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  line-height: 1.12;
  margin: 16px 0 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  padding: 32px;
  border: 1px solid var(--gold-border, rgba(198, 163, 87, 0.2));
  background: rgba(255, 255, 255, 0.025);
  min-height: 230px;
}

.course-card > span {
  font-family: var(--font-heading, "Playfair Display", serif);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.course-card h3 {
  font-size: 1.35rem;
  margin: 38px 0 12px;
}

.course-card p,
.course-audience p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.course-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.course-audience article {
  padding: 36px 30px;
  border-top: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.025);
}

.course-audience i {
  font-size: 1.5rem;
  color: var(--gold);
}

.course-audience h3 {
  margin: 24px 0 12px;
}

.course-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: course-step;
}

.course-steps li {
  counter-increment: course-step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 20px;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-steps li:before {
  content: counter(course-step, decimal-leading-zero);
  grid-row: 1/3;
  color: var(--gold);
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.5rem;
}

.course-steps strong {
  font-size: 1.16rem;
}

.course-steps span {
  color: var(--text-muted);
  line-height: 1.65;
}

.course-faq {
  max-width: 960px;
}

.course-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0;
}

.course-faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.course-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 24px 42px 24px 0;
  position: relative;
  list-style: none;
}

.course-faq summary::-webkit-details-marker {
  display: none;
}

.course-faq summary:after {
  content: "+";
  position: absolute;
  right: 8px;
  color: var(--gold);
  font-size: 1.4rem;
}

.course-faq details[open] summary:after {
  content: "−";
}

.course-faq details p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  padding: 0 50px 24px 0;
}

.course-cta {
  text-align: center;
  padding: 100px 0;
  background: radial-gradient(
    circle at center,
    rgba(198, 163, 87, 0.14),
    transparent 62%
  );
}

.course-cta h2 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 850px;
  margin: 16px auto;
}

.course-cta > div > p:not(.section-tag) {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.course-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

@media (max-width: 860px) {
  .course-two-column {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .course-grid,
  .course-audience {
    grid-template-columns: 1fr 1fr;
  }
  .course-section {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .course-grid,
  .course-audience {
    grid-template-columns: 1fr;
  }
  .course-card {
    min-height: 0;
  }
  .course-section {
    padding: 60px 0;
  }
  .course-faq summary {
    font-size: 1rem;
  }
  .course-faq details p {
    padding-right: 20px;
  }
  .course-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .course-cta-actions .btn,
  .course-cta-actions .btn-ghost {
    width: 100%;
  }
}

