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

.editor-content em {
  font-style: italic;
}
.main-content {
  font-size: min(16px, 4.25vw);
}
.editor-content code,
.editor-content pre {
  display: block;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  background: #1e1e1e;
  color: var(--c-white);
  border-radius: var(--radius-md);
  padding: 1rem 2.4rem;
  white-space: pre;
  font-size: 1.4rem;
  font-family: monospace;
  box-shadow: 0 19px 24px 0 #0000001a;
  line-height: 1.8;
}

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

.editor-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.7rem, 0));
  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%;
  border-radius: var(--radius-lg);
  background: var(--bg-img);
}

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

.gallery_item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.gallery_item + p {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 1.5rem;
  font-variation-settings: var(--fw-500);
}

.gallery_item:after {
  opacity: 0;
  content: "\e92c";
  font-family: var(--ff-icon);
  transition: 0.3s;
  z-index: 1;
  position: absolute;
  color: var(--c-white);
  font-size: 3.5rem;
  line-height: 1;
  text-decoration: initial;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-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;
}

img.alignnone {
  margin: 0 0.5rem;
}

.editor-content :is(h1, h2, h3, h4, h5, h6) {
  font-variation-settings: var(--fw-500);
  line-height: 1.6;
}

.editor-content h1 {
  font-size: 2.6rem;
}

.editor-content h2 {
  font-size: 2.4rem;
}

.editor-content h3 {
  font-size: 2.2rem;
}

.editor-content h4 {
  font-size: 2rem;
}

.editor-content h5 {
  font-size: 1.8rem;
}

.editor-content h6 {
  font-size: 1.6rem;
}
@media (width>=800px) {
  .editor-content h1 {
    font-size: 2.8rem;
  }

  .editor-content h2 {
    font-size: 2.6rem;
  }

  .editor-content h3 {
    font-size: 2.4rem;
  }

  .editor-content h4 {
    font-size: 2.2rem;
  }

  .editor-content h5 {
    font-size: 2rem;
  }

  .editor-content h6 {
    font-size: 1.8rem;
  }
}
.editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl) li {
  margin-bottom: 1rem;
  font-variation-settings:
    "wght" 500,
    "FANU" 1;
  color: var(--c-primary-light-6);
  text-indent: -4rem;
  padding-right: 4rem;
}
.editor-content ul li::before {
  content: "";
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-block;
  margin-left: 1.2rem;
  box-shadow:
    inset 0 0 0 0.15rem var(--c-secondary),
    inset 0 0 0 0.5rem var(--c-white),
    inset 0 0 0 0.9rem color-mix(in srgb, var(--c-secondary) 48%, white 63%);
  vertical-align: middle;
  pointer-events: none;
  background: var(--c-secondary);
  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(--c-secondary);
  font-variation-settings: var(--fw-500);
  display: inline;
  vertical-align: middle;
}

.editor-content a:not(.btn, .acf-icon):hover {
  color: var(--c-primary-200);
}

.editor-content strong {
  font-variation-settings: var(--fw-500);
}

.editor-content blockquote {
  padding: 4rem min(4.5rem, 4vw) 2.5rem;
  background: var(--c-primary-light-1);
  position: relative;
  display: block;
  margin-top: 4rem !important;
  isolation: isolate;
  border-radius: var(--radius-lg);
}

.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="%230B7042" 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: item;
  position: relative;
  margin-bottom: 1rem;
  text-indent: -2rem;
  padding-right: 2rem;
}

.editor-content ol li:before {
  content: counter(item) ".";
  color: var(--c-secondary);
  padding-left: 1rem;
  font-size: 2rem;
  line-height: 1;
  font-variation-settings: var(--fw-500);
}

hr {
  border: 1px solid var(--c-neutral-100);
}

.editor-wrapper {
  padding: 0 var(--space-md-x);
}

.editor-content > * + * {
  margin-top: 1rem;
  clear: both;
}

.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;
}

.editor-content table:not(.acf-table) th,
.editor-content table:not(.acf-table) td {
  white-space: nowrap;
  word-break: break-word;
  border-bottom: none;
  padding: 0.5rem 2rem;
  font-size: inherit;
  vertical-align: middle;
  border-bottom: 1px solid var(--c-primary-light-2);
}

.editor-content table:not(.acf-table) tr:nth-child(odd) td {
  background-color: #fff;
}

.editor-content table:not(.acf-table) tr:nth-child(even) td {
  background-color: #fff;
}

.editor-content table:not(.acf-table) tr:first-child th {
  background: var(--c-primary);
  font-variation-settings: var(--fw-500);
  font-size: 1.4rem;
  color: var(--c-white);
}

/* .editor-content table:not(.acf-table) tr:first-child th:first-child {
  border-radius: 0 8px 8px 0
}

.editor-content table:not(.acf-table) tr:first-child th:last-child {
  border-radius: 8px 0 0 8px
} */

.editor-content table:not(.acf-table) :is(tbody, thead) {
  display: table;
  width: 100%;
}

.editor-content table:not(.acf-table) {
  border-collapse: inherit !important;
  width: 100%;
  border-bottom: 0;
  display: table;
  background-color: var(--c-primary-light-2);
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 0.4rem solid var(--c-primary-light-2);
  font-size: 1.6rem;
}

@media (max-width: 1023.9px) {
  .editor-content table:not(.acf-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* .editor-content table:not(.acf-table) tr {
  border-bottom: 1px solid var(--c-primary)
} */
.has-text-align-right {
  text-align: right;
}

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

.editor-content table:not(.acf-table) th {
  font-variation-settings: var(--fw-500);
}

.editor-content table:not(.acf-table):not(.acf-table)::-webkit-scrollbar {
  height: 4px !important;
  width: 3px !important;
}

.editor-content table:not(.acf-table)::-webkit-scrollbar-track {
  background: #eae8e4 !important;
  height: 4px !important;
}

.editor-content table:not(.acf-table)::-webkit-scrollbar-thumb {
  background: #7b7b7b !important;
  height: 4px !important;
}

.editor-content table:not(.acf-table)::-webkit-scrollbar-thumb:hover {
  background: var(--c-primary) !important;
}

.editor-content table::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.editor-content table::-webkit-scrollbar-track {
  border-radius: 0 0 4px 4px;
  background-color: #ececec;
}

.editor-content table::-webkit-scrollbar-thumb {
  background: #aca9a9;
  border-radius: 0 0 4px 4px;
}

.editor-content table::-webkit-scrollbar-thumb:hover {
  background: var(--c-primary);
}

.editor-content table {
  scrollbar-color: var(--c-primary);
  scrollbar-width: thin;
  height: auto !important;
}

.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):active,
.desktop.editor-content a:not(.btn):hover {
  color: var(--c-primary);
}

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

.gallery_item:active::before,
.desktop .gallery_item:hover::before {
  opacity: 0.6;
}
