* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #2d3d67;
  background: #ffffff;
}

body.is-burmese {
  font-family: "Noto Sans Myanmar", "Montserrat", system-ui, sans-serif;
}

.course-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid #e6ecff;
}

.back {
  justify-self: start;
  font-size: 28px;
  text-decoration: none;
  color: #3a4f8f;
}

.logo {
  height: 28px;
  justify-self: center;
}

.icon-btn {
  justify-self: end;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.icon {
  width: 24px;
  height: 24px;
  display: block;
}

.course-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.course-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 18px;
  border-bottom: 2px solid #3d5bf4;
}

.course-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: #2d3d67;
}

.course-hero p {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: #3f4f79;
}

.course-hero__art img {
  width: min(520px, 100%);
  height: auto;
  display: block;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 20px;
}

.divider__line {
  flex: 1;
  height: 2px;
  background: #3d5bf4;
}

.divider__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #3d5bf4;
  color: #fff;
  font-weight: 600;
}

.course-section {
  padding: 18px 0 10px;
}

.course-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: #2d3d67;
}

.chapter-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
}

.chapter-item,
.project-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: start;
  gap: 10px;
  font-size: clamp(14px, 1.4vw, 18px);
  color: #2f4681;
  text-decoration: none;
}

.chapter-item:hover,
.project-item:hover {
  color: #2640b3;
}

.chapter-score {
  color: #6b7bb0;
  min-width: 28px;
  text-align: right;
}

@media (max-width: 900px) {
  .course-hero {
    grid-template-columns: 1fr;
  }
  .chapter-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}
