/* Ratio /verwerkersovereenkomst: page rules only. The legal frame is legal.css, the articles and their hanging lid
   numbers are terms.css (the same reading column as Voorwaarden). Here: the parties, the considerations, an article
   that is one paragraph, and the three annexes as tables in the pressed-line style of the Privacy en security
   tables. */

/* An article without leden (Bijstand, Aansprakelijkheid) and the lead-in of Artikel 1: the leden's size and measure,
   on the text edge after the gutter. */
.plain{--gutter:2.1em;margin-top:8px;max-width:44.5rem;padding-left:var(--gutter);font-size:19px;line-height:1.47}
.plain + .leden{margin-top:6px}
.plain.note{margin-top:14px;font-size:17px;line-height:1.42;color:var(--rs-ink-2);max-width:none;padding-left:0}

/* Partijen: numbered, the numbers in the leden's gutter. Overwegingen: a brass dash in the same gutter. */
.parties,.considerations{margin-top:8px;max-width:calc(44.5rem + 2.1em);font-size:19px;line-height:1.47}
.parties{counter-reset:party}
.parties li{counter-increment:party}
.parties li::before{content:counter(party) ".";position:absolute;left:0;color:var(--rs-ink-2)}
.parties li,.considerations li{position:relative;padding-left:2.1em}
.considerations li::before{content:"";position:absolute;left:2px;top:.72em;width:12px;height:2px;background:var(--rs-brass)}
.parties li + li,.considerations li + li{margin-top:6px}

/* ---------- The annexes: tables between pressed lines, the label column in ink-2, the head in small italics ---------- */
.tbl{width:100%;margin-top:12px;border-collapse:separate;border-spacing:0}
.tbl th,.tbl td{text-align:left;vertical-align:top;padding:9px 20px 9px 0;font-size:17px;line-height:1.42;box-shadow:inset 0 1px 0 var(--rs-lip),inset 0 2px 0 var(--rs-raised)}
.tbl th:last-child,.tbl td:last-child{padding-right:0}
.tbl th{font-weight:400}
.tbl thead th{font-size:16px;line-height:1.3;font-style:italic;color:var(--rs-ink-2);padding-top:0;padding-bottom:8px;box-shadow:none}
.tbl tbody th{font-weight:600}
.tbl tbody tr:last-child th,.tbl tbody tr:last-child td{box-shadow:inset 0 1px 0 var(--rs-lip),inset 0 2px 0 var(--rs-raised),inset 0 -1px 0 var(--rs-lip)}
.tbl--two tbody th{width:30%}
.tbl--sub tbody th{width:22%}

/* Phone: the subprocessor table stacks, one record per subprocessor, each value under its label. */
@media (max-width:760px){
  .plain,.parties,.considerations{font-size:18px}
  .tbl--two tbody th{width:38%}
  .tbl--sub thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tbl--sub,.tbl--sub tbody,.tbl--sub tr,.tbl--sub th,.tbl--sub td{display:block;width:auto}
  .tbl--sub tr{padding:10px 0;box-shadow:inset 0 1px 0 var(--rs-lip),inset 0 2px 0 var(--rs-raised)}
  .tbl--sub tbody tr:last-child{box-shadow:inset 0 1px 0 var(--rs-lip),inset 0 2px 0 var(--rs-raised),inset 0 -1px 0 var(--rs-lip)}
  .tbl--sub tbody th,.tbl--sub td,.tbl--sub tbody tr:last-child th,.tbl--sub tbody tr:last-child td{box-shadow:none;padding:0}
  .tbl--sub tbody th{width:auto;padding-bottom:4px}
  .tbl--sub td{display:grid;grid-template-columns:8.4em minmax(0,1fr);column-gap:10px;padding:2px 0}
  .tbl--sub td::before{content:attr(data-label);color:var(--rs-ink-2)}
}

@media print{
  .plain,.parties,.considerations,.tbl th,.tbl td{font-size:10pt}
  .tbl tr{break-inside:avoid;page-break-inside:avoid}
}
