.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-48adf736 *//* ====== Reset local + tipografie asemănătoare DOCX ====== */
.docx-block {
  /* forțăm o “bulă” neutră, fără stiluri din temă */
  all: revert;
  /* peste „revert”, setăm explicit ce avem nevoie */
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  max-width: 820px; /* lățime apropiată de pagină A4 în px, opțional */
  margin: 0 auto;
  padding: 0;
}

/* Spațiere paragrafe ca în Word (spațiu după, fără indent implicit) */
.docx-block p {
  margin: 0 0 12px 0;
}

/* Dacă în DOCX ai paragrafe cu rând gol între ele, păstrează <br> din HTML-ul tău. */
.docx-block br { line-height: 1.5; }

/* Titluri – mărimi/greutăți tip Word */
.docx-block h1,
.docx-block h2,
.docx-block h3,
.docx-block h4,
.docx-block h5,
.docx-block h6 {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  margin: 18px 0 10px;
}

.docx-block h1 { font-size: 28px; }
.docx-block h2 { font-size: 24px; }
.docx-block h3 { font-size: 20px; }
.docx-block h4 { font-size: 18px; }
.docx-block h5 { font-size: 16px; }
.docx-block h6 { font-size: 15px; }

/* Liste – păstrează marcatorii standard și indentări asemănătoare */
.docx-block ul,
.docx-block ol {
  margin: 0 0 12px 28px;
  padding: 0;
}
.docx-block ul { list-style: disc; }
.docx-block ol { list-style: decimal; }

/* Sub-liste (nivel 2) – ca în Word: litere/liniuțe */
.docx-block ol ol { list-style: lower-alpha; }
.docx-block ul ul { list-style: circle; }

/* Tabele simple – borduri subtile, spațiere corectă */
.docx-block table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  table-layout: auto;
}
.docx-block th,
.docx-block td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  vertical-align: top;
}
.docx-block th {
  background: #f6f6f6;
  font-weight: 700;
}

/* Elemente inline frecvente */
.docx-block b, .docx-block strong { font-weight: 700; }
.docx-block i, .docx-block em { font-style: italic; }
.docx-block u { text-decoration: underline; }
.docx-block a { color: #0a58ca; text-decoration: underline; }

/* Alinieri explicite (dacă în HTML-ul tău apar) */
.docx-block p[style*="text-align:center"],
.docx-block .text-center { text-align: center !important; }
.docx-block p[style*="text-align:right"],
.docx-block .text-right { text-align: right !important; }
.docx-block p[style*="text-align:justify"],
.docx-block .text-justify { text-align: justify !important; }

/* Evită ca Elementor/tema să suprascrie titlurile din interior */
.elementor-widget-text-editor .docx-block h1,
.elementor-widget-text-editor .docx-block h2,
.elementor-widget-text-editor .docx-block h3,
.elementor-widget-text-editor .docx-block h4,
.elementor-widget-text-editor .docx-block h5,
.elementor-widget-text-editor .docx-block h6 {
  margin-top: 18px !important;
  margin-bottom: 10px !important;
}

/* Spațiu între “capitole”: dacă ai nevoie de un pic mai aerisit între <h2> și următorul p */
.docx-block h2 + p { margin-top: 4px; }

/* Linie orizontală (dacă există în conținut) ca în Word */
.docx-block hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 16px 0;
}

/* Note de subsol / paragrafe mici (dacă le marchezi cu <small>) */
.docx-block small { font-size: 85%; color: #444; }

/* Imagini inline */
.docx-block img {
  max-width: 100%;
  height: auto;
}/* End custom CSS */