/*
 *= require_self
 */

/* Trix editor styling */
trix-editor {
  min-height: 300px;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 1rem;
}

trix-toolbar {
  border: 1px solid #d1d5db;
  border-bottom: none;
  border-radius: 0.5rem 0.5rem 0 0;
  background: #f9fafb;
  padding: 0.5rem;
}

/* Rich text content styling */
.prose h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--heading-font); }
.prose h2 { font-size: 1.5rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; font-family: var(--heading-font); }
.prose p { margin-bottom: 1rem; line-height: 1.75; }
.prose a { color: var(--accent-color); text-decoration: underline; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.25rem; }
.prose img { border-radius: 0.5rem; margin: 1rem 0; max-width: 100%; }
.prose blockquote { border-left: 4px solid var(--accent-color); padding-left: 1rem; font-style: italic; color: #6b7280; }

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
