.ck.ck-editor {
    /* Base font size of entire editor UI */
    --ck-font-size-base: 11px;
    --ck-line-height-base: 1.6;

    /* Make the font size of the content the same as from the page itself */
    --ck-content-font-size: var(--font-size);

    /* Smaller buttons & toolbar */
    --ck-ui-component-min-height: 20px;
    --ck-ui-component-min-width: 20px;

    /* Decrease toolbar button icon size */
    --ck-icon-size: 14px;

    /* Make the toolbar appear absolute positioned on top */
    .ck.ck-editor__top {
        display: none;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        transform: translateY(-100%);
    }

    .ck-editor__top:hover {
        display: block;
    }
    &:focus-within,
    &:has(:focus),
    &:has(:active),
    &:has(.wsc-badge:hover)
    {
        .ck-editor__top {
            display: block;
        }
    }
}

.ck-powered-by-balloon {
    display: none !important;
}
