trix-editor ul {
    list-style-type: disc !important;
    list-style-position: inside !important;
    padding-left: 1.25rem !important;
}

trix-editor ul li {
    margin-bottom: 0.5rem;
}

/* Numbered Lists */
trix-editor ol {
    list-style-type: decimal !important;
    list-style-position: inside !important;
    padding-left: 1.25rem !important;
}

trix-editor ol li {
    margin-bottom: 0.5rem;
}

/* Optional: make sure Trix retains formatting */
trix-editor {
    all: revert; /* restores default styles if Tailwind reset removes them */
    min-height: 150px;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.375rem;
    padding: 0.5rem;
}
.references a {
    display: inline-block !important; /* Only text clickable */
    word-break: break-word; /* Prevent text overflow */
    white-space: normal;
}

.references li {
    list-style: none; /* Remove bullets */
    margin-bottom: 0.4rem;
}

p a {
    display: inline !important; /* Prevent full-line clickable area from description links */
}
.prose ul,
.prose ol {
    list-style-position: inside !important;
    padding-left: 1.25rem !important;
    margin-bottom: 0.75rem;
}

div:has(> h2:contains("References")) ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.prose ul {
    list-style-type: disc !important;
}

.prose ol {
    list-style-type: decimal !important;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose ul,
.prose ol {
    list-style-position: inside !important;
    list-style-type: disc !important;
    padding-left: 1.25rem !important;
    margin-bottom: 0.75rem;
}

div:has(> h2:contains("References")) ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.prose ol {
    list-style-type: decimal !important;
}

.prose li {
    margin-bottom: 0.5rem;
}

 /* Hide unwanted buttons in Trix toolbar */
trix-toolbar [data-trix-button-group="text-tools"] [data-trix-attribute="strike"],
trix-toolbar [data-trix-button-group="block-tools"] [data-trix-attribute="heading1"],
trix-toolbar [data-trix-button-group="block-tools"] [data-trix-attribute="quote"],
trix-toolbar [data-trix-button-group="block-tools"] [data-trix-attribute="code"],
trix-toolbar [data-trix-button-group="file-tools"] {
display: none !important;
}

.sidebar-link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: #1f2937; /* text-gray-800 */
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover effect: light green background */
.sidebar-link:hover {
    background-color: #bbf7d0; /* Tailwind green-100 */
    color: #166534; /* Tailwind green-800 */
}
