/* base */
.tinymce body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.6;
    color: #fff;
    font-size: 16px;
    padding: 0;
    margin: 0;
}

/* container spacing inside editor content */
.tinymce .content {
    max-width: 800px;
    /* adjust to your layout */
    margin: 0 auto;
    padding: 24px;
}

/* headings */
.tinymce h1,
.tinymce h2,
.tinymce h3,
.tinymce h4,
.tinymce h5,
.tinymce h6 {
    font-weight: 600;
    color: #FFDF20;
    margin: 1.2em 0 0.6em;
    line-height: 1.25;
}

.tinymce h1 {
    font-size: 3rem;
}

.tinymce h2 {
    font-size: 2.4rem;
}

.tinymce h3 {
    font-size: 1.7rem;
}
.tinymce h4 {
    font-size: 1.4rem;
}
.tinymce h5 {
    font-size: 1.25rem;
}
.tinymce h6 {
    font-size: 0.9rem;
}

/* paragraph spacing */
.tinymce p {
    margin: 0 0 1em;
}

/* links */
.tinymce a {
    color: #0b66ff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(11, 102, 255, 0.12);
}

.tinymce a:hover,
.tinymce a:focus {
    text-decoration: underline;
}

/* lists */
.tinymce ul,
.tinymce ol {
    margin: 0 0 1em 1.25em;
    padding: 0;
}

.tinymce li+li {
    margin-top: 0.35em;
}

/* images & media */
.tinymce img,
.tinymce video,
.tinymce iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.75em 0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(18, 30, 45, 0.06);
}

/* figure + caption */
.tinymce figure {
    margin: 0 0 1em;
}

.tinymce figcaption {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin-top: 0.35em;
}

/* blockquote */
.tinymce blockquote {
    margin: 1em 0;
    padding: 0.8em 1em;
    border-left: 4px solid rgba(11, 102, 255, 0.12);
    background: rgba(11, 102, 255, 0.03);
    color: #1f2937;
    border-radius: 6px;
}

/* code / preformatted */
.tinymce pre,
.tinymce code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
    background: #0f1724;
    color: #e6eef8;
    padding: 0.45em 0.6em;
    border-radius: 6px;
    overflow: auto;
}

.tinymce pre {
    padding: 1em;
    margin: 0 0 1em;
    line-height: 1.45;
}

/* tables */
.tinymce table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1em;
    font-size: 0.95rem;
}

.tinymce th,
.tinymce td {
    padding: 0.6em 0.8em;
    border: 1px solid #fff;
    text-align: left;
}

.tinymce thead th {
    background: #fff);
    font-weight: 600;
}

/* buttons (in-content callouts) */
.tinymce a.button,
.tinymce .button {
    display: inline-block;
    padding: 0.55em 0.9em;
    border-radius: 8px;
    text-decoration: none;
    background: #0b66ff;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(11, 102, 255, 0.12);
}

.tinymce a.button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* utility classes useful inside content */
.tinymce .align-center {
    text-align: center;
}

.tinymce .align-right {
    text-align: right;
}

/* responsiveness: make sure large embeds don't overflow */
@media (max-width: 640px) {
    .tinymce body {
        font-size: 15px;
    }

    .tinymce .content {
        padding: 16px;
    }

    .tinymce h1 {
        font-size: 1.6rem;
    }
}