/* Zen Auto · zen-doc.css: paginile de text (CMS cu conținut HTML: Livrare, Retur, Termeni, Garanție, Confidențialitate,
   Cookie-uri, Dreptul de retragere, Informații legale…), zona „doc”, curată (fără CSS-ul temei). Proprietar: baza.
   Șablonul rămâne cel al temei (cms/page.tpl); aici doar tipografia unui document: o coloană lizibilă, pe alb,
   între header-ul și subsolul grafit. Textele vin din back-office (TinyMCE), cu stiluri inline vechi: le îmblânzim. */

body.z-p-doc { background: #fff; }
/* fără CSS-ul temei nu mai există resetul Bootstrap: lățimile includ padding-ul (altfel coloana ieșea din ecran pe telefon) */
body.z-p-doc #wrapper, body.z-p-doc #wrapper *, body.z-p-doc #wrapper *::before, body.z-p-doc #wrapper *::after { box-sizing: border-box; }
body.z-p-doc #wrapper { background: #fff; color: var(--ink); color-scheme: light; }
body.z-p-doc #notifications:empty, body.z-p-doc .page-footer:empty { display: none; }

/* calea de navigare pe alb */
body.z-p-doc .z-fir-w { background: #fff; padding-top: 22px; }
body.z-p-doc .z-fir, body.z-p-doc .z-fir li + li::before, body.z-p-doc .z-fir [aria-current] { color: var(--m2); }
body.z-p-doc .z-fir a { --z-lc: var(--m); --z-hc: var(--ink); }

/* coloana */
body.z-p-doc #content-wrapper { width: 100%; max-width: calc(760px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut) clamp(48px, 7vw, 112px); }
body.z-p-doc #main { font-family: var(--f); font-variation-settings: "wdth" 100; }
body.z-p-doc .page-header { margin: clamp(20px, 3vw, 36px) 0 clamp(24px, 3vw, 40px); padding-bottom: clamp(20px, 2.4vw, 28px); border-bottom: 1px solid var(--l2); }
body.z-p-doc .page-title { margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 640; font-variation-settings: "wdth" 108; letter-spacing: -.03em; line-height: 1.02; color: var(--ink); }
body.z-p-doc .page-title span { display: block; }

/* textul */
.z-p-doc .rte-content, .z-p-doc .page-content { font-size: 17px; line-height: 1.65; color: #1f2a2a; overflow-wrap: anywhere; word-break: normal; }
.z-p-doc .rte-content > *:first-child { margin-top: 0; }
.z-p-doc .rte-content p, .z-p-doc .rte-content ul, .z-p-doc .rte-content ol, .z-p-doc .rte-content table, .z-p-doc .rte-content blockquote { margin: 0 0 1em; }
.z-p-doc .rte-content h1, .z-p-doc .rte-content h2, .z-p-doc .rte-content h3,
.z-p-doc .rte-content h4, .z-p-doc .rte-content h5, .z-p-doc .rte-content h6 {
  margin: 1.9em 0 .55em; color: var(--ink); font-family: var(--f); font-weight: 700; letter-spacing: -.012em; line-height: 1.25; text-transform: none !important;
}
.z-p-doc .rte-content h1, .z-p-doc .rte-content h2 { font-size: 26px; letter-spacing: -.02em; }
.z-p-doc .rte-content h3, .z-p-doc .rte-content h4 { font-size: 21px; }
.z-p-doc .rte-content h5, .z-p-doc .rte-content h6 { font-size: 18px; }
.z-p-doc .rte-content h1 b, .z-p-doc .rte-content h2 b, .z-p-doc .rte-content h3 b, .z-p-doc .rte-content h4 b,
.z-p-doc .rte-content h5 b, .z-p-doc .rte-content h6 b, .z-p-doc .rte-content h4 strong, .z-p-doc .rte-content h5 strong { font-weight: inherit; }
.z-p-doc .rte-content b, .z-p-doc .rte-content strong { font-weight: 650; color: var(--ink); }
.z-p-doc .rte-content ul, .z-p-doc .rte-content ol { padding-left: 1.3em; list-style-position: outside !important; }
.z-p-doc .rte-content ul { list-style: disc; }
.z-p-doc .rte-content ol { list-style: decimal; }
.z-p-doc .rte-content li { margin: .35em 0; padding-left: .2em; }
.z-p-doc .rte-content li::marker { color: var(--m2); }
.z-p-doc .rte-content hr { height: 0; margin: 2em 0; border: 0; border-top: 1px solid var(--l2); }
.z-p-doc .rte-content img { max-width: 100%; height: auto; }
.z-p-doc .rte-content p:empty, .z-p-doc .rte-content p > br:only-child { display: none; }
/* linkurile: textele vechi au color:#f2542d inline (portocaliu pe alb, contrast 3:1); în document, grafit subliniat */
.z-p-doc .rte-content a { --z-lc: var(--ink); --z-hc: var(--o); color: var(--ink) !important; text-decoration: underline !important; text-decoration-color: var(--l3) !important; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.z-p-doc .rte-content a:hover { text-decoration-color: currentColor !important; }
/* tabelele (Cookie-uri): derulare în tabel, nu în pagină */
.z-p-doc .rte-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.z-p-doc .rte-content th, .z-p-doc .rte-content td { padding: 10px 12px; border: 1px solid var(--l2); vertical-align: top; text-align: left; }
.z-p-doc .rte-content th { background: var(--l); font-weight: 650; }
/* rândurile vechi cu iconiță + text (Retur: Bootstrap .row/.col-*, fără CSS-ul temei) */
.z-p-doc .rte-content .row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; align-items: start; margin: 1.2em 0; }
.z-p-doc .rte-content .row > [class*="col-"] { min-width: 0; }
.z-p-doc .rte-content .img-center img { width: 48px; height: auto; margin-top: .3em; }
.z-p-doc .rte-content .row h6, .z-p-doc .rte-content .row h5 { margin-top: .2em; }
/* resturi lipite în texte (iconița Google Translate) */
.z-p-doc #gtx-trans, .z-p-doc .gtx-trans-icon { display: none !important; }

@media (max-width: 760px) {
  .z-p-doc .rte-content, .z-p-doc .page-content { font-size: 16px; }
  .z-p-doc .rte-content .row { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; }
  .z-p-doc .rte-content .img-center img { width: 36px; }
}
