/* ─────────────────────────────────────────────────────
     project · Raw Planet — nový web
     module  · rpx-dokument-v1.0.css — look of the documents (Obchodní podmínky, Zásady ochrany osobních údajů, Platby)
     author  · Jiří Lhotský
   ───────────────────────────────────────────────────── */
/* NOTE · file: wp-content/uploads/rp-site/novy-web/rpx-dokument-v1.0.css, loaded by "RP – nový web: dokumenty" after rpx-v1.1.css */
/* NOTE · the document's own HTML (WordPress page content) styled from outside — its text is never touched */
/* NOTE · O-S3: validity line under the title, the contents column scrolls on its own, anchors = header + 16px, 48px links on touch */
.rpx-dok{padding:24px 0 56px}
.rpx-dok__hlava{margin-bottom:20px}
.rpx-dok__platnost{margin-top:8px;font-size:var(--rpx-fs-small);line-height:1.5;color:var(--rpx-muted)}
.rpx-dok__platnost>*{margin:0}
.rpx-dok__mrizka{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.rpx-dok__obsah-m{border-radius:var(--rpx-r-l);background:var(--rpx-white);box-shadow:inset 0 0 0 1px var(--rpx-line)}
.rpx-dok__obsah-m>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:0 18px;font-weight:700;color:var(--rpx-ink);cursor:pointer;list-style:none}
.rpx-dok__obsah-m>summary::-webkit-details-marker{display:none}
.rpx-dok__obsah-m>summary .rpx-ico{width:20px;height:20px;transition:transform var(--rpx-t2) var(--rpx-ease)}
.rpx-dok__obsah-m[open]>summary .rpx-ico{transform:rotate(90deg)}
.rpx-dok__obsah-m nav{padding:0 18px 14px}
.rpx-dok__obsah-m .rpx-dok__seznam a,.rpx-dok__obsah-m .rpx-dok__seznam ol a{display:flex;align-items:center;min-height:48px;padding:13px 0}
.rpx-dok__obsah-pc{display:none}
.rpx-dok__seznam,.rpx-dok__seznam ol{margin:0;padding:0;list-style:none}
.rpx-dok__seznam a{display:block;padding:9px 0;font-size:16px;line-height:1.35;color:var(--rpx-text);text-decoration:none}
.rpx-dok__seznam a:hover{color:var(--rpx-ink);text-decoration:underline}
.rpx-dok__seznam>li+li{border-top:1px solid var(--rpx-line)}
.rpx-dok__seznam ol{padding:0 0 6px 14px}
.rpx-dok__seznam ol a{padding:6px 0;font-size:15px;color:var(--rpx-muted)}
.rpx-dok__text{min-width:0;max-width:31.5em;font-size:17px;line-height:1.6;color:var(--rpx-text);overflow-wrap:break-word}
.rpx-dok__text>*+*{margin-top:1em}
.rpx-dok__text h2{margin-top:2.2em;font-size:23px;line-height:1.25;font-weight:700;letter-spacing:-.01em;color:var(--rpx-ink)}
.rpx-dok__text h3{margin-top:1.7em;font-size:19px;line-height:1.3;font-weight:700;color:var(--rpx-ink)}
.rpx-dok__text h2+*,.rpx-dok__text h3+*{margin-top:.6em}
.rpx-dok__text>:first-child{margin-top:0}
.rpx-dok__text strong{color:var(--rpx-ink)}
.rpx-dok__nz{white-space:nowrap}
.rpx-dok__text a{color:var(--rpx-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--rpx-gold)}
.rpx-dok__text ul{padding-left:1.3em;list-style:disc}
.rpx-dok__text ol{padding-left:1.5em;list-style:decimal}
.rpx-dok__text li+li{margin-top:.45em}
.rpx-dok__text li::marker{color:var(--rpx-caramel)}
.rpx-dok__text h2[id],.rpx-dok__text h3[id]{scroll-margin-top:4px} /* + html scroll-padding-top (header + 12px) = header + 16px */
.rpx-dok__tabulka,.rpx-dok__text [data-rpx-tabulka]{max-width:100%;overflow-x:auto;border-radius:var(--rpx-r-m);box-shadow:inset 0 0 0 1px var(--rpx-line);background:var(--rpx-white);-webkit-overflow-scrolling:touch}
.rpx-dok__tabulka table,.rpx-dok__text [data-rpx-tabulka] table{width:100%;min-width:540px;border-collapse:collapse;font-size:15px;line-height:1.45}
.rpx-dok__tabulka th,.rpx-dok__tabulka td,.rpx-dok__text [data-rpx-tabulka] th,.rpx-dok__text [data-rpx-tabulka] td{padding:10px 12px;border-bottom:1px solid var(--rpx-line);text-align:left;vertical-align:top}
.rpx-dok__tabulka th,.rpx-dok__text [data-rpx-tabulka] th{color:var(--rpx-ink);background:var(--rpx-cream-2)}
.rpx-dok__tabulka tr:last-child>*,.rpx-dok__text [data-rpx-tabulka] tr:last-child>*{border-bottom:0}
.rpx-dok__nahoru{margin-top:1.4em;font-size:15px}
.rpx-dok__nahoru a{display:inline-flex;align-items:center;gap:4px;min-height:48px;color:var(--rpx-muted);text-decoration:none}
.rpx-dok__nahoru a:hover{color:var(--rpx-ink);text-decoration:underline}
.rpx-dok__nahoru .rpx-ico{width:16px;height:16px;transform:rotate(-90deg)}
.rpx-dok__text ul.rpx-dok__platby{display:grid;gap:10px;padding:0;list-style:none}
.rpx-dok__text .rpx-dok__platba{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start;margin:0;padding:14px 16px;border-radius:var(--rpx-r-m);background:var(--rpx-white);box-shadow:inset 0 0 0 1px var(--rpx-line)}
.rpx-dok__platba>.rpx-ico{width:26px;height:26px;margin-top:1px;color:var(--rpx-caramel)}
@media(min-width:960px){
  .rpx-dok{padding:56px 0 96px}
  .rpx-dok__hlava{margin-bottom:36px}
  .rpx-dok__hlava--platnost{margin-bottom:20px}
  .rpx-dok__mrizka{grid-template-columns:260px minmax(0,1fr);gap:56px;align-items:start}
  .rpx-dok__obsah-m{display:none}
  .rpx-dok__obsah-pc{display:block;position:sticky;top:calc(var(--rpx-header-h) + var(--rpx-wpbar) + 24px);max-height:calc(100vh - var(--rpx-header-h) - var(--rpx-wpbar) - 48px);overflow:auto;overscroll-behavior:contain;padding-right:8px}
  .rpx-dok__obsah-pc .rpx-nadtitul{margin-bottom:8px}
  .rpx-dok__text{font-size:18px}
  .rpx-dok__text h2{font-size:26px}
  .rpx-dok__text h3{font-size:20px}
}
@media(pointer:coarse){.rpx-dok__obsah-pc .rpx-dok__seznam a{display:flex;align-items:center;min-height:48px}}
@media(prefers-reduced-motion:reduce){.rpx-dok__obsah-m>summary .rpx-ico{transition:none}}
