/* GEMINIUM sub-pages — 规则 / 参数 / 问答.
   One chapter per page: the site masthead and footer, the chapter itself, and a
   short "next" row. Everything else comes from styles.css. */

/* ---------------------------------------------------------
   Chapter as a page body
   --------------------------------------------------------- */

.page-chapter {
  border-top: 0; /* nothing above it to separate from */
  padding-top: clamp(38px, 5vw, 66px);
  padding-bottom: clamp(44px, 5.6vw, 70px);
}
.page-chapter .eyebrow { margin-bottom: clamp(14px, 1.8vw, 20px); }
.page-chapter .chapter-head { margin-bottom: clamp(30px, 3.6vw, 46px); }

/* ---------------------------------------------------------
   Continue reading
   --------------------------------------------------------- */

.page-next {
  max-width: var(--maxw);
  margin-inline: auto;
  border-top: 1px solid var(--rule);
  padding: 20px var(--gutter) clamp(52px, 6.5vw, 84px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.page-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

@media (max-width: 760px) {
  .page-chapter { padding-top: 26px; padding-bottom: 34px; }
  .page-next-links { margin-left: 0; width: 100%; }
  .page-next-links .btn { flex: 1 1 auto; justify-content: center; }
}
