/* ===== Main Content Layout ===== */
main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px 40px;
}

/* ===== Page Title ===== */
.page-title {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  padding: 35px 25px;
  border-radius: 18px;
  text-align: center;
  margin-bottom: 35px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.page-title h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

/* ===== Section Box ===== */
.chapter-sections {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.chapter-sections h2 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

/* ===== Ordered List ===== */
.chapter-sections ol {
  padding-left: 22px;
  margin: 0;
}

.chapter-sections li {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

/* ===== Links ===== */
.chapter-sections a {
  display: inline-block;
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  transition: all 0.3s ease;
}

.chapter-sections a:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  main {
    margin: 25px auto;
    padding: 0 15px 30px;
  }

  .page-title {
    padding: 28px 18px;
  }

  .page-title h1 {
    font-size: 1.5rem;
  }

  .chapter-sections {
    padding: 22px 18px;
  }

  .chapter-sections h2 {
    font-size: 1.25rem;
  }

  .chapter-sections li {
    font-size: 1rem;
  }
}
