body.cke_editable_themed {
  color: var(--gin-color-text);
}

body.cke_editable_themed.gin--dark-mode {
  background-color: var(--gin-bg-layer2);
}

a {
  color: var(--gin-color-primary);
}

.cke_panel_grouptitle {
  color: var(--gin-color-title);
  background: var(--gin-bg-layer2);
}

.cke_panel_listItem.cke_selected a,
.cke_panel_listItem a:hover,
.cke_panel_listItem a:focus,
.cke_panel_listItem a:active {
  background-color: var(--gin-color-primary-light);
}

.cke_editable {
  line-height: 1.5;
}

/* CKE Context Menu */

.cke_panel_block {
  border-color: var(--gin-border-color-form-element);
  border-radius: var(--gin-border-m);
}

.cke_panel_block .cke_menu .cke_menubutton_icon {
  background-color: var(--gin-bg-app);
}

.gin--dark-mode .cke_panel_block .cke_menu .cke_menubutton_icon .cke_button_icon {
  filter: invert(1);
}

.cke_panel_block .cke_menu .cke_menubutton_label {
  color: var(--gin-color-text);
}

.cke_panel_block .cke_menu .cke_menubutton_shortcut {
  color: var(--gin-color-text-light);
}

.cke_panel_block .cke_menu a:hover, .cke_panel_block .cke_menu a:focus, .cke_panel_block .cke_menu a:active {
  background-color: var(--gin-color-primary-light);
}

.cke_panel_block .cke_menu a:hover .cke_menubutton_icon, .cke_panel_block .cke_menu a:focus .cke_menubutton_icon, .cke_panel_block .cke_menu a:active .cke_menubutton_icon {
  background-color: var(--gin-color-primary-light);
}

body.cke_editable_themed blockquote {
  font-size: var(--gin-font-size-quote);
  position: relative;
  margin: var(--gin-spacing-m);
}

[dir="ltr"] body.cke_editable_themed blockquote {
  padding-left: var(--gin-spacing-l);
}

[dir="rtl"] body.cke_editable_themed blockquote {
  padding-right: var(--gin-spacing-l);
}

body.cke_editable_themed blockquote::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--gin-color-primary);
  border-radius: 2px;
}

[dir="ltr"] body.cke_editable_themed blockquote::before {
  left: 0;
}

[dir="rtl"] body.cke_editable_themed blockquote::before {
  right: 0;
}

