.trix-button-group--file-tools,
.trix-button-group--link-tools,
.trix-button[data-trix-action="attachFiles"],
.trix-button[data-trix-attribute="href"],
.trix-button--icon-attach,
.trix-button--icon-link,
.trix-button--icon-heading-1,
.trix-button--icon-quote,
.trix-button--icon-code,
.trix-button--icon-strike {
    display: none;
}

.trix-button--text {
    min-width: 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.trix-button--text.trix-active {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.trix-button--align {
    min-width: 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.trix-content {
    min-height: 18rem;
}

.trix-content,
.richtext-content {
    color: #334155;
    line-height: 1.75;
}

.trix-content ul,
.trix-content ol,
.richtext-content ul,
.richtext-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.trix-content ul,
.richtext-content ul {
    list-style: disc;
}

.trix-content ol,
.richtext-content ol {
    list-style: decimal;
}

.trix-content p,
.trix-content div,
.trix-content h2,
.trix-content h3,
.trix-content h4,
.trix-content h5,
.trix-content h6,
.richtext-content p,
.richtext-content div,
.richtext-content h2,
.richtext-content h3,
.richtext-content h4,
.richtext-content h5,
.richtext-content h6 {
    margin-bottom: 1rem;
}

.trix-content p:last-child,
.trix-content div:last-child,
.trix-content h2:last-child,
.trix-content h3:last-child,
.trix-content h4:last-child,
.trix-content h5:last-child,
.trix-content h6:last-child,
.richtext-content p:last-child,
.richtext-content div:last-child,
.richtext-content h2:last-child,
.richtext-content h3:last-child,
.richtext-content h4:last-child,
.richtext-content h5:last-child,
.richtext-content h6:last-child {
    margin-bottom: 0;
}

.trix-content h2,
.richtext-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.trix-content h3,
.richtext-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.trix-content h4,
.richtext-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.trix-content h5,
.richtext-content h5 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.trix-content h6,
.richtext-content h6 {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.richtext-content strong {
    font-weight: 700;
}

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

.trix-content .trix-align-left,
.richtext-content .trix-align-left {
    text-align: left;
}

.trix-content .trix-align-center,
.richtext-content .trix-align-center {
    text-align: center;
}

.trix-content .trix-align-right,
.richtext-content .trix-align-right {
    text-align: right;
}

.trix-content .trix-align-justify,
.richtext-content .trix-align-justify {
    text-align: justify;
}
