.mejs-container {
  direction: ltr;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.editor-content em {
  font-style: italic;
}
.editor-content.main-content {
  font-size: var(--text-base);
  color: var(--color-n-600);
  line-height: 1.8;
}

body.editor-content.mce-content-body {
  width: auto;
  min-height: 0;
  font-family: var(--font-onest);
}

body.editor-content.mce-content-body::before {
  content: none;
}

:where(.editor-content.mce-content-body) p {
  margin-block: 0;
}

.editor-content.mce-content-body p:is(:empty, [data-mce-websima-blank]) {
  margin: 0;
}

.takeaways {
  margin-block-end: calc(var(--spacing) * 8);
  padding: calc(var(--spacing) * 5);
  background-color: var(--color-n-050);
  border: 1px solid var(--color-n-200);
  border-radius: var(--radius-lg);
}

.editor-content code,
.editor-content pre {
  display: block;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  background: var(--color-n-900);
  color: var(--color-n-000);
  border-radius: var(--radius-md);
  padding: 1rem 2.4rem;
  white-space: pre;
  font-size: 1.4rem;
  font-family: monospace;
  box-shadow: var(--shadow-card);
  line-height: 1.8;
}

code {
  direction: ltr;
  width: 100%;
  text-align: left;
  display: block;
}

.editor-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  justify-content: center;
}

.desktop .editor-gallery {
  margin: 3rem 0;
  gap: 1.4rem;
  /* grid-template-columns: repeat(auto-fit, minmax(13%, 0)); */
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
}

.editor-content img:not(.img_gallery, .bg-cta-m, .cta-cards__image) {
  max-width: 100%;
}

.section--editor #websima-cta-content:only-child {
  margin-top: 0;
  margin-bottom: 0;
}

.gallery_item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery_item img {
  transition: 0.3s;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1/1;
  -webkit-filter: blur(0);
  filter: blur(0);
  border-radius: 12px;
}

.gallery_item + p {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 1.5rem;
  font-variation-settings: "wght" 500;
}

.gallery_item:after {
  opacity: 0;
  content: "\e9c1";
  font-family: "WebsimaIcon";
  transition: 0.3s;
  z-index: 1;
  position: absolute;
  color: var(--color-n-000);
  font-size: 3.5rem;
  line-height: 1;
  text-decoration: initial;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  inset: 0;
}

/* .gallery_item:before {
  opacity: 0;
  content: "";
  position: absolute;
  height: 100%;
  background: #00006369;
  backdrop-filter: blur(4px);
  opacity: 0;
  left: 0;
  right: 0;
  transition: .3s;
  z-index: 1;
} */

.gl--box {
  margin: 2rem 0 4rem !important;
}

.alignleft,
.alignright {
  float: none;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.aligncenter {
  text-align: center;
  display: block;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.blockquote {
  position: relative;
}

.editor-content li :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0;
  display: inline;
  margin-top: 3rem;
}

img.alignnone {
  margin: 0 0.5rem;
}

.editor-content :is(h1, h2, h3, h4, h5, h6) {
  font-variation-settings: "wght" 550;
  line-height: 1.6;
  color: var(--color-n-900);
  margin-top: 3rem;
}

.editor-content h1 {
  font-size: var(--text-2xl);
}

.editor-content h2 {
  font-size: var(--text-2xl);
}

.editor-content h3 {
  font-size: var(--text-xl);
}

.editor-content h4 {
  font-size: var(--text-xl);
}

.editor-content h5 {
  font-size: var(--text-lg);
}

.editor-content h6 {
  font-size: var(--text-base);
}
@media (width>=800px) {
  .editor-content h1 {
    font-size: var(--text-3xl);
  }

  .editor-content h2 {
    font-size: var(--text-2xl);
  }

  .editor-content h3 {
    font-size: var(--text-xl);
  }

  .editor-content h4 {
    font-size: var(--text-lg);
  }

  .editor-content h5 {
    font-size: var(--text-md);
  }

  .editor-content h6 {
    font-size: var(--text-sm);
  }
}
.editor-content ul li {
  margin-bottom: 1rem;
  font-variation-settings: "wght" 500;
  color: var(--color-n-700);
  text-indent: -3rem;
  padding-left: 3rem;
}
.editor-content ul li:last-child {
  margin-bottom: 0;
}
.editor-content ul li::before {
  content: "";
  line-height: 1;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  margin-right: 1.2rem;
  box-shadow:
    inset 0 0 0 0.3rem var(--color-purple-050),
    inset 0 0 0 0.65rem var(--color-purple-100);
  vertical-align: middle;
  pointer-events: none;
  background: var(--color-purple-500);
  border-radius: 50%;
}
/* .editor-content ul li::marker {
  display: none;
} */

.comment-single li::marker {
  content: none;
}

.editor-content .wp-caption-text {
  text-align: center;
}

.editor-content .wp-caption {
  width: auto !important;
}

/* .editor-content
  a:not(
    .btn,
    .acf-icon,
    .product-card__img,
    .title,
    .product-card__cart,
    .mejs-volume-slider,
    .category-card__link
  ) {
  color: var(--color-blue-500);
  font-variation-settings: "wght" 500;
  display: inline;
  vertical-align: middle;
}

.editor-content a:not(.btn, .acf-icon):hover {
  color: #cdb0ff;
} */

.editor-content b,
.editor-content strong {
  font-variation-settings: "wght" 600;
  color: var(--color-n-900);
}

.editor-content blockquote {
  padding: 4rem min(4.5rem, 4vw) 3rem;
  background: var(--color-n-050);
  position: relative;
  display: block;
  margin-top: 4rem !important;
  isolation: isolate;
  color: var(--color-n-900);
  border-radius: 12px;
}

.editor-content blockquote::before {
  content: "";
  position: absolute;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="53" height="52" fill="none" viewBox="0 0 53 52"><path fill="%235d00ff" stroke="%23fff" stroke-width="4" d="M35.213 40.914c-1.824 0-3.427-.686-4.694-1.999-1.265-1.31-1.902-2.937-1.902-4.762V16.696c0-1.977.373-3.878 1.121-5.686.69-1.668 1.62-3.15 2.792-4.426l.239-.253a14.327 14.327 0 0 1 4.54-3.154A13.589 13.589 0 0 1 42.874 2h1.531c.991 0 1.859.403 2.515 1.081l.002.001a3.553 3.553 0 0 1 1.016 2.505v3.175c0 .956-.36 1.824-1.016 2.505h-.001a3.447 3.447 0 0 1-2.516 1.082h-1.531c-1.138 0-2.067.391-2.895 1.249-.83.86-1.233 1.855-1.233 3.098v.793c0 .16.034.22.108.297v.001c.055.057.085.069.09.07a.267.267 0 0 0 .1.013h5.361c1.71 0 3.227.604 4.453 1.76l.242.24c1.264 1.31 1.9 2.936 1.901 4.76v9.523c0 1.825-.637 3.451-1.901 4.761v.001c-1.267 1.312-2.87 2-4.695 2h-9.191ZM8.596 50c-1.824 0-3.427-.687-4.694-1.999C2.637 46.691 2 45.063 2 43.239V25.782c0-1.853.328-3.64.985-5.346l.136-.34c.736-1.78 1.744-3.346 3.03-4.679a14.332 14.332 0 0 1 4.541-3.154v-.001a13.589 13.589 0 0 1 5.563-1.176h1.532c.99 0 1.86.401 2.517 1.082a3.552 3.552 0 0 1 1.015 2.505v3.175a3.55 3.55 0 0 1-1.015 2.505 3.447 3.447 0 0 1-2.517 1.082h-1.532c-1.138 0-2.066.391-2.894 1.249-.83.86-1.234 1.855-1.234 3.098v.793c0 .159.034.219.11.298v.001a.28.28 0 0 0 .087.068c.004.002.03.014.102.014h5.361c1.71 0 3.227.604 4.453 1.76l.241.24c1.265 1.31 1.902 2.936 1.902 4.76v9.523c0 1.825-.638 3.451-1.902 4.761l-.24.24C21.013 49.395 19.496 50 17.786 50h-9.19Z"/></svg>');
  display: flex;
  background-size: contain;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  width: 5.5rem;
  height: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  top: -2.6rem;
  font-size: 5.4rem;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.editor-content ol {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.editor-content ol li {
  counter-increment: post-item;
  color: var(--color-n-900);
  text-indent: -3rem;
  padding-left: 3rem;
  margin-bottom: 1rem;
}

.editor-content ol li:before {
  content: counter(post-item, decimal-leading-zero);
  color: var(--color-purple-500);
  padding-right: 1rem;
  font-size: var(--text-lg);
  line-height: 1;
  font-variation-settings: "wght" 600;
}

hr {
  border: 1px solid var(--color-n-100);
}

.editor-wrapper {
  padding: 0 var(--space-md-x);
}
.takeaways > * + *,
.editor-content > * + * {
  margin-top: 2rem;
  clear: both;
}

.takeaways > p[data-editor-blank],
.editor-content > p[data-editor-blank] {
  margin-top: 0;
}

.editor-content .wp-video {
  display: block;
  border-radius: 12px;
  margin-inline: auto;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.editor-content .wp-video video {
  width: min(85rem, 100%);
  margin-right: auto;
  margin-left: auto;
  border-radius: 12px;
}

.has-text-align-right {
  text-align: right;
}

.has-text-align-center {
  text-align: center;
}

.grid-cols.cols--gallery .swiper-wrapper {
  grid-auto-columns: min(16rem, 100%);
}

.desktop .grid-cols.cols--gallery .swiper-wrapper {
  grid-auto-columns: min(16rem, 100%);
}

/* .desktop .gallery_item:hover img {
  -webkit-filter: blur(3px);
  filter: blur(3px)
} */

.desktop .alignleft {
  float: left;
  margin-right: 3rem;
}

.desktop .alignright {
  float: right;
  margin-left: 3rem;
}

.editor-content a:not(.btn, .mark, .mark a, :has(.mark)):active,
.desktop.editor-content a:not(.btn, .mark, .mark a, :has(.mark)):hover {
  color: var(--color-n-900);
}

.gallery_item:active:after,
.desktop .gallery_item:hover:after {
  opacity: 1;
}

.gallery_item:active::before,
.desktop .gallery_item:hover::before {
  opacity: 0.6;
}
.text-hover {
  display: none;
}
.editor-content .mark {
  position: relative;

  white-space: nowrap;
  display: inline-block;
  padding-right: 1rem;
  padding-left: 1.5rem;
}
.editor-content .mark::after {
  content: "";
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  background-color: var(--bg-color);
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.editor-content {
  position: relative;
  z-index: 2;
}
.editor-content .mark.mask1::after {
  mask-image: url(../../assets/images/mark-text2.svg);
}
.editor-content .mark.mask2::after {
  mask-image: url(../../assets/images/mark-text3.svg);
}
.editor-content .mark.mask3::after {
  mask-image: url(../../assets/images/mark-text.svg);
}
.editor-content [class^="icon-"],
.editor-content [class*="icon-"] {
  vertical-align: middle;
  font-size: var(--text-xl);
  margin-right: 0.6rem;
  display: inline-block;
  transition: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__desc {
  font-size: var(--text-base);
  margin: 0 auto;
  max-width: 60rem;
  padding-top: 0.5rem;
  display: block;
  color: var(--color-n-600);
}

/* Shared article content typography and blocks. */

.editor-content h2 {
  line-height: 1.4;
  scroll-margin-top: calc(var(--header-h, 8rem) + 2rem);
}
.editor-content > :first-child {
  margin-top: 0;
}
.editor-content img {
  max-width: 100%;
  background: var(--color-n-200);
  height: auto;
  border-radius: 12px;
}
.editor-content .wp-block-columns {
  gap: 2rem;
}
.editor-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: min(1.6rem, 3.2vw);
}

.editor-content td,
.editor-content th {
  border: 1px solid var(--color-n-200);
  padding: 0.8rem;
}
.editor-content tr {
  transition: 0.3s;
}
.editor-content tr:nth-child(even) {
  background-color: var(--color-n-050);
}

.editor-content tr:hover {
  background-color: var(--color-n-075);
}

.editor-content th {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: left;
  background-color: var(--color-purple-050);
  color: var(--color-n-900);
}
.editor-content th:first-child {
  position: sticky;
  inset-inline-start: 0;
}
.editor-content .table-responsive {
  overflow: auto;
  scrollbar-color: var(--color-n-400) var(--color-n-200);
  scrollbar-width: thin;
  background: var(--color-n-000);
  border: 1px solid var(--color-n-200);
  border-radius: var(--radius-lg);
}
.editor-content .table-responsive > table {
  border: hidden;
}
.editor-content a:not(.mark, .mark a, :has(.mark)) {
  text-underline-offset: 4px;
  color: var(--color-n-900);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--color-n-900);
  text-decoration-color: var(--color-n-900);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.editor-content a:not(.mark, .mark a, :has(.mark)):hover {
  opacity: 1;
}

@media (max-width: 799px) {
  .editor-content .wp-block-columns {
    flex-direction: column;
  }
}

/* Editorial blocks use the shared theme scale. */

.editor-content .wp-block-image,
.editor-content .wp-block-gallery {
  margin-block: calc(var(--spacing) * 6);
}
.editor-content .wp-block-gallery {
  gap: calc(var(--spacing) * 3);
}
.editor-content ol {
  counter-reset: post-item;
}
