/**
 * site-page.css — the long-text layout of the company pages (About, Terms, Privacy, Cookies), rendered by
 * /ro/site-pages/site-page.php. The frame and the colours come from /ro/e-reg/e-reg.css (body.ereg-pk);
 * this file holds only the reading column, the contents box, the tables, the forum text and the link list.
 * @file_version 1.0.1
 */

body.sitep-pk .sitep-doc {
  max-width: 860px;
  margin: 0 auto;
  color: var(--pk-ink);
  line-height: 1.65;
}

body.sitep-pk .sitep-meta {
  color: var(--pk-muted);
  font-size: .95rem;
  margin: 0 0 24px;
}

/* Contents: a light box with the numbered section links. */
body.sitep-pk .sitep-toc {
  background: var(--pk-paper-2);
  border: 1px solid var(--pk-line);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 0 0 40px;
}

body.sitep-pk .sitep-toc h2 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

body.sitep-pk .sitep-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2 260px;
  column-gap: 32px;
}

body.sitep-pk .sitep-toc a {
  color: var(--pk-deep);
  text-decoration: none;
}

body.sitep-pk .sitep-toc a:hover {
  text-decoration: underline;
}

body.sitep-pk .sitep-sec {
  margin: 0 0 32px;
  scroll-margin-top: calc(var(--vh-h, 72px) + 16px);
}

body.sitep-pk .sitep-sec h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: var(--pk-abyss);
}

body.sitep-pk .sitep-sec p,
body.sitep-pk .sitep-sec ul {
  margin: 0 0 12px;
}

body.sitep-pk .sitep-sec a {
  color: var(--pk-deep);
}

/* Tables scroll sideways on narrow screens instead of breaking the page. */
body.sitep-pk .sitep-table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
}

body.sitep-pk .sitep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

body.sitep-pk .sitep-table th,
body.sitep-pk .sitep-table td {
  border: 1px solid var(--pk-line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

body.sitep-pk .sitep-table th {
  background: var(--pk-paper-2);
}

/* The forum archive (18.10.2026): the text of a topic and the list of topics. */
body.sitep-pk .sitep-html h2 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--pk-abyss); }
body.sitep-pk .sitep-html h3 { font-size: 1.1rem; margin: 22px 0 8px; color: var(--pk-abyss); }
body.sitep-pk .sitep-html p,
body.sitep-pk .sitep-html ul,
body.sitep-pk .sitep-html ol { margin: 0 0 12px; }
body.sitep-pk .sitep-html li > p { margin: 0; }
body.sitep-pk .sitep-html hr { border: 0; border-top: 1px solid var(--pk-line); margin: 24px 0; }
body.sitep-pk .sitep-html code { background: var(--pk-paper-2); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
body.sitep-pk .sitep-html pre { background: var(--pk-paper-2); border: 1px solid var(--pk-line); border-radius: 8px; padding: 12px 14px; overflow-x: auto; }
body.sitep-pk .sitep-html pre code { background: none; padding: 0; }

body.sitep-pk .sitep-links { list-style: none; margin: 8px 0 0; padding: 0; }
body.sitep-pk .sitep-links li { border-top: 1px solid var(--pk-line); padding: 14px 0; }
body.sitep-pk .sitep-links li:last-child { border-bottom: 1px solid var(--pk-line); }
body.sitep-pk .sitep-links a { font-weight: 600; color: var(--pk-deep); text-decoration: none; }
body.sitep-pk .sitep-links a:hover { text-decoration: underline; }
body.sitep-pk .sitep-links span { display: block; color: var(--pk-muted); font-size: .95rem; margin-top: 4px; }
