:root {
    --ck-border-radius: 2px;
    --ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;
    --ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);
    --ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);
    --ck-spacing-unit: 0.6em;
    --ck-spacing-large: calc(var(--ck-spacing-unit)*1.5);
    --ck-spacing-standard: var(--ck-spacing-unit);
    --ck-spacing-medium: calc(var(--ck-spacing-unit)*0.8);
    --ck-spacing-small: calc(var(--ck-spacing-unit)*0.5);
    --ck-spacing-tiny: calc(var(--ck-spacing-unit)*0.3);
    --ck-spacing-extra-tiny: calc(var(--ck-spacing-unit)*0.16);
    --ck-color-table-caption-background: #f7f7f7;
    --ck-color-table-caption-text: #333;
    --ck-color-table-caption-highlighted-background: #fd0;
}
.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{display: none!important;}
.ck-editor__editable_inline {min-height: 340px;}
@media (max-width:991px){
    .ck-editor__editable_inline {min-height: 260px;}
}
.ck__text__area {
    resize: vertical; /* Enable vertical resizing */
    height: 450px; /* Set an initial height */
    min-height: 150px; /* Set a minimum height */
    max-height: 340px; /* Set a maximum height */
}

.ck-content .image{max-width: 67%;}
.ck-content .image-inline{max-width: 67%!important;}
.ck-content .media{max-width: 67%;}
.ck__editors .ck.ck-editor__editable_inline, .ck__editors .ck.ck-toolbar{border:0!important;}

.ck h1{font-size: 2.3em;font-weight: bold;line-height: 1.2em;padding-top: .8em;margin-bottom: .4em;}
.ck h2{font-size: 1.84em;font-weight: bold;line-height: 1.2em;padding-top: .8em;margin-bottom: .4em;}
.ck h3{font-size: 1.48em;font-weight: bold;line-height: 1.2em;padding-top: .8em;margin-bottom: .4em;}
.ck h4{font-size: 1.22em;font-weight: bold;line-height: 1.2em;padding-top: .8em;margin-bottom: .4em;}
.ck h5{font-size: 1.06em;font-weight: bold;line-height: 1.2em;padding-top: .8em;margin-bottom: .4em;}
.ck h6{font-size: 1em;font-weight: bold;line-height: 1.2em;padding-top: .8em;margin-bottom: .4em;}

.ck :is(h1, h2, h3, h4, h5, h6, p) {
    overflow-wrap: break-word;
}

.ck :is(h1, h2, h3, h4, h5, h6, p) :is(b, strong) {
    font-weight: bold;
}

.ck.ck-editor__editable_inline>:first-child { margin-top: 7px !important; padding-top: 0px !important;}

.ck P{font-size: 20px;line-height: 1.6em;padding-top: .2em;margin-bottom: var(--ck-spacing-large); color:#404040;}

@media (max-width:340px){
    .ck P{font-size: 12px;line-height: 1.4em;}
}
.ck a {color: #007bff;text-decoration: none;background-color: transparent;-webkit-text-decoration-skip: objects;}
.ck a:hover {color: #0056b3; text-decoration: underline;}

.ck ul{list-style-type: disc;font-size: 1em;line-height: 1.6em;padding-top: .2em;margin-bottom: var(--ck-spacing-large);display: block;margin-block-start: 1em;margin-block-end: 1em;margin-inline-start: 0px;margin-inline-end: 0px;padding-inline-start: 40px;}

.ck ol{list-style-type: decimal;font-size: 1em;line-height: 1.6em;padding-top: .2em;margin-bottom: var(--ck-spacing-large);display: block;margin-block-start: 1em;margin-block-end: 1em;margin-inline-start: 0px;margin-inline-end: 0px;padding-inline-start: 40px;}
.ck ul ol {list-style-type: decimal;margin-block-start: 0px; }
.ck ul ul {list-style-type: circle;margin-block-start: 0px;}

.ck table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    border: 1px double #b3b3b3;
}
.ck .table table th {
    font-weight: 700;
    background: #fafafa;
}
.ck .table table td, .ck .table table th {
    min-width: 2em;
    padding: 0.4em;
    border: 1px solid #d9d9d9;
}
.ck blockquote {
    border-left: 5px solid #3c41c2;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding-left: 1.5em;
    padding-right: 1.5em;
    max-width: 100%;
    position: relative;
}
blockquote:before {
    color: #3c41c2;
    content: "“";
    font-family: "Noto Serif", "Georgia", "Times New Roman", "Times", serif;
    font-size: 37px;
    height: 3.75rem;
    left: 4px;
    line-height: 1;
    max-width: 3.75rem;
    position: absolute;
    text-align: inherit;
    top: 0;
    width: 100%;
}
