/*
  05-policy.css
  Policy style pages that use the Policy Page template
  (page-policy.php): Privacy, Terms, Cookie, DMCA and Acceptable Use.
  A narrow readable column, a last updated line and a side mini table
  of contents on wide screens.
*/

.tm-policy-head { max-width: 820px; margin: 0 auto; text-align: center; }
.tm-policy-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.5rem); margin: 0 0 10px; }
.tm-policy-updated { color: var(--tm-muted); font-weight: 600; font-size: 0.92rem; margin: 0; }

.tm-policy-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 40px;
  max-width: 1060px;
  margin: 40px auto 0;
  align-items: start;
}

/* Side mini table of contents */
.tm-policy-toc {
  position: sticky;
  top: 24px;
  background: var(--tm-bg-soft);
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  padding: 20px 22px;
}
.tm-policy-toc h2 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; color: var(--tm-muted); }
.tm-policy-toc ol { margin: 0; padding-left: 1.15em; line-height: 1.85; color: var(--tm-ink-soft); font-size: 0.93rem; }
.tm-policy-toc a { color: var(--tm-ink-soft); font-weight: 600; }
.tm-policy-toc a:hover { color: var(--tm-primary); }

.tm-policy-body { font-size: 1.02rem; min-width: 0; }
.tm-policy-body p { color: var(--tm-ink-soft); margin: 0 0 1.25em; }
.tm-policy-body h2 { font-size: 1.4rem; margin: 1.7em 0 0.55em; scroll-margin-top: 90px; }
.tm-policy-body h2:first-child { margin-top: 0; }
.tm-policy-body h3 { font-size: 1.15rem; margin: 1.4em 0 0.5em; }
.tm-policy-body ul, .tm-policy-body ol { color: var(--tm-ink-soft); line-height: 1.7; margin: 0 0 1.25em; padding-left: 1.3em; }
.tm-policy-body li { margin-bottom: 0.35em; }
.tm-policy-body strong { color: var(--tm-ink); }
