@tailwind base;
@tailwind components;
@tailwind utilities;

/* Below is resetting Tailwind interference and restore defaults */
.rich-text {
  all: revert;
}

.rich-text p,
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text ul,
.rich-text ol,
.rich-text li,
.rich-text blockquote {
  all: revert;
}

/* adding minor spacing only */
.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text blockquote,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin-bottom: 1rem;
}

/*preserving list indentation (if needed) */
.rich-text ul,
.rich-text ol {
  padding-left: 1.5rem;
}

/* Giving own styles */
.rich-text ul {
  list-style-type: disc;
}

.rich-text ol {
  list-style-type: decimal;
}

.rich-text blockquote {
  border-left: 4px solid #ccc; 
  padding-left: 1rem;         
  font-style: italic;          
  color: #555;                
  margin: 1rem 0; 
}