/* Quill Editor Content Styles for Article Display */

.article-content {
  @apply text-gray-800 leading-relaxed;
}

/* Headings */
.article-content h1 {
  @apply text-3xl font-bold text-gray-900 mt-8 mb-4 leading-tight;
}

.article-content h2 {
  @apply text-2xl font-semibold text-gray-900 mt-6 mb-3 leading-tight;
}

.article-content h3 {
  @apply text-xl font-semibold text-gray-900 mt-5 mb-2 leading-tight;
}

.article-content h4 {
  @apply text-lg font-semibold text-gray-900 mt-4 mb-2;
}

/* Paragraphs */
.article-content p {
  @apply mb-4 text-base;
}

/* Lists */
.article-content ul {
  @apply list-disc list-inside mb-4 ml-6 space-y-1;
}

.article-content ol {
  @apply list-decimal list-inside mb-4 ml-6 space-y-1;
}

.article-content li {
  @apply text-gray-700;
}

/* Links */
.article-content a {
  @apply text-blue-600 hover:text-blue-800 underline transition-colors;
}

/* Blockquotes */
.article-content blockquote {
  @apply border-l-4 border-gray-300 pl-4 py-2 mb-4 italic text-gray-700 bg-gray-50 rounded-r-lg;
}

/* Code blocks */
.article-content pre {
  @apply bg-gray-900 text-gray-100 rounded-lg p-4 mb-4 overflow-x-auto;
}

.article-content code {
  @apply bg-gray-100 text-red-600 px-1 py-0.5 rounded text-sm font-mono;
}

.article-content pre code {
  @apply bg-transparent text-gray-100 p-0;
}

/* Images */
.article-content img {
  @apply max-w-full h-auto rounded-lg shadow-md my-6 mx-auto;
}

/* Tables */
.article-content table {
  @apply w-full mb-4 border-collapse;
}

.article-content th {
  @apply bg-gray-100 border border-gray-300 px-4 py-2 text-left font-semibold text-gray-700;
}

.article-content td {
  @apply border border-gray-300 px-4 py-2;
}

/* Text formatting */
.article-content strong {
  @apply font-bold text-gray-900;
}

.article-content em {
  @apply italic;
}

.article-content u {
  @apply underline;
}

.article-content s {
  @apply line-through text-gray-500;
}

/* Horizontal Rule */
.article-content hr {
  @apply my-8 border-t-2 border-gray-200;
}

/* Video embeds */
.article-content iframe {
  @apply w-full aspect-video rounded-lg shadow-md my-6;
}

/* Text alignment classes */
.article-content .ql-align-center {
  @apply text-center;
}

.article-content .ql-align-right {
  @apply text-right;
}

.article-content .ql-align-justify {
  @apply text-justify;
}

/* Indentation */
.article-content .ql-indent-1 {
  @apply ml-8;
}

.article-content .ql-indent-2 {
  @apply ml-16;
}

.article-content .ql-indent-3 {
  @apply ml-24;
}

.article-content .ql-indent-4 {
  @apply ml-32;
}

.article-content .ql-indent-5 {
  @apply ml-40;
}

.article-content .ql-indent-6 {
  @apply ml-48;
}

.article-content .ql-indent-7 {
  @apply ml-56;
}

.article-content .ql-indent-8 {
  @apply ml-64;
}

/* Font sizes */
.article-content .ql-size-small {
  @apply text-sm;
}

.article-content .ql-size-large {
  @apply text-lg;
}

.article-content .ql-size-huge {
  @apply text-2xl;
}

/* Background colors */
.article-content .ql-bg-black {
  @apply bg-black text-white;
}

.article-content .ql-bg-red {
  @apply bg-red-100;
}

.article-content .ql-bg-orange {
  @apply bg-orange-100;
}

.article-content .ql-bg-yellow {
  @apply bg-yellow-100;
}

.article-content .ql-bg-green {
  @apply bg-green-100;
}

.article-content .ql-bg-blue {
  @apply bg-blue-100;
}

.article-content .ql-bg-purple {
  @apply bg-purple-100;
}

/* Text colors */
.article-content .ql-color-red {
  @apply text-red-600;
}

.article-content .ql-color-orange {
  @apply text-orange-600;
}

.article-content .ql-color-yellow {
  @apply text-yellow-600;
}

.article-content .ql-color-green {
  @apply text-green-600;
}

.article-content .ql-color-blue {
  @apply text-blue-600;
}

.article-content .ql-color-purple {
  @apply text-purple-600;
}