/* Trix Editor Customization */

trix-toolbar {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  padding: 10px;
}

trix-editor {
  min-height: 400px;
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 15px;
  background: white;
}

trix-editor:focus {
  outline: none;
  border-color: #007bff;
}

/* Style the content inside the editor */
trix-editor h1 {
  font-size: 2em;
  font-weight: bold;
  margin: 0.67em 0;
  line-height: 1.2;
}

trix-editor h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0.75em 0;
  line-height: 1.3;
}

trix-editor p {
  margin: 1em 0;
  line-height: 1.6;
}

trix-editor strong {
  font-weight: bold;
}

trix-editor em {
  font-style: italic;
}

trix-editor u {
  text-decoration: underline;
}

trix-editor a {
  color: #007bff;
  text-decoration: underline;
}

trix-editor ul,
trix-editor ol {
  margin: 1em 0;
  padding-left: 2em;
}

trix-editor blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  margin: 1em 0;
  color: #666;
}

/* Style rendered content on the public site */
.trix-content h1 {
  font-size: 2em;
  font-weight: bold;
  margin: 0.67em 0;
  line-height: 1.2;
}

.trix-content h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0.75em 0;
  line-height: 1.3;
}

.trix-content p {
  margin: 1em 0;
  line-height: 1.6;
}

.trix-content strong {
  font-weight: bold;
}

.trix-content em {
  font-style: italic;
}

.trix-content u {
  text-decoration: underline;
}

.trix-content a {
  color: #007bff;
  text-decoration: underline;
}

.trix-content ul,
.trix-content ol {
  margin: 1em 0;
  padding-left: 2em;
}

.trix-content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  margin: 1em 0;
  color: #666;
}
