/* Standard Paragraph */
.article-paragraph {
  position: relative;
  display: block;
  max-width: 100%;
}

/* Element Ausrichtung */
.article-elements-left,
.article-elements-center,
.article-elements-right {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
}

.article-elements-left {
  justify-content: start;
}

.article-elements-right {
  justify-content: end;
}

/* Story */
.article-story {
  align-items: center;
  background-color: var(--story-background-color, #E8E8E8);
  border-radius: var(--main-border-radius, 0);
  color: var(--story-color, black);
  padding: var(--main-gap, 0);
}

.two-columns.article-story>*,
.two-columns.article-story>*>* {
  border-radius: var(--main-border-radius, 0);
  overflow: hidden;
}

.two-columns.article-story.with-gap>* {
  background-color: var(--story-background-color, #E8E8E8);

  padding: var(--main-gap, 0);
}

.two-columns.article-story.with-gap {
  background-color: transparent;
  padding: 0;
}

.article-story-text {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.easy-columns.article-story {
  grid-template-columns: 3fr 7fr;
}

.easy-columns.article-story:nth-of-type(2n) {
  grid-template-columns: 7fr 3fr;
}

.easy-columns.weighted-80 {
  grid-template-columns: 4fr 1fr;
}

.easy-columns.weighted-75 {
  grid-template-columns: 3fr 1fr;
}

.easy-columns.weighted-70 {
  grid-template-columns: 7fr 3fr;
}

.easy-columns.weighted-65 {
  grid-template-columns: 65fr 35fr;
}

.easy-columns.weighted-60 {
  grid-template-columns: 3fr 2fr;
}

.easy-columns.weighted-55 {
  grid-template-columns: 55fr 45fr;
}

.easy-columns.weighted-50 {
  grid-template-columns: 1fr 1fr;
}

.easy-columns.weighted-45 {
  grid-template-columns: 45fr 55fr;
}

.easy-columns.weighted-40 {
  grid-template-columns: 2fr 3fr;
}

.easy-columns.weighted-35 {
  grid-template-columns: 35fr 65fr;
}

.easy-columns.weighted-30 {
  grid-template-columns: 3fr 7fr;
}

.easy-columns.weighted-25 {
  grid-template-columns: 1fr 3fr;
}

.easy-columns.weighted-20 {
  grid-template-columns: 1fr 4fr;
}

/* Story and Poll color */
.article-story a:link,
.article-story a:visited {
  color: var(--story-color, black);
}

.article-story a:hover,
.article-story a:active,
.article-story a:focus {
  color: var(--story-color-link-hover, grey);
}

.video-container {
  background-color: rgb(0, 0, 0, 0);
  height: 0;
  overflow: hidden;
  padding-bottom: 51%;
  padding-top: 30px;
  position: relative;
}

.video-container iframe,
.video-container object,
.video-container embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-container iframe {
  border: 0;
  outline: 0;
  display: block;
}

.video-container-wrapper {
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  right: 0;
}

/**********************************/
/********* General Styles *********/
/**********************************/
.article-inline-styles,
.cdx-text-formatting {
  position: relative;
}

.as-list-element {
  position: relative;
  display: inline;
  margin-bottom: 0.5em;
  padding-left: 1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.as-list-element::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  line-height: 1;
  color: currentColor;
}

.article-box-simple {
  background-color: grey;
  border-radius: var(--main-border-radius, 0);
  color: white;
  display: inline-block;
  padding: var(--main-gap, 0);
  position: relative;
  text-align: left;
}

.tc-cell.article-box-simple {
  border-radius: 0;
}

.article-box-simple a:link,
.article-box-simple a:visited,
.article-box-simple a:active,
.article-box-simple a:focus {
  color: white;
}

.article-box-simple a:hover {
  color: #222;
}

/* Hyperlinks */
a.article-url {
  -webkit-text-underline-position: under;
  -ms-text-underline-position: below;
  text-decoration: underline;
  text-underline-position: under;
}

a.article-url-download,
a.article-url-insta,
a.article-url-fb,
a.article-url-web,
a.article-url-iso,
a.article-url-mail {
  align-items: center;
  display: inline;
  -webkit-text-underline-position: under;
  -ms-text-underline-position: below;
  text-decoration: underline;
  text-underline-position: under;
}

a.article-url-download::before,
a.article-url-insta::before,
a.article-url-fb::before,
a.article-url-web::before,
a.article-url-iso::before,
a.article-url-mail::before {
  content: "";
  flex-shrink: 0;
  font-family: "Icons", "Arial";
  position: relative;
  text-align: center;
}

a.article-url-download::before {
  content: "\f15a\00a0";
}

a.article-url-insta::before {
  content: "\f185\00a0";
}

a.article-url-fb::before {
  content: "\f162\00a0";
}

a.article-url-web::before {
  content: "\f179\00a0";
}

a.article-url-mail::before {
  content: "\f193\00a0";
}

a.article-url-iso::before {
  content: var(--iso-logo-full) "\00a0";
}

.black-text a:link,
.black-text a:visited {
  color: black;
}

.white-text a:link,
.white-text a:visited {
  color: white;
}

.black-text a:hover,
.black-text a:active,
.black-text a:focus,
.white-text a:hover,
.white-text a:active,
.white-text a:focus {
  color: var(--effect-color);
}

/* Kapitälchen */
.small-caps {
  color: var(--effect-color, goldenrod);
  display: inline-block;
  font-family: "Roboto", Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  position: relative;
}

/* Image Compare */
.img-compare-align {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.img-compare-container {
  position: relative;
}

.img-compare-container img {
  height: auto;
  max-height: 70vh;
  max-width: 100%;
  vertical-align: middle;
  width: auto;
}

.img-compare-container .img-compare-overlay,
.img-compare-container img,
.img-compare-container .img-compare-handle {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  overflow: hidden;
  user-select: none;
}

.img-compare-container .img-compare-handle {
  cursor: grab;
  height: 100%;
  left: 35%;
  overflow: visible;
  position: absolute;
  top: 0;
  transition: left 0.5s;
  width: 30%;
  z-index: 1;
}

.img-compare-container .img-compare-handle::before {
  background-color: white;
  border-radius: 50%;
  content: "";
  height: 42px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
}

.img-compare-container .img-compare-handle::after {
  background-image: url("../images/isorauschen/logo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 50%;
  content: "";
  height: 45px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
}

.img-compare-container .img-compare-handle:hover::after {
  filter: invert(100%);
}

.img-compare-container .img-compare-handle:hover::before {
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.6);
}

.img-compare-container .img-compare-before,
.img-compare-container .img-compare-after {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 0 !important;
  color: white;
  cursor: grab;
  font-size: 0.7rem;
  left: 0;
  padding: 0.5em 1.5em;
  position: absolute;
  top: 0;
  z-index: 3;
}

.img-compare-container .img-compare-after {
  left: auto;
  right: 0;
}

.img-compare-container .img-compare-img-before {
  -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  left: 0;
  position: absolute;
  top: 0;
  transition: clip-path 0.5s, -webkit-clip-path 0.5s;
}


/* Zutatenliste */
table.ingredients td[contenteditable=true][data-placeholder]:empty:before {
  content: attr(data-placeholder);
  opacity: 0.5;
  cursor: text;
}

table.ingredients {
  border-collapse: collapse;
  word-break: break-word;
  margin: 0 auto;
  max-width: 500px;
}

table.ingredients tr {
  border-bottom: var(--main-color, black) solid 1px;
}

table.ingredients tr:last-of-type {
  border-bottom: none !important;
}

table.ingredients td,
table.ingredients tr {
  padding: 0.5em 0.75em;
}

table.ingredients td:nth-child(2n - 1) {
  padding-left: 0;
  text-align: right;
  word-break: keep-all;
}

table.ingredients td:nth-child(2n) {
  padding-right: 0;
}

/* Image Fade Plugin */
.img-fade-container {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  display: flex;
  max-width: 100%;
  position: relative;
  user-select: none;
}

.img-fade-left-container,
.img-fade-right-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.img-fade-left-container {
  flex-shrink: 0;
  font-size: 0.6em;
  width: 200px;
}

/*
.img-fade-left-container:before {
  background-color: rgba(0, 0, 0, 0.65);
  content: "";
  display: block;
  height: calc(100% - 40px);
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
  transition: visibility 0.3s linear, opacity 0.3s linear;
  visibility: visible;
  width: 100%;
  z-index: 10;
}

.img-fade-left-container:after {
  color: rgba(255, 255, 255, 0.75);
  content: "Drag to sort\ASlide to fade";
  display: block;
  font-size: 1rem;
  left: 50%;
  opacity: 1;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: visibility 0.3s linear, opacity 0.3s linear;
  visibility: visible;
  white-space: pre-wrap;
  z-index: 10;
}
*/
.img-fade-left-container:hover::after,
.img-fade-left-container:hover::before {
  opacity: 0;
  visibility: hidden;
}

.img-fade-right-container {
  flex-grow: 1;
  position: relative;
}

.img-fade-img-container {
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

img.img-fade-img,
img.img-fade-img-spacer {
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  height: auto;
  opacity: 1;
  position: relative;
  transition: clip-path 0.75s ease-in-out, -webkit-clip-path 0.75s ease-in-out;
  width: 100%;
  z-index: 1;
}

img.img-fade-img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
}

img.img-fade-img-active {
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  animation-name: img-fade-active;
  z-index: 10;
}

@keyframes img-fade-active {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.7;
  }
}

.img-fade-fader-container {
  display: block;
  height: 40px;
  position: relative;
  width: 100%;
}

.img-fade-fader {
  bottom: 0;
  cursor: pointer;
  display: block;
  height: 40px;
  position: absolute;
  right: -10px;
  width: 20px;
}

.img-fade-fader::before {
  border-bottom: 10px solid var(--main-color, black);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  content: "";
  display: block;
  height: 0;
  position: relative;
  transition: border-color 0.25s;
  width: 0;
}

.img-fade-fader::after {
  background-color: var(--main-color, black);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  content: "";
  display: block;
  height: 30px;
  transition: background-color 0.25s;
  width: 20px;
}

.img-fade-fader:hover::after {
  background-color: var(--main-link-color-hover, #888888);
}

.img-fade-fader:focus::after {
  background-color: var(--iso-blue, #888888);
}

.img-fade-fader:hover::before {
  border-bottom-color: var(--main-link-color-hover, #888888);
}

.img-fade-fader:focus::before {
  border-bottom-color: var(--iso-blue, #888888);
}

/* Panorama Plugin */
.article-pano-container {
  border: solid 1px var(--main-color, black);
  border-radius: var(--main-border-radius, 0);
  line-height: 0;
  padding: var(--main-gap, 0);
  position: relative;
  text-align: center;
  width: 100%;
}

.article-pano-img-container {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.article-pano-container img {
  height: auto;
  max-height: 200px;
  max-width: 100%;
  position: relative;
  width: auto;
}

.article-pano-lens {
  box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.3);
  /*full height, width in javascript 3:2, must be same aspect ration than result div*/
  height: 80%;
  position: absolute;
  z-index: 3;
}

.article-pano-result {
  display: block;
  margin: 1em auto 0 auto;
  max-width: 800px;
  position: relative;
  /*set the size of the result div:*/
  width: 100%;
}

.article-pano-result::after {
  content: "";
  display: block;
  padding-bottom: calc(100% / 3 * 2);
  position: relative;
}

/* Gallery Custom */
.gallery-custom-container {
  grid-gap: 0.625em;
  /* change from inline-grid to grid*/
  display: grid;
  line-height: 0;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.gallery-custom-positioned-left {
  margin-left: 0;
  margin-right: auto;
}

.gallery-custom-positioned-right {
  margin-left: auto;
  margin-right: 0;
}

.gallery-custom-no-gap {
  grid-gap: 0;
}

.gallery-custom-gap-small {
  grid-gap: 0.625em;
}

.gallery-custom-gap-medium {
  grid-gap: 1.5em;
}

.gallery-custom-gap-large {
  grid-gap: 3em;
}

.gallery-custom-no-margin {
  margin-bottom: 0;
}

.gallery-custom-margin-small {
  margin-bottom: 0.625em;
}

.gallery-custom-margin-medium {
  margin-bottom: 1.5em;
}

.gallery-custom-margin-large {
  margin-bottom: 3em;
}

.gallery-custom-container .row-spacer {
  display: block;
  position: relative;
  width: 100%;
}

.gallery-img-wrapper,
.gallery-custom-numbering,
.gallery-custom-html-wrapper {
  display: inline-block;
  line-height: 0;
  overflow: hidden;
  position: relative;
}

.gallery-custom-numbering {
  align-items: center;
  display: flex;
  justify-content: center;
  line-height: 160%;
  position: relative;
}

.gallery-custom-container .gallery-custom-html-wrapper>div {
  bottom: 0;
  left: 0;
  line-height: var(--main-line-height);
  overflow: scroll;
  position: absolute;
  right: 0;
  top: 0;
  width: auto !important;
}

.gallery-custom-max-height .gallery-img-wrapper {
  left: 50%;
  max-height: 70vh;
  max-height: calc(var(--vh) * 70);
  transform: translateX(-50%);
}

.gallery-custom-layouting {
  background-color: steelblue;
}

.gallery-custom-layouting-highlighted {
  background-color: salmon;
  z-index: 100;
}

.gallery-img-wrapper .hover-fx-wrapper {
  left: 0;
  position: absolute;
  top: 0;
}

.gallery-img-wrapper img {
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.gallery-img-wrapper img.img-full-width {
  height: auto;
  width: 100%;
}

.gallery-img-wrapper img.img-full-height {
  height: 100%;
  width: auto;
}

.diagram {
  display: grid;
  gap: 4px 8px;
  grid-template-columns: minmax(50px, max-content) 1fr;
  position: relative;
  width: 100%;
  z-index: 0;
  max-width: 100%;
}

.diagram dd {
  overflow-x: scroll;
  position: relative;
  text-align: left;
  white-space: nowrap;
  max-width: 200px;
}

.diagram dd,
.diagram dt {
  align-items: center;
  display: flex;
  position: relative;
}

.diagram dt::after {
  border: solid 1px var(--main-color, black);
  content: "";
  display: block;
  height: 1rem;
  position: absolute;
  width: 100%;
}

.article-story .diagram dt::after {
  border: solid 1px var(--story-color, black)
}

.diagram dt .bar {
  background-color: var(--main-color, black);
  height: 1rem;
}

.diagram dt .bar.first {
  background-color: rgb(255, 247, 33);
}

.diagram dt .bar.second {
  background-color: rgb(245, 201, 17);
}

.diagram dt .bar.third {
  background-color: rgb(240, 161, 14);
}

.diagram dt .bar.fourth {
  background-color: rgb(211, 22, 17);
}

.diagram dt .bar.fifth {
  background-color: rgb(138, 22, 17);
}

.diagram dt .bar.default {
  background-color: var(--iso-blue);
}

.diagram dt .bar.black {
  background-color: black;
}

.diagram dt .bar.white {
  background-color: white;
}

.diagram dt .bar.grey {
  background-color: lightgrey;
}

.diagram dt .bar.textcolor {
  background-color: var(--main-color, black);
}

.diagram .scale {
  display: flex;
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
}

.diagram .scale span {
  flex-basis: 33.33%;
}

.diagram .scale span.scale-min,
.diagram .scale span.scale-max {
  display: block;
  flex-basis: 33.33%;
  margin-right: auto;
  text-align: left;
}

.diagram .scale span.scale-max {
  margin-left: auto;
  text-align: right;
}

/****************************************************************/
/********* Styles adjusted for Articles (and in Editor) *********/
/****************************************************************/
.article,
.editorjs-custom-styles {
  .alert-no-symbol {
    border: none;
    padding: var(--main-gap, 0);
  }
}

/************************************/
/********* Styles in Editor *********/
/************************************/

.editorjs-custom-styles {

  /********* Blocks *********/
  /* Standard Paragraph */
  .cdx-block{
    /* TODO Problem bei zb. simple styles und alerts!!! */
    /*padding:0;*/
  }

  .ce-paragraph {
    line-height: unset;
    margin: 0;
    border-radius: var(--main-border-radius, 0);
  }

  /* Headlines */
  .ce-header {
    font-family: var(--font-family-headline), "Arial", sans-serif;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 130%;
    margin-bottom: 0.4em;
    padding: 0;
  }

  /* Paper */
  .lined-paper {
    min-height: 180px;
    min-width: 220px;
  }

  .ripped-paper {
    min-height: 60px;
    min-width: 100px;
  }

  .video-preview {
    margin-top: 0 !important;
  }

  /* List */
  .cdx-list-container {
    border-radius: var(--main-border-radius, 0);
  }

  /********* BlockTunes *********/
  .block-tune-cell {
    border-radius: var(--main-border-radius, 0);
  }

  *:has(> .ce-paragraph-center) {
    display: flex;
    justify-content: center;
  }

  *:has(> .ce-paragraph-right) {
    display: flex;
    justify-content: end;
  }

  .ce-paragraph-center .ce-block__content .iso-combo-block,
  .ce-paragraph-right .ce-block__content .iso-combo-block,
  .horizontal-center .ce-block__content .iso-combo-block,
  .horizontal-right .ce-block__content .iso-combo-block {
    display: flex;
    flex-direction: column;
  }

  .ce-paragraph-center .ce-block__content .iso-combo-block>*,
  .horizontal-center .ce-block__content .iso-combo-block>* {
    align-self: center;
  }

  .ce-paragraph-right .ce-block__content .iso-combo-block>*,
  .horizontal-right .ce-block__content .iso-combo-block>* {
    align-self: end;
  }

  /* Easy-Columns Fake */
  .easy-column {
    --easy-column-width: 100%;
    --easy-column-columns: 1;
    --easy-column-gap: 0;
    clear: none;
    display: flex;
    float: left;
    position: relative;
    width: var(--easy-column-width);
    overflow: hidden;
  }

  .easy-column.easy-column-last+.ce-block {
    clear: both;
  }

  .easy-column .block-tune {
    display: flex;
    max-width: 100%;
    position: relative;
  }

  .easy-column .block-tune.block-tune-grid,
  .easy-column .block-tune.block-tune-grid .ce-block__content {
    width: 100%;
  }

  .easy-column .block-tune.block-tune-grid .gallery-img-wrapper {
    line-height: 0;
    overflow: hidden;
    position: relative;
  }

  .easy-column .block-tune.block-tune-grid .gallery-img-wrapper img.positionable {
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    position: absolute;
    width: 100%;
  }

  .easy-column .block-tune.block-tune-grid .gallery-img-wrapper img.positionable.width-full {
    height: auto;
    width: 100%;
  }

  .easy-column .block-tune.block-tune-grid .gallery-img-wrapper img.positionable.height-full {
    height: 100%;
    width: auto;
  }

  .two-columns {
    --easy-column-width: calc(100% / 2);
    --easy-column-gaps: 1;
    --easy-column-columns: 2;
  }

  .two-columns.weighted-20[data-column='1'] {
    --easy-column-width: 20%;
  }

  .two-columns.weighted-20[data-column='2'] {
    --easy-column-width: 80%;
  }

  .two-columns.weighted-25[data-column='1'] {
    --easy-column-width: 25%;
  }

  .two-columns.weighted-25[data-column='2'] {
    --easy-column-width: 75%;
  }

  .two-columns.weighted-30[data-column='1'] {
    --easy-column-width: 30%;
  }

  .two-columns.weighted-30[data-column='2'] {
    --easy-column-width: 70%;
  }

  .two-columns.weighted-35[data-column='1'] {
    --easy-column-width: 35%;
  }

  .two-columns.weighted-35[data-column='2'] {
    --easy-column-width: 65%;
  }

  .two-columns.weighted-40[data-column='1'] {
    --easy-column-width: 40%;
  }

  .two-columns.weighted-40[data-column='2'] {
    --easy-column-width: 60%;
  }

  .two-columns.weighted-45[data-column='1'] {
    --easy-column-width: 45%;
  }

  .two-columns.weighted-45[data-column='2'] {
    --easy-column-width: 55%;
  }

  .two-columns.weighted-50[data-column='1'] {
    --easy-column-width: 50%;
  }

  .two-columns.weighted-50[data-column='2'] {
    --easy-column-width: 50%;
  }

  .two-columns.weighted-55[data-column='1'] {
    --easy-column-width: 55%;
  }

  .two-columns.weighted-55[data-column='2'] {
    --easy-column-width: 45%;
  }

  .two-columns.weighted-60[data-column='1'] {
    --easy-column-width: 60%;
  }

  .two-columns.weighted-60[data-column='2'] {
    --easy-column-width: 40%;
  }

  .two-columns.weighted-65[data-column='1'] {
    --easy-column-width: 65%;
  }

  .two-columns.weighted-65[data-column='2'] {
    --easy-column-width: 35%;
  }

  .two-columns.weighted-70[data-column='1'] {
    --easy-column-width: 70%;
  }

  .two-columns.weighted-70[data-column='2'] {
    --easy-column-width: 30%;
  }

  .two-columns.weighted-75[data-column='1'] {
    --easy-column-width: 75%;
  }

  .two-columns.weighted-75[data-column='2'] {
    --easy-column-width: 25%;
  }

  .two-columns.weighted-80[data-column='1'] {
    --easy-column-width: 80%;
  }

  .two-columns.weighted-80[data-column='2'] {
    --easy-column-width: 20%;
  }

  .two-columns.article-story {
    background-color: var(--story-background-color, #E8E8E8);
    color: var(--story-color, black);
    border-radius: var(--main-border-radius, 0);
    padding: var(--main-gap, 0);
  }

  .two-columns.article-story:not(.with-gap)[data-column='1'] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 0;
  }

  .two-columns.article-story:not(.with-gap)[data-column='2'] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .three-columns {
    --easy-column-width: calc(100% / 3);
    --easy-column-gaps: 2;
    --easy-column-columns: 3;
  }

  .four-columns {
    --easy-column-width: calc(100% / 4);
    --easy-column-gaps: 3;
    --easy-column-columns: 4;
  }

  .five-columns {
    --easy-column-width: calc(100% / 5);
    --easy-column-gaps: 4;
    --easy-column-columns: 5;
  }

  .six-columns {
    --easy-column-width: calc(100% / 6);
    --easy-column-gaps: 5;
    --easy-column-columns: 6;
  }

  .easy-column.with-gap {
    width: calc(var(--easy-column-width) - (var(--main-gap, 0) * var(--easy-column-gaps) / var(--easy-column-columns)));
  }

  .easy-column.with-gap:not(.easy-column-last) {
    margin-right: var(--main-gap, 0);
  }

  .auto-fill-seamless {
    width: auto !important;
  }

  .ce-block.auto-fill-seamless.two-columns {
    max-width: calc(100% / 2) !important;
  }

  .ce-block.auto-fill-seamless.three-columns {
    max-width: calc(100% / 3) !important;
  }

  .ce-block.auto-fill-seamless.four-columns {
    max-width: calc(100% / 4) !important;
  }

  .ce-block.auto-fill-seamless.five-columns {
    max-width: calc(100% / 5) !important;
  }

  .ce-block.auto-fill-seamless.six-columns {
    max-width: calc(100% / 6) !important;
  }

  .easy-column.vertical-center {
    align-items: center;
  }

  .easy-column.vertical-start {
    align-items: flex-start;
  }

  .easy-column.vertical-end {
    align-items: flex-end;
  }

  .easy-column.vertical-stretch {
    align-items: stretch;
  }

  .horizontal-center {
    justify-content: center;
  }

  .horizontal-end {
    justify-content: end;
  }

  .horizontal-start {
    justify-content: start;
  }

  .horizontal-stretch .block-tune {
    flex-grow: 1;
  }

  .easy-column .block-tune {
    display: flex;
    /*
    flex: 1 1 auto;
    */
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .easy-column .ce-block__content,
  .easy-column .video-wrapper,
  .easy-column .video-preview {
    width: 100%;
  }

  /* Panorama Plugin */
  .editorjs-custom-styles .article-pano-container h6[contenteditable="true"] {
    cursor: text;
    line-height: 1.2;
    margin-bottom: 1rem;
    min-height: 1.2em;
    outline: none;
  }

  .editorjs-custom-styles .article-pano-container h6[contenteditable="true"]:empty::before {
    color: rgba(0, 0, 0, 0.45);
    content: attr(data-placeholder);
  }

  /*Linechart Plugin*/
  .editor-linechart-block {
    display: grid;
    gap: 0.75rem;
  }

  .editor-linechart-input {
    font-family: monospace;
    width: 100%;
  }

  .editor-linechart-message {
    font-size: 0.85rem;
    width: 100%;
  }

  .editor-linechart-tune-field {
    display: grid;
    gap: 0.25rem;
    min-width: 180px;
    padding: 0.5rem 0.75rem;
  }

  .editor-linechart-tune-label {
    font-size: 0.75rem;
    opacity: 0.6;
  }

  .editor-linechart-tune-input {
    padding: 0.3rem 0.5rem !important;
  }

  .editor-linechart-preview {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--main-border-radius, 0);
    min-height: 4rem;
    overflow-x: auto;
    padding: 1rem;
  }

  .editor-linechart-preview.is-loading {
    opacity: 0.65;
  }

  /*Simple Grid Plugin*/
  .editor-simplegrid-block {
    display: grid;
    gap: 0.75rem;
  }

  .editor-simplegrid-block .simple-grid-scrolling-wrapper {
    padding: 0;
  }

  /* Each grid-item in the editor uses real simpleGrid classes.
   editor-simplegrid-item is added as an extra class to grid-item. */
  .simple-grid .grid-item.editor-simplegrid-item {
    cursor: default;
    position: relative;
  }

  /* Edit overlay pinned to the bottom of each card */
  .editor-simplegrid-item-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.05) 100%);
    bottom: 0;
    display: grid;
    gap: 0.25rem;
    left: 0;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    z-index: 2;
  }

  .editor-simplegrid-title,
  .editor-simplegrid-text {
    border: 1px dashed rgba(255, 255, 255, 0.35);
    color: white;
    margin: 0;
    min-height: 1.5rem;
    padding: 0.25rem 0.4rem;
  }

  .editor-simplegrid-title {
    font-size: 0.9rem;
    font-weight: 600;
  }

  .editor-simplegrid-text {
    font-size: 0.8rem;
    min-height: 2rem;
  }

  .editor-simplegrid-title:empty::before,
  .editor-simplegrid-text:empty::before {
    color: rgba(255, 255, 255, 0.45);
    content: attr(data-placeholder);
  }

  /* Link fields revealed at the top of the card on focus */
  .editor-simplegrid-link-fields {
    background: rgba(0, 0, 0, 0.65);
    display: none;
    gap: 0.4rem;
    grid-template-columns: 1fr auto;
    left: 0;
    padding: 0.4rem;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
  }

  .editor-simplegrid-item:focus-within .editor-simplegrid-link-fields {
    display: grid;
  }

  .editor-simplegrid-field {
    width: 100%;
  }

  .editor-simplegrid-target {
    min-width: 5.5rem;
  }

  /* × remove button, floating top-right corner */
  .editor-simplegrid-remove-item {
    background: rgba(0, 0, 0, 0.55);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    height: 1.75rem;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
    width: 1.75rem;
    z-index: 5;
  }

  .editor-simplegrid-remove-item:hover {
    background: rgba(180, 0, 0, 0.75);
  }

  .editor-simplegrid-add-item {
    justify-self: start;
  }

  .editor-simplegrid-tune-field {
    display: grid;
    gap: 0.25rem;
    min-width: 180px;
    padding: 0.5rem 0.75rem;
  }

  .editor-simplegrid-tune-label {
    font-size: 0.75rem;
    opacity: 0.6;
  }

  .editor-simplegrid-tune-input {
    padding: 0.3rem 0.5rem !important;
  }

  .editor-chess-block {
    flex-direction: column;
    display: flex;
  }

  /********* Inline Tools *********/
  /* Reset default tags */
  .ce-block i {
    font-style: normal;
  }

  /* Formattings for empty elements */
  .cdx-text-formatting-empty:not(:has(> .small-caps)) {
    background-color: rgba(70, 130, 180, 0.5);
  }

  .hover-fx-link {
    display: none !important;
  }
}