.editor-content,
.editor-content p {
  font-size: 16px;
  line-height: clamp(1.8rem, 7vw, 2rem);
  color: #212121;
  /* text-align: justify; */
}

.white-content {
  color: #fff;
}

.white-content.editor-content p,
.white-content.editor-content,
.white-content * {
  color: #fff;
}

.mejs-container {
  direction: ltr;
  border-radius: 12px;
  overflow: hidden;
}

.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) 0;
}

.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;
}

.gallery_item a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.6);
  filter: blur(1rem);
  opacity: 0;
  transition: 0.3s;
  z-index: 2;
}

.gallery_item a:after {
  content: "\e922";
  font-family: icomoon;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 44px;
  color: #fff;
  opacity: 0;
  transition: 0.3s;
  z-index: 3;
}

.gallery_item a:hover img {
  filter: blur(5px);
  transform: scale(1.1);
}

.gallery_item a:hover:before {
  opacity: 1;
}

.gallery_item a:hover:after {
  opacity: 1;
}

html.desktop .sw--gallery:not(.swiper-initialized) .swiper-slide {
  flex-shrink: unset;
  margin-left: 32px;
  width: 374px;
  flex: 0 0 374px;
}

.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);
}

.editor-content.light-content * {
  color: #fff;
}

.gl--box {
  margin: 1.5rem 0 !important;
}

.alignleft {
  float: left;
  margin: 0 3rem 3rem 0;
}

.alignright {
  float: right;
  margin-left: 3rem;
}

.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;
  color: var(--color2);
  line-height: 1.8;
}

img.alignnone {
  margin: 1.5rem auto;
}

.editor-content :is(h3, h4, h5, h6) {
  line-height: 2;
  color: #212121;
  text-align: left;
}

.white-content.editor-content :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

.editor-content :is(h1, h2) {
  text-align: left;
}

.editor-content h1 {
  font-size: calc(var(--heading_h1_fontsize));
}

.editor-content h2 {
  font-size: calc(var(--heading_h1_fontsize) - 2px);
  font-weight: 600;
}

.editor-content h3 {
  font-size: 24px;
  font-weight: 600;
}

.editor-content h4 {
  font-size: calc(var(--heading_h1_fontsize) - 5px);
}

.editor-content h5 {
  font-size: calc(var(--heading_h1_fontsize) - 6px);
}

.editor-content h6 {
  font-size: calc(var(--heading_h1_fontsize) - 7px);
}

.editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl) li {
  margin-bottom: 1rem;
  list-style-position: inside;
  text-indent: 0;
  padding-right: 0;
  list-style: disc;
  font-weight: 600;
}

.editor-content ul li::marker {
  color: #5b2af1;
  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, .acf-button, .cta-btn-click, .remove) {
  color: var(--color1);
  text-decoration: underline;
  overflow-wrap: break-word;
}

.editor-content a:not(.btn, .acf-button, .cta-btn-click):hover {
  color: var(--color2) !important;
}

.white-content .swiper-pagination-bullet::after {
  background-color: transparent;
}

.editor-content blockquote {
  position: relative;
  padding: 40px 61px 36px;
  margin: clamp(2rem, 5vw, 3rem) 0;
  background-color: rgba(241, 241, 242, 1);
}

.editor-content blockquote p {
  color: rgba(33, 33, 33, 1);
}

.editor-content blockquote::before {
  content: url(../img/editor.svg);
  right: 50%;
  top: -28px;
  position: absolute;
  width: max-content;
  height: max-content;
  transform: translateX(50%);
  z-index: 1;
}

.editor-content blockquote * {
  position: relative;
  z-index: 2;
}

.white-content .swiper-pagination {
  background-color: transparent;
  margin: 1rem 0 0;
}

.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-left: 2rem;
  font-weight: 600;
}

.editor-content ol li:before {
  content: counter(item, decimal-leading-zero);
  padding-right: 1rem;
  font-size: 18px;
  line-height: 1;
  color: rgba(33, 33, 33, 1);
  font-weight: 600;
}

hr {
  border: 1px solid #e6e6e6;
}

.editor-content > * + * {
  margin-top: 12px;
}

.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;
}

.editor-content table:not(.acf-table) th,
.editor-content table:not(.acf-table) td {
  border-bottom: none;
  padding: 1rem 1.5rem;
  font-size: inherit;
  line-height: 2;
  vertical-align: middle;
  color: inherit;
  text-align: center;
}

.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 {
  padding: 1rem 2rem;
  background: #e8e2dd;
  color: #151515;
}

.editor-content table:not(.acf-table) :is(tbody, thead) {
  display: table;
  width: 100%;
  color: inherit;
}

.editor-content table:not(.acf-table) {
  border-collapse: collapse;
  display: block;
  width: 100%;
  overflow-x: auto;
  display: block;
  -webkit-overflow-scrolling: auto;
  border-bottom: 0;
  background: #fffcf7;
  padding: 1.6rem;
}

.editor-content table:not(.acf-table) tr {
  border-bottom: 2px solid rgb(0 65 255 / 7%);
  color: #151515;
}

.editor-content table:not(.acf-table) th {
  font-family: var(--title_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;
}

.mobile .sw--gallery .swiper-wrapper {
  grid-auto-columns: 25rem;
}

.editor-content .swiper-pagination {
  margin: 1.5rem 0 0 0;
  background-color: transparent;
}

@media (max-width: 48em) {
  .alignleft,
  .alignright {
    float: none;
    margin-inline: auto;
    margin-bottom: 2rem;
  }

  .af-form.acf-form > .acf-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .editor-content blockquote {
    padding: 43px 24px;
  }

  .editor-content blockquote {
    margin: 3rem 0 !important;
  }
}

@media (min-width: 768px) {
  .editor-content.main-content .sw-navigation {
    margin-top: 2rem;
  }
}
