.editor-area{
    padding: 0 18rem;
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif !important;
}

/* Reset Bootstrap overrides for Tiptap content */
.editor-area ul li{
    list-style: initial !important;
}

.editor-area ul[data-type="taskList"]{
    list-style-type: none !important;
}

.editor-area ul[data-type="taskList"] > li{
    align-items: center;
}

.editor-area a{
    text-decoration: underline;
}

.embed-card {
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    margin: 10px 0;
    background: #1a1a1a;
    transition: 0.2s;
    padding: 10px;
}

.embed-card a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-decoration: none;
    color: white !important;
}

.embed-card:hover {
    border-color: #555;
    background: #181818;
}

.embed-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.embed-card .embed-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.embed-card .embed-text {
    padding: 10px;
    color: #ddd;
}

.embed-card strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.embed-card span {
    color: #777;
}

.task-item{
    display: flex;
    align-items: flex-start !important;
    align-content: flex-start !important;
}
.task-item label {
    margin-right: 0.4em;
}

.editor-area img{
    display: block;
    width: 60%;
    margin: 0 auto;
}

.editor-area ul,
.editor-area ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1rem;
}

.editor-area p {
    margin-bottom: 0;
}

.editor-area li {
    margin-bottom: 0.25rem;
}

.editor-area input[type="checkbox"] {
    opacity: 1;
}
.editor-area input[type="checkbox"][disabled] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #22c55e;
    border-radius: 5px;
    background-color: #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    position: relative;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.editor-area input[type="checkbox"][disabled]:checked::after {
    content: '';
    width: 5px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
    left: 5px;
}

.editor-area input[type="checkbox"][disabled]:not(:checked) {
    background-color: transparent;
    border-color: #9ca3af;
}

.editor-area checkbox {
    margin-bottom: 0.25rem;
}

.editor-area blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.editor-area .code-block-wrapper {
    position: relative;
    border-radius: 6px;
    background: #1e1e1e;
    overflow: hidden;
    margin: 10px 0;
}

.code-block {
    background: #1e1e1e;
    color: #eee;
    border-radius: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    line-height: 1.5;
}

.code-block code {
    display: block;
    white-space: pre;
}

.editor-area pre {
    margin: 0;
    overflow-x: auto;
    padding: 1em;
}

.editor-area pre code {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.4;
}

@media screen and (max-width: 970px) {
    .editor-area img{
        width: 90%;
    }
}

/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/

.hljs {
    color: #c9d1d9;
    background: #0d1117;
}

.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
    /* prettylights-syntax-keyword */
    color: #ff7b72;
}

.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
    /* prettylights-syntax-entity */
    color: #d2a8ff;
}

.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
    /* prettylights-syntax-constant */
    color: #79c0ff;
}

.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
    /* prettylights-syntax-string */
    color: #a5d6ff;
}

.hljs-built_in,
.hljs-symbol {
    /* prettylights-syntax-variable */
    color: #ffa657;
}

.hljs-comment,
.hljs-code,
.hljs-formula {
    /* prettylights-syntax-comment */
    color: #8b949e;
}

.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
    /* prettylights-syntax-entity-tag */
    color: #7ee787;
}

.hljs-subst {
    /* prettylights-syntax-storage-modifier-import */
    color: #c9d1d9;
}

.hljs-section {
    /* prettylights-syntax-markup-heading */
    color: #1f6feb;
    font-weight: bold;
}

.hljs-bullet {
    /* prettylights-syntax-markup-list */
    color: #f2cc60;
}

.hljs-emphasis {
    /* prettylights-syntax-markup-italic */
    color: #c9d1d9;
    font-style: italic;
}

.hljs-strong {
    /* prettylights-syntax-markup-bold */
    color: #c9d1d9;
    font-weight: bold;
}

.hljs-addition {
    /* prettylights-syntax-markup-inserted */
    color: #aff5b4;
    background-color: #033a16;
}

.hljs-deletion {
    /* prettylights-syntax-markup-deleted */
    color: #ffdcd7;
    background-color: #67060c;
}

.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
    /* purposely ignored */
}
