/* Fixed text pages of the design renewal (#103: _ume/info_layout.tpl). The body is the shared ume-prose / ume-reading;
   this file adds only what the shared parts do not cover: contents lists, definition lists, the policy articles, figures and
   tables. Shared controls live in /css/umeshu/umeshu.css and are not overridden. */
.info-page { padding-block: 28px 80px; }
.info-heading { margin-block: 38px 34px; }
/* Fixed headings and contents break between phrases at narrow widths, not inside words. */
.info-heading h1, .info-body h2, .info-body h3, .info-toc li { word-break: auto-phrase; }
.info-body { overflow-wrap: anywhere; }
.info-body h2 { margin-top: 48px; padding-bottom: 8px; border-bottom: 1px solid var(--ume-color-line); }
.info-body h3 { margin-top: 36px; }

/* Contents list of a long page (help). */
.info-toc { padding: 20px 28px; background: var(--ume-color-soft); border-radius: var(--ume-radius-control); }
.info-toc ol { margin-top: 0; }
.info-toc li + li { margin-top: 4px; }

/* Definition lists in the texts: the policy articles (dt.provision), their definitions and the operator's details. */
.info-body dl { margin-top: 20px; }
.info-body dt { font-weight: var(--ume-weight-bold); }
.info-body dd { margin: 4px 0 0; }
.info-body dd + dt { margin-top: 16px; }
.info-body dd dl { padding-left: 1em; border-left: 2px solid var(--ume-color-line); }
.info-body dd ol, .info-body li ol { margin-top: 8px; }
.info-body li + li { margin-top: 6px; }
.info-body dt.provision { margin-top: 36px; font-size: var(--ume-text-lg); line-height: 1.6; }
.info-body dl > dt.provision:first-child { margin-top: 0; }

/* Around a revision (#78): the notice, then the current and the revised text as two marked versions. */
.info-policy-notice a { color: var(--ume-color-link); text-decoration: underline; }
.info-body h2.policy-version { margin-top: 56px; padding: 10px 16px; border: 0; background: var(--ume-color-band); border-radius: var(--ume-radius-control); font-size: 22px; }
.policy-text { margin-top: 24px; }

/* Figures, banners and tables. */
.info-body img { max-width: 100%; height: auto; vertical-align: middle; }
.info-figure, .info-center { text-align: center; }
.info-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.info-banner { display: grid; gap: 8px; justify-items: start; margin-top: 24px; }
.info-banner figcaption { font-size: var(--ume-text-sm); color: var(--ume-color-muted); }
.info-banner-code { width: 100%; font-size: var(--ume-text-sm); }
.info-table th { width: 9em; white-space: nowrap; }
.info-address { font-weight: var(--ume-weight-bold); }
.info-address small { font-weight: normal; }
.info-ended strong { display: block; }
.info-logout { margin-top: 16px; }

@media (max-width: 600px) {
  .info-page { padding-block: 22px 52px; }
  .info-heading { margin-block: 28px; }
  .info-body h2 { margin-top: 40px; }
  .info-body h2.policy-version { font-size: 19px; }
  .info-toc { padding: 16px 20px; }
}

/* The policy texts sit in their own blocks, so their paragraphs get the prose spacing here. */
.policy-text > * + * { margin-top: var(--ume-space-5); }

/* Shop signup and a readable preview of the profile design. */
.info-body a.info-shop-register { text-decoration: none; max-width: 100%; white-space: normal; text-align: center; }
.info-shop-profile { width: 520px; margin-inline: auto; border: 1px solid var(--ume-color-line); border-radius: var(--ume-radius-control); }
