/* Admin Trix overrides — hide file/image attach tooling */
.trix-button-group--file-tools {
  display: none !important;
}

.admin-trix-editor.trix-content {
  min-height: 11rem;
  max-height: 28rem;
  overflow-y: auto;
  border: 1px solid #d6d3d1;
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 0.75rem 0.875rem;
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #1c1917;
}

trix-toolbar {
  border: 1px solid #d6d3d1;
  border-bottom: none;
  border-radius: 0.5rem 0.5rem 0 0;
  background: #fafaf9;
}

trix-toolbar .trix-button-row {
  flex-wrap: wrap;
}

.admin-trix-editor.trix-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.admin-trix-editor.trix-content ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.admin-trix-editor.trix-content a {
  color: #9f1239;
  text-decoration: underline;
}

/* Public / shared rich text display */
.rich-text-content {
  line-height: 1.65;
}

.rich-text-content > *:first-child {
  margin-top: 0;
}

.rich-text-content > *:last-child {
  margin-bottom: 0;
}

.rich-text-content p,
.rich-text-content div {
  margin: 0.55em 0;
}

.rich-text-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.55em 0;
}

.rich-text-content ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0.55em 0;
}

.rich-text-content a {
  color: #0e4b43;
  text-decoration: underline;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4 {
  font-weight: 700;
  margin: 0.8em 0 0.4em;
  line-height: 1.3;
}

.rich-text-content blockquote {
  border-left: 3px solid #d6d3d1;
  padding-left: 0.75rem;
  color: #57534e;
  margin: 0.6em 0;
}
