/* Branded viewer of the legal files (jogi-lap-epit.py). Uses the /vegleges/ tokens
   (--ink, --paper-2, --fd, --fb, --signal) from /vegleges/stilus.css, loaded first. */
.jogi-lap{background:var(--paper-2)}
.jogi-lap .fej{position:static}
.jogi-lap .kk-termek{margin-left:6px}
.jogi-rendeles{margin-left:auto}
.jogi-fo{padding:48px 20px 40px}
.jogi-keret{max-width:820px;margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:44px 52px 36px;box-shadow:0 18px 50px -30px rgba(7,12,24,.35)}
.jogi-valtozat{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:baseline;margin:0 0 28px;padding:0 0 18px;border-bottom:3px solid var(--signal);font-size:.92rem;color:var(--muted)}
.jogi-valtozat span{font-variant-numeric:tabular-nums}
.jogi-valtozat a{margin-left:auto;color:var(--ink);font-weight:600}
.jogi-torzs{font-size:17px;line-height:1.65;color:var(--ink);overflow-wrap:break-word}
.jogi-torzs h1{font-family:var(--fd);font-weight:800;font-size:clamp(1.6rem,1.2rem + 1.6vw,2.3rem);line-height:1.12;letter-spacing:-.015em;margin:0 0 .8rem}
.jogi-torzs h2{font-family:var(--fd);font-weight:800;font-size:1.3rem;line-height:1.25;margin:2.4rem 0 .7rem;scroll-margin-top:24px}
.jogi-torzs h3{font-family:var(--fd);font-weight:700;font-size:1.08rem;margin:1.6rem 0 .5rem}
.jogi-torzs p,.jogi-torzs ul,.jogi-torzs ol{margin:0 0 .9rem}
.jogi-torzs ul,.jogi-torzs ol{padding-left:1.4rem}
.jogi-torzs li{margin:.25rem 0}
.jogi-torzs strong{font-weight:700}
.jogi-torzs a{color:var(--ink);text-decoration-color:var(--signal);text-decoration-thickness:2px;text-underline-offset:2px}
.jogi-torzs table{display:block;overflow-x:auto;border-collapse:collapse;width:100%;font-size:.92em;margin:0 0 1.2rem}
.jogi-torzs td,.jogi-torzs th{border:1px solid var(--line);padding:8px 10px;vertical-align:top;text-align:left}
.jogi-torzs th{background:var(--paper-2)}
@media (max-width:720px){
  .jogi-fo{padding:20px 10px 20px}
  .jogi-keret{padding:26px 20px 22px;border-radius:10px}
  .jogi-valtozat a{margin-left:0}
  .jogi-torzs{font-size:16px}
  .jogi-rendeles{display:none}
  .jogi-lap .kk-termek{margin-left:auto}
}
@media print{
  .fej,.lab,.jogi-valtozat a,#kk-consent,.kkc{display:none!important}
  .jogi-lap{background:#fff}
  .jogi-fo{padding:0}
  .jogi-keret{border:0;box-shadow:none;padding:0;max-width:none}
}
/* the /vegleges/ colour field as a band behind the top of the document card (Zoltán TG 67000, every subpage follows
   the brand, TG 67077); same seven layers and base as the /vegleges/ hero, fading into --paper-2 at the bottom */
.jogi-fo{position:relative;padding-top:72px}
.jogi-fo::before{content:"";position:absolute;left:0;right:0;top:0;height:460px;pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent);
  background:var(--pl-mezo-alap);background-image:var(--pl-mezo)}
/* phones: the manual's text-only variant, its warm colours sit near the bottom of the short band (arculat.css) */
@media (max-width:860px){.jogi-fo::before{background-image:var(--pl-mezo-mobil-alul)}}
.jogi-keret{position:relative;box-shadow:0 24px 60px -28px rgba(7,12,24,.55)}
@media (max-width:720px){
  .jogi-fo{padding-top:40px}
  .jogi-fo::before{height:300px}
}
@media print{.jogi-fo{padding:0}.jogi-fo::before{display:none}.jogi-keret{box-shadow:none}}
