/* Rich-text content scope.
 *
 * Wrap WYSIWYG output (auction/listing notes, terms, highlights, etc.) in a
 * `.rich-content` element. These rules restore predictable rendering for tags
 * the editor produces (lists, paragraphs, basic inline marks) on top of theme
 * stylesheets that may strip them globally. Keep this file site-agnostic so a
 * single copy can live in each public site without further customization.
 */

.rich-content ul,
.rich-content ol {
    padding-left: 1.5em;
    margin: 0 0 1em 0;
    list-style-position: outside;
}
.rich-content ul { list-style-type: disc; }
.rich-content ol { list-style-type: decimal; }
.rich-content ul ul { list-style-type: circle; }
.rich-content ul ul ul { list-style-type: square; }

.rich-content li {
    margin-bottom: 0.25em;
    padding: 0;
    background: none;
    list-style-image: none;
}

.rich-content p {
    margin: 0 0 1em 0;
}
.rich-content p:last-child {
    margin-bottom: 0;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
    margin: 0.75em 0 0.5em 0;
    line-height: 1.25;
}

.rich-content strong,
.rich-content b { font-weight: bold; }
.rich-content em,
.rich-content i { font-style: italic; }
.rich-content u { text-decoration: underline; }
.rich-content s,
.rich-content strike { text-decoration: line-through; }

.rich-content a { text-decoration: underline; }

.rich-content blockquote {
    margin: 0 0 1em 1em;
    padding-left: 1em;
    border-left: 3px solid #ccc;
}

.rich-content img,
.rich-content iframe {
    max-width: 100%;
}

/* Quill alignment classes */
.rich-content .ql-align-center { text-align: center; }
.rich-content .ql-align-right { text-align: right; }
.rich-content .ql-align-justify { text-align: justify; }
