/**
 * Pagini editoriale (template-editorial.php) — clase .czed-* (cazino editorial).
 * Template global: metodologie, despre noi, echipă, orice pagină de credibilitate.
 *
 * Tokens = design system cazino.ro (aceleași nume + valori ca în restul
 * componentelor). Definite SCOPED pe .czed + în editorul de blocuri
 * (.editor-styles-wrapper), nu în :root global. Poppins e deja livrat de temă.
 *
 * Componentele sunt construite pe BLOCURI CORE Gutenberg (Grup, Titlu, Paragraf,
 * Listă, Tabel, Detalii, Butoane). Fiecare componentă răspunde și la clasa
 * .czed-* (Additional CSS class) și la stilul de bloc is-style-czed-*
 * (panoul „Stiluri" — înregistrate în inc/editorial-page.php).
 */

.czed,
.editor-styles-wrapper {
  /* — tokens design system (identice cu restul site-ului) — */
  --brand-orange: #F36620;
  --brand-orange-press: #D55515;
  --brand-green: #09AE4E;
  --brand-navy: #172E52;
  --neutral-100: #F0F3F5;
  --neutral-200: #DDE6EB;
  --neutral-300: #C1CFD6;
  --neutral-400: #A8B8BF;
  --neutral-500: #59737F;
  --neutral-600: #3D5866;
  --neutral-700: #26404C;
  --neutral-800: #203540;
  --orange-100: #FFF1EB;
  --orange-200: #FDC9AF;
  --orange-300: #FC935F;
  --green-050: #F5FCF8;
  --green-100: #E1F4E9;
  --green-200: #ABEDC7;
  --green-500: #067434;
  --red-600: #EE4425;
  --red-700: #E13011;
  --gold-300: #F7CE74;
  --info-blue: #2F80ED;
  --warm-bg: #FFF7F2;
  --border-default: #DDE6EB;
  --border-strong: #C1CFD6;
  --divider: #F0F3F5;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.czed {
  font-family: var(--font-sans);
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 20px 80px;
  color: var(--neutral-700);
  -webkit-font-smoothing: antialiased;
}
.czed *, .czed *::before, .czed *::after { box-sizing: border-box; }
/* Linkurile din conținut NU se suprascriu — rămân pe stilul default cazino.ro.
   (Doar componentele specifice — TOC, breadcrumb, butoane — au stil propriu.) */

/* ---------- banda hero full-width (ca /despre-noi: .green-050 #F5FCF8) ----------
   Clasa utilitară green-050 a temei e pusă direct pe div în template;
   fallback identic aici. Pattern-ul card-bg.svg acoperă TOATĂ banda. */
.czed-band { background-color: var(--green-050); position: relative; }
/* Pattern-ul card-bg.svg pe toată banda, aliniat la MARGINEA DREAPTĂ a
   containerului .czed.czed-band-in (max-width 1160 + padding 20). */
.czed-band::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 0; pointer-events: none; right: max(14px, calc((100% - 1200px) / 2)); width: min(560px, 70%); background: url(/wp-content/themes/cazino-child/blocks/bonuscards/img/card-bg.svg) no-repeat right top / contain; }
.czed.czed-band-in { padding: 6px 20px 20px; position: relative; z-index: 1; }
.czed-band .czed-hero { margin-bottom: 0; }
.czed.czed-body { padding-top: 22px; }

/* ---------- breadcrumb ---------- */
.czed-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--neutral-500); margin-bottom: 4px; }
.czed-breadcrumb > * { margin: 0; } /* SEOPress vine cu propriile margini — le anulăm */
.czed-breadcrumb a { color: var(--neutral-500); }
.czed-breadcrumb .sep { color: var(--neutral-300); }
.czed-breadcrumb .cur { color: var(--neutral-700); font-weight: 600; }

/* ---------- foi ---------- */
.czed-sheet { background: #fff; border: 1px solid var(--border-default); border-radius: 16px; box-shadow: 0 2px 16px rgba(23, 46, 82, .10); }

/* ---------- hero (ca /despre-noi: FLAT pe alb, ilustrația verde pe dreapta) ---------- */
.czed-hero { padding: 6px 0 8px; margin-bottom: 0; position: relative; background: none; border: none; box-shadow: none; }
.czed-hero > * { position: relative; z-index: 1; }
.czed-hero h1, .czed-lead { max-width: 860px; }
.czed-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-orange); }
.czed-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand-orange); }
.czed-hero h1 { font-size: 38px; line-height: 48px; font-weight: 700; letter-spacing: -.03em; color: var(--neutral-800); margin: 0 0 18px; text-wrap: balance; }
.czed-lead { font-size: 18px; line-height: 28px; color: var(--neutral-600); margin: 0; max-width: 760px; text-wrap: pretty; }

.czed-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--neutral-500); font-weight: 500; }
.czed-hero-meta img { width: 28px; height: 28px; border-radius: 999px; object-fit: cover; }
.czed-hero-meta a { color: var(--neutral-700); font-weight: 600; }
.czed-hero-meta .sep { color: var(--neutral-300); }
.czed-hero-meta svg { flex: none; }
.czed-hero-meta .upd { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.czed-trust { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--divider); }
.czed-trust > .div { width: 1px; background: var(--divider); }
.czed-stat b { display: block; font-size: 24px; font-weight: 800; color: var(--neutral-800); letter-spacing: -.02em; }
.czed-stat.is-accent b { color: var(--brand-orange); }
.czed-stat span { display: block; font-size: 12.5px; color: var(--neutral-500); font-weight: 500; margin-top: 2px; }
.czed-trust-badge { margin-left: auto; align-self: center; display: flex; align-items: center; gap: 8px; background: var(--green-050); border: 1px solid var(--green-200); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--green-500); }

/* ---------- grid articol + TOC sticky ---------- */
html:has(.czed) { scroll-behavior: smooth; }
.czed-grid { display: grid; grid-template-columns: 1fr 244px; gap: 15px; align-items: start; }
.czed-grid.no-toc { grid-template-columns: 1fr; }
/* TOC editorial — cardul din designul inițial, 1:1. Datele (titlu + linkuri)
   vin din pluginul cz-toc (parsate de template); pluginul rămâne neatins.
   Desktop: mereu deschis, sticky. Mobil: același card, ÎNCHIS by default,
   titlul comută lista. */
.czed-toc { position: sticky; top: 90px; align-self: start; }
.czed-toc-card { border: 1px solid var(--border-default); border-radius: 14px; background: #fff; padding: 18px 8px 18px 18px; box-shadow: 0 2px 12px rgba(23, 46, 82, .06); }
.czed-toc-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; border: none; background: none; text-align: left; cursor: default; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--neutral-600); margin: 0 0 12px; padding: 0 10px 0 0; }
.czed-toc-k .chev { display: none; }
.czed-toc-card nav { display: flex; flex-direction: column; gap: 1px; }
.czed-toc-card nav a { font-size: 13.5px; font-weight: 500; color: var(--neutral-500); padding: 6px 10px 6px 12px; border-left: 2px solid transparent; text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.czed-toc-card nav a:hover { color: var(--neutral-700); text-decoration: none; }
.czed-toc-card nav a.is-active { color: var(--neutral-800); font-weight: 700; border-left-color: var(--brand-orange); }

/* ---------- sheet + secțiuni (Grup core cu clasa czed-sec + ancoră) ---------- */
.czed-sheet { padding: 40px 46px; min-width: 0; }
.czed-sheet p { font-size: 16.5px; line-height: 27px; color: var(--neutral-700); margin: 0 0 16px; }
.czed-sheet strong { color: var(--neutral-800); font-weight: 600; }
:is(.czed-sec,.is-style-czed-sec) { scroll-margin-top: 90px; padding-top: 44px; }
/* Orice H2 din foaie = titlu de secțiune (bară orange) + intră automat în TOC. */
.czed-sheet h2 { display: flex; align-items: center; gap: 14px; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -.03em; color: var(--neutral-800); margin: 34px 0 8px; scroll-margin-top: 90px; }
:is(.czed-sec,.is-style-czed-sec) > h2 { margin-top: 0; }
.czed-sheet h2::before { content: ""; flex: none; width: 6px; height: 28px; border-radius: 3px; background: var(--brand-orange); }
:is(.czed-note,.is-style-czed-note), .czed-sheet p:is(.czed-note,.is-style-czed-note) { font-size: 14px; line-height: 22px; color: var(--neutral-500); margin: 14px 0 22px; }

/* ---------- echipă (Grupuri core) ---------- */
:is(.czed-team,.is-style-czed-team) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 26px; }
:is(.czed-person,.is-style-czed-person,.is-style-czed-person-collab) { border: 1px solid var(--border-default); border-radius: 12px; padding: 18px; background: #fff; }
:is(.czed-person,.is-style-czed-person,.is-style-czed-person-collab) p { margin: 0; font-size: 13px; line-height: 19px; color: var(--neutral-600); }
.czed-ava, :is(.czed-person,.is-style-czed-person,.is-style-czed-person-collab) p.czed-ava { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--brand-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin: 0 0 10px; }
:is(.czed-person,.is-style-czed-person,.is-style-czed-person-collab) p.czed-who { font-size: 12px; color: var(--neutral-500); margin-bottom: 10px; }
:is(.czed-person,.is-style-czed-person,.is-style-czed-person-collab) p.czed-who strong { display: block; font-weight: 700; font-size: 15px; color: var(--neutral-800); }
:is(.czed-person.is-collab,.is-style-czed-person-collab) { background: var(--orange-100); grid-column: span 2; }
:is(.czed-person.is-collab,.is-style-czed-person-collab) .czed-ava { background: var(--brand-orange); }
.czed-tag { font-weight: 600; font-size: 11px; color: var(--brand-orange); background: #fff; padding: 2px 8px; border-radius: 999px; margin-left: 4px; vertical-align: middle; }

/* ---------- pași numerotați (Listă ordonată core, clasa czed-steps) ---------- */
:is(.czed-steps,.is-style-czed-steps) { list-style: none; counter-reset: czedstep; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
:is(.czed-steps,.is-style-czed-steps) > li { counter-increment: czedstep; position: relative; border: 1px solid var(--border-default); border-radius: 12px; padding: 16px 18px 16px 66px; font-size: 14.5px; line-height: 22px; color: var(--neutral-600); }
:is(.czed-steps,.is-style-czed-steps) > li::before { content: counter(czedstep); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 999px; background: var(--orange-100); color: var(--brand-orange); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
:is(.czed-steps,.is-style-czed-steps) > li strong { display: block; font-weight: 700; font-size: 15.5px; color: var(--neutral-800); margin-bottom: 2px; }

/* ---------- callout-uri (Grup core cu paragrafe) ---------- */
:is(.czed-callout,.is-style-czed-callout) { margin: 16px 0 22px; background: var(--neutral-100); border-radius: 12px; padding: 18px 20px; border-left: 3px solid var(--brand-navy); }
:is(.czed-callout,.is-style-czed-callout) p, .czed-sheet :is(.czed-callout,.is-style-czed-callout) p { margin: 0 0 8px; font-size: 14.5px; line-height: 23px; color: var(--neutral-700); }
:is(.czed-callout,.is-style-czed-callout) p:last-child { margin-bottom: 0; }
:is(.czed-callout--warm,.is-style-czed-callout-warm) { margin: 16px 0 18px; background: var(--warm-bg); border: 1px solid var(--orange-200); border-radius: 12px; padding: 20px 22px; }
:is(.czed-callout--warm,.is-style-czed-callout-warm) p, .czed-sheet :is(.czed-callout--warm,.is-style-czed-callout-warm) p { margin: 0; font-size: 15px; line-height: 24px; color: var(--neutral-700); }
:is(.czed-callout--warm,.is-style-czed-callout-warm) .czed-money { color: var(--brand-orange); font-weight: 700; }
:is(.czed-kicker,.is-style-czed-kicker), .czed-sheet p:is(.czed-kicker,.is-style-czed-kicker) { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-orange); margin: 0 0 8px; }
:is(.czed-callout--ok,.is-style-czed-callout-ok) { margin: 16px 0 22px; background: var(--green-050); border: 1px solid var(--green-200); border-radius: 12px; padding: 16px 20px; }
:is(.czed-callout--ok,.is-style-czed-callout-ok) p, .czed-sheet :is(.czed-callout--ok,.is-style-czed-callout-ok) p { margin: 0; font-size: 14.5px; line-height: 22px; color: var(--neutral-700); padding-left: 32px; position: relative; }
:is(.czed-callout--ok,.is-style-czed-callout-ok) p::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="%2309AE4E"/><path d="M8.5 12l2.3 2.3L15.8 9.3" stroke="%23fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain; }

/* ---------- ierarhia surselor (Listă ordonată core, clasa czed-src) ---------- */
:is(.czed-src,.is-style-czed-src) { list-style: none; counter-reset: czedsrc; margin: 22px 0 26px; padding: 0; border: 1px solid var(--border-default); border-radius: 12px; overflow: hidden; }
:is(.czed-src,.is-style-czed-src) > li { counter-increment: czedsrc; position: relative; padding: 18px 20px 18px 66px; border-top: 1px solid var(--divider); font-size: 13.5px; line-height: 20px; color: var(--neutral-600); }
:is(.czed-src,.is-style-czed-src) > li:first-child { border-top: none; background: var(--green-050); }
:is(.czed-src,.is-style-czed-src) > li::before { content: counter(czedsrc); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; background: var(--neutral-400); }
:is(.czed-src,.is-style-czed-src) > li:nth-child(1)::before { background: var(--brand-green); }
:is(.czed-src,.is-style-czed-src) > li:nth-child(2)::before { background: var(--brand-navy); }
:is(.czed-src,.is-style-czed-src) > li:nth-child(3)::before { background: var(--neutral-500); }
:is(.czed-src,.is-style-czed-src) > li strong { display: block; font-weight: 700; font-size: 15px; color: var(--neutral-800); }

/* ---------- cele 6 criterii (Grupuri core în grid) ---------- */
:is(.czed-crit-grid,.is-style-czed-crit-grid) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 26px; }
:is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) { position: relative; border: 1px solid var(--border-default); border-radius: 12px; padding: 18px; background: #fff; }
:is(.czed-crit.is-max,.is-style-czed-crit-max) { border-color: var(--brand-orange); box-shadow: 0 2px 12px rgba(243, 102, 32, .10); }
:is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) svg { margin-bottom: 10px; }
:is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) p, .czed-sheet :is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) p { margin: 0; font-size: 13.5px; line-height: 20px; color: var(--neutral-600); }
:is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) p.czed-crit-t { font-weight: 700; font-size: 16px; color: var(--neutral-800); margin-bottom: 4px; }
:is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) p.czed-crit-t small { font-size: 10.5px; font-weight: 700; color: var(--brand-orange); vertical-align: middle; }
.czed-w, :is(.czed-crit,.is-style-czed-crit,.is-style-czed-crit-max) p.czed-w { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 800; color: var(--neutral-600); background: var(--neutral-100); padding: 3px 9px; border-radius: 999px; margin: 0; }
.czed-w.is-hi { color: var(--brand-orange); background: var(--orange-100); }
.czed-w.is-max { color: #fff; background: var(--brand-orange); }

/* ---------- formulă + exemplu (Grup navy) ---------- */
.czed-formula { background: var(--brand-navy); border-radius: 14px; padding: 26px 28px; margin: 18px 0 18px; }
.czed-formula p:is(.czed-kicker,.is-style-czed-kicker), .czed-sheet .czed-formula p:is(.czed-kicker,.is-style-czed-kicker) { color: var(--gold-300); margin-bottom: 12px; }
.czed-formula-row { font-family: var(--font-mono); font-size: 17px; color: #fff; line-height: 1.6; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.czed-formula-row .eq { color: var(--gold-300); }
.czed-frac { display: inline-flex; flex-direction: column; align-items: center; }
.czed-frac .up { border-bottom: 2px solid rgba(255, 255, 255, .5); padding: 0 8px 4px; }
.czed-frac .dn { padding-top: 4px; }
.czed-example { border: 1px solid var(--border-default); border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.czed-example-h, .czed-sheet p.czed-example-h { padding: 14px 20px; background: var(--neutral-100); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-700); margin: 0; }
.czed-example-b { padding: 18px 20px; }
.czed-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 14px; color: var(--neutral-700); line-height: 2.1; }
.czed-chip { background: var(--neutral-100); color: var(--neutral-800); padding: 3px 8px; border-radius: 6px; }
.czed-chip.is-w { background: var(--orange-100); }
.czed-example-r { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--border-strong); }
.czed-example-r .div { font-family: var(--font-mono); font-size: 14px; color: var(--neutral-500); white-space: nowrap; word-break: keep-all; }
.czed-example-r .res { font-size: 34px; font-weight: 800; color: var(--brand-green); letter-spacing: -.02em; white-space: nowrap; word-break: keep-all; }
.czed-example-r .exp { font-size: 13px; color: var(--neutral-500); line-height: 18px; flex: 1 1 220px; min-width: 0; }

/* ---------- tabele (blocul core Tabel, automat în foaia editorială) ----------
   Stilul de tabel al temei e scoped pe containerele de articol, care nu există
   în acest template — deci definim aici look-ul editorial pentru orice
   .wp-block-table din foaie, fără clase de pus manual. */
.czed-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.czed-sheet .wp-block-table { margin: 22px 0 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.czed-sheet .wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; margin: 0; border: 1px solid var(--border-default); border-radius: 14px; overflow: hidden; }
.czed-sheet .wp-block-table th { text-align: center; padding: 12px 16px; font-weight: 700; color: var(--neutral-700); background: var(--neutral-100); border: none; }
.czed-sheet .wp-block-table th:first-child { text-align: left; padding-left: 20px; }
.czed-sheet .wp-block-table td { text-align: center; padding: 11px 16px; border: none; border-top: 1px solid var(--divider); color: var(--neutral-600); }
.czed-sheet .wp-block-table td:first-child { text-align: left; padding-left: 20px; font-weight: 600; color: var(--neutral-800); }
.czed-sheet .wp-block-table td strong { color: var(--brand-orange); font-weight: 700; }

/* ---------- scala de note (Listă core, clasa czed-ladder — 5 rânduri fixe) ---------- */
:is(.czed-ladder,.is-style-czed-ladder) { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
:is(.czed-ladder,.is-style-czed-ladder) > li { display: flex; align-items: center; gap: 16px; border-radius: 12px; padding: 14px 20px; background: #fff; border: 1px solid var(--border-default); font-weight: 700; font-size: 15px; color: var(--neutral-800); }
:is(.czed-ladder,.is-style-czed-ladder) > li strong { flex: none; width: 82px; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
:is(.czed-ladder,.is-style-czed-ladder) > li::after { content: ""; order: -1; }
:is(.czed-ladder,.is-style-czed-ladder) > li strong::after { content: ""; }
:is(.czed-ladder,.is-style-czed-ladder) > li strong + br { display: none; }
:is(.czed-ladder,.is-style-czed-ladder) > li:nth-child(1) { background: var(--green-050); border-color: var(--green-200); }
:is(.czed-ladder,.is-style-czed-ladder) > li:nth-child(1) strong { color: var(--green-500); }
:is(.czed-ladder,.is-style-czed-ladder) > li:nth-child(2) strong { color: var(--info-blue); }
:is(.czed-ladder,.is-style-czed-ladder) > li:nth-child(3) strong { color: #B5720C; }
:is(.czed-ladder,.is-style-czed-ladder) > li:nth-child(4) strong { color: #B5720C; }
:is(.czed-ladder,.is-style-czed-ladder) > li:nth-child(5) strong { color: var(--red-700); }

/* ---------- alerte roșii / plafoane (Listă core, clasa czed-caps) ---------- */
:is(.czed-caps,.is-style-czed-caps) { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
:is(.czed-caps,.is-style-czed-caps) > li { position: relative; border: 1px solid #F3C6BC; background: #FEF3F0; border-radius: 12px; padding: 16px 18px 16px 54px; font-size: 14px; line-height: 21px; color: var(--neutral-600); }
:is(.czed-caps,.is-style-czed-caps) > li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="10" rx="2" fill="%23E13011"/><path d="M8 10V7.5a4 4 0 0 1 8 0V10" stroke="%23E13011" stroke-width="2" fill="none"/></svg>') no-repeat center/contain; }
:is(.czed-caps,.is-style-czed-caps) > li strong { display: block; font-weight: 700; font-size: 15px; color: var(--neutral-800); margin-bottom: 2px; }
:is(.czed-caps,.is-style-czed-caps) .lim { color: var(--red-700); font-weight: 700; }

/* ---------- checklist verde (Listă core, clasa czed-checks) ---------- */
:is(.czed-checks,.is-style-czed-checks) { list-style: none; margin: 20px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
:is(.czed-checks,.is-style-czed-checks) > li { position: relative; padding-left: 32px; font-size: 15px; line-height: 23px; color: var(--neutral-700); }
:is(.czed-checks,.is-style-czed-checks) > li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="%2309AE4E"/><path d="M8.5 12l2.3 2.3L15.8 9.3" stroke="%23fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain; }

/* ---------- listă actualizări (Listă core, clasa czed-upd) ---------- */
:is(.czed-upd,.is-style-czed-upd) { list-style: none; margin: 14px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
:is(.czed-upd,.is-style-czed-upd) > li { position: relative; padding-left: 48px; font-size: 14px; line-height: 21px; color: var(--neutral-600); }
:is(.czed-upd,.is-style-czed-upd) > li::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 999px; background-color: var(--neutral-100); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8.5" stroke="%233D5866" stroke-width="2" fill="none"/><path d="M12 7v5l3.5 2" stroke="%233D5866" stroke-width="2" fill="none" stroke-linecap="round"/></svg>'); }

/* Iconițe per rând — pui clasa pe blocul „Element de listă" (Avansat →
   Additional CSS class). Fără clasă = ceas gri (default). O iconiță nouă =
   o regulă nouă aici, același tipar. */
:is(.czed-upd,.is-style-czed-upd) > li:is(.is-ico-refresh,.is-style-czed-ico-refresh)::before { background-color: var(--green-100); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 12a8 8 0 1 1-2.3-5.6M20 4v3.5h-3.5" stroke="%23067434" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>'); }
:is(.czed-upd,.is-style-czed-upd) > li:is(.is-ico-doc,.is-style-czed-ico-doc)::before { background-color: var(--orange-100); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 7h16M4 12h16M4 17h10" stroke="%23D55515" stroke-width="2" fill="none" stroke-linecap="round"/></svg>'); }
:is(.czed-upd,.is-style-czed-upd) > li:is(.is-ico-alert,.is-style-czed-ico-alert)::before { background-color: #FEF3F0; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3l9 16H3L12 3z" stroke="%23E13011" stroke-width="2" fill="none" stroke-linejoin="round"/><path d="M12 10v4M12 16.5v.3" stroke="%23E13011" stroke-width="2" fill="none" stroke-linecap="round"/></svg>'); }
:is(.czed-upd,.is-style-czed-upd) > li:is(.is-ico-check,.is-style-czed-ico-check)::before { background-color: var(--green-100); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="%2309AE4E"/><path d="M8.5 12l2.3 2.3L15.8 9.3" stroke="%23fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>'); }
:is(.czed-upd,.is-style-czed-upd) > li:is(.is-ico-lock,.is-style-czed-ico-lock)::before { background-color: #FEF3F0; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="10" rx="2" fill="%23E13011"/><path d="M8 10V7.5a4 4 0 0 1 8 0V10" stroke="%23E13011" stroke-width="2" fill="none"/></svg>'); }
:is(.czed-upd,.is-style-czed-upd) > li:is(.is-ico-star,.is-style-czed-ico-star)::before { background-color: var(--orange-100); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3l2.7 5.5 6 .9-4.3 4.2 1 6-5.4-2.8L6.6 19.6l1-6L3.3 9.4l6-.9L12 3z" fill="%23F36620"/></svg>'); }
:is(.czed-upd,.is-style-czed-upd) > li strong { display: block; font-weight: 700; font-size: 15px; color: var(--neutral-800); }

/* ---------- comparație 2 panouri (Grupuri core) ---------- */
:is(.czed-cmp,.is-style-czed-cmp) { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 26px; }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) { border: 1px solid var(--border-default); border-radius: 14px; padding: 22px; background: #fff; }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p, .czed-sheet :is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p { margin: 0 0 8px; font-size: 13.5px; line-height: 20px; color: var(--neutral-600); }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p:last-child { margin-bottom: 0; }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p.czed-cmp-big { font-size: 40px; font-weight: 800; color: var(--neutral-800); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p.czed-cmp-big small { font-size: 15px; font-weight: 400; color: var(--neutral-500); }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p.czed-cmp-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--neutral-500); margin-bottom: 8px; }
:is(.czed-cmp-panel.is-dark,.is-style-czed-cmp-panel-dark) { background: var(--brand-navy); border-color: var(--brand-navy); }
:is(.czed-cmp-panel.is-dark,.is-style-czed-cmp-panel-dark) p { color: rgba(255, 255, 255, .8); }
:is(.czed-cmp-panel.is-dark,.is-style-czed-cmp-panel-dark) p.czed-cmp-big { color: #fff; }
:is(.czed-cmp-panel.is-dark,.is-style-czed-cmp-panel-dark) p.czed-cmp-big small { color: rgba(255, 255, 255, .55); }
:is(.czed-cmp-panel.is-dark,.is-style-czed-cmp-panel-dark) p.czed-cmp-k { color: var(--gold-300); }
.czed-stars, :is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p.czed-stars { color: var(--gold-300); font-size: 22px; line-height: 1.2; letter-spacing: 2px; margin-bottom: 10px; }
:is(.czed-cmp-panel,.is-style-czed-cmp-panel,.is-style-czed-cmp-panel-dark) p.czed-stars small { font-size: 15px; font-weight: 700; color: var(--neutral-700); letter-spacing: 0; margin-left: 6px; }

/* ---------- panou navy cu CTA (Grup core, clasa czed-dark) ---------- */
:is(.czed-dark,.is-style-czed-dark) { background: var(--brand-navy); border-radius: 16px; padding: 30px 32px; margin: 22px 0 26px; }
:is(.czed-dark,.is-style-czed-dark) h2, .czed-sheet :is(.czed-dark,.is-style-czed-dark) h2 { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
:is(.czed-dark,.is-style-czed-dark) h2::before, .czed-sheet :is(.czed-dark,.is-style-czed-dark) h2::before { content: none; }
:is(.czed-dark,.is-style-czed-dark) h2 .pill18 { flex: none; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; }

/* Titlu cu pastilă 18+ — stil de bloc pe Titlu (H2/H3): pastila e generată
   de CSS, nu se scrie în text. În panoul navy e albă translucidă; în foaie, navy. */
.czed-sheet :is(h2, h3):is(.czed-h18, .is-style-czed-h18)::before,
:is(h2, h3):is(.czed-h18, .is-style-czed-h18)::before { content: "18+"; flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--brand-navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; }
:is(.czed-dark,.is-style-czed-dark) :is(h2, h3):is(.czed-h18, .is-style-czed-h18)::before { content: "18+"; background: rgba(255, 255, 255, .12); }
:is(h2, h3):is(.czed-h18, .is-style-czed-h18) { display: flex; align-items: center; gap: 12px; }
:is(.czed-dark,.is-style-czed-dark) p, .czed-sheet :is(.czed-dark,.is-style-czed-dark) p { margin: 0 0 14px; font-size: 15.5px; line-height: 25px; color: rgba(255, 255, 255, .85); }
:is(.czed-dark,.is-style-czed-dark) .wp-block-button__link, .is-style-czed-btn .wp-block-button__link, .czed-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-orange); color: #fff !important; font-weight: 700; font-size: 14.5px; padding: 11px 22px; border-radius: 10px; text-decoration: none !important; border: none; }
:is(.czed-dark,.is-style-czed-dark) .wp-block-button__link:hover, .is-style-czed-btn .wp-block-button__link:hover, .czed-btn:hover { background: var(--brand-orange-press); }

/* ---------- FAQ (bloc core „Detalii", clasa czed-faq) ---------- */
.czed-faq-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 10px; }
details:is(.czed-faq,.is-style-czed-faq) { border: 1px solid var(--border-default); border-radius: 12px; background: #fff; margin: 0; }
details:is(.czed-faq,.is-style-czed-faq) + details:is(.czed-faq,.is-style-czed-faq) { margin-top: 10px; }
details:is(.czed-faq,.is-style-czed-faq) > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--neutral-800); list-style: none; }
details:is(.czed-faq,.is-style-czed-faq) > summary::-webkit-details-marker { display: none; }
details:is(.czed-faq,.is-style-czed-faq) > summary::after { content: "+"; flex: none; color: var(--brand-orange); font-size: 22px; line-height: 1; transition: transform .18s ease; }
details:is(.czed-faq,.is-style-czed-faq)[open] > summary::after { transform: rotate(45deg); }
details:is(.czed-faq,.is-style-czed-faq) p, .czed-sheet details:is(.czed-faq,.is-style-czed-faq) p { margin: 0; padding: 0 20px 18px; font-size: 14.5px; line-height: 23px; color: var(--neutral-600); }

/* ---------- compatibilitate blocuri core ---------- */
.czed .wp-block-buttons { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .czed { padding: 8px 14px 56px; }
  .czed.czed-band-in { padding: 4px 14px 12px; }
  .czed.czed-body { padding-top: 14px; }
  /* breadcrumb: spațiere mai mică sus/jos */
  .czed-breadcrumb { margin-bottom: 2px; }
  /* trust row: text mai mic, 2 pe rând; badge-ul cu licența pe rând propriu */
  .czed-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; padding-top: 16px; margin-top: 16px; }
  .czed-trust > .div { display: none; }
  .czed-stat b { font-size: 18px; }
  .czed-stat span { font-size: 11.5px; }
  .czed-trust-badge { grid-column: 1 / -1; margin-left: 0; justify-content: center; }
  .czed-grid { grid-template-columns: 1fr; }
  /* Pe mobil TOC-ul rămâne, mutat SUB hero (înaintea conținutului) — același
     card, dar ÎNCHIS by default; titlul devine buton de toggle. */
  .czed-toc { position: static; order: -1; margin-bottom: 4px; }
  .czed-toc-card { padding: 14px 16px; }
  .czed-toc-k { cursor: pointer; margin: 0; padding: 0; }
  .czed-toc-k .chev { display: inline-block; color: var(--brand-orange); font-size: 18px; line-height: 1; transition: transform .18s ease; }
  .czed-toc-card.is-open .czed-toc-k { margin-bottom: 12px; }
  .czed-toc-card.is-open .czed-toc-k .chev { transform: rotate(45deg); }
  .czed-toc-card nav { display: none; }
  .czed-toc-card.is-open nav { display: flex; }
  .czed-hero { padding: 4px 0 4px; }
  .czed-hero h1 { font-size: 27px; line-height: 35px; }
  .czed-lead { font-size: 16px; line-height: 26px; }
  .czed-sheet { padding: 24px 18px; }
  :is(.czed-sec,.is-style-czed-sec) > h2, .czed-sheet > h2 { font-size: 22px; line-height: 30px; }
  :is(.czed-crit-grid,.is-style-czed-crit-grid) { grid-template-columns: 1fr; }
  :is(.czed-cmp,.is-style-czed-cmp) { grid-template-columns: 1fr; }
  :is(.czed-team,.is-style-czed-team) { grid-template-columns: 1fr 1fr; }
  :is(.czed-person.is-collab,.is-style-czed-person-collab) { grid-column: span 2; }
  .czed-trust { gap: 14px; }
  .czed-formula-row { font-size: 14px; }
}
@media (max-width: 520px) {
  :is(.czed-team,.is-style-czed-team) { grid-template-columns: 1fr; }
  :is(.czed-person.is-collab,.is-style-czed-person-collab) { grid-column: auto; }
  .czed-trust-badge { margin-left: 0; }
}
