.editor-content {
  font-size: 1rem;
  line-height: clamp(1.8rem, 7vw, 2rem);
  color: var(--gray);
  font-family: var(--main_font);
}
.wp-playlist-light .wp-playlist-playing {
  direction: ltr;
}
/* .editor-border {
  border: 1px solid #e9ecf0;
  padding: 1.5rem;
  border-radius: 0.75rem;
} */

.editor-content-border {
  border: 1px solid var(--color3);
  border-radius: clamp(2rem, 3vw, 3rem);
  padding: clamp(2rem, 3vw, 3rem) clamp(1rem, 3vw, 3rem);
}

.editor-content-border .editor-content.main-content {
}

.white-content {
  color: #fff;
}

.white-content.editor-content p,
.white-content.editor-content,
.white-content * {
  color: #fff;
}
.wp-playlist,
.mejs-container {
  direction: ltr;
  border-radius: 12px;
  /* overflow: hidden; */
}
.wp-video-shortcode video,
video.wp-video-shortcode {
  width: 100% !important;
  border: unset !important;
}
.wp-video .mejs-container {
  width: 100% !important;
  border-radius: 12px;
  overflow: hidden;
}
.mejs-audio .mejs-controls {
  border-radius: 12px;
}
.mejs-play > button {
  overflow: visible !important;
  /* transform: scale(1.5); */
}
/* .mejs-play > button::before {
  content: "";
  position: absolute;
  inset: 0;
  aspect-ratio: 1;
  background-color: var(--color1);
  border-radius: 50%;
  z-index: -1;
  transform: scale(1.5);
} */
/* .mejs-time {
  color: var(--text);
} */
.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
  background: var(--bg_light) !important;
}
/* .mejs-audio .wp-playlist,
.mejs-audio .mejs-container {
  border-radius: 12px;
} */
.editor-content.white-content table:not(.acf-table) {
  color: #212121;
}

.editor-content em {
  font-style: italic;
}

.editor-content code,
.editor-content pre {
  display: block;
  font-size: 14px;
  line-height: 1.8;
}

.editor-content ul {
  margin-right: 1.2rem;
}

.af-form.acf-form code {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

.sw-gallery .swiper-slide {
  height: auto;
}

.sw:has(.sw--gallery) {
  position: relative;
  /* margin: clamp(1.5rem, 2vw, 3.5rem) 2rem; */
}

.sw--gallery .swiper-slide {
  width: min(42vw, 180px);
  padding: 0 7.5px;
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}

.gallery_item {
  position: relative;
  display: block;
  overflow: hidden;
}

.gallery_item + p {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 15px;
}

.gallery_item a {
  display: block;
  position: relative;
  text-align: center;
  overflow: hidden;
  margin: auto;
  transition: 0.3s;
}

.gallery_item a img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.3s;
  border-radius: 1.5rem;
}

.gallery_item a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ce1432c2;
  opacity: 0;
  transition: 0.3s;
  z-index: 2;
  border-radius: 1.5rem;
}

.gallery_item a:after {
  content: "\e905";
  font-family: icomoon;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  color: var(--white);
  opacity: 0;
  transition: 0.3s;
  border-radius: 0.75rem;
  z-index: 3;
  background-color: #ffffff38;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw:has(.sw--gallery) .sw-navigation.sw-between .swiper-nav-next {
  right: -1.25rem;
}

.sw:has(.sw--gallery) .sw-navigation.sw-between .swiper-nav-prev {
  left: -1.25rem;
}

.gallery_item a:hover:before {
  opacity: 1;
}

.gallery_item a:hover:after {
  opacity: 1;
}

.gallery_item:hover a::before {
  opacity: 1;
}

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

.editor-content .sw-navigation .icon-direction-left,
.editor-content .sw-navigation .icon-direction-right {
  color: var(--color3);
  background-color: #fff;
  border: 1px solid var(--color3);
}

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

.alignleft {
  float: left;
  margin: 0 3rem 3rem 0;
  width: 40%;
}

.alignright {
  float: right;
  margin-left: 3rem;
  width: 40%;
}

.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;
  line-height: 1.8;
}

img.alignnone {
  margin: 1.5rem auto;
}

.editor-content :is(h1, h2, h3, h4, h5, h6) {
  line-height: 1.8;
  font-variation-settings: "wght" 500;
  color: var(--text);
}

.white-content.editor-content :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

:root {
  --heading_h1_fontsize: 26px;
}

.editor-content h1 {
  font-size: calc(var(--heading_h1_fontsize));
}

.editor-content h2 {
  font-size: calc(var(--heading_h1_fontsize) - 1px);
}

.editor-content h3 {
  font-size: calc(var(--heading_h1_fontsize) - 2px);
}

.editor-content h4 {
  font-size: calc(var(--heading_h1_fontsize) - 3px);
}

.editor-content h5 {
  font-size: calc(var(--heading_h1_fontsize) - 4px);
}

.editor-content h6 {
  font-size: calc(var(--heading_h1_fontsize) - 5px);
}

.editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl) li {
  margin-bottom: 1rem;
  list-style-position: inside;
  list-style: disc;
}

.editor-content ul li::marker {
  color: var(--color1);
  line-height: 1;
  font-size: 16px;
}

.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,
    .button,
    .acf-button,
    .cta-btn-click,
    .product-item-title a,
    .product-item-english-title a
  ) {
  color: var(--color1);
  text-decoration: none;
  overflow-wrap: break-word;
  transition: 0.3s;
}

.editor-content a:not(.btn, .acf-button, .cta-btn-click):hover {
  color: var(--color2);
}

.editor-content blockquote {
  position: relative;
  padding: 75px 24px 30px;
  background-color: #eae8e975;
  border-radius: 24px;
  color: var(--text);
  margin: 2rem 0;
  /* text-align: center; */
}

.editor-content blockquote::before {
  content: "\e922";
  font-family: "icomoon";
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  font-size: 2.8rem;
  color: var(--color3);
  line-height: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .editor-content blockquote {
    padding: 50px 30px;
    padding-left: 125px;
    /* text-align: unset; */
  }

  .editor-content blockquote::before {
    left: 23px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5.6rem;
  }
}

/* .editor-content blockquote::before {
  content: "";
  background-image: url(../img/dot404.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 0.75rem;
  top: 0;
  left: 0;
  z-index: 0;
  right: 0;
  bottom: 0;
} */

/* .editor-content blockquote::after {
  content: "";
  background-image: url(../img/pattern404.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 0.75rem;
  left: 0;
  z-index: 0;
  right: 0;
  bottom: 0;
} */

.editor-content .sw-navigation.pagination {
  width: 100%;
  justify-content: center;
}

.editor-content .sw-navigation.pagination .swiper-pagination-bullet {
  width: 1.5rem;
  height: 8px;
  display: flex;
  background-color: var(--bg_light);
  cursor: pointer;
  transition: 0.3s;
}

.editor-content
  .sw-navigation.pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 4rem;
  background-color: var(--color1);
  opacity: 1;
}

.editor-content .sw-navigation.pagination .swiper-pagination {
  display: flex;
  gap: 0.25rem;
}

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

.editor-content ol li {
  counter-increment: item;
  position: relative;
  margin-bottom: 0.5rem;
  padding-inline-start: 1.5rem;
}

.editor-content ol li:before {
  content: counter(item);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}

hr {
  border: 1px solid #e6e6e6;
}

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

.editor-content.editor-space-sm > * + * {
  margin-top: 1rem;
}

.gallery_item img {
  transition: all 0.3s;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1;
}

.editor-content .wp-video {
  display: block;
  margin-inline: auto;
  width: 100% !important;
  overflow: hidden;
  margin: 2rem 0;
}

.editor-content table:not(.acf-table) th,
.editor-content table:not(.acf-table) td {
  border-bottom: none;
  padding: 0.5rem;
  font-size: inherit;
  line-height: 1.8;
  vertical-align: middle;
  font-size: 14px;
  min-width: 150px;
}

.editor-content table:not(.acf-table) tr:last-child,
.editor-content table:not(.acf-table) tr:first-child {
  border-bottom: none;
}

.editor-content
  table:not(.acf-table, .woocommerce-product-attributes)
  tr:first-child
  td,
.editor-content
  table:not(.acf-table, .woocommerce-product-attributes)
  tr:first-child
  th {
  padding: 0.6rem;
  background: var(--bg_light);
  color: #fff;
}

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

.editor-content table:not(.acf-table, .woocommerce-product-attributes) {
  border-collapse: collapse;
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: auto;
  border-bottom: 0;
  border: 1px solid var(--color3);
}

.editor-content table:not(.acf-table, .woocommerce-product-attributes) tr {
  border-bottom: 1px solid var(--color3);
}

.editor-content table:not(.acf-table) th {
  font-family: var(--bold_font);
}

.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: rgb(123, 123, 123) !important;
  height: 4px !important;
}

.editor-content table:not(.acf-table)::-webkit-scrollbar-thumb:hover {
  background: var(--color3) !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(--color3);
}

.editor-content table {
  scrollbar-color: var(--color3);
  scrollbar-width: thin;
  height: auto !important;
  border-radius: 0.75rem;
}

@media (max-width: 48em) {
  .alignleft,
  .alignright {
    float: none;
    margin-inline: auto;
    width: 100%;
    margin-bottom: 2rem;
  }

  .af-form.acf-form > .acf-fields {
    grid-template-columns: 1fr;
  }
}

/*
@media (min-width: 768px) {

    .section-blog {
        padding: 48px 0;
    }
}
    */
