/* Editor.js Content Styles for Frontend */
.editorjs-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 14px; /* User requested 14px */
}

.editorjs-content h1,
.editorjs-content h2,
.editorjs-content h3,
.editorjs-content h4,
.editorjs-content h5,
.editorjs-content h6 {
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #111;
    line-height: 1.3;
}

/* User requested H max 20px */
.editorjs-content h1 { font-size: 20px; border-bottom: 1px solid #eee; padding-bottom: 0.3em; }
.editorjs-content h2 { font-size: 18px; border-bottom: 1px solid #eee; padding-bottom: 0.3em; }
.editorjs-content h3 { font-size: 16px; }
.editorjs-content h4 { font-size: 15px; }
.editorjs-content h5 { font-size: 14px; }
.editorjs-content h6 { font-size: 14px; color: #666; }

.editorjs-content p {
    margin-bottom: 1.2em;
    font-size: 14px; /* Explicitly set */
}

.editorjs-content ul,
.editorjs-content ol {
    margin-bottom: 1.2em;
    padding-left: 2em;
    font-size: 14px;
}

.editorjs-content li {
    margin-bottom: 0.5em;
}

.editorjs-content a {
    color: #0152D9;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.editorjs-content a:hover {
    border-bottom-color: #0152D9;
}

.editorjs-content blockquote {
    margin: 1.5em 0;
    padding: 3px 10px;
    background: #f9f9f900;
    border-left: 3px solid #efefef;
    color: #555;
    font-size: 14px;
}

.editorjs-content blockquote footer {
    margin-top: 0.5em;
    font-size: 12px;
    color: #888;
    font-style: normal;
}

.editorjs-content figure {
    margin: 2em 0;
    text-align: center;
}

.editorjs-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.editorjs-content figcaption {
    margin-top: 0.5em;
    font-size: 12px;
    color: #888;
    text-align: center;
}

.editorjs-content .img-stretched img {
    width: 100%;
}

.editorjs-content .with-border img {
    border: 1px solid #e1e4e8;
    padding: 10px;
}

.editorjs-content .with-background img {
    padding: 15px;
    background: #e1e4e8;
}

.editorjs-content pre {
    background: #f6f8fa;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1.5em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
}

.editorjs-content code {
    background: rgba(27, 31, 35, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 90%;
}

.editorjs-content pre code {
    background: transparent;
    padding: 0;
    font-size: 100%;
}

.editorjs-content .delimiter {
    text-align: center;
    font-size: 24px;
    line-height: 65px;
    height: 30px;
    letter-spacing: 0.2em;
    margin: 1.5em 0;
    color: #333;
}

.editorjs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 14px; /* User requested 14px */
}

.editorjs-content th,
.editorjs-content td {
    border: 1px solid #e1e4e8;
    padding: 8px 12px;
}

.editorjs-content th {
    background: #f6f8fa;
    font-weight: 600;
}

/* Link Tool */
.editorjs-content .link-tool-card {
    /* Styles are mostly inline in renderer, but we can add hover effects here */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.editorjs-content .link-tool-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Inline Markers */
.editorjs-content mark, 
.editorjs-content .cdx-marker {
    background: rgba(245,235,111,0.29);
    padding: 3px 0;
}
