/* ===== General Editor Content Styling ===== */
.editor-content {
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    color: #111;
    background-color: #fff; /* optional */
    padding: 4rem; /* optional padding inside container */
    max-width: 100%;
    word-wrap: break-word;
}

/* ===== Headings ===== */
.editor-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.editor-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.editor-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.editor-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.editor-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.editor-content h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== Paragraphs ===== */
.editor-content p {
    margin-bottom: 1rem;
}

/* ===== Links ===== */
.editor-content a {
	color: #cd4bff;
    text-decoration: underline;
	text-decoration-color: #1e1b4b;
    font-weight: 500!important;
    transition: color 0.3s ease;
}

/* Hover effect for links */
.editor-content a:hover {
    color: #34315d;
}

/* ===== Lists ===== */
.editor-content ul,
.editor-content ol {
    margin: 1rem 0 1rem 2rem; /* spacing and indent */
    padding-left: 0;
    list-style-position: outside; /* ensure bullets/numbers show */
}

.editor-content ul {
    list-style-type: disc;
}

.editor-content ol {
    list-style-type: decimal;
}

.editor-content li {
    margin-bottom: 0.5rem;
}

.editor-content ul li::marker,
.editor-content ol li::marker {
    color: #111; /* bullets/numbers visible */
    font-size: 1em;
}

/* ===== Images ===== */
.editor-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem; /* optional rounded corners */
}

/* ===== Blockquotes ===== */
.editor-content blockquote {
    border-left: 4px solid #ccc;
    margin: 1rem 0;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
}

/* ===== Tables ===== */
.editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.editor-content th,
.editor-content td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

/* ===== Horizontal Rule ===== */
.editor-content hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2rem 0;
}

/* ===== Code & Preformatted ===== */
.editor-content code {
    font-family: Consolas, monospace;
    background-color: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.editor-content pre {
    font-family: Consolas, monospace;
    background-color: #f4f4f4;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 5px;
}

/* ===== Optional: Center content (images, embeds) ===== */
.editor-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
