.mejs-container {
  direction: ltr;
  border-radius: 12px;
  overflow: hidden;
}
.h_iframe-aparat_embed_frame{
  padding-top: 56.2% !important;
  position: relative !important;
}
iframe {
  width: 100%;
  height: 100%;
  border: 2.5px solid #000 !important;
  border-radius: 25px !important;
  bottom: 0 !important;
  left: 0 !important;
  margin: auto !important;
  outline: none !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 100%;
  height: 100%;
}
.editor-content em {
  font-style: italic;
}
.editor-content code,
.editor-content pre {
  display: block;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  background: #1e1e1e;
  color: #fff;
  border-radius: 20px;
  padding: 10px 24px;
  white-space: pre;
  font-size: 14px;
  font-family: monospace;
  box-shadow: 0 19px 24px 0px #0000001a;
  line-height: 1.8;
}

code {
  direction: ltr;
  width: 100%;
  text-align: left;
  display: block;
}
/* .editor-content *:not([class*="mejs"], button):first-child {
  margin-top: 0;
} */
/* .editor-content :is(h1, h2, h3, h4, h5, h6):first-child {
  padding-top: 0;
} */
/* .editor-content *:not([class*="mejs"], button):last-child {
  margin-bottom: 0;
} */

.editor-content img:not(.img_gallery, .bg-cta-m) {
  max-width: 100%;
  border-radius: 12px;
}
.section--editor #websima-cta-content:only-child {
  margin-top: 0;
  margin-bottom: 0;
}
.sw-gallery .swiper-slide {
  height: auto;
}
.gallery_item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
}
.sw--gallery:not(.swiper-initialized) .swiper-slide {
  width: 160px;
  flex: none;
  margin-left: 20px;
  flex: 0 0 160px;
}
.gallery_item + p {
  text-align: center;
  margin-top: 14px;
  font-size: 15px;
  font-variation-settings: var(--fw-400);
}
/* .pg-gallery {
  margin-top: 5.6rem;
} */
.gallery_item a {
  display: block;
  position: relative;
  text-align: center;
  margin: auto;
}

.gallery_item a:after {
  opacity: 0;
  content: "\e90b";
  font-family: "icomoon";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  z-index: 1;
  position: absolute;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  text-decoration: initial;
}

.gallery_item a:before {
  opacity: 0;
  content: "";
  position: absolute;
  height: 100%;
  opacity: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
  z-index: 1;
}
.sw--gallery {
  /* padding: 2rem 0; */
}

.gallery_item:hover a:after {
  opacity: 1;
}
.gallery_item:hover a::before {
  opacity: 0.6;
}
.gallery_item:hover img {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}
.gl--box {
  margin: 40px 0 40px !important;
}

/* .gallery_item:hover .caption {
  border: 1px solid var(--c-primary-light1);
  color: var(--c-primary-light1);
} */
.sw-gallery {
  /* margin-top: 3.2rem; */
  /* margin-bottom: 3.2rem; */
}
.alignleft {
  float: left;
  margin: 0 30px 30px 0;
}
.alignright {
  float: right;
  margin-left: 30px;
}
.aligncenter {
  text-align: center;
  display: block;
  margin-inline: auto;
  margin-bottom: 20px;
}
.blockquote {
  position: relative;
}
.editor-content li :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0;
  display: inline;
  line-height: 1.8;
}
.editor-content {
  text-align: justify;
  font-size: 16px;
  line-height: 2.5;
  --heading_h1: 24px;
}
img.alignnone {
  margin: auto;
}
.editor-content :is(h3, h4, h5, h6) {
  line-height: 2;
  font-variation-settings: var(--fw-500);
}
.editor-content :is(h1, h2) {
  line-height: 1.8;
  font-variation-settings: var(--fw-500);
}

/* .editor-content ul > li > :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  padding: 0;
} */
.editor-content h1 {
  font-size: calc(var(--heading_h1));
}
.editor-content h2 {
  font-size: calc(var(--heading_h1) - 2px);
}
.editor-content h3 {
  font-size: calc(var(--heading_h1) - 4px);
}
.editor-content h4 {
  font-size: calc(var(--heading_h1) - 6px);
}
.editor-content h5 {
  font-size: calc(var(--heading_h1) - 8px);
}
.editor-content h6 {
  font-size: calc(var(--heading_h1) - 10px);
}
.editor-content ul,
.editor-content ol {
  /* margin-bottom: 1rem; */
  /* margin-top: 2rem; */
}
.editor-content
  ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl, .commentlist, .children)
  li {
  margin-bottom: 5px;
  list-style: disc;
  list-style-position: inside;
  text-indent: -20px;
  padding-right: 20px;
}

/* .editor-content ul li:before {
  content: "";
  background: var(--color1);
  margin-left: 1.2rem;
  display: inline-flex;
  height: 1.2rem;
  width: 1.2rem;
  border-radius: 50%;
  box-shadow: 0px 5px 15px rgba(237, 26, 35, 0.25);
  flex-shrink: 0;
} */
.editor-content ul:not(.commentlist, .children) li::marker {
  color: var(--color1);
  line-height: 1;
}
.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, .comment-reply-link, #cancel-comment-reply-link) {
  color: var(--color1);
  text-decoration: underline;
  overflow-wrap: break-word;
  text-underline-offset: 7px;
  /* border-bottom: 1px solid currentColor; */
}
.editor-content a:not(.btn, .comment-reply-link):hover {
  color: var(--color1) !important;
}

.editor-content strong {
  font-variation-settings: var(--fw-600);
}
.editor-content blockquote {
  border-radius: 24px;
  padding: 80px min(48px, 7vw) 35px;
  background: #f2f2f2;
  margin: 52px 0 30px !important;
  position: relative;
}
/* .editor-content blockquote::before {
  content: "\e903";
  font-family: "icomoon";
  font-size: 97px;
  position: absolute;
  left: 0;
  top: -48px;
  z-index: -1;
} */
.editor-content blockquote::after {
  content: "";
  background-image: url(../../assets/img/qoute.webp);
  width: 180px;
  height: 125px;
  background-size: contain;
  background-position: right top;
  background-repeat: no-repeat;
  position: absolute;
  color: var(--color1);
  pointer-events: none;
  line-height: 1;
  display: block;
  right: 0px;
  top: -36px;
}

.editor-content ol {
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.editor-content ol li {
  counter-increment: item;
  position: relative;
  margin-bottom: 10px;
  text-indent: -20px;
  padding-right: 20px;
}
.editor-content ol li:before {
  content: counter(item) ".";
  color: var(--color1);
  font-variation-settings: var(--fw-500);
  padding-left: 11px;
  font-size: 22px;
  line-height: 1;
}
hr {
  border: 1px solid var(--c-text-200);
}
.editor-content > * + * {
  margin-top: 15px;
}
.editor-content.editor-space-sm > * + * {
  margin-top: 10px;
}
.gallery_item img {
  transition: all 0.3s;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
}
.editor-content .wp-video {
  display: block;
  /* margin: 3.2rem auto; */
  margin-inline: auto;
  width: 100% !important;
  overflow: hidden;
}
.editor-content table:not(.acf-table) th,
.editor-content table:not(.acf-table) td {
  white-space: nowrap;
  border-bottom: none;
  padding: 10px 15px;
  font-size: inherit;
  line-height: 2;
  vertical-align: middle;
}
.editor-content table:not(.acf-table) tr:first-child {
  border-bottom: none;
}
.editor-content table:not(.acf-table) tr:first-child td,
.editor-content table:not(.acf-table) tr:first-child th {
  white-space: nowrap;
  padding: 10px 20px;
  background: var(--color3);
}
.editor-content table:not(.acf-table) tr:first-child td:first-child,
.editor-content table:not(.acf-table) tr:first-child th:first-child {
  border-radius: 0 24px 24px 0;
}
.editor-content table:not(.acf-table) tr:first-child td:last-child,
.editor-content table:not(.acf-table) tr:first-child th:last-child {
  border-radius: 24px 0 0 24px;
}
.editor-content table:not(.acf-table) :is(tbody, thead) {
  display: table;
  width: 100%;
}
.editor-content table:not(.acf-table) {
  border-collapse: collapse;
  display: block;
  border-radius: 24px;
  width: 100%;
  overflow-x: auto;
  display: block;
  -webkit-overflow-scrolling: auto;
  border-bottom: 0;
  padding: 1.6rem 0;
}
.editor-content table:not(.acf-table) tr {
  border-bottom: 2px solid var(--color5);
}
/* .editor-content table:not(.acf-table) tr,
.editor-content table:not(.acf-table) td,
.editor-content table:not(.acf-table) th {
  text-align: center;
} */
.editor-content table:not(.acf-table) th {
  font-variation-settings: var(--fw-500);
}

/* width */
.editor-content table:not(.acf-table):not(.acf-table)::-webkit-scrollbar {
  height: 4px !important;
  width: 3px !important;
}
/* Track */
.editor-content table:not(.acf-table)::-webkit-scrollbar-track {
  background: #eae8e4 !important;
  height: 4px !important;
}
/* Handle */
.editor-content table:not(.acf-table)::-webkit-scrollbar-thumb {
  background: rgb(123, 123, 123) !important;
  height: 4px !important;
}
/* Handle on hover */
.editor-content table:not(.acf-table)::-webkit-scrollbar-thumb:hover {
  background: var(--color1) !important;
}

/* width */
.editor-content table::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
/* Track */
.editor-content table::-webkit-scrollbar-track {
  /* box-shadow: inset 0 0 3px #cfcfcf; */
  border-radius: 0 0 4px 4px;
  background-color: #ececec;
}
/* Handle */
.editor-content table::-webkit-scrollbar-thumb {
  background: #aca9a9;
  border-radius: 0 0 4px 4px;
}
/* Handle on hover */
.editor-content table::-webkit-scrollbar-thumb:hover {
  background: var(--color1);
}
.editor-content table {
  scrollbar-color: var(--color1);
  scrollbar-width: thin;
  height: auto !important;
}

/* more read btn */
.main-text {
  position: relative;
}
.main-text.editor-content {
  font-size: 16px !important;
}
.more-content--btn {
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color1);
  font-variation-settings: var(--fw-450);
  cursor: pointer;
  transition: 0.3s;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: auto;
}

.more-content--btn i {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color1);
  transform: rotate(90deg);
  transition: 0.3s;
}
.more-content--btn:hover {
  color: var(--color2);
}
.more-content--btn:hover i {
  background: var(--color2);
}
.main-text-js.active .main-text::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 70%;
  bottom: 0;
  background-image: linear-gradient(to top, #fff, transparent 30%);
  pointer-events: none;
  z-index: 5;
}
/**************************/
/* BELOW 576px */
/**************************/
@media (min-width: 36em) {
  .sw--gallery {
    margin-inline: 45px;
  }
}
/**************************/
/* ABOVE 768px */
/**************************/
@media (min-width: 48em) {
}
/**************************/
/* ABOVE 992px */
/**************************/
@media (min-width: 62em) {
  /* .page-template-home-template .editor-content blockquote {
    margin-inline: 15rem !important;
  } */
}
/**************************/
/* ABOVE 1200px */
/**************************/
@media (min-width: 75em) {
}

/**************************/
/* BELOW 1200px */
/**************************/
@media (max-width: 1200px) {
}
/**************************/
/* BELOW 992px */
/**************************/
@media (max-width: 992px) {
  .editor-content {
    text-align: justify;
    font-size: 14px;
  }
}
/**************************/
/* BELOW 768px */
/**************************/
@media (max-width: 768px) {
  .alignleft,
  .alignright {
    float: none;
    margin-inline: auto;
    margin-bottom: 20px;
    width: 100%;
  }
  .af-form.acf-form > .acf-fields {
    grid-template-columns: 1fr;
  }
  .editor-content blockquote::after {
    top: -27px;
    width: 135px;
    height: 94px;
  }
  /* .editor-content.main-text .gl--box {
    margin: 40px 30px 40px !important;
  } */
}
/**************************/
/* BELOW 576px */
/**************************/
@media (max-width: 576px) {
  .editor-content blockquote {
    margin: 40px 0 !important;
    padding: 60px min(48px, 7vw) 35px;
  }
  .editor-content {
    --heading_h1: 20px;
  }
}
