/* /privacy and /terms: the Termly exports' own styles, scoped to
   .termly-policy. The site's CSP (style-src 'self') blocks the export's
   inline <style> blocks and style="" attributes, so they live here instead
   (scripts/termly-page.mjs). Sizes, fonts and list styles are kept as
   Termly sets them; only the colors are swapped for the site theme's. */

/* From the export's first <style> block: data-custom-class rules. */
.termly-policy [data-custom-class="body"],
.termly-policy [data-custom-class="body"] * {
  background: transparent !important;
}

.termly-policy [data-custom-class="title"],
.termly-policy [data-custom-class="title"] * {
  font-family: Arial, sans-serif !important;
  font-size: 26px !important;
  color: var(--gk-text) !important;
}

.termly-policy [data-custom-class="subtitle"],
.termly-policy [data-custom-class="subtitle"] * {
  font-family: Arial, sans-serif !important;
  color: var(--gk-muted) !important;
  font-size: 14px !important;
}

.termly-policy [data-custom-class="heading_1"],
.termly-policy [data-custom-class="heading_1"] * {
  font-family: Arial, sans-serif !important;
  font-size: 19px !important;
  color: var(--gk-text) !important;
}

.termly-policy [data-custom-class="heading_2"],
.termly-policy [data-custom-class="heading_2"] * {
  font-family: Arial, sans-serif !important;
  font-size: 17px !important;
  color: var(--gk-text) !important;
}

.termly-policy [data-custom-class="body_text"],
.termly-policy [data-custom-class="body_text"] * {
  color: var(--gk-muted) !important;
  font-size: 14px !important;
  font-family: Arial, sans-serif !important;
}

.termly-policy [data-custom-class="link"],
.termly-policy [data-custom-class="link"] * {
  color: var(--gk-text) !important;
  font-size: 14px !important;
  font-family: Arial, sans-serif !important;
  word-break: break-word !important;
}

/* From the export's second <style> block (it appears twice, identical). */
.termly-policy ul {
  list-style-type: square;
}

.termly-policy ul > li > ul {
  list-style-type: circle;
}

.termly-policy ul > li > ul > li > ul {
  list-style-type: square;
}

.termly-policy ol li {
  font-family: Arial, sans-serif;
}

/* The site's reset removes list markers and indents; the policy keeps them. */
.termly-policy ul {
  padding-left: 40px;
}

.termly-policy table {
  border-collapse: collapse;
}

.termly-policy th,
.termly-policy td {
  padding: 0.25rem 0.5rem;
}

/* Termly leaves links with no text behind for sections it doesn't include
   (e.g. the table of contents of a left-out section). They have no target,
   so they are hidden, which also takes them out of the tab order.
   scripts/termly-page.mjs marks them. */
.termly-policy .termly-empty-link {
  display: none;
}

/* Each page's inline style="" attributes, as classes, are in
   termly-<page>.css (generated by scripts/termly-page.mjs). */

/* Termly's spacer lines: a <div> holding only a <br>, often three in a row
   under "Last updated" and one between blocks. Each is a full empty text
   line; shrink them to a small gap. CSS only, the markup is untouched. */
.termly-policy div:has(> br:only-child) {
  height: 0.5rem;
  overflow: hidden;
  line-height: 0;
}
