/* Country guide and method page: only what styles.css lacks. Loaded after it. */

.page .promise {
  margin-bottom: 8px;
}

.lead {
  margin: 0 0 8px;
}

.page h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.page h3 {
  margin: 16px 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.page p {
  margin: 0 0 8px;
}

.page-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page a,
.page-links a {
  color: var(--accent);
  text-underline-offset: 3px;
}

/* A link that does what a button would: same look as the main page's button. */
.page a.primary {
  margin-top: 16px;
  text-align: center;
  text-decoration: none;
}

/* ---------- guide: three ways ---------- */

.ways,
.opts,
.plain-list {
  margin: 0;
  padding: 0;
}

.ways,
.opts {
  list-style: none;
}

.way + .way {
  margin-top: 16px;
}

.way-name {
  margin: 0 0 2px;
}

.way-text {
  color: var(--muted);
}

/* ---------- guide: measured rows ---------- */

.opt {
  padding: 14px 0;
}

.opt + .opt {
  border-top: 1px solid var(--line);
}

.opt:first-child {
  padding-top: 0;
}

.opt-name {
  font-weight: 600;
}

.opt-nums {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 6px;
}

.page .opt-exit,
.page .opt-n {
  margin: 0;
}

.empty-text {
  font-size: 1.05rem;
}

/* ---------- method page ---------- */

.plain-list {
  padding-left: 1.4em;
}

.plain-list li + li {
  margin-top: 6px;
}

.results dt {
  margin-top: 12px;
  font-weight: 600;
}

.results dt:first-child {
  margin-top: 0;
}

.results dd {
  margin: 0;
  color: var(--muted);
}

.page .details {
  margin-top: 24px;
}

.page .details p {
  margin-top: 4px;
}

/* ---------- links under the card ---------- */

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  margin: 12px 4px 0;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}
