/* /css/quill/quill_content.css */

/* =========================
   Bazė: editorius (Quill)
   ========================= */
.ql-container.ql-snow .ql-editor{
  padding: 16px 18px;
  line-height: 1.4;
  font-size: 1rem;
}

/* Nuorodos */
.ql-container.ql-snow .ql-editor a{
  text-decoration: underline;
}

/* Paragrafai (vieną kartą, be dubliavimo) */
.ql-container.ql-snow .ql-editor p{
  margin: 0 0 .15rem 0;
}
.ql-container.ql-snow .ql-editor p:last-child{
  margin-bottom: 0;
}

/* Antraštės */
.ql-container.ql-snow .ql-editor h1,
.ql-container.ql-snow .ql-editor h2,
.ql-container.ql-snow .ql-editor h3,
.ql-container.ql-snow .ql-editor h4{
  margin: .4rem 0 .35rem 0;
  line-height: 1.2;
}

/* Sąrašai */
.ql-container.ql-snow .ql-editor ul,
.ql-container.ql-snow .ql-editor ol{
  margin: 0 0 .35rem 0;
  padding-left: 1.25rem;
}
.ql-container.ql-snow .ql-editor li{
  margin: 0;
}
.ql-container.ql-snow .ql-editor li > p{
  margin: 0;
}

/* Ordered: 1 -> a -> i -> A -> I */
.ql-container.ql-snow .ql-editor li[data-list="ordered"]{ list-style-type: decimal; }
.ql-container.ql-snow .ql-editor li.ql-indent-1[data-list="ordered"]{ list-style-type: lower-alpha; }
.ql-container.ql-snow .ql-editor li.ql-indent-2[data-list="ordered"]{ list-style-type: lower-roman; }
.ql-container.ql-snow .ql-editor li.ql-indent-3[data-list="ordered"]{ list-style-type: upper-alpha; }
.ql-container.ql-snow .ql-editor li.ql-indent-4[data-list="ordered"]{ list-style-type: upper-roman; }

/* Bullet: disc -> circle -> square -> disc */
.ql-container.ql-snow .ql-editor li[data-list="bullet"]{ list-style-type: disc; }
.ql-container.ql-snow .ql-editor li.ql-indent-1[data-list="bullet"]{ list-style-type: circle; }
.ql-container.ql-snow .ql-editor li.ql-indent-2[data-list="bullet"]{ list-style-type: square; }
.ql-container.ql-snow .ql-editor li.ql-indent-3[data-list="bullet"]{ list-style-type: disc; }

/* =========================
   VIEW režimas (tik rodymas)
   Apgaubk turinį .rich-content
   ========================= */
.rich-content .ql-container.ql-snow{
  border: 0;
  background: transparent;
}

.rich-content .ql-editor{
  padding: 0;              /* <- NUIMA kairę/viršų view’e */
}

/* Jeigu view’e vis tiek pasitaiko <p> – nekurk tarpų */
.rich-content .ql-editor p{
  margin: 0;
}

/* Jei kartais placeholderis pasirodytų */
.rich-content .ql-editor.ql-blank::before{
  display: none;
}
