/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Forum-specific rich text polish for Trix content cards. */
.forum-richtext {
	line-height: 1.7;
}

.forum-richtext > * + * {
	margin-top: 0.75rem;
}

.forum-richtext ul,
.forum-richtext ol {
	margin-left: 1.25rem;
	padding-left: 0.25rem;
}

.forum-richtext li + li {
	margin-top: 0.3rem;
}

.forum-richtext blockquote {
	margin: 1rem 0;
	padding: 0.625rem 0.875rem;
	border-left: 4px solid #cbd5e1;
	background: #f8fafc;
	border-radius: 0.375rem;
}

.forum-richtext pre {
	margin: 1rem 0;
	padding: 0.75rem 0.875rem;
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 0.5rem;
	overflow-x: auto;
}

.forum-richtext code {
	background: #f1f5f9;
	padding: 0.1rem 0.3rem;
	border-radius: 0.25rem;
}

.forum-richtext pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}
