:root {
  color-scheme: light;
  --page-bg: #f7f8fa;
  --surface: #ffffff;
  --text: #303236;
  --heading: #202124;
  --muted: #656b73;
  --line: #dfe3e7;
  --accent: #2e8b57;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.enlightenment-site-header {
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.enlightenment-site-header a {
  display: flex;
  width: min(1080px, calc(100% - 40px));
  min-height: 58px;
  align-items: center;
  margin: 0 auto;
  color: var(--heading);
  font-size: 18px;
  font-weight: 800;
}

.enlightenment-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.enlightenment-article-shell { width: min(860px, calc(100% - 40px)); }

.enlightenment-breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.enlightenment-breadcrumb a { color: var(--accent); }
.enlightenment-breadcrumb span + span { margin-left: 7px; }
.enlightenment-breadcrumb a + span { margin: 0 7px; }

.enlightenment-title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.enlightenment-summary {
  max-width: 860px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  text-align: justify;
  text-align-last: left;
}

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

.enlightenment-course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #697987;
  background: var(--surface);
  text-align: center;
}

.enlightenment-course-card:hover { border-color: #3d596f; text-decoration: none; }

.enlightenment-course-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.enlightenment-course-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 14px 8px 10px;
}

.enlightenment-course-card strong {
  margin-bottom: 5px;
  color: #1c244b;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.enlightenment-course-card small {
  color: #324a6d;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.enlightenment-detail-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 20px;
}

.enlightenment-article-body {
  color: var(--text);
  font-size: 18px;
  line-height: 2;
  text-align: justify;
  text-align-last: left;
}

.enlightenment-article-body p {
  margin: 0 0 1em;
  text-align: justify;
  text-align-last: left;
}

.enlightenment-article-body h2 {
  margin: 1.7em 0 .75em;
  color: var(--heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .enlightenment-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .enlightenment-site-header a,
  .enlightenment-shell,
  .enlightenment-article-shell { width: min(100% - 28px, 860px); }
  .enlightenment-shell { padding: 28px 0 44px; }
  .enlightenment-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enlightenment-title { font-size: 24px; }
  .enlightenment-summary { font-size: 17px; line-height: 1.8; }
  .enlightenment-article-body { font-size: 17px; line-height: 1.9; }
  .enlightenment-article-body p { margin-bottom: .95em; }
}
